:root {
  --ink: #171717;
  --muted: #777a82;
  --line: #ececf0;
  --paper: #ffffff;
  --alabaster: #f8f6f1;
  --mist: #d7edf7;
  --mist-strong: #bfdfef;
  --charcoal: #111111;
  --shadow: 0 28px 70px rgba(25, 44, 56, 0.16);
  --soft-shadow: 0 18px 46px rgba(25, 44, 56, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 255, 255, 0.88) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 70%, rgba(17, 17, 17, 0.95) 0 12px, transparent 13px),
    radial-gradient(circle at 6% 24%, rgba(17, 17, 17, 0.96) 0 16px, transparent 17px),
    linear-gradient(135deg, #d8eef8 0%, #c9e4f1 46%, #eef8fb 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: -18% 5% auto auto;
  width: min(72vw, 920px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(44, 92, 112, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 84px rgba(44, 92, 112, 0.06),
    0 0 0 168px rgba(44, 92, 112, 0.035);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 38px auto;
}

.workspace {
  min-height: calc(100vh - 76px);
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.topbar,
.brand,
.desktop-nav,
.header-actions,
.hero-actions,
.input-row,
.card-heading,
.upload-gate,
.amenity-pills,
.preview-pills,
.booking-row {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 20px;
  padding: 4px 4px 22px;
}

.brand {
  gap: 12px;
  min-width: 214px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--charcoal);
  border-radius: 16px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  gap: 8px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.desktop-nav a {
  padding: 12px 18px;
  color: #53565d;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--ink);
  background: #fff;
}

.desktop-nav a.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 44, 56, 0.08);
}

.top-action,
.login-link,
.language-button,
.primary-button,
.secondary-button,
.auth-card button,
.stat-card a,
.upload-gate button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

.top-action,
.primary-button,
.auth-card button,
.stat-card.featured,
.stat-card a,
.upload-gate button {
  color: #fff;
  background: var(--charcoal);
}

.header-actions {
  gap: 10px;
}

.language-button {
  min-width: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.login-link {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.secondary-button {
  color: var(--ink);
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  min-height: 418px;
}

.hero-copy,
.auth-card,
.overview,
.workflow-form,
.visual-canvas,
.builder-detail,
.help-panel,
.suite {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 418px;
  padding: clamp(30px, 6vw, 76px);
  overflow: visible;
}

.hero-copy::after {
  display: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: #7d7f85;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.section-title h2,
.visual-canvas h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 440px;
  color: #5f6269;
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-actions {
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  z-index: 5;
}

.material-actions {
  max-width: 620px;
}

.create-menu {
  position: relative;
  z-index: 6;
}

.create-menu summary {
  list-style: none;
  cursor: pointer;
}

.create-menu summary::-webkit-details-marker {
  display: none;
}

.create-menu:not([open]) .create-options {
  display: none;
}

.create-options {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 20;
  display: grid;
  gap: 10px;
  min-width: 300px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(25, 44, 56, 0.18);
  backdrop-filter: blur(18px);
}

.create-options a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #f8f8fa;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.create-options a:hover {
  background: var(--charcoal);
  color: #fff;
}

.material-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.material-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.auth-card {
  align-self: stretch;
  padding: 30px;
}

.card-heading {
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 44px;
}

.card-heading p,
.micro-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.auth-card h2,
.section-title h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.auth-card label,
.field-grid label {
  color: #53565d;
  font-size: 0.8rem;
  font-weight: 700;
}

.input-row {
  gap: 10px;
  height: 60px;
  margin: 9px 0 16px;
  padding: 0 16px;
  background: #f7f7f9;
  border-radius: 22px;
}

.input-row span {
  font-weight: 700;
}

input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 700;
}

.auth-card button {
  width: 100%;
}

.micro-copy {
  margin: 18px 0 0;
  line-height: 1.5;
}

.google-auth-button,
.auth-email-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.google-auth-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe0e3;
}

.google-auth-button:hover {
  background: #f7f7f9;
}

.google-mark {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

.auth-email-button {
  color: #fff;
  background: var(--charcoal);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
  color: #989ba2;
  font-size: 0.68rem;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  content: "";
  background: #e7e7ea;
}

.auth-email-row svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #858991;
}

.auth-switch-copy {
  text-align: center;
}

.auth-switch-copy a {
  color: var(--ink);
  font-weight: 700;
}

.overview,
.workflow,
.builder-detail,
.help-panel,
.suite,
.trust-section,
.pricing-section,
.about-section,
.faq-section,
.contact-section {
  margin-top: 22px;
}

.overview,
.builder-detail,
.help-panel,
.suite,
.pricing-section,
.faq-section {
  padding: 28px;
}

.trust-section,
.about-section,
.contact-section,
.pricing-section,
.faq-section {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
}

.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 18px;
  padding: 28px;
}

.trust-copy {
  padding: 26px;
}

.trust-copy h2,
.about-section h2,
.contact-section h2,
.wizard-panel h2 {
  margin-bottom: 16px;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.trust-copy > p:not(.eyebrow),
.about-copy > p,
.contact-copy > p,
.wizard-panel > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-points span,
.verified-mark {
  padding: 10px 13px;
  background: #f4f4f6;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.trust-card {
  padding: 26px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 28px;
}

.trust-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--ink);
  background: var(--mist);
  border-radius: 18px;
  font-weight: 700;
}

.trust-card small,
.trust-card p {
  color: rgba(255, 255, 255, 0.62);
}

.trust-card h3,
.trust-card p {
  margin-bottom: 3px;
}

.verified-mark {
  color: var(--ink);
  background: #fff;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.trust-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.trust-metrics strong,
.trust-metrics small {
  display: block;
}

.trust-metrics strong {
  margin-top: 7px;
  font-size: 0.9rem;
}

.sample-note {
  margin: 18px 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-title h2 {
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  min-height: 162px;
  padding: 22px;
  background: #f8f8fa;
  border-radius: 26px;
}

.stat-card p,
.stat-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin: 18px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.stat-card.featured p,
.stat-card.featured span {
  color: rgba(255, 255, 255, 0.68);
}

.stat-card.featured a {
  min-height: 42px;
  margin-top: 12px;
  color: var(--ink);
  background: #fff;
}

.library-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.library-strip article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.library-strip article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: #f4f4f6;
  border-radius: 14px;
  font-weight: 700;
}

.library-strip h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.library-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.library-strip strong {
  padding: 8px 12px;
  background: #f7f7f9;
  border-radius: 999px;
  font-size: 0.74rem;
}

.process-title {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  margin-bottom: 42px;
}

.process-title .eyebrow {
  grid-column: 1 / -1;
}

.process-title h2 {
  max-width: 760px;
}

.process-title > p:last-child {
  max-width: 370px;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.process-timeline::before {
  position: absolute;
  top: 34px;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: #d7d9dd;
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-marker {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe0e3;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(25, 44, 56, 0.08);
}

.process-marker span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  background: #b15f42;
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 0.54rem;
  font-weight: 700;
}

.process-marker svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.65;
}

.process-step h3 {
  max-width: 180px;
  margin: 18px 0 7px;
  font-size: 0.94rem;
  line-height: 1.2;
}

.process-step p {
  max-width: 185px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.process-outcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #e5e6e9;
}

.process-formats,
.process-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.process-formats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: #5d6067;
  background: #f5f5f7;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.process-formats svg {
  width: 16px;
  height: 16px;
}

.process-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.process-actions a:last-child {
  color: var(--ink);
  background: #fff;
}

.journey-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 48px;
}

.journey-title .eyebrow {
  grid-column: 1 / -1;
}

.journey-title h2 {
  max-width: 720px;
}

.journey-title > p:last-child {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.journey-track::before {
  position: absolute;
  top: 38px;
  right: 10%;
  left: 7%;
  height: 1px;
  content: "";
  background: #d7d9dc;
}

.journey-stage {
  position: relative;
  z-index: 1;
}

.journey-stage:not(:last-child)::after {
  position: absolute;
  top: 27px;
  right: 4px;
  color: #a7aab0;
  content: "›";
  font-size: 1.1rem;
}

.journey-marker {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dfe0e3;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(25, 44, 56, 0.08);
}

.journey-marker svg {
  width: 27px;
  height: 27px;
  stroke-width: 1.6;
}

.journey-stage > div:last-child {
  margin-top: 18px;
}

.journey-stage span {
  display: block;
  margin-bottom: 7px;
  color: #a85536;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-stage h3 {
  margin: 0;
  font-size: 1rem;
}

.journey-stage p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.journey-stage.destination .journey-marker {
  width: 88px;
  height: 88px;
  margin-top: -6px;
  color: #fff;
  background: #1b282a;
  border-color: #1b282a;
  box-shadow: 0 16px 32px rgba(27, 40, 42, 0.18);
}

.journey-stage.destination > div:last-child {
  margin-top: 12px;
}

.journey-stage.destination span {
  color: #1b282a;
}

.journey-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid #e5e6e9;
}

.journey-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  color: #fff;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.journey-actions a:last-child {
  color: var(--ink);
  background: #fff;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 22px;
}

.workflow-form {
  padding: 28px;
}

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

.format-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px;
  background: #f7f7f9;
  border-radius: 999px;
}

.format-tabs button {
  min-height: 46px;
  padding: 0 14px;
  color: #555861;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.format-tabs button.active {
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.14);
}

.field-grid input {
  display: block;
  height: 58px;
  margin-top: 8px;
  padding: 0 16px;
  background: #f7f7f9;
  border-radius: 20px;
}

.upload-gate {
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  background: var(--alabaster);
  border-radius: 24px;
}

.upload-gate h3,
.upload-gate p {
  margin-bottom: 3px;
}

.upload-gate p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.upload-gate button {
  margin-left: auto;
}

.amenity-pills,
.preview-pills {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.amenity-pills span,
.preview-pills span {
  padding: 12px 15px;
  color: #555861;
  background: #f7f7f9;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.visual-canvas {
  position: relative;
  overflow: hidden;
  min-height: 610px;
}

.canvas-image {
  position: relative;
  height: 310px;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
}

.canvas-image img,
.output-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-control,
.save-button {
  position: absolute;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 0;
  border-radius: 50%;
  backdrop-filter: blur(14px);
}

.floating-control.left {
  top: 28px;
  left: 28px;
}

.floating-control.right {
  top: 28px;
  right: 28px;
}

.canvas-sheet {
  position: relative;
  min-height: 322px;
  margin-top: -44px;
  padding: 38px 28px 28px;
  background: #fff;
  border-radius: 34px 34px 0 0;
}

.save-button {
  top: -32px;
  right: 28px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.visual-canvas h2 {
  margin-bottom: 8px;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 0.88;
}

.marathi {
  margin-bottom: 12px;
  color: #555861;
  font-size: 1.05rem;
  font-weight: 700;
}

.canvas-sheet p:not(.eyebrow):not(.marathi) {
  color: var(--muted);
  line-height: 1.65;
}

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

.builder-board {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
}

.step-rail {
  display: grid;
  gap: 12px;
}

.step-rail article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  background: #f8f8fa;
  border: 1px solid transparent;
  border-radius: 24px;
}

.step-rail article.active {
  color: #fff;
  background: var(--charcoal);
}

.step-rail article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 700;
}

.step-rail h3 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.step-rail p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.step-rail article.active p {
  color: rgba(255, 255, 255, 0.68);
}

.builder-panel {
  padding: 24px;
  background: #f8f8fa;
  border-radius: 28px;
}

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

.panel-topline span {
  padding: 9px 12px;
  color: #555861;
  background: #fff;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.builder-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.builder-panel > p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.choice-grid button {
  min-height: 48px;
  padding: 0 10px;
  color: #555861;
  background: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.choice-grid button.active {
  color: #fff;
  background: var(--charcoal);
}

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

.detail-grid article {
  min-height: 126px;
  padding: 18px;
  background: #fff;
  border-radius: 22px;
}

.detail-grid small,
.sample-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-grid strong,
.sample-strip strong {
  display: block;
  margin: 9px 0 6px;
  font-size: 1rem;
}

.detail-grid p,
.sample-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.detail-pills span {
  background: #fff;
}

.builder-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  margin: 20px 0 0 auto;
  padding: 0 22px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 999px;
  font-weight: 700;
}

.output-card {
  overflow: hidden;
  background: #f8f8fa;
  border-radius: 26px;
}

.output-card img {
  display: block;
  height: 210px;
}

.output-card div {
  padding: 20px;
}

.output-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.output-card h3 {
  margin: 8px 0 8px;
  font-size: 1.24rem;
}

.output-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.sample-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.sample-strip article {
  min-height: 150px;
  padding: 20px;
  background: #f8f8fa;
  border-radius: 24px;
}

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

.help-grid article {
  min-height: 150px;
  padding: 22px;
  background: #f8f8fa;
  border-radius: 24px;
}

.help-grid h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.help-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-heading > div:first-child {
  max-width: 620px;
}

.billing-toggle {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 6px;
  padding: 6px;
  background: #f4f4f6;
  border-radius: 999px;
}

.billing-toggle button {
  min-height: 42px;
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.billing-toggle button.active {
  color: #fff;
  background: var(--charcoal);
}

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

.pricing-grid article {
  display: flex;
  min-height: 250px;
  padding: 22px;
  flex-direction: column;
  background: #f8f8fa;
  border-radius: 24px;
}

.pricing-grid article.popular-plan {
  color: #fff;
  background: var(--charcoal);
}

.pricing-grid p {
  margin-bottom: 20px;
  font-weight: 700;
}

.pricing-grid strong {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.pricing-grid span {
  margin: 9px 0 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.popular-plan span {
  color: rgba(255, 255, 255, 0.62);
}

.pricing-grid a {
  display: grid;
  min-height: 46px;
  margin-top: auto;
  place-items: center;
  background: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pricing-grid article:not(.popular-plan) a {
  color: #fff;
  background: var(--charcoal);
}

.pricing-grid .popular-plan a {
  color: var(--ink);
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  padding: 46px;
}

.about-section h2,
.contact-section h2 {
  margin-bottom: 0;
}

.about-copy blockquote {
  margin: 24px 0 0;
  padding: 20px 22px;
  background: var(--alabaster);
  border-radius: 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.35;
}

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

.faq-list details {
  padding: 0 20px;
  background: #f8f8fa;
  border-radius: 20px;
}

.faq-list summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: -5px 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-form,
.wizard-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form label,
.wizard-fields label,
.full-field,
.wizard-label {
  color: #53565d;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
}

.contact-form label:last-of-type,
.contact-form button,
.full-field {
  grid-column: 1 / -1;
}

.contact-form select,
.contact-form textarea,
.wizard-fields input,
.full-field input,
.full-field textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  color: var(--ink);
  background: #f7f7f9;
  border: 0;
  border-radius: 18px;
  outline: 0;
  resize: vertical;
}

.field-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 58px;
  margin-top: 8px;
  padding: 0 16px;
  color: #71747c;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form .field-control {
  background: #f4f5f7;
}
.contact-form .field-control:focus-within {
  background: #fff;
}

.field-control:focus-within {
  border-color: var(--mist-strong);
  box-shadow: 0 0 0 4px rgba(191, 223, 239, 0.26);
}

.field-control.field-error,
.room-stepper.field-error {
  border-color: #c96b55;
  box-shadow: 0 0 0 3px rgba(201, 107, 85, 0.12);
}

.field-control svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.wizard-fields .field-control input {
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-weight: 500;
}

.field-control input::placeholder,
.field-control select:invalid {
  color: #9b9ea5;
  font-weight: 400;
  opacity: 1;
}

.field-control select {
  width: 100%;
  height: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  appearance: none;
  font-weight: 500;
}

.select-control {
  position: relative;
}

.select-control select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-trigger {
  width: 100%;
  height: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  text-align: left;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-control:not(.has-value) .custom-select-trigger {
  color: #9b9ea5;
  font-weight: 400;
}

.select-control .select-chevron {
  pointer-events: none;
  transition: transform 160ms ease;
}

.select-control.open .select-chevron {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  gap: 2px;
  max-height: min(60vh, 320px);
  min-width: min(320px, calc(100vw - 48px));
  padding: 6px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(25, 44, 56, 0.18);
  -webkit-overflow-scrolling: touch;
}
.custom-select-menu {
  background-color: #fff;
  background-image:
    radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0)) center bottom;
  background-repeat: no-repeat;
  background-size: 100% 12px;
  background-attachment: scroll;
}

.custom-select-menu[hidden] {
  display: none;
}

.custom-select-option {
  min-height: 44px;
  padding: 0 13px;
  color: #4f535a;
  background: #fff;
  border: 0;
  border-radius: 12px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 500;
}

.custom-select-option:hover {
  color: var(--ink);
  background: #f4f5f6;
}

.custom-select-option[aria-selected="true"] {
  color: var(--ink);
  background: #eef6f8;
  font-weight: 600;
}

.select-control .select-chevron {
  width: 17px;
  height: 17px;
}

.field-control input:disabled {
  cursor: not-allowed;
}

.room-stepper {
  display: grid;
  grid-template-columns: auto 38px 42px 38px;
  gap: 6px;
  align-items: center;
  height: 58px;
  margin-top: 8px;
  padding: 0 10px 0 8px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
}

.room-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-right: auto;
  place-items: center;
  color: #6f737b;
  background: #f5f5f7;
  border-radius: 12px;
}

.room-icon svg {
  width: 21px;
  height: 21px;
}

.room-stepper button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: #f5f5f7;
  border: 0;
  border-radius: 12px;
}

.room-stepper button:hover:not(:disabled) {
  color: #fff;
  background: var(--charcoal);
}

.room-stepper button:disabled {
  color: #c4c6ca;
  cursor: not-allowed;
}

.room-stepper button svg {
  width: 17px;
  height: 17px;
}

.room-stepper output {
  color: var(--ink);
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
}

.room-stepper .room-value {
  display: none;
}

.contact-form > button,
.generate-button {
  min-height: 50px;
  color: #fff;
  background: var(--charcoal);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.generate-button.is-consented {
  background: #25d366;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.24);
}

/* Dedicated creation flow */
.wizard-shell {
  width: min(1320px, calc(100% - 32px));
}

.wizard-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 6px 24px;
}

.wizard-intro h1 {
  max-width: 790px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 6rem);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.autosave-state {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.autosave-state span {
  width: 8px;
  height: 8px;
  background: #2f9d67;
  border-radius: 50%;
}

.autosave-state #autosave-label {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  white-space: nowrap;
}

.autosave-state.saving > span:first-child {
  background: #d49b3f;
}

.autosave-state.fresh > span:first-child {
  background: #8a9298;
}

.autosave-state.restored > span:first-child {
  background: #3f86d4;
}

.autosave-state.error > span:first-child {
  background: #c4533e;
}

.draft-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.draft-actions > * { flex-shrink: 0; }
.draft-actions .autosave-state { min-width: 130px; }
.draft-actions .autosave-state.visually-quiet {
  opacity: 0.55;
  font-size: 0.72rem;
}

/* Profile completion badge */
.profile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: filter 160ms ease;
}
.profile-status-badge:hover { filter: brightness(0.95); }
.profile-status-badge.is-incomplete {
  background: #fdecea;
  color: #b3261e;
  border-color: rgba(179, 38, 30, 0.25);
}
.profile-status-badge.is-complete {
  background: #e6f6ec;
  color: #117a3a;
  border-color: rgba(17, 122, 58, 0.25);
}
.profile-status-badge i,
.profile-status-badge svg {
  width: 16px !important;
  height: 16px !important;
}

.draft-status-group {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.draft-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.reset-brochure-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.reset-brochure-button:hover {
  color: var(--charcoal);
  background: #fff;
}

.reset-brochure-button svg {
  width: 16px;
  height: 16px;
}

.draft-autosave-footer {
  margin: 24px 6px 32px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  font-size: 0.82rem;
}
.draft-autosave-footer .autosave-state {
  margin: 0;
}
.draft-autosave-footer .draft-detail {
  margin: 0;
  opacity: 0.62;
  font-size: 0.78rem;
}
@media (max-width: 720px) {
  .draft-autosave-footer { flex-direction: column; align-items: flex-start; }
}

.wizard-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.wizard-stage {
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--soft-shadow);
}

/* Step rail (desktop) — quieter surface so the main panel dominates the eye */
.wizard-steps {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px;
  background: transparent;
  border-radius: 24px;
  box-shadow: none;
}

.wizard-steps button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 8px 10px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 16px;
}

.wizard-steps button > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: rgba(0, 0, 0, 0.05);
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
}

.wizard-steps strong,
.wizard-steps small {
  display: block;
}

.wizard-steps strong {
  font-size: 0.86rem;
  font-weight: 700;
}

.wizard-steps small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.66rem;
  opacity: 0.75;
}

.wizard-steps button.active {
  color: #fff;
  background: var(--charcoal);
}

.wizard-steps button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.wizard-steps button.completed:not(.active) {
  opacity: 1;
}

.wizard-steps button.completed:not(.active) > span {
  color: #255d45;
  background: #e3f3ea;
}

.wizard-steps button.active small {
  color: rgba(255, 255, 255, 0.62);
}

.wizard-steps button.active > span {
  color: var(--ink);
  background: var(--mist);
}

.wizard-stage {
  min-height: 680px;
  padding: 26px;
}

.wizard-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.wizard-progress > div {
  height: 6px;
  overflow: hidden;
  background: #eeeef1;
  border-radius: 999px;
}

.wizard-progress i {
  display: block;
  width: 12.5%;
  height: 100%;
  background: var(--charcoal);
  border-radius: inherit;
  transition: width 180ms ease;
}

.wizard-panel {
  display: none;
  min-height: 510px;
  padding: 28px;
  background: #f8f8fa;
  border-radius: 24px;
}

.wizard-panel.active {
  display: block;
}

.option-group {
  display: grid;
  gap: 10px;
  margin: 20px 0 28px;
}

.option-group.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-group.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.option-group button,
.amenity-pills.selectable button {
  min-height: 52px;
  color: #555861;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
  font-weight: 700;
}

.features-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.story-composer {
  margin-top: 22px;
  padding: 16px;
  background: #fff;
  border: 1px solid #eeeeF1;
  border-radius: 22px;
}

.story-composer > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: #53565d;
  font-size: 0.78rem;
  font-weight: 700;
}

.story-composer > label span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.story-composer textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  padding: 15px 16px;
  color: var(--ink);
  background: #f8f8fa;
  border: 1px solid transparent;
  border-radius: 17px;
  outline: 0;
  resize: vertical;
  font-weight: 400;
  line-height: 1.55;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.story-composer textarea:focus {
  border-color: var(--mist-strong);
  box-shadow: 0 0 0 4px rgba(191, 223, 239, 0.24);
}

.story-composer textarea::placeholder {
  color: #9b9ea5;
  font-weight: 400;
}

.composer-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.composer-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.composer-toolbar button svg {
  width: 18px;
  height: 18px;
}

.voice-button {
  color: var(--ink);
  background: #f5f5f7;
  border: 1px solid #e8e8eb;
}

.voice-button.recording {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.refine-button {
  margin-left: auto;
  color: #fff;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.refine-button:disabled {
  color: #9699a1;
  background: #f5f5f7;
  border-color: #ececef;
  cursor: not-allowed;
}

.composer-status {
  min-width: 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.feature-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.feature-group legend {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 2px;
}

.feature-group legend span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.feature-group legend small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  background: #fff;
  border-radius: 22px;
}

.feature-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 62px;
  padding: 8px 9px;
  color: #5b5e66;
  background: #f8f8fa;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.3;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.feature-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.feature-option > svg {
  width: 25px;
  height: 25px;
  color: #858891;
  stroke-width: 1.7;
}

.feature-option > b {
  position: relative;
  width: 17px;
  height: 17px;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 6px;
}

.feature-option > b::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 8px;
  content: "";
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  opacity: 0;
  transform: rotate(45deg);
}

.feature-option:has(input:checked) {
  color: var(--ink);
  background: #f1f8fb;
  border-color: var(--mist-strong);
}

.feature-option:has(input:checked) > svg {
  color: #37677d;
}

.feature-option:has(input:checked) > b {
  background: var(--mist);
  border-color: var(--mist-strong);
}

.feature-option:has(input:checked) > b::after {
  opacity: 1;
}

.option-group button.selected,
.amenity-pills.selectable button.selected {
  color: #fff;
  background: var(--charcoal);
}

.property-types button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.property-types svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.property-types span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wizard-fields input,
.full-field input {
  height: 56px;
}

.details-extended-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  margin-top: 18px;
}

.map-preview-card,
.nearby-editor {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 24px;
}

.map-preview-heading,
.nearby-editor-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.map-preview-heading .eyebrow,
.nearby-editor-heading .eyebrow {
  margin-bottom: 6px;
}

.map-preview-heading h3,
.nearby-editor-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}

.map-preview-heading > span,
.nearby-editor-heading > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--muted);
  background: #f6f6f8;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.static-map {
  position: relative;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f5f7fa 0%, #eef2f5 100%);
  border: 1px solid #e5e8ed;
  border-radius: 22px;
}

.static-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.static-map-placeholder {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 280px;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.static-map-placeholder strong,
.static-map-placeholder span {
  display: block;
}

.static-map-placeholder strong {
  color: var(--ink);
  font-size: 1rem;
}

.static-map.loading::after {
  position: absolute;
  inset: auto 18px 18px auto;
  padding: 7px 10px;
  content: "Loading map...";
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.static-map.ready {
  background: #eef2f5;
}

.map-preview-note,
.nearby-editor-note {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

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

.landmark-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
  color: #555861;
  background: #f8f8fa;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.landmark-choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.landmark-choice > svg {
  width: 18px;
  height: 18px;
  color: #7d8088;
  stroke-width: 1.9;
}

.landmark-choice > span {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.landmark-choice > b {
  position: relative;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 5px;
}

.landmark-choice > b::after {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 8px;
  content: "";
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  opacity: 0;
  transform: rotate(45deg);
}

.landmark-choice:has(input:checked) {
  color: var(--ink);
  background: #f1f8fb;
  border-color: var(--mist-strong);
}

.landmark-choice:has(input:checked) > svg {
  color: #37677d;
}

.landmark-choice:has(input:checked) > b {
  background: var(--mist);
  border-color: var(--mist-strong);
}

.landmark-choice:has(input:checked) > b::after {
  opacity: 1;
}

.full-field {
  display: block;
  margin-top: 14px;
}

.amenity-pills.selectable button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.photo-drop {
  display: grid;
  width: 100%;
  min-height: 270px;
  margin-top: 24px;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: var(--ink);
  background: #fff;
  border: 2px dashed #9ca5af;
  border-radius: 24px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.photo-drop:hover,
.photo-input:focus-visible + .photo-drop {
  background: #fafdff;
  border-color: var(--charcoal);
}

.photo-drop[aria-busy="true"] {
  cursor: progress;
  opacity: 0.72;
}

.photo-input:focus-visible + .photo-drop {
  outline: 3px solid rgba(121, 198, 231, 0.45);
  outline-offset: 3px;
}

.photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.photo-drop.has-photos {
  min-height: 112px;
  grid-template-columns: auto 1fr;
  justify-items: start;
  padding: 22px;
  text-align: left;
}

.photo-drop.has-photos .mini-icon {
  grid-row: 1 / 3;
}

.photo-feedback {
  min-height: 20px;
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.photo-drop small {
  color: var(--muted);
}

.photo-rules {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.photo-rules span {
  padding: 9px 12px;
  color: var(--muted);
  background: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.cover-picker {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #dedfe3;
}

.cover-picker-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.cover-picker-heading span,
.cover-picker-heading > small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cover-picker-heading h3 {
  margin: 5px 0 0;
  font-size: 1.45rem;
}

.cover-picker-heading > small {
  padding: 7px 10px;
  background: #fff;
  border-radius: 999px;
}

.cover-picker > p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.media-style-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dedfe3;
}

.media-style-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.media-style-heading .eyebrow {
  margin-bottom: 6px;
}

.media-style-heading h3 {
  margin: 0;
  font-size: 1.45rem;
}

.media-style-heading > span {
  padding: 7px 10px;
  color: var(--muted);
  background: #fff;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.media-style-section > p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.photo-preview-option {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9eaed;
  border: 3px solid transparent;
  border-radius: 14px;
}
.photo-thumb {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-label {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  padding: 5px 8px;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(17, 17, 17, 0.78);
  border-radius: 8px;
  font-size: 0.66rem;
  font-weight: 700;
  pointer-events: none;
}
.photo-cover-btn,
.photo-delete-btn {
  position: absolute;
  top: 7px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}
.photo-cover-btn {
  right: 7px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #9aa0a6;
}
.photo-cover-btn i { width: 15px; height: 15px; }
.photo-delete-btn {
  left: 7px;
  background: rgba(17, 17, 17, 0.6);
  border: 0;
  color: #fff;
}
.photo-delete-btn i { width: 14px; height: 14px; }
.photo-delete-btn:hover { background: #c0392b; }
.photo-preview-option.selected { border-color: var(--charcoal); }
.photo-preview-option.selected .photo-cover-btn {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: #f5b301;
}

.cover-picker-meta { display: flex; align-items: center; gap: 10px; }
.photo-count-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.photo-count-badge.is-ok { background: #e7f6ec; color: #1e7a44; }
.photo-count-badge.is-warn { background: #fdecea; color: #b23b2e; }

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
}
.photo-lightbox[hidden] { display: none; }
.photo-lightbox img { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 12px; object-fit: contain; }
.photo-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}
.photo-lightbox-close i { width: 22px; height: 22px; }

.mini-popup {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
}
.mini-popup[hidden] { display: none; }
.mini-popup-card {
  width: min(380px, 100%);
  padding: 1.8rem 1.6rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.4);
}
.mini-popup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 0.6rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
}
.mini-popup-icon i { width: 24px; height: 24px; }
.mini-popup-card strong { display: block; font-size: 1.1rem; margin-bottom: 0.4rem; }
.mini-popup-card p { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.mini-popup-card .generate-button { width: 100%; display: inline-flex; align-items: center; justify-content: center; }

.cover-choice {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 340px;
  margin-top: 22px;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
}

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

.cover-choice div {
  display: flex;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
}

.cover-choice span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cover-choice strong { margin: 10px 0 24px; }
.cover-choice button {
  min-height: 46px;
  color: #fff;
  background: var(--charcoal);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

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

.style-grid button {
  padding: 10px 10px 16px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 20px;
  transition: transform 100ms ease, border-color 160ms ease, background 160ms ease;
}

.style-grid button.selected { border-color: var(--charcoal); }
.style-preview { display: block; height: 170px; margin-bottom: 14px; border-radius: 13px; }
.style-preview.clean { background: linear-gradient(#111 0 22%, #fff 22% 78%, var(--mist) 78%); }
.style-preview.bold { background: linear-gradient(135deg, #111 0 55%, #d9d9de 55%); }
.style-preview.minimal { background: linear-gradient(#fff 0 68%, #e8e8eb 68%); border: 1px solid #eee; }
.style-preview.architectural {
  background:
    linear-gradient(90deg, transparent 0 17%, rgba(177, 95, 66, 0.92) 17% 19%, transparent 19%),
    linear-gradient(#aeb9b7 0 66%, #f4f2ed 66%);
  border: 1px solid #d5d8d4;
}
.inline-link { color: #4e7487; font-size: 0.82rem; font-weight: 700; }

.profile-workspace { min-height: 100vh; }
.profile-intro { align-items: end; }
.profile-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr);
  gap: 18px;
  padding: 0 30px 110px;
}
.profile-form-panel,
.profile-assets-panel {
  padding: 28px;
  background: #f7f7f9;
  border: 1px solid #e5e6e9;
  border-radius: 18px;
}
.profile-form-panel h2,
.profile-assets-panel h2 { margin: 4px 0 22px; font-size: 1.55rem; }
.profile-fields { margin-top: 0; }
.profile-phone-group {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
  margin-top: 7px;
}
.profile-code-control {
  padding: 0 14px;
}
.profile-code-control select {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.8rem;
  font-weight: 500;
  appearance: none;
}
.profile-code-control .custom-select-menu {
  right: auto;
  left: 0;
  width: max-content;
}
.profile-address-field {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.profile-address-field legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: #565960;
  font-size: 0.74rem;
  font-weight: 700;
}
.profile-textarea-control { min-height: 96px; align-items: flex-start; }
.profile-textarea-control textarea {
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 16px 0 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  resize: vertical;
  line-height: 1.45;
}
.profile-textarea-control textarea::placeholder {
  color: #9b9ea5;
  font-weight: 400;
  opacity: 1;
}
.optional-label { color: #858991; font-size: .7rem; font-weight: 500; }
.profile-assets-panel { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; align-content: start; gap: 14px; }
.profile-asset-upload {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid #e2e3e6;
  border-radius: 14px;
  cursor: pointer;
}
.profile-asset-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.profile-asset-preview {
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  overflow: hidden;
  color: #777b83;
  background-color: #f1f2f4;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #e0e2e5;
  font-size: .72rem;
  border-radius: 10px;
}
.profile-asset-preview.logo-preview {
  aspect-ratio: 1;
}
.profile-asset-preview.candid-preview {
  height: 116px;
  border-radius: 12px;
}
.profile-asset-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-asset-preview.logo-preview img { object-fit: contain; background: #fff; }
.profile-asset-preview.logo-preview.crop-fill img { object-fit: cover; }
.profile-asset-upload strong { align-self: end; font-size: .9rem; }
.profile-asset-upload small { align-self: start; color: #777b83; }
.profile-crop-button {
  justify-self: start;
  min-height: 28px;
  padding: 0 12px;
  color: #4e5960;
  background: #f3f4f5;
  border: 1px solid #e1e4e6;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}
.profile-crop-button:hover {
  background: #fff;
}
.profile-save-button { width: 100%; margin-top: 4px; }
.profile-form-error { min-height: 18px; margin: 0; color: #9e3528; font-size: .78rem; }

.review-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.review-summary div {
  padding: 18px;
  background: #fff;
  border-radius: 18px;
}

.review-summary small,
.review-summary strong,
.review-summary span { display: block; }
.review-summary small { color: var(--muted); font-weight: 700; }
.review-summary strong { margin: 8px 0 5px; }
.review-summary span { color: var(--muted); font-size: 0.76rem; line-height: 1.4; }

.consent-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border-radius: 18px;
  color: #555861;
  font-size: 0.82rem;
  line-height: 1.5;
}

.consent-box input { width: 19px; height: 19px; margin: 1px 0 0; }
.generate-button { width: 100%; margin-top: 14px; }
.generate-button:disabled { cursor: not-allowed; opacity: 0.36; }

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
}

.step-error {
  min-height: 18px;
  margin: 12px 4px -4px;
  color: #a34d3c;
  font-size: 0.76rem;
  font-weight: 700;
}

.wizard-actions button {
  min-width: 120px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

.wizard-actions button:disabled { opacity: 0.35; }
.wizard-actions .next-step { margin-left: auto; color: #fff; background: var(--charcoal); }

.mobile-tabbar {
  display: none;
}

/* Signed-in workspace navigation */
.app-workspace {
  position: relative;
  padding-left: 252px;
}

.account-sidebar {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  width: 212px;
  flex-direction: column;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 18px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 22px;
}

.sidebar-brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.sidebar-brand strong,
.sidebar-brand small {
  display: block;
}

.sidebar-brand strong {
  font-size: 0.86rem;
}

.sidebar-brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.account-sidebar nav {
  display: grid;
  gap: 4px;
}

.account-sidebar nav > a,
.account-sidebar summary,
.sidebar-help {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #60636a;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
}

.account-sidebar nav > a:hover,
.account-sidebar summary:hover,
.account-sidebar nav > a.active,
.account-sidebar summary.active {
  color: var(--ink);
  background: #f2f0eb;
}

.account-sidebar svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.sidebar-create summary {
  grid-template-columns: 22px minmax(0, 1fr) 14px;
  list-style: none;
  cursor: pointer;
}

.sidebar-create summary::-webkit-details-marker {
  display: none;
}

.sidebar-create[open] .sidebar-chevron {
  transform: rotate(180deg);
}

.sidebar-create > div {
  display: grid;
  gap: 2px;
  padding: 4px 0 7px 44px;
}

.sidebar-create > div a {
  padding: 8px 6px;
  color: #777a82;
  font-size: 0.72rem;
  line-height: 1.25;
}

.sidebar-create > div a:hover,
.sidebar-create > div a.active {
  color: var(--ink);
  font-weight: 700;
}

.sidebar-help {
  margin-top: auto;
}

.app-workspace > .topbar {
  justify-content: flex-end;
  padding-bottom: 0;
}

.app-workspace > .topbar .brand {
  display: none;
}

.account-page {
  min-height: calc(100vh - 76px);
  padding-right: 32px;
  padding-bottom: 46px;
}

.account-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 8px 30px;
}

.account-header h1 {
  margin: 5px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.account-header p:last-child,
.account-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.account-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.account-primary-action svg {
  width: 17px;
}

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

.account-stats article {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  min-height: 108px;
  padding: 18px;
  background: #f7f7f9;
  border: 1px solid #e8e8eb;
  border-radius: 8px;
}

.account-stats article > span {
  grid-row: 1 / 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #a85536;
  background: #fff;
  border-radius: 50%;
}

.account-stats svg {
  width: 20px;
}

.account-stats small {
  color: var(--muted);
  font-size: 0.72rem;
}

.account-stats strong {
  overflow: hidden;
  font-size: 1.25rem;
  text-overflow: ellipsis;
}

.account-section {
  margin-top: 30px;
}

.account-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.account-section-heading h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.account-section-heading > a {
  color: #4e7487;
  font-size: 0.76rem;
  font-weight: 700;
}

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

.creation-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 112px;
  padding: 17px;
  background: #fff;
  border: 1px solid #e5e6e9;
  border-radius: 8px;
}

.creation-item.featured {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.creation-item > svg:first-child {
  width: 24px;
  height: 24px;
}

.creation-item > svg:last-child {
  width: 17px;
  color: #8b8e95;
}

.creation-item strong,
.creation-item span {
  display: block;
}

.creation-item strong {
  font-size: 0.84rem;
}

.creation-item span {
  margin-top: 5px;
  color: #858991;
  font-size: 0.7rem;
  line-height: 1.4;
}

.creation-item.featured span {
  color: rgba(255, 255, 255, 0.62);
}

.account-library {
  min-height: 360px;
}

.account-empty {
  display: grid;
  min-height: 240px;
  place-items: center;
  align-content: center;
  padding: 34px;
  text-align: center;
  background: #f7f7f9;
  border: 1px dashed #d9dadd;
  border-radius: 8px;
}

.account-empty > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: #8f939a;
}

.account-empty strong {
  font-size: 0.9rem;
}

.account-empty span {
  max-width: 340px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.account-empty a {
  margin-top: 16px;
  color: #4e7487;
  font-size: 0.75rem;
  font-weight: 700;
}

.material-list,
.listing-list {
  display: grid;
  gap: 10px;
}

.library-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid #e4e5e8;
  border-radius: 8px;
}

.library-row > span:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #a85536;
  background: #f2f0eb;
  border-radius: 50%;
}

.library-row svg {
  width: 19px;
}

.library-row strong,
.library-row small {
  display: block;
}

.library-row small,
.library-row time {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.library-row > a {
  color: #4e7487;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Account access */
.login-shell {
  width: min(1220px, calc(100% - 32px));
}

.login-workspace {
  min-height: calc(100vh - 76px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 248, 0.92)),
    radial-gradient(circle at 12% 20%, rgba(193, 97, 62, 0.1), transparent 28%),
    radial-gradient(circle at 86% 84%, rgba(78, 116, 135, 0.13), transparent 30%);
}

.login-topbar {
  padding-bottom: 14px;
}

.login-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.76fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  min-height: min(650px, calc(100vh - 178px));
  padding: clamp(28px, 4.4vw, 58px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(247, 249, 249, 0.8)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 54%, rgba(255, 255, 255, 0.48) 54% 100%);
  border: 1px solid rgba(224, 228, 230, 0.9);
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(29, 42, 44, 0.08);
}

.login-intro {
  max-width: 610px;
}

.login-intro h1 {
  max-width: 600px;
  margin: 12px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 5.2vw, 5.45rem);
  line-height: 0.93;
}

.login-intro > p:not(.eyebrow) {
  max-width: 500px;
  color: #686d75;
  font-size: 0.98rem;
  line-height: 1.62;
}

.login-intro-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 34px;
}

.login-intro-list span {
  display: grid;
  gap: 14px;
  min-height: 112px;
  align-content: end;
  padding: 18px;
  color: #1f2527;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e1e4e5;
  border-radius: 22px;
  font-size: 0.78rem;
  font-weight: 700;
}

.login-intro-list svg {
  width: 22px;
  height: 22px;
  color: #7c8589;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 470px);
  margin: auto;
  padding: 0;
}

.login-panel .back-link {
  align-self: flex-start;
  margin-bottom: 22px;
  color: #697079;
  font-size: 0.72rem;
  font-weight: 700;
}

.login-panel-card {
  padding: clamp(24px, 2.8vw, 32px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(221, 225, 226, 0.95);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(18, 28, 29, 0.12);
  backdrop-filter: blur(20px);
}

.auth-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-height: 44px;
  margin-bottom: 16px;
  padding: 5px;
  background: #f0f1f2;
  border-radius: 999px;
}

.auth-mode-switch button {
  color: #696c73;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.auth-mode-switch button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.06);
}

.login-heading h2 {
  margin: 6px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.05rem;
  line-height: 0.98;
}

.login-heading span {
  display: block;
  max-width: 360px;
  margin-bottom: 16px;
  color: #71757d;
  font-size: 0.82rem;
  line-height: 1.55;
}

.google-auth-button.full {
  min-height: 48px;
  border-radius: 999px;
}

.account-auth-form {
  display: grid;
  gap: 12px;
}

.account-auth-form[hidden] {
  display: none;
}

.account-auth-form label {
  color: #565960;
  font-size: 0.74rem;
  font-weight: 700;
}

.auth-field {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  margin-top: 7px;
  padding: 0 15px;
  background: #f6f6f7;
  border: 1px solid transparent;
  border-radius: 16px;
}

.auth-field:focus-within {
  border-color: #9bcde1;
  box-shadow: 0 0 0 3px rgba(155, 205, 225, 0.2);
}

.auth-field > svg {
  width: 17px;
  color: #8c8f96;
}

.auth-field input {
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 600;
}

.password-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #777a82;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.password-toggle svg {
  width: 17px;
}

.forgot-password,
.auth-back-button {
  justify-self: end;
  padding: 0;
  color: #4e7487;
  background: transparent;
  border: 0;
  font-size: 0.7rem;
  font-weight: 700;
}

.auth-back-button {
  justify-self: center;
}

.auth-submit {
  min-height: 48px;
  margin-top: 3px;
  color: #fff;
  background: var(--charcoal);
  border: 0;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.auth-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.45;
}

.auth-consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--charcoal);
}

.auth-form-status {
  min-height: 18px;
  margin: 14px 0 0;
  color: #a34d3c;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.auth-field.invalid {
  border-color: #bc6653;
}

.site-footer {
  margin-top: 22px;
  padding: 34px;
  color: #fff;
  background: var(--charcoal);
  border-radius: 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(120px, 0.7fr));
  gap: 32px;
}

.footer-brand {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.footer-monogram {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border-radius: 15px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
}

.footer-brand strong {
  display: block;
  margin-top: 2px;
  font-size: 1rem;
}

.footer-brand p {
  max-width: 330px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.footer-links a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: #f4f4f6;
  border-radius: 50%;
  flex: 0 0 auto;
}

.mini-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.85;
}

.nav-icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

@media (max-width: 980px) {
  .site-shell {
    width: min(720px, calc(100% - 24px));
    margin: 24px auto;
  }

  .workspace {
    border-radius: 34px;
    padding-bottom: 104px;
  }

  .app-workspace {
    padding-left: 28px;
  }

  .account-sidebar {
    display: none;
  }

  .app-workspace > .topbar {
    justify-content: space-between;
    padding-bottom: 18px;
  }

  .app-workspace > .topbar .brand {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .hero-grid,
  .workflow,
  .builder-board,
  .stats-grid,
  .library-strip,
  .output-grid,
  .sample-strip,
  .help-grid,
  .trust-section,
  .about-section,
  .contact-section,
  .pricing-grid,
  .wizard-layout {
    grid-template-columns: 1fr;
  }

  .trust-section {
    padding: 24px;
  }

  .trust-copy {
    padding: 10px;
  }

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

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

  .process-title {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .process-title > p:last-child {
    max-width: 520px;
    margin: 12px 0 0;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-timeline::before {
    top: 27px;
    right: auto;
    bottom: 27px;
    left: 27px;
    width: 1px;
    height: auto;
  }

  .process-step {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 17px;
    padding-bottom: 26px;
  }

  .process-step:last-child {
    padding-bottom: 0;
  }

  .process-marker {
    grid-row: 1 / 3;
    width: 54px;
    height: 54px;
  }

  .process-marker span {
    width: 22px;
    height: 22px;
  }

  .process-marker svg {
    width: 21px;
    height: 21px;
  }

  .process-step h3,
  .process-step p {
    max-width: none;
  }

  .process-step h3 {
    margin: 4px 0 5px;
  }

  .process-outcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .journey-title {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .journey-title > p:last-child {
    margin: 12px 0 0;
  }

  .journey-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .journey-track::before {
    top: 29px;
    right: auto;
    bottom: 29px;
    left: 29px;
    width: 1px;
    height: auto;
  }

  .journey-stage {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding-bottom: 28px;
  }

  .journey-stage:last-child {
    padding-bottom: 0;
  }

  .journey-stage:not(:last-child)::after {
    display: none;
  }

  .journey-marker,
  .journey-stage.destination .journey-marker {
    grid-row: 1;
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .journey-marker svg {
    width: 22px;
    height: 22px;
  }

  .journey-stage > div:last-child,
  .journey-stage.destination > div:last-child {
    margin-top: 0;
  }

  .journey-stage p {
    margin-top: 5px;
  }

  .login-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px;
    gap: 30px;
    background: rgba(255, 255, 255, 0.72);
  }

  .login-intro {
    display: grid;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }

  .login-intro h1 {
    max-width: 520px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.8rem, 8vw, 4.4rem);
  }

  .login-intro > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .login-intro-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
  }

  .login-intro-list span {
    min-height: 92px;
    align-content: center;
    justify-items: center;
    padding: 14px;
    text-align: center;
  }

  .wizard-steps {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .wizard-steps button {
    min-width: 178px;
  }

  .hero-copy::after {
    opacity: 0.28;
  }

  .mobile-tabbar {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    max-width: 380px;
    height: 70px;
    margin: auto;
    padding: 6px;
    color: #d6d6d6;
    background: var(--charcoal);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mobile-tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 0 2px;
    color: currentColor;
    border-radius: 16px;
    text-decoration: none;
  }

  .mobile-tabbar .nav-icon,
  .mobile-tabbar svg {
    width: 22px !important;
    height: 22px !important;
  }

  .mobile-tabbar .tabbar-label {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    opacity: 0.78;
  }

  .mobile-tabbar a.active {
    color: var(--ink);
    background: #fff;
  }
  .mobile-tabbar a.active .tabbar-label {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .profile-editor { grid-template-columns: 1fr; padding: 0 0 100px; }
  .profile-form-panel, .profile-assets-panel { padding: 20px; border-radius: 14px; }
  .profile-address-field { grid-column: auto; grid-template-columns: 1fr; }
  .profile-phone-group { grid-template-columns: 1fr; }
  .custom-select-menu {
    right: auto;
    left: 0;
    min-width: min(300px, calc(100vw - 64px));
  }
  .profile-code-control .custom-select-menu {
    width: 100%;
    min-width: 100%;
  }

  body {
    background:
      radial-gradient(circle at 7% 18%, rgba(17, 17, 17, 0.95) 0 13px, transparent 14px),
      radial-gradient(circle at 92% 72%, rgba(17, 17, 17, 0.95) 0 9px, transparent 10px),
      linear-gradient(135deg, #d6edf7 0%, #c9e4f1 46%, #eff9fb 100%);
  }

  body::before {
    inset: -7% auto auto 10%;
    width: 92vw;
  }

  .site-shell {
    width: min(390px, calc(100% - 24px));
    margin: 18px auto;
  }

  .workspace {
    max-height: none;
    min-height: calc(100vh - 36px);
    padding: 18px;
    padding-bottom: 100px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.9);
  }

  .app-workspace {
    padding-right: 18px;
    padding-left: 18px;
  }

  .login-workspace {
    padding-bottom: 22px;
  }

  .login-layout {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .login-intro {
    display: none;
  }

  .login-panel {
    width: 100%;
    padding: 0 2px 8px;
  }

  .auth-mode-switch {
    margin-bottom: 28px;
  }

  .login-heading h2 {
    font-size: 2.35rem;
  }

  .account-header {
    align-items: flex-start;
    padding: 18px 2px 24px;
  }

  .account-header h1 {
    font-size: 2.45rem;
  }

  .account-primary-action {
    min-width: 46px;
    width: 46px;
    padding: 0;
    font-size: 0;
  }

  .account-primary-action svg {
    width: 18px;
  }

  .account-stats {
    grid-template-columns: 1fr;
  }

  .account-stats article {
    min-height: 88px;
  }

  .creation-item {
    min-height: 96px;
  }

  .account-empty {
    min-height: 220px;
    padding: 26px 18px;
  }

  .library-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .library-row > a,
  .library-row > time {
    grid-column: 2;
  }

  .topbar {
    padding-bottom: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small,
  .top-action {
    display: none;
  }

  .header-actions .top-action {
    display: inline-flex;
    min-height: 44px;
    padding: 0 14px;
  }

  .topbar {
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-button {
    min-width: 42px;
    min-height: 44px;
    padding: 0 10px;
  }

  .login-link {
    min-height: 44px;
    padding: 0 16px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero-copy,
  .auth-card,
  .overview,
  .workflow-form,
  .visual-canvas,
  .builder-detail,
  .help-panel,
  .suite {
    border-radius: 28px;
    box-shadow: none;
  }

  .hero-copy {
    min-height: 0;
    padding: 26px;
  }

  .hero-copy::after {
    display: none;
  }

  h1 {
    font-size: 2.82rem;
    line-height: 0.94;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .create-menu,
  .create-menu summary {
    width: 100%;
  }

  .create-menu,
  .hero-actions > .secondary-button {
    grid-column: 1 / -1;
  }

  .create-options {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
  }

  .primary-button,
  .secondary-button {
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .auth-card,
  .overview,
  .workflow-form,
  .builder-detail,
  .help-panel,
  .suite,
  .pricing-section,
  .faq-section,
  .trust-section,
  .about-section,
  .contact-section {
    padding: 24px;
  }

  .auth-card h2,
  .section-title h2 {
    font-size: 2.12rem;
  }

  .card-heading {
    margin-bottom: 28px;
  }

  .section-title {
    display: block;
  }

  .process-title > p:last-child {
    margin-top: 14px;
  }

  .process-outcome {
    margin-top: 32px;
  }

  .process-formats,
  .process-actions {
    width: 100%;
  }

  .process-formats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .process-formats span {
    justify-content: flex-start;
  }

  .process-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .journey-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
  }

  .trust-card-head {
    grid-template-columns: auto 1fr;
  }

  .verified-mark {
    grid-column: 2;
    justify-self: start;
  }

  .trust-metrics,
  .pricing-grid,
  .review-summary,
  .contact-form,
  .wizard-fields,
  .details-extended-grid,
  .cover-choice,
  .features-columns {
    grid-template-columns: 1fr;
  }

  .billing-toggle {
    margin-top: 18px;
  }

  .pricing-grid article {
    min-height: 220px;
  }

  .about-section,
  .contact-section {
    gap: 18px;
  }

  .contact-form label,
  .contact-form > button {
    grid-column: 1;
  }

  .wizard-intro {
    display: block;
    padding: 20px 4px;
  }

  .wizard-intro h1 {
    font-size: 2.75rem;
  }

  .autosave-state {
    width: fit-content;
  }

  .draft-actions {
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  .draft-status-group {
    width: 100%;
  }

  .wizard-stage {
    min-height: 0;
    padding: 16px;
  }

  .wizard-panel {
    min-height: 540px;
    padding: 22px;
  }

  .map-preview-card,
  .nearby-editor {
    padding: 16px;
    border-radius: 20px;
  }

  .map-preview-heading,
  .nearby-editor-heading {
    align-items: start;
  }

  .map-preview-heading h3,
  .nearby-editor-heading h3 {
    font-size: 1.12rem;
  }

  .static-map {
    min-height: 0;
    border-radius: 18px;
  }

  .static-map-placeholder {
    max-width: 220px;
    padding: 18px;
  }

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

  .landmark-choice {
    gap: 8px;
    min-height: 52px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .landmark-choice > svg {
    width: 16px;
    height: 16px;
  }

  .landmark-choice > span {
    font-size: 0.72rem;
  }

  .option-group.three,
  .option-group.two {
    grid-template-columns: 1fr;
  }

  .cover-choice img {
    height: 230px;
  }

  .photo-drop {
    min-height: 190px;
    padding: 18px;
    border-radius: 18px;
  }

  .photo-drop.has-photos {
    min-height: 96px;
    padding: 16px;
  }

  .photo-rules {
    justify-content: flex-start;
    gap: 6px;
  }

  .photo-rules span {
    padding: 7px 9px;
    font-size: 0.64rem;
  }

  .cover-picker-heading {
    align-items: start;
  }

  .cover-picker-heading h3 {
    font-size: 1.2rem;
  }

  .media-style-heading {
    align-items: start;
  }

  .media-style-heading h3 {
    font-size: 1.12rem;
  }

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

  .photo-preview-option {
    border-radius: 12px;
  }

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

  .style-grid button {
    padding: 8px 8px 12px;
    border-radius: 16px;
  }

  .style-grid button strong {
    display: block;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .style-preview {
    height: 88px;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px;
  }

  .feature-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 5px;
    min-height: 76px;
    padding: 7px 6px;
    font-size: 0.63rem;
    line-height: 1.22;
  }

  .feature-option > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .feature-option > svg {
    width: 20px;
    height: 20px;
  }

  .feature-option > b {
    width: 15px;
    height: 15px;
    border-radius: 5px;
  }

  .feature-option > b::after {
    top: 1px;
    left: 4px;
  }

  .feature-group legend {
    margin-bottom: 10px;
  }

  .feature-group legend span {
    font-size: 0.94rem;
  }

  .feature-group legend small {
    font-size: 0.58rem;
  }

  .composer-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .composer-status {
    grid-row: 2;
    grid-column: 1 / -1;
  }

  .refine-button {
    margin-left: 0;
  }

  .stats-grid {
    gap: 12px;
  }

  .stat-card {
    min-height: 132px;
    border-radius: 24px;
  }

  .stat-card strong {
    font-size: 2.2rem;
  }

  .library-strip article {
    grid-template-columns: auto 1fr;
  }

  .library-strip strong {
    grid-column: 2;
    justify-self: start;
  }

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

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

  .step-rail article {
    min-height: 0;
  }

  .upload-gate {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .upload-gate button {
    width: 100%;
    margin-left: 0;
  }

  .visual-canvas {
    min-height: 560px;
  }

  .canvas-image {
    height: 280px;
  }

  .floating-control,
  .save-button {
    width: 52px;
    height: 52px;
  }

  .canvas-sheet {
    padding: 34px 26px 26px;
  }

  .visual-canvas h2 {
    font-size: 3.2rem;
  }

  .output-card {
    border-radius: 24px;
  }

  .output-card img {
    height: 184px;
  }

  .site-footer {
    padding: 26px;
    border-radius: 26px;
  }

  .footer-main {
    gap: 26px 18px;
  }

  .footer-brand p {
    font-size: 0.76rem;
  }

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

}

@media (max-width: 360px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button,
  .create-menu summary {
    width: 100%;
  }

  .format-tabs {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }
}

/* === Phase 1: auth state + coming-soon === */
body[data-requires-auth]:not([data-auth-checked]) { visibility: hidden; }
[data-auth-hide-when-signed-in] { display: revert; }
body[data-signed-in] [data-auth-hide-when-signed-in] { display: none !important; }
[data-auth-show-when-signed-in] { display: none; }
body[data-signed-in] [data-auth-show-when-signed-in] { display: revert !important; }

.coming-soon-pill {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
  color: rgba(0, 0, 0, 0.55);
  vertical-align: middle;
}
.coming-soon-item {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.5rem;
}
.sidebar-foot .sidebar-signout {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sidebar-foot .sidebar-signout:hover {
  background: rgba(0, 0, 0, 0.04);
}
.sidebar-foot .sidebar-signout small,
.sidebar-foot .sidebar-help small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.65;
  line-height: 1.1;
}

/* === Dashboard mock (v2) === */
.dash-v2 .account-header { display: none; }
.dash-v2 .account-stats { display: none; }

.dash-top-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.035);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.dash-top-strip strong { font-weight: 600; }
.dash-top-strip .dot { opacity: 0.4; }
.dash-top-strip .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}
.dash-top-strip .upgrade-link {
  margin-left: auto;
  font-size: 0.85rem;
  text-decoration: underline;
  opacity: 0.75;
}

.dash-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  margin-bottom: 1rem;
}
.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.dash-card-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.dash-card-head .eyebrow {
  margin: 0 0 0.15rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.dash-card-head .meta {
  font-size: 0.8rem;
  opacity: 0.65;
}

.onboarding-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.onboarding-steps li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.015);
}
.onboarding-steps li.done {
  opacity: 0.55;
}
.onboarding-steps li.current {
  border-color: rgba(0, 0, 0, 0.5);
  background: #fff;
}
.onboarding-steps li i {
  width: 22px;
  height: 22px;
}
.onboarding-steps li strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}
.onboarding-steps li span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.65;
  margin-top: 0.15rem;
}
.onboarding-steps li a {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.draft-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.02);
}
.draft-row .draft-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
}
.draft-row strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}
.draft-row small {
  display: block;
  font-size: 0.76rem;
  opacity: 0.6;
  margin-top: 0.15rem;
}
.draft-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.draft-progress .bar {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  overflow: hidden;
  min-width: 100px;
}
.draft-progress .bar span {
  display: block;
  height: 100%;
  background: #111;
  border-radius: 99px;
}
.draft-progress > span {
  font-size: 0.76rem;
  font-weight: 600;
}
.draft-row .resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.stat-strip article {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
}
.stat-strip article .icon-slot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.stat-strip article strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
}
.stat-strip article small {
  font-size: 0.74rem;
  opacity: 0.6;
}

.materials-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.material-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #fff;
}
.material-row .icon-slot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
}
.material-row strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}
.material-row small {
  display: block;
  font-size: 0.76rem;
  opacity: 0.6;
  margin-top: 0.1rem;
}
.material-row .row-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.material-row .row-actions a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}
.material-row .row-actions a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.dash-region-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  opacity: 0.65;
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.dash-region-footer a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .stat-strip { grid-template-columns: 1fr; }
  .onboarding-steps li,
  .draft-row {
    grid-template-columns: 28px 1fr;
  }
  .onboarding-steps li a,
  .draft-row .resume-btn {
    grid-column: 2;
    justify-self: flex-start;
    margin-top: 0.4rem;
  }
  .draft-row .draft-icon { grid-row: span 2; }
}

/* === Infographic enhancements === */
.dash-hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1rem;
}
.profile-ring-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}
.profile-ring-card .ring {
  position: relative;
  width: 132px;
  height: 132px;
}
.profile-ring-card .ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.profile-ring-card .ring .track { stroke: rgba(0, 0, 0, 0.08); }
.profile-ring-card .ring .progress { stroke: #111; transition: stroke-dashoffset 0.6s ease; }
.profile-ring-card .ring .label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  gap: 0.15rem;
}
.profile-ring-card .ring .label strong {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}
.profile-ring-card .ring .label small {
  font-size: 0.72rem;
  opacity: 0.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.profile-ring-card .ring-meta {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.4rem;
}
.profile-ring-card .ring-sub {
  font-size: 0.74rem;
  opacity: 0.6;
}
.profile-ring-card a {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.dash-stepper-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.dash-stepper-card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.dash-stepper-card .head .eyebrow { margin: 0 0 0.15rem; font-size: 0.7rem; letter-spacing: 0.08em; }
.dash-stepper-card .head h2 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.dash-stepper-card .head .meta { font-size: 0.8rem; opacity: 0.6; }

.dash-stepper {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.3rem;
}
.dash-stepper .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 80px;
}
.dash-stepper .step .node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.5);
  border: 2px solid transparent;
  font-size: 0.95rem;
}
.dash-stepper .step.done .node {
  background: #111;
  color: #fff;
}
.dash-stepper .step.current .node {
  background: #fff;
  color: #111;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}
.dash-stepper .step small {
  font-size: 0.72rem;
  text-align: center;
  font-weight: 600;
  opacity: 0.7;
}
.dash-stepper .step.current small { opacity: 1; }
.dash-stepper .line {
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.08);
  margin-top: -22px;
}
.dash-stepper .line.done { background: #111; }
.dash-stepper-card .cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  width: fit-content;
}

/* Quota meter */
.quota-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.quota-card .quota-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.quota-card .quota-head strong { font-weight: 600; }
.quota-card .quota-head small { opacity: 0.6; }
.quota-card .meter {
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.quota-card .meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #84cc16);
  border-radius: 99px;
  transition: width 0.5s ease;
}
.quota-card .upgrade-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Colored stat tones */
.stat-strip article[data-tone="amber"] .icon-slot {
  background: #FEF3C7;
  color: #92400E;
}
.stat-strip article[data-tone="blue"] .icon-slot {
  background: #DBEAFE;
  color: #1E3A8A;
}
.stat-strip article[data-tone="green"] .icon-slot {
  background: #D1FAE5;
  color: #065F46;
}
.stat-strip article[data-tone="rose"] .icon-slot {
  background: #FFE4E6;
  color: #9F1239;
}

/* Region badge */
.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  font-size: 0.75rem;
}
.region-badge .flag {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(180deg, #FF9933 33%, #fff 33% 66%, #138808 66%);
}

@media (max-width: 720px) {
  .dash-hero-grid { grid-template-columns: 1fr; }
  .dash-stepper { grid-template-columns: 1fr; }
  .dash-stepper .line { display: none; }
  .dash-stepper .step { flex-direction: row; gap: 0.7rem; min-width: 0; }
  .dash-stepper .step small { text-align: left; }
}

/* === Preview section (replaces .trust-section on home) === */
.preview-section {
  padding: 4rem 2rem 4.5rem;
  display: grid;
  gap: 2rem;
}
.preview-intro { max-width: 720px; }
.preview-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0.2rem 0 0.6rem;
  line-height: 1.15;
}
.preview-intro p {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
.preview-intro .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.preview-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 22px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 14px 40px -28px rgba(0, 0, 0, 0.35);
}
.preview-card header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.preview-card header strong { font-weight: 600; }
.preview-tag {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Workspace mini */
.preview-quota {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
}
.preview-quota-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}
.preview-quota-head strong { font-weight: 600; }
.preview-quota-head small { opacity: 0.6; }
.preview-meter {
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.preview-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #84cc16);
  border-radius: 99px;
}

.preview-hero {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: center;
}
.preview-ring {
  position: relative;
  width: 110px;
  height: 110px;
}
.preview-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.preview-ring .track { stroke: rgba(0, 0, 0, 0.08); }
.preview-ring .progress { stroke: #111; }
.preview-ring > div {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}
.preview-ring strong {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.preview-ring small {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  display: block;
  margin-top: 0.1rem;
}

.preview-stepper .eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin: 0 0 0.5rem;
}
.preview-stepper-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.3rem;
}
.preview-stepper-row .node {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.78rem;
  font-weight: 700;
  border: 2px solid transparent;
}
.preview-stepper-row .node.done { background: #111; color: #fff; }
.preview-stepper-row .node.current {
  background: #fff;
  color: #111;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.preview-stepper-row .line {
  height: 2px;
  background: rgba(0, 0, 0, 0.08);
}
.preview-stepper-row .line.done { background: #111; }
.preview-stepper ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
  font-size: 0.7rem;
}
.preview-stepper ul li {
  opacity: 0.55;
  text-align: center;
}
.preview-stepper ul li strong {
  font-weight: 600;
  opacity: 1;
}
.preview-stepper ul li:nth-child(2) { opacity: 1; }

.preview-draft {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.02);
  align-items: center;
}
.preview-draft-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
}
.preview-draft strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}
.preview-draft small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 0.1rem;
}
.preview-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
}
.preview-progress > div {
  flex: 1;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  overflow: hidden;
}
.preview-progress > div span {
  display: block;
  height: 100%;
  background: #111;
  border-radius: 99px;
}
.preview-progress small {
  font-size: 0.7rem;
  font-weight: 600;
  margin: 0;
  opacity: 0.75;
}

/* Workspace feature carousel (slider) */
.feature-carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.carousel-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 2.4rem;
  color: #fff;
  position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.15), transparent 55%),
    linear-gradient(135deg, var(--accent-from, #1e3a8a), var(--accent-to, #3b82f6));
}
.carousel-slide[data-tone="indigo"] { --accent-from: #1e3a8a; --accent-to: #4f46e5; }
.carousel-slide[data-tone="amber"]  { --accent-from: #b45309; --accent-to: #f59e0b; }
.carousel-slide[data-tone="green"]  { --accent-from: #15803d; --accent-to: #22c55e; }
.carousel-slide[data-tone="violet"] { --accent-from: #6d28d9; --accent-to: #a855f7; }
.carousel-slide[data-tone="rose"]   { --accent-from: #be123c; --accent-to: #f43f5e; }
.carousel-slide[data-tone="teal"]   { --accent-from: #0f766e; --accent-to: #14b8a6; }

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.slide-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  z-index: 1;
}
.slide-icon i,
.slide-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: #fff;
}
.slide-body {
  z-index: 1;
}
.carousel-slide strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.carousel-slide p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36ch;
}
.slide-counter {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: width 220ms ease, background 220ms ease;
}
.carousel-dots button.active {
  background: #fff;
  width: 24px;
}
.carousel-dots button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
}

/* Subtle variant (matches workspace card aesthetic, no bold colors) */
.feature-carousel--subtle {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 280px;
}
.feature-carousel--subtle .carousel-slide {
  background: transparent;
  color: inherit;
  padding: 1.5rem 1.5rem 2.4rem;
  gap: 0.55rem;
  justify-content: flex-start;
}
.feature-carousel--subtle .carousel-slide::after { display: none; }
.feature-carousel--subtle .slide-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 0.2rem;
}
.feature-carousel--subtle .slide-icon i,
.feature-carousel--subtle .slide-icon svg {
  width: 22px !important;
  height: 22px !important;
  stroke: #111;
}
.feature-carousel--subtle .slide-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.3rem;
}
.feature-carousel--subtle strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.8rem);
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.feature-carousel--subtle p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.72);
  margin: 0 0 0.6rem;
  max-width: 40ch;
}
.feature-carousel--subtle small {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
}
.feature-carousel--subtle small em {
  font-style: normal;
  color: #111;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  margin-left: 0.2rem;
}
.feature-carousel--subtle .carousel-dots {
  bottom: 0.9rem;
}
.feature-carousel--subtle .carousel-dots button {
  background: rgba(0, 0, 0, 0.18);
}
.feature-carousel--subtle .carousel-dots button.active {
  background: #111;
}
.feature-carousel--subtle .carousel-dots button:focus-visible {
  outline-color: rgba(0, 0, 0, 0.5);
}

/* === Business card editor === */
.card-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  padding: 0 6px 80px;
}
.card-editor-panel,
.card-preview-panel {
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
/* Business card preview — the star of the page. Slightly bolder frame + gentle
   gradient behind the card so it reads as the focal point, not equal weight. */
.card-preview-panel {
  background: linear-gradient(180deg, #fdfdfd 0%, #f4f5f7 100%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.28);
  border-color: rgba(0, 0, 0, 0.08);
}
.card-preview-panel .eyebrow {
  color: var(--ink);
  opacity: 0.7;
  letter-spacing: 0.14em;
}
.card-editor-block {
  margin-bottom: 1.6rem;
}
.card-editor-block h2 {
  margin: 0.15rem 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.card-editor-block .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.theme-tile {
  padding: 0.85rem 0.85rem;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 100ms ease;
}
.theme-tile:active { transform: scale(0.97); }
.style-grid [data-theme]:active:not(:disabled) { transform: scale(0.97); }
.theme-tile:hover { border-color: rgba(0, 0, 0, 0.25); }
.theme-tile.is-active {
  border-color: #111;
  background: #ebebee;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.orientation-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.orientation-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  background: rgba(0, 0, 0, 0.02);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.orientation-option:hover { border-color: rgba(0, 0, 0, 0.2); }
.orientation-option.is-active {
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}
.orientation-option span:nth-of-type(2) {
  font-weight: 600;
  font-size: 0.9rem;
}
.orientation-option small {
  font-size: 0.72rem;
  opacity: 0.6;
}
.orientation-glyph {
  display: inline-block;
  border: 2px solid #111;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
}
.orientation-glyph--horizontal { width: 32px; height: 20px; }
.orientation-glyph--vertical { width: 20px; height: 32px; }

.card-profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.8rem;
}
.card-profile-list li {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
}
.card-profile-list li span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.2rem;
}
.card-profile-list li strong {
  font-weight: 600;
  word-break: break-word;
}
.card-profile-list li.empty strong {
  opacity: 0.45;
  font-weight: 500;
}
.card-profile-warn {
  margin: 0.6rem 0 0;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  background: rgba(180, 100, 0, 0.07);
  font-size: 0.78rem;
  color: rgba(120, 70, 0, 0.85);
}
.card-profile-warn a { color: inherit; font-weight: 600; }

.card-editor-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.8rem;
}
.card-editor-actions .generate-button,
.card-preview-downloads .generate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.card-editor-actions .generate-button i,
.card-editor-actions .generate-button svg,
.card-preview-downloads .generate-button i,
.card-preview-downloads .generate-button svg {
  width: 18px !important;
  height: 18px !important;
}
.card-download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.card-download-row .card-download-btn {
  min-height: 48px;
  padding: 0 0.85rem;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}
.card-secondary-action {
  background: #fff !important;
  color: #111 !important;
  border: 1.5px solid #111 !important;
}

/* Desktop: hide the in-panel download row and use the one under the preview */
.card-preview-downloads {
  display: none;
  margin-top: 0.9rem;
}
@media (min-width: 860px) {
  .card-editor-actions .card-download-row { display: none; }
  .card-preview-downloads { display: grid; }
}
.card-action-note {
  font-size: 0.78rem;
  opacity: 0.7;
  margin: 0;
  min-height: 1.2em;
}
.card-meta {
  font-size: 0.8rem;
  opacity: 0.65;
}

/* Preview */
.card-preview-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}
.card-preview-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.04), transparent 65%),
    rgba(0, 0, 0, 0.02);
  border-radius: 14px;
  min-height: 320px;
}
.card-preview-note {
  font-size: 0.78rem;
  opacity: 0.55;
  text-align: center;
  margin: 0;
}

.card-preview {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--card-bg, #F4F2ED);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 50px -25px rgba(0, 0, 0, 0.35), 0 4px 10px rgba(0, 0, 0, 0.06);
  color: var(--card-ink, #1E282A);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
.card-preview-stage[data-orientation="horizontal"] .card-preview {
  aspect-ratio: 85 / 55;
}
.card-preview-stage[data-orientation="vertical"] .card-preview {
  aspect-ratio: 55 / 85;
  max-width: 260px;
}
.card-preview-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 6%;
  display: grid;
  gap: 4%;
}
.card-preview-stage[data-orientation="horizontal"] .card-preview-inner {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "identity logo"
    "contact  qr"
    "contact  qr";
  gap: 3% 4%;
}
.card-preview-stage[data-orientation="vertical"] .card-preview-inner {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "identity logo"
    "contact  contact"
    "qr       qr";
  text-align: left;
  gap: 4% 3%;
  align-content: start;
}
.card-preview-stage[data-orientation="vertical"] .card-preview-contact {
  align-self: start;
  margin-top: 3%;
}
.card-preview-stage[data-orientation="vertical"] .card-preview-qr {
  margin-top: 4%;
}
.card-preview-identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card-preview-identity strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(0.95rem, 2.4cqw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.card-preview-identity span {
  font-size: clamp(0.7rem, 1.4cqw, 0.85rem);
  opacity: 0.65;
  margin-top: 0.15rem;
}
.card-preview-contact {
  grid-area: contact;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  font-size: clamp(0.65rem, 1.4cqw, 0.78rem);
  align-self: center;
}
.card-preview-contact li {
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.card-preview-stage[data-orientation="vertical"] .card-preview-contact li {
  justify-content: center;
}
.card-preview-contact i,
.card-preview-contact svg {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.7;
}
.card-preview-logo {
  grid-area: logo;
  aspect-ratio: 1;
  width: 60px;
  border-radius: 6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.card-preview-stage[data-orientation="vertical"] .card-preview-logo {
  width: 50px;
}
.card-preview-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-preview-qr {
  grid-area: qr;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  font-size: clamp(0.55rem, 1.1cqw, 0.66rem);
  opacity: 0.95;
}
.card-preview-stage[data-orientation="vertical"] .card-preview-qr {
  align-items: center;
}
.card-preview-qr img {
  width: 100%;
  max-width: 80px;
  height: auto;
  background: #fff;
  border-radius: 4px;
}
.card-preview-stage[data-orientation="horizontal"] .card-preview-qr img {
  width: 80px;
}
.card-preview-stage[data-orientation="vertical"] .card-preview-qr img {
  width: 100px;
}
.card-preview-qr small {
  margin-top: 0.2em;
  opacity: 0.6;
}
.card-preview-placeholder {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  opacity: 0.55;
}
.card-preview-accent {
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--card-accent, #B15F42);
}

/* Theme color tokens applied via [data-theme] */
.card-preview-stage[data-theme="architectural_grid"] .card-preview {
  --card-bg: #F4F2ED;
  --card-ink: #1E282A;
  --card-accent: #B15F42;
  --card-image-fill: #CDD5D1;
}
.card-preview-stage[data-theme="clean_editorial"] .card-preview {
  --card-bg: #FAFAF8;
  --card-ink: #17191D;
  --card-accent: #476C72;
  --card-image-fill: #DCE3E4;
}
.card-preview-stage[data-theme="bold_property"] .card-preview {
  --card-bg: #F3EFE8;
  --card-ink: #171614;
  --card-accent: #C85C2B;
  --card-image-fill: #D9CEC0;
}
.card-preview-stage[data-theme="quiet_minimal"] .card-preview {
  --card-bg: #FFFFFF;
  --card-ink: #23272B;
  --card-accent: #778F91;
  --card-image-fill: #E1E6E6;
}

@media (max-width: 860px) {
  .card-editor { grid-template-columns: 1fr; }
  .card-preview-stage { padding: 1.5rem 0.5rem; }
}

/* Card stack — self + custom collapsible cards (v6) */
.card-stack { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.4rem; }
.card-stack-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.card-stack-item.is-expanded {
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.18);
}
.card-stack-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.card-stack-toggle:hover { background: rgba(0, 0, 0, 0.02); }
.card-stack-head .eyebrow {
  margin: 0 0 0.18rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}
.card-stack-head strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}
.card-stack-chevron {
  width: 22px !important;
  height: 22px !important;
  padding: 4px;
  opacity: 0.65;
  transition: transform 220ms ease;
  flex-shrink: 0;
  box-sizing: content-box;
}
.card-stack-item.is-expanded .card-stack-chevron { transform: rotate(180deg); }

.card-stack-body {
  max-height: 0;
  padding: 0 1.1rem;
  opacity: 0;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 220ms ease, padding 320ms ease;
}
.card-stack-item.is-expanded .card-stack-body {
  max-height: 1400px;
  padding: 0.2rem 1.1rem 1.2rem;
  opacity: 1;
}
.card-stack-body .card-profile-list { margin-top: 0; }
.card-stack-body .card-custom-form {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Custom-card mode (Create another) */
.card-ghost-action {
  background: #fff !important;
  color: #111 !important;
  border: 1.5px dashed rgba(0, 0, 0, 0.25) !important;
  box-shadow: none !important;
}
.card-ghost-action:hover {
  border-color: rgba(0, 0, 0, 0.5) !important;
  background: rgba(0, 0, 0, 0.02) !important;
}
.bc-back-link {
  display: inline-block;
  margin-top: 0.5rem;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: rgba(0, 0, 0, 0.7);
  text-decoration: underline;
  cursor: pointer;
}

.card-custom-form {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.4rem;
  display: grid;
  gap: 0.85rem;
}
.card-custom-form-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.card-custom-form-head .bc-back-link {
  align-self: flex-start;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
}
.card-custom-form-head .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  margin: 0;
  opacity: 0.6;
}
.card-custom-form h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}
.card-custom-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}
.card-custom-form label input,
.card-custom-form label > input {
  width: 100%;
  height: 44px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fafafa;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: #111;
  transition: border-color 140ms ease, background 140ms ease;
}
.card-custom-form label input:focus {
  outline: 0;
  border-color: rgba(0, 0, 0, 0.5);
  background: #fff;
}
.card-custom-form label input::placeholder { color: rgba(0, 0, 0, 0.35); }
.bc-optional {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
}
.card-custom-phone-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: end;
}
.card-custom-phone-row .field-control.select-control {
  height: 44px;
  margin: 0;
  padding: 0 0.7rem;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

/* Country code: narrow closed-state, full-name open list */
.profile-code-control,
.card-custom-phone-row .field-control.select-control {
  max-width: 110px;
  flex: 0 0 110px;
}
.profile-code-control .custom-select-trigger,
.card-custom-phone-row .field-control.select-control .custom-select-trigger {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.profile-code-control .custom-select-menu,
.card-custom-phone-row .field-control.select-control .custom-select-menu {
  min-width: 260px;
  width: max-content;
}

/* Languages spoken chips (profile) */
.profile-languages-label {
  display: block;
  margin-top: 14px;
}
.profile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.lang-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #1c1f24;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.lang-chip:hover {
  border-color: rgba(0, 0, 0, 0.5);
}
.lang-chip.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.card-custom-form .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}
.card-custom-form h2 {
  margin: 0.1rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.card-custom-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
}
.card-custom-form input,
.card-custom-form select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
  color: #111;
  outline: 0;
  transition: border-color 160ms ease, background 160ms ease;
  width: 100%;
}
.card-custom-form input:focus,
.card-custom-form select:focus {
  border-color: #111;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.card-custom-phone-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem;
}
.bc-optional {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.55);
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  margin-left: 0.4rem;
}

/* Arrow nav (replaces dots) */
.carousel-arrows {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.carousel-arrows button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  color: #111;
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.carousel-arrows button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.carousel-arrows button:active {
  transform: scale(0.95);
}
.carousel-arrows button:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.5);
  outline-offset: 2px;
}
.carousel-arrows button i,
.carousel-arrows button svg {
  width: 18px !important;
  height: 18px !important;
}

.preview-features .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  flex: 1;
  margin-top: 0.2rem;
}
.preview-features .feature-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.02);
  min-width: 0;
}
.preview-features .feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
  color: #111;
  flex-shrink: 0;
}
.preview-features .feature-item > div { min-width: 0; }
.preview-features .feature-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.15;
}
.preview-features .feature-item small {
  display: block;
  font-size: 0.74rem;
  opacity: 0.62;
  margin-top: 0.15rem;
  line-height: 1.3;
}
.preview-features footer {
  font-size: 0.78rem;
  opacity: 0.55;
  padding-top: 0.5rem;
  letter-spacing: 0.01em;
}

@media (max-width: 520px) {
  .preview-features .feature-grid { grid-template-columns: 1fr; }
}

/* Output image placeholder (right card) */
.preview-image-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 2rem 1.5rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1.5px dashed rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  text-align: center;
  min-height: 320px;
  color: rgba(0, 0, 0, 0.5);
}
.preview-image-slot i,
.preview-image-slot svg {
  width: 38px !important;
  height: 38px !important;
  opacity: 0.5;
}
.preview-image-slot strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 0.3rem;
}
.preview-image-slot small {
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Brochure mini */
.preview-pdf {
  flex: 1;
  background: linear-gradient(180deg, #ECE9DF 0%, #F8F6EE 100%);
  border-radius: 16px;
  padding: 1rem 1rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  min-height: 280px;
}
.preview-pdf img {
  max-width: 100%;
  max-height: 460px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.06);
  display: block;
}
.preview-card.preview-brochure footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
  opacity: 0.65;
}
.preview-card.preview-brochure footer .dot { opacity: 0.4; }

@media (max-width: 860px) {
  .preview-grid { grid-template-columns: 1fr; }
  .preview-pdf img { max-height: 520px; }
}

@media (max-width: 520px) {
  .preview-section { padding: 2.5rem 1.25rem 3rem; }
  .preview-card { padding: 1.1rem; border-radius: 18px; }
  .preview-hero { grid-template-columns: 90px 1fr; }
  .preview-ring { width: 90px; height: 90px; }
  .preview-ring strong { font-size: 1.15rem; }
  .preview-pdf { min-height: 360px; }
}

/* === Workspace typography (compact, app-like) === */
.app-workspace h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.2rem;
}
.app-workspace .wizard-intro h1 {
  font-size: 1.6rem;
}
.app-workspace h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.app-workspace .account-header h1,
.app-workspace .account-header h1 span {
  font-size: 1.7rem;
  font-weight: 700;
}
.app-workspace .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

/* === Hero stat strip (product facts at bottom of .hero-copy) === */
.hero-stats {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  padding-top: clamp(1rem, 2vw, 1.4rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 620px;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.hero-stats strong {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1;
  color: #111;
  letter-spacing: -0.01em;
}
.hero-stats small {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  line-height: 1.25;
}
@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 1.2rem;
  }
}

.account-type-chooser {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.3rem 0 0.25rem;
}
.account-type-chooser.is-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin: 0.3rem 0;
}
.account-type-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  width: 100%;
  transition: border-color 160ms ease, background 160ms ease;
}
.account-type-card:hover,
.account-type-card:focus-visible {
  border-color: rgba(0, 0, 0, 0.22);
  outline: none;
}
.account-type-card.is-selected {
  border-color: #17191D;
  background: #fafaf8;
}
.account-type-card .account-type-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f4f2ed;
  color: #1e282a;
  flex: 0 0 auto;
  transition: background 160ms ease, color 160ms ease;
}
.account-type-card.is-selected .account-type-icon {
  background: #17191D;
  color: #fff;
}
.account-type-card .account-type-icon i {
  width: 16px;
  height: 16px;
}
.account-type-card .account-type-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  flex: 1 1 auto;
  min-width: 0;
}
.account-type-card .account-type-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: #17191D;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.account-type-card .account-type-text small {
  font-size: 0.72rem;
  color: #6E747C;
  line-height: 1.3;
}
.account-type-card .account-type-chevron {
  width: 16px;
  height: 16px;
  color: #6E747C;
  flex: 0 0 auto;
}

.agency-cta-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem 0 0;
}
.agency-cta-block[hidden] { display: none; }
.agency-cta-block p {
  margin: 0;
  font-size: 0.86rem;
  color: #6E747C;
  line-height: 1.55;
}
.agency-cta-block a.auth-submit {
  text-align: center;
  text-decoration: none;
}

.login-panel-card .login-heading {
  margin-bottom: 0.3rem;
}
.login-panel-card .login-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #17191D;
}
.login-panel-card .login-heading .eyebrow,
.login-panel-card .login-heading span {
  display: none;
}

.login-intro p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   Login gateway (Stage A) + form stage (Stage B)
   ============================================================ */
.login-gateway {
  max-width: 540px;
  margin: 4rem auto 2rem;
  padding: 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.login-gateway[hidden] { display: none; }
.login-gateway-intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.login-gateway-intro .eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6E747C;
}
.login-gateway-intro h1 {
  margin: 0;
  font-family: "Times New Roman", "Times", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #17191D;
  line-height: 1.05;
}
.login-gateway-intro p {
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
  color: #6E747C;
}

.login-gateway-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 24px 60px -34px rgba(0,0,0,0.2);
}
.login-gateway-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(0,0,0,0.05);
  border-radius: 999px;
}
.login-gateway-tabs button {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #6E747C;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.login-gateway-tabs button.active {
  background: #fff;
  color: #17191D;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.login-gateway-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
@media (max-width: 540px) {
  .login-gateway-grid { grid-template-columns: 1fr; }
}
.gateway-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.3rem 1.2rem 1.1rem;
  background: #fafaf8;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.gateway-card:hover,
.gateway-card:focus-visible {
  border-color: rgba(0,0,0,0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(0,0,0,0.22);
  outline: none;
  background: #fff;
}
.gateway-card strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: #17191D;
  letter-spacing: -0.01em;
}
.gateway-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  color: #1e282a;
}
.gateway-icon i { width: 20px; height: 20px; }
.gateway-arrow {
  position: absolute;
  top: 1.3rem;
  right: 1.2rem;
  width: 16px;
  height: 16px;
  color: #6E747C;
  transition: transform 200ms ease, color 200ms ease;
}
.gateway-card:hover .gateway-arrow {
  transform: translateX(3px);
  color: #17191D;
}
.gateway-card-dark {
  background: #1e282a;
  border-color: #1e282a;
  color: #fff;
}
.gateway-card-dark:hover { background: #14191b; border-color: #14191b; }
.gateway-card-dark strong { color: #fff; }
.gateway-card-dark .gateway-icon {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.gateway-card-dark .gateway-arrow { color: rgba(255,255,255,0.7); }
.gateway-card-dark:hover .gateway-arrow { color: #fff; }

/* Stage B — form */
.login-stage {
  max-width: 480px;
  margin: 3.5rem auto 2rem;
  padding: 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.login-stage[hidden] { display: none; }
.login-stage-intro {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.login-back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem 0.4rem 0.5rem;
  margin-bottom: 0.6rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: #6E747C;
  cursor: pointer;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease;
}
.login-back-link:hover { background: rgba(0,0,0,0.05); color: #17191D; }
.login-back-link i { width: 14px; height: 14px; }
.login-stage-intro .eyebrow {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6E747C;
}
.login-stage-intro h1 {
  margin: 0;
  font-family: "Times New Roman", "Times", serif;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #17191D;
  line-height: 1.1;
}
.login-stage-intro p {
  margin: 0.2rem 0 0;
  font-size: 0.96rem;
  color: #6E747C;
}
.login-stage-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 24px 60px -34px rgba(0,0,0,0.2);
}
.login-stage[data-account="agency"] .login-stage-card {
  border-color: rgba(30,40,42,0.16);
}
.login-stage[data-account="agency"] .login-stage-intro .eyebrow {
  color: #1e282a;
}

.auth-cross-link {
  margin: 0.3rem 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: #6E747C;
}
.auth-cross-link a {
  color: #17191D;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.auth-cross-link a:hover { opacity: 0.75; }
.auth-cross-link [hidden] { display: none; }

.agency-signup-card { gap: 0.2rem; }
.agency-signup-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  color: #6E747C;
}
.agency-signup-progress > div {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.agency-signup-progress > div > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33%;
  background: #1e282a;
  transition: width 280ms ease;
}
.agency-signup-progress strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: #17191D;
}

.agency-signup-panel { display: none; flex-direction: column; gap: 0.7rem; }
.agency-signup-panel.active { display: flex; }
.agency-signup-panel .login-heading { margin-bottom: 0.2rem; }

.agency-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 0.7rem;
}
@media (max-width: 540px) {
  .agency-two-col { grid-template-columns: 1fr; }
}

.agency-signup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.agency-signup-actions button {
  flex: 1 1 auto;
  padding: 0.78rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.agency-signup-actions button:disabled { opacity: 0.45; cursor: not-allowed; }
.agency-signup-actions button#agency-next {
  background: #111;
  color: #fff;
  border-color: #111;
  flex: 2 1 auto;
}
.agency-signup-actions button#agency-next:hover { background: #000; }
.agency-signup-actions button#agency-prev:hover:not(:disabled) {
  border-color: rgba(0,0,0,0.25);
  background: #fafafa;
}

.agency-phone-group {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.45rem;
}
.agency-code-control { min-width: 0; }
.agency-code-control select { font-size: 0.9rem; }

.agency-logo-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.1rem;
  border: 1px dashed rgba(0,0,0,0.22);
  border-radius: 14px;
  background: #fafaf8;
  cursor: pointer;
  text-align: center;
}
.agency-logo-upload:hover { border-color: rgba(0,0,0,0.4); background: #fff; }
.agency-logo-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.agency-logo-preview {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 0.78rem;
  color: #9aa0a6;
}
.agency-logo-upload strong { font-size: 0.92rem; font-weight: 700; color: #17191D; }
.agency-logo-upload small { font-size: 0.75rem; color: #6E747C; }

.agency-color-label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: #17191D;
}
.agency-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.agency-color-swatches button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch, #ccc);
  cursor: pointer;
  padding: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.agency-color-swatches button:hover { transform: scale(1.06); }
.agency-color-swatches button.selected {
  border-color: #17191D;
  box-shadow: 0 0 0 3px #fff inset;
}

#agency-footer {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  background: #fff;
}
#agency-footer:focus { outline: none; border-color: rgba(0,0,0,0.3); }

.login-intro-meta {
  margin-top: 1.2rem;
  font-size: 0.86rem;
  color: #6E747C;
}
.login-intro-meta a { color: #17191D; font-weight: 600; }

.audience-chooser {
  padding: 3.2rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.audience-chooser-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}
.audience-chooser-header .eyebrow { margin: 0; }
.audience-chooser-header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: #17191D;
}
.audience-chooser-header p {
  margin: 0;
  max-width: 520px;
  color: #6E747C;
  font-size: 0.96rem;
}

.audience-chooser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 760px) {
  .audience-chooser-grid { grid-template-columns: 1fr; }
  .audience-chooser { padding: 2.4rem 0 0.6rem; }
}

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.8rem 1.7rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  position: relative;
  overflow: hidden;
}
.audience-card:hover,
.audience-card:focus-visible {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
  outline: none;
}
.audience-card .audience-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f4f2ed;
  color: #1e282a;
  margin-bottom: 0.2rem;
}
.audience-card .audience-icon i { width: 26px; height: 26px; }
.audience-card strong {
  font-size: 1.18rem;
  font-weight: 700;
  color: #17191D;
  line-height: 1.25;
}
.audience-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #6E747C;
  line-height: 1.5;
}
.audience-card .audience-cta {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #17191D;
}
.audience-card .audience-cta i {
  width: 16px;
  height: 16px;
  transition: transform 200ms ease;
}
.audience-card:hover .audience-cta i { transform: translateX(3px); }

.audience-card-agency .audience-icon {
  background: #1e282a;
  color: #fff;
}

.audience-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}
.audience-toggle button {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: #6E747C;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.audience-toggle button.active {
  background: #17191D;
  color: #fff;
}
.audience-toggle button:hover:not(.active) {
  color: #17191D;
}

.pricing-grid[hidden],
.pricing-note[hidden] { display: none; }

.pricing-grid-agency article { background: #fff; }
.pricing-grid-agency article strong { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 1rem 1.1rem;
}
@media (max-width: 700px) { .team-stats { grid-template-columns: repeat(2, 1fr); } }
.team-stat {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.team-stat strong { font-size: 1.65rem; font-weight: 700; color: #17191D; }
.team-stat small { font-size: 0.78rem; color: #6E747C; }

.team-tabs-section { padding: 0 1.1rem 1.5rem; }
.team-tabs {
  display: flex;
  gap: 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 0.8rem;
}
.team-tabs button {
  padding: 0.55rem 1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6E747C;
  cursor: pointer;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease;
}
.team-tabs button.active { background: #17191D; color: #fff; }
.team-tabs button:hover:not(.active) { color: #17191D; background: rgba(0,0,0,0.04); }

.team-panel { display: none; }
.team-panel.active { display: block; }

.team-empty {
  background: #fff;
  border: 1px dashed rgba(0,0,0,0.16);
  border-radius: 18px;
  padding: 2.4rem 1.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.team-empty > i {
  width: 36px;
  height: 36px;
  color: #9aa0a6;
  margin-bottom: 0.3rem;
}
.team-empty strong { font-size: 1.05rem; color: #17191D; font-weight: 700; }
.team-empty span { font-size: 0.9rem; color: #6E747C; max-width: 380px; }
.team-empty .account-primary-action { margin-top: 0.6rem; }

.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.team-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) auto auto auto;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}
@media (max-width: 760px) { .team-row { grid-template-columns: 1fr; } }
.team-row-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.team-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4f2ed;
  color: #1e282a;
  font-weight: 700;
  flex: 0 0 auto;
}
.team-avatar-pending { background: rgba(0,0,0,0.06); color: #6E747C; }
.team-row-identity > div { min-width: 0; }
.team-row-identity strong { display: block; font-size: 0.95rem; color: #17191D; }
.team-row-identity small { font-size: 0.78rem; color: #6E747C; }

.team-status {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}
.team-status-active { background: rgba(34, 139, 80, 0.12); color: #1e6c3f; }
.team-status-away { background: rgba(0,0,0,0.06); color: #6E747C; }
.team-status-pending { background: rgba(207, 138, 30, 0.14); color: #8a5b00; }

.team-materials, .team-joined { font-size: 0.84rem; color: #6E747C; }
.team-materials strong { color: #17191D; font-weight: 700; }

.team-row-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  border-radius: 10px;
  font: inherit;
  font-size: 0.82rem;
  color: #17191D;
  cursor: pointer;
}
.team-row-action i { width: 14px; height: 14px; }
.team-row-action:hover { border-color: rgba(0,0,0,0.25); }
.team-row-action-danger:hover { border-color: rgba(177, 35, 35, 0.45); color: #b12323; }

.team-invite-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.team-invite-modal[hidden] { display: none; }
.team-invite-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.team-invite-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.35);
}
.team-invite-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.team-invite-header .eyebrow { margin: 0 0 0.2rem; }
.team-invite-header h2 { margin: 0; font-size: 1.2rem; font-weight: 700; color: #17191D; }
.team-invite-close-btn {
  border: 0;
  background: transparent;
  color: #6E747C;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 8px;
}
.team-invite-close-btn:hover { background: rgba(0,0,0,0.05); }

.team-invite-result {
  background: #fafaf8;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.team-invite-result .eyebrow { margin: 0; }
.team-invite-link-row {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  align-items: center;
}
.team-invite-link-row input {
  flex: 1 1 auto;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
  background: #fff;
  min-width: 0;
}
.team-invite-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #17191D;
  background: #17191D;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.team-invite-copy i { width: 14px; height: 14px; }
.team-invite-result small { font-size: 0.76rem; color: #6E747C; }

.team-invite-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.team-invite-cancel {
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  font: inherit;
  font-weight: 600;
  color: #17191D;
  cursor: pointer;
}
.team-invite-cancel:hover { background: #fafafa; border-color: rgba(0,0,0,0.25); }

.accept-invite-card { gap: 0.6rem; }
.accept-invite-summary {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.95rem 1.05rem;
  background: #fafaf8;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  margin-bottom: 0.3rem;
}
.accept-invite-summary .eyebrow { margin: 0; }
.accept-invite-summary strong { font-size: 1.05rem; color: #17191D; font-weight: 700; }
.accept-invite-summary small { font-size: 0.78rem; color: #6E747C; }

.accept-invite-error {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(177, 35, 35, 0.05);
  border: 1px solid rgba(177, 35, 35, 0.15);
  border-radius: 14px;
  text-align: center;
}
.accept-invite-error .eyebrow { margin: 0; color: #b12323; }
.accept-invite-error h2 { margin: 0; font-size: 1.15rem; font-weight: 700; color: #17191D; }
.accept-invite-error p { margin: 0; font-size: 0.92rem; color: #6E747C; }
.accept-invite-error-cta { margin-top: 0.4rem; align-self: center; }

.brand-form-hint {
  margin: 0.2rem 0 0.6rem;
  font-size: 0.86rem;
  color: #6E747C;
}
#brand-footer {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  font: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  background: #fff;
}

.brand-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.brand-preview .eyebrow { margin: 0; }
.brand-preview-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
}
.brand-preview-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f4f2ed;
  color: #1e282a;
  font-weight: 700;
  font-size: 1.2rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 auto;
}
.brand-preview-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.brand-preview-text strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: #17191D;
}
.brand-preview-text small {
  font-size: 0.76rem;
  color: #6E747C;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.brand-preview-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: #476C72;
}
.brand-preview-note {
  font-size: 0.78rem;
  color: #6E747C;
  line-height: 1.45;
}

.agency-membership-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1rem 1.1rem;
  margin: 0 0 1.2rem;
  background: linear-gradient(135deg, rgba(30, 40, 42, 0.04), rgba(30, 40, 42, 0.01));
  border: 1px solid rgba(30, 40, 42, 0.12);
  border-radius: 16px;
}
.agency-membership-badge[hidden] { display: none; }
.agency-membership-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #1e282a;
  color: #fff;
  flex: 0 0 auto;
}
.agency-membership-icon i { width: 20px; height: 20px; }
.agency-membership-badge > div { display: flex; flex-direction: column; gap: 0.18rem; }
.agency-membership-badge .eyebrow { margin: 0; }
.agency-membership-badge strong { font-size: 1rem; font-weight: 700; color: #17191D; }
.agency-membership-badge small { font-size: 0.82rem; color: #6E747C; line-height: 1.5; }

.agency-dash-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 1.4rem;
  margin: 0 1.1rem 0.4rem;
  background: linear-gradient(135deg, #fff, #fafaf8);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
}
@media (max-width: 760px) {
  .agency-dash-banner { grid-template-columns: 1fr; gap: 0.8rem; padding: 1.3rem 1.1rem; }
}
.agency-dash-banner-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #1e282a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.6rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 auto;
}
.agency-dash-banner-text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.agency-dash-banner-text .eyebrow { margin: 0; }
.agency-dash-banner-text h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: #17191D;
  line-height: 1.2;
}
.agency-dash-banner-text p { margin: 0; font-size: 0.92rem; color: #6E747C; }
.agency-dash-banner-text strong { color: #17191D; font-weight: 700; }
.agency-dash-banner-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.agency-dash-cta-primary,
.agency-dash-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}
.agency-dash-cta-primary {
  background: #17191D;
  color: #fff;
}
.agency-dash-cta-primary:hover { background: #000; }
.agency-dash-cta-secondary {
  background: #fff;
  color: #17191D;
  border: 1px solid rgba(0,0,0,0.12);
}
.agency-dash-cta-secondary:hover { border-color: rgba(0,0,0,0.25); }
.agency-dash-cta-primary i, .agency-dash-cta-secondary i { width: 16px; height: 16px; }

.agency-dash-stats { margin: 0 1.1rem 0.4rem; padding: 0; }

.agency-dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  padding: 0 1.1rem 0.4rem;
}
@media (max-width: 880px) { .agency-dash-grid { grid-template-columns: 1fr; } }

.agency-dash-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.agency-dash-card header { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.agency-dash-card header > div { display: flex; flex-direction: column; gap: 0.1rem; }
.agency-dash-card header .eyebrow { margin: 0; }
.agency-dash-card header h2 { margin: 0; font-size: 1.1rem; font-weight: 700; color: #17191D; }
.agency-dash-card-link { font-size: 0.84rem; font-weight: 600; color: #17191D; text-decoration: none; }
.agency-dash-card-link:hover { text-decoration: underline; }

.agency-dash-team-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.agency-dash-team-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.agency-dash-team-list li:last-child { border-bottom: 0; }
.agency-dash-team-list strong { font-size: 0.92rem; color: #17191D; }
.agency-dash-team-list small { font-size: 0.76rem; color: #6E747C; }

.agency-dash-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.agency-dash-checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #6E747C;
  transition: color 160ms ease;
}
.agency-dash-checklist li i { width: 18px; height: 18px; color: #c3c5c9; flex: 0 0 auto; }
.agency-dash-checklist li.is-done { color: #17191D; }
.agency-dash-checklist li.is-done i { color: #1e6c3f; }

.agency-dash-creates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
@media (max-width: 540px) { .agency-dash-creates { grid-template-columns: 1fr; } }
.agency-dash-creates a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: #fafaf8;
  border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.agency-dash-creates a:hover { background: #fff; border-color: rgba(0,0,0,0.16); transform: translateY(-1px); }
.agency-dash-creates a.coming-soon-item { opacity: 0.55; pointer-events: none; }
.agency-dash-create-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  display: grid;
  place-items: center;
  margin-bottom: 0.2rem;
}
.agency-dash-create-icon i { width: 16px; height: 16px; }
.agency-dash-creates strong { font-size: 0.92rem; color: #17191D; font-weight: 700; }
.agency-dash-creates small { font-size: 0.74rem; color: #6E747C; }

.agency-dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.4rem 0.4rem 0.6rem;
}
.agency-dash-empty > i { width: 30px; height: 30px; color: #c3c5c9; }
.agency-dash-empty strong { font-size: 0.95rem; color: #17191D; font-weight: 700; }
.agency-dash-empty span { font-size: 0.86rem; color: #6E747C; max-width: 320px; line-height: 1.5; }
.agency-dash-empty-compact { padding: 0.8rem 0.4rem; }
.agency-dash-empty-compact span { max-width: none; }

.agency-dash-recent {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 0.5rem 0.5rem;
}

/* ============================================================
   Kebab menu (⋮) — houses destructive actions like Discard draft
   ============================================================ */
.kebab-menu { position: relative; }
.kebab-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line, rgba(0,0,0,0.1));
  background: transparent;
  color: var(--muted, #6E747C);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.kebab-trigger:hover,
.kebab-trigger[aria-expanded="true"] {
  background: #fff;
  border-color: rgba(0,0,0,0.2);
  color: #17191D;
}
.kebab-trigger i, .kebab-trigger svg { width: 18px; height: 18px; }
.kebab-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 184px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kebab-dropdown[hidden] { display: none; }
.kebab-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #17191D;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease;
}
.kebab-item i, .kebab-item svg { width: 16px; height: 16px; }
.kebab-item:hover { background: rgba(0,0,0,0.04); }
.kebab-item-danger { color: #b3261e; }
.kebab-item-danger:hover { background: #fdecea; }

/* ============================================================
   Source chip — "Auto-filled from your Profile · Edit"
   ============================================================ */
.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding: 0.38rem 0.55rem 0.38rem 0.75rem;
  border-radius: 999px;
  background: #f3f6f5;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1;
  color: #17191D;
  width: fit-content;
  transition: background 160ms ease, border-color 160ms ease;
}
.source-chip:hover { background: #ecefee; border-color: rgba(0,0,0,0.12); }
.source-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e9e54;
  box-shadow: 0 0 0 3px rgba(30,158,84,0.18);
  flex: 0 0 auto;
}
.source-chip-icon {
  width: 15px;
  height: 15px;
  color: #1e9e54;
  flex: 0 0 auto;
}
.source-chip.is-locked .source-chip-icon { color: #b78a2a; }
.source-chip-text { color: #565c64; }
.source-chip-action {
  font-weight: 700;
  color: #17191D;
  padding-left: 0.55rem;
  margin-left: 0.1rem;
  border-left: 1px solid rgba(0,0,0,0.12);
}
.source-chip.is-locked {
  background: #faf5ea;
  border-color: rgba(183,138,42,0.25);
}
.source-chip.is-locked .source-chip-dot {
  background: #b78a2a;
  box-shadow: 0 0 0 3px rgba(183,138,42,0.18);
}
@media (max-width: 560px) {
  .source-chip { font-size: 0.76rem; }
}

.login-gateway-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.2rem 0 0;
  padding: 0.7rem 0.85rem;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #4b5158;
}
.login-gateway-note i,
.login-gateway-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #6E747C;
}
.login-gateway-note small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: #6E747C;
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  line-height: 1.4;
  color: #8a9097;
}

/* ── Plan feature locks (free tier) ───────────────────────────── */
.style-grid [data-theme].plan-locked {
  position: relative;
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.4);
}
.style-grid [data-theme].plan-locked:hover { transform: none; }
.plan-lock-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-lock-note {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.plan-lock-note a { color: var(--ink); font-weight: 600; text-decoration: underline; }

.plan-upgrade-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  max-width: 460px;
  margin: 2.5rem auto;
  padding: 2.4rem 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.25);
}
.plan-gate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}
.plan-gate-icon i { width: 24px; height: 24px; }
.plan-upgrade-gate h2 { margin: 0; font-size: 1.25rem; }
.plan-upgrade-gate p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.plan-upgrade-gate .generate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0 1.6rem;
  line-height: 1;
  text-decoration: none;
}

/* ── Pricing v2: Free / Pro / Agency ladder ───────────────────── */
.pricing-grid-individual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 680px;
  margin-inline: auto;
}
.pricing-grid-agency,
.pricing-grid-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pricing-grid-trio {
  max-width: 880px;
  margin-inline: auto;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}
.popular-plan .plan-price em { color: rgba(255, 255, 255, 0.6); }
.plan-features {
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.84rem;
}
.plan-features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.35;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  opacity: 0.85;
}
.popular-plan .plan-features li { color: #fff; }
.plan-features li.is-off { color: var(--muted); }
.plan-features li.is-off::before { content: "✕"; opacity: 0.55; font-size: 0.78rem; top: 1px; }

@media (max-width: 640px) {
  .pricing-grid-individual,
  .pricing-grid-agency,
  .pricing-grid-trio {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* ── Upgrade success toast ────────────────────────────────────── */
.upgrade-toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, 92vw);
  padding: 13px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  font-size: 0.9rem;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  transition: opacity 400ms ease, transform 400ms ease;
}
.upgrade-toast i { width: 20px; height: 20px; flex: 0 0 auto; }
.upgrade-toast strong { font-weight: 700; }
.upgrade-toast.is-leaving { opacity: 0; transform: translateX(-50%) translateY(-10px); }

/* ── Pro: watermark-my-photos toggle (brochure style step) ────── */
.photo-watermark-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  background: #fbfbfc;
}
.photo-watermark-row.is-locked { opacity: 0.72; }
.pw-copy strong { display: flex; align-items: center; gap: 7px; font-size: 0.9rem; }
.pw-copy small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.pw-copy a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.pw-switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; }
.pw-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pw-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d5d7dc;
  transition: background 160ms ease;
}
.pw-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 160ms ease;
}
.pw-switch input:checked + .pw-slider { background: var(--ink); }
.pw-switch input:checked + .pw-slider::before { transform: translateX(18px); }
.pw-switch input:disabled { cursor: not-allowed; }
.pw-switch input:disabled + .pw-slider { opacity: 0.5; }

/* ── Share PDF button (Level 1 — native share sheet) ──────────── */
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 1.4rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}
.share-button:hover { background: var(--ink); color: #fff; }
.share-button i, .share-button svg { width: 18px; height: 18px; }
.share-hint {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

/* ── UX audit fixes: business card + brochure wizard ──────────── */
/* 1. Business card: preview column hugs its content and stays in view
      as the taller editor scrolls (kills the ~250px empty gap at 1440px). */
@media (min-width: 861px) {
  .card-preview-panel {
    align-self: start;
    position: sticky;
    top: 1.5rem;
  }
}

/* 2. Brochure step 2: labelled sub-groups (Basics / Location). */
.field-group + .field-group { margin-top: 0.9rem; }
.field-group-title {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 3 + 4. Brochure wizard on mobile: drop the redundant step-card rail
      (the "Step X of 5" progress bar already shows position), and pin the
      Continue/Back actions to the viewport bottom. Uses position:fixed because
      an ancestor (.workspace) has overflow:hidden, which breaks sticky. */
@media (max-width: 640px) {
  .wizard-steps { display: none; }

  body[data-wizard] .mobile-tabbar { display: none; }

  /* .workspace uses backdrop-filter, which makes it the containing block for
     position:fixed children — pinning them to the card, not the viewport.
     Drop it on ALL mobile workspaces so the mobile tabbar (and the wizard's
     sticky Continue) anchor to the viewport as intended. */
  .workspace {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body[data-wizard] .wizard-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.28);
  }
  body[data-wizard] .wizard-stage { padding-bottom: 90px; }
}

/* AED price prefix (UAE) — text badge in the price field */
.price-currency-text {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* "Create another" — text-link tier under Share (Generate > Share > Create another) */
.create-another-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.create-another-button i, .create-another-button svg { width: 16px; height: 16px; }
.create-another-button:hover { opacity: 0.65; }

/* Save as listing — mirrors .share-button outlined style */
.save-listing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 8px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid rgba(17,17,17,0.14);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.save-listing-button[hidden] { display: none; }
.save-listing-button:hover { background: #f4f5f6; }
.save-listing-button.is-saved { background: #f0fdf4; border-color: #86efac; color: #166534; cursor: default; }
.save-listing-button i, .save-listing-button svg { width: 16px; height: 16px; }
.save-listing-hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: #4f535a;
  text-align: center;
  min-height: 1em;
}

/* ── Pro → Agency upsell card (dashboard, dismissible) ────────── */
.agency-upsell {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.9rem;
  padding: 0.95rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.2);
}
.agency-upsell[hidden] { display: none; }
.agency-upsell-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}
.agency-upsell-icon i { width: 20px; height: 20px; }
.agency-upsell-body { flex: 1 1 auto; min-width: 0; }
.agency-upsell-body strong { display: block; font-size: 0.96rem; }
.agency-upsell-body span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.agency-upsell-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.agency-upsell-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.agency-upsell-close:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.agency-upsell-close i { width: 16px; height: 16px; }
@media (max-width: 560px) {
  .agency-upsell { flex-wrap: wrap; }
  .agency-upsell-body { flex-basis: calc(100% - 52px); }
  .agency-upsell-cta { flex: 1 1 auto; justify-content: center; margin-top: 2px; }
  .agency-upsell-close { position: absolute; }
}

/* ── Become-an-agency confirm page ────────────────────────────── */
.become-agency-wrap { display: flex; justify-content: center; padding: 0 6px 60px; }
.become-agency-card {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 24px;
  padding: 2rem 2rem 1.6rem;
  box-shadow: 0 20px 60px -34px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.become-agency-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  margin-bottom: 0.7rem;
}
.become-agency-icon i { width: 26px; height: 26px; }
.become-agency-card h2 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.become-agency-lead { margin: 0 auto 1.2rem; max-width: 44ch; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.become-agency-lead strong { color: var(--ink); }
.become-agency-perks {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
  max-width: 340px;
  margin-inline: auto;
}
.become-agency-perks li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; }
.become-agency-perks i { width: 17px; height: 17px; color: #1e9e54; flex: 0 0 auto; }
.become-agency-field { display: block; text-align: left; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.9rem; }
.become-agency-field .field-control { margin-top: 0.35rem; }
.become-agency-card .generate-button { width: 100%; }
.become-agency-note { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.5; }
.become-agency-status { margin: 0.6rem 0 0; font-size: 0.82rem; font-weight: 700; color: var(--ink); min-height: 1em; }

/* Review-step microcopy under Generate */
.generate-hint {
  margin: 8px 2px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.generate-hint[hidden] { display: none; }

/* Business card: separate "new card" action from the downloads */
.card-action-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 0.7rem 2px 0.55rem;
}

/* Bigger language chips on mobile — audit item 2 (finger-tap accuracy) */
@media (max-width: 640px) {
  .lang-chip {
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
  }
}

/* Inline field validation — soft green/red ring + a small ✓ / ✕ inside the field */
.field-control.is-valid,
.auth-field.is-valid {
  border-color: rgba(30, 158, 84, 0.55);
  box-shadow: 0 0 0 3px rgba(30, 158, 84, 0.12);
}
.field-control.is-invalid,
.auth-field.is-invalid {
  border-color: rgba(179, 59, 46, 0.6);
  box-shadow: 0 0 0 3px rgba(179, 59, 46, 0.12);
}
.field-control .field-mark,
.auth-field .field-mark {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.field-control .field-mark.is-valid,
.auth-field .field-mark.is-valid { background: #1e9e54; }
.field-control .field-mark.is-invalid,
.auth-field .field-mark.is-invalid { background: #b23b2e; }
.field-control:has(.field-mark) input,
.auth-field:has(.field-mark) input { padding-right: 34px; }

/* ── Business card mobile sticky mini-preview + full-size modal ── */
.bc-mobile-mini { display: none; }
.bc-preview-modal[hidden] { display: none; }
@media (max-width: 860px) {
  .bc-mobile-mini {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0.4rem 0 0.8rem;
    padding: 0.55rem 0.75rem;
    background: linear-gradient(180deg, #fdfdfd 0%, #eef0f3 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.32);
    cursor: pointer;
  }
  .bc-mobile-mini-stage {
    width: 90px;
    height: 56px;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Downscale the cloned real preview to fit the thumbnail */
  .bc-mobile-mini-stage .card-preview-stage {
    transform: scale(0.18);
    transform-origin: center;
    pointer-events: none;
  }
  .bc-mobile-mini-meta { flex: 1 1 auto; min-width: 0; }
  .bc-mobile-mini-meta strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--ink); }
  .bc-mobile-mini-meta small { color: var(--muted); font-size: 0.72rem; }
  .bc-mobile-mini-btn {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
  }
  .bc-mobile-mini-btn i { width: 18px; height: 18px; }
  /* Hide the desktop preview panel on mobile — the mini + modal cover it */
  .card-preview-panel { display: none; }
}

.bc-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
}
.bc-preview-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}
.bc-preview-modal-close i { width: 22px; height: 22px; }
.bc-preview-modal-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(94vw, 720px);
}
.bc-preview-modal-stage .card-preview-stage {
  width: 100%;
  max-height: 82vh;
}

/* ── Listings library page ────────────────────────────────────── */
.listings-header { align-items: flex-end; padding-left: 12px; padding-right: 12px; }
.listings-header .account-primary-action { flex-shrink: 0; }
@media (max-width: 720px) {
  .listings-header { padding-left: 10px; padding-right: 10px; }
}
.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0 1rem;
  flex-wrap: wrap;
}
.listings-filters {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}
.listings-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.listings-filter span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}
.listings-filter.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.2);
}
.listings-filter.is-active span { background: var(--ink); color: #fff; }
.listings-search {
  height: 42px;
  min-width: min(260px, 100%);
  margin-top: 0;
  padding: 0 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.listings-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  width: 100%;
}

.listings-section { padding-top: 0.5rem; }
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.listings-grid[hidden] { display: none; }
.listings-empty[hidden] { display: none; }
.listings-empty { padding: 3rem 1rem; }
.listings-no-match {
  grid-column: 1 / -1;
  margin: 2rem 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}

.listing-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.18);
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.listing-card:hover { box-shadow: 0 18px 42px -22px rgba(0, 0, 0, 0.28); transform: translateY(-2px); }
.listing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
.listing-card-name {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.25;
}
.listing-card-location {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}
.listing-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 11px 5px 9px;
  background: #f3f6f5;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.72rem;
  cursor: pointer;
  transition: background 140ms ease;
}
.listing-status-chip:hover { background: #eaefee; }
.listing-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e9e54;
}
.listing-card[data-status="on-hold"] .listing-status-dot { background: #d4a72c; }
.listing-card[data-status="sold"] .listing-status-dot { background: #b3b6bd; }
.listing-card[data-status="sold"] { opacity: 0.72; }
.listing-card[data-status="sold"] .listing-card-name { text-decoration: line-through; text-decoration-thickness: 1px; }

.listing-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
}
.listing-card-meta strong { color: var(--ink); font-size: 0.92rem; }
.listing-card-actions {
  display: flex;
  gap: 8px;
}
.listing-card-primary,
.listing-card-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.listing-card-primary {
  flex: 1 1 auto;
  background: var(--ink);
  color: #fff;
}
.listing-card-secondary {
  background: #f4f5f6;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.listing-card-primary i, .listing-card-secondary i { width: 15px; height: 15px; }
.listing-card-time {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

/* ── Add / edit listing modal ─────────────────────────────────── */
.listing-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}
.listing-modal[hidden] { display: none; }
.listing-modal-card {
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  padding: 1.4rem 1.5rem 1.2rem;
}
.listing-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.listing-modal-head h2 { margin: 0.2rem 0 0; font-size: 1.2rem; }
.listing-modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
  cursor: pointer;
}
.listing-modal-close:hover { background: rgba(0, 0, 0, 0.1); }
.listing-modal-close i { width: 18px; height: 18px; }

.listing-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.listing-form-grid label { display: block; font-size: 0.82rem; font-weight: 700; }
.listing-form-grid label .field-control { margin-top: 0.3rem; }
.listing-form-grid label:first-child { grid-column: 1 / -1; }
.listing-form-error {
  min-height: 1em;
  margin: 0.8rem 0 0;
  color: #b23b2e;
  font-size: 0.82rem;
  font-weight: 700;
}
.listing-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1rem;
}
.listing-modal-actions-right { display: flex; gap: 8px; }
.listing-form-cancel {
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}
.listing-form-cancel:hover { color: var(--ink); }
.listing-form-submit {
  min-width: 140px;
  min-height: 42px;
  padding: 0 20px;
}
.listing-form-delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  background: transparent;
  color: #b23b2e;
  border: 1px solid rgba(178, 59, 46, 0.25);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.listing-form-delete[hidden] { display: none; }
.listing-form-delete:hover { background: rgba(178, 59, 46, 0.06); }
.listing-form-delete i { width: 15px; height: 15px; }

@media (max-width: 640px) {
  .listings-toolbar { flex-direction: column; align-items: stretch; }
  .listings-filters { overflow-x: auto; white-space: nowrap; }
  .listings-search { min-width: 0; width: 100%; }
  .listings-grid { grid-template-columns: 1fr; }
  .listing-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-form-grid label { grid-column: 1 / -1; }
  .listing-form-grid label.short-field { grid-column: auto; }
  .listing-modal-card { max-height: 96vh; padding: 1.2rem; }
}

/* Native select variant — same visual shell as .select-control but the
   custom-select JS doesn't run against it, so form submission gets the value. */
.select-control-native {
  position: relative;
}
.select-control-native select {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 26px;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select-control-native .select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 17px;
  height: 17px;
}

/* ── Listings — mobile polish ────────────────────────────────── */
@media (max-width: 640px) {
  /* Empty-state button keeps its full label (the icon-only override is fine for
     the header button, but not for a big CTA sitting alone in the empty card). */
  .listings-empty .account-primary-action {
    width: auto;
    min-width: 200px;
    padding: 0 20px;
    font-size: 0.88rem;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .listings-empty .account-primary-action svg,
  .listings-empty .account-primary-action i { width: 16px; height: 16px; }

  /* Modal — tighten the sheet on phones */
  .listing-modal { padding: 12px; }
  .listing-modal-card {
    padding: 1rem 1.1rem 0.9rem;
    max-height: 88vh;
    border-radius: 16px;
  }
  .listing-modal-head { margin-bottom: 0.6rem; }
  .listing-modal-head h2 { font-size: 1.05rem; }
  .listing-form-grid { gap: 10px; }
  .listing-form-grid label { font-size: 0.78rem; }
  .listing-modal-actions { margin-top: 0.8rem; }
}

/* Dropdown direction: open UP when JS detects not enough room below (near
   viewport bottom). Default is DOWN. See openCustomSelect() in script.js. */
.custom-select-menu.is-flipped-up {
  top: auto;
  bottom: calc(100% + 8px);
}

/* Agency signup: make .field-control selects match .auth-field visual */
.agency-signup-card .field-control {
  height: 48px;
  min-height: 48px;
  margin-top: 7px;
  padding: 0 15px;
  background: #f6f6f7;
  border-radius: 16px;
  gap: 10px;
}
.agency-signup-card .field-control:focus-within {
  border-color: #9bcde1;
  box-shadow: 0 0 0 3px rgba(155, 205, 225, 0.2);
}

/* iOS mobile — kill accidental double-tap zoom on interactive elements.
   touch-action: manipulation disables double-tap-to-zoom but still allows
   pinch-to-zoom (accessibility-friendly). */
button, a, label, input, textarea, select, .listing-card, .output-card,
.audience-card, .journey-stage, .agency-signup-card, .theme-tile,
.landmark-choice, .lang-chip, .listings-filter, .listing-status-chip,
.listing-card-hero, .listing-card-share, .listing-card-secondary,
.feedback-fab, .feedback-cta, .price-period-toggle button, .pw-mode-toggle button {
  touch-action: manipulation;
}
/* iOS mobile — inputs must be >=16px font-size or Safari auto-zooms on focus. */
@media (max-width: 720px) {
  input, textarea, select { font-size: 16px !important; }
}

/* Hero — small agency-signup link under the primary CTAs */
.hero-agency-link {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.hero-agency-link a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,0.2);
  padding-bottom: 1px;
}
.hero-agency-link a:hover { border-bottom-color: var(--ink); }

/* ── Feedback popup — floating help + WhatsApp/Telegram share ── */
.feedback-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, background 0.15s ease;
}
.feedback-fab:hover { background: #333; transform: translateY(-1px); }
.feedback-fab svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  /* Lift above the mobile tabbar */
  .feedback-fab { bottom: 96px; right: 16px; width: 44px; height: 44px; }
  .feedback-fab svg { width: 18px; height: 18px; }
  body[data-wizard] .feedback-fab { bottom: 88px; }
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(17, 17, 17, 0.5);
  display: grid;
  place-items: center;
  padding: 20px;
}
.feedback-modal[hidden] { display: none; }
.feedback-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.feedback-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 20px 8px;
}
.feedback-head h2 { margin: 0 0 4px; font-size: 1.05rem; color: #111; }
.feedback-head small { color: #7b7f86; font-size: 0.78rem; font-weight: 500; }
.feedback-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f4f5f6;
  color: #111;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.feedback-close:hover { background: #e9eaec; }
.feedback-close svg { width: 16px; height: 16px; }

.feedback-body { padding: 12px 20px 8px; display: flex; flex-direction: column; gap: 12px; }
.feedback-kind {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: rgba(17, 17, 17, 0.05);
  border-radius: 999px;
}
.feedback-kind button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #4f535a;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.feedback-kind button svg { width: 14px; height: 14px; }
.feedback-kind button.is-selected { background: #fff; color: #111; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }

.feedback-body textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(17,17,17,0.14);
  border-radius: 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #111;
  resize: vertical;
  min-height: 90px;
}
.feedback-body textarea::placeholder { color: #9b9ea2; }
.feedback-body textarea:focus { outline: 2px solid rgba(17,17,17,0.15); outline-offset: 1px; }

.feedback-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  background: #f7f8f9;
  border-radius: 10px;
  color: #4f535a;
  font-size: 0.75rem;
  line-height: 1.4;
}
.feedback-hint svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.feedback-hint strong { color: #111; font-weight: 700; }

.feedback-error {
  margin: 0;
  color: #d32f2f;
  font-size: 0.78rem;
  min-height: 1em;
}

.feedback-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 20px 20px;
}
.feedback-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.15s ease;
}
.feedback-cta svg { width: 16px; height: 16px; }
.feedback-wa { background: #25D366; }
.feedback-wa:hover { opacity: 0.9; }
.feedback-tg { background: #229ED9; }
.feedback-tg:hover { opacity: 0.9; }

/* ── Wizard helper line — small muted hint under h2 ─────────── */
.wizard-helper {
  margin: 0.15rem 0 0.9rem;
  color: #7b7f86;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ── Watermark: inline Auto/Custom mode + text input ─────────── */
.pw-mode-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.pw-mode-line[hidden] { display: none; }
.pw-mode-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: rgba(17, 17, 17, 0.06);
  border-radius: 999px;
  flex: 0 0 auto;
}
.pw-mode-toggle button {
  border: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: transparent;
  color: #4f535a;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 26px;
  transition: background 0.15s ease, color 0.15s ease;
}
.pw-mode-toggle button.is-selected {
  background: #111;
  color: #fff;
}
#photo-watermark-text {
  flex: 1 1 220px;
  min-width: 160px;
  padding: 8px 14px;
  border: 1px solid rgba(17,17,17,0.14);
  background: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #111;
}
#photo-watermark-text[hidden] { display: none; }
#photo-watermark-text::placeholder { color: #9b9ea2; }

/* ── Inline monthly/yearly switch inside Price field ─────────── */
.price-field { position: relative; padding-right: 4px; }
.price-field input {
  flex: 1 1 auto;
  min-width: 0;
}
.price-period-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  background: rgba(17, 17, 17, 0.06);
  border-radius: 999px;
  margin-left: 8px;
}
.price-period-toggle[hidden] { display: none; }
.price-period-toggle button {
  border: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  color: #4f535a;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  min-height: 24px;
}
.price-period-toggle button.is-selected {
  background: #111;
  color: #fff;
}

/* ── Brochure Step 2: denser layout ─────────────────────────── */
.wizard-fields-dense {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
}
.wizard-fields-dense > label { display: flex; flex-direction: column; gap: 8px; }
.wizard-fields-dense .wf-span-2 { grid-column: span 2; }
@media (max-width: 900px) {
  .wizard-fields-dense { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard-fields-dense .wf-span-2 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .wizard-fields-dense { grid-template-columns: 1fr; }
  .wizard-fields-dense .wf-span-2 { grid-column: auto; }
}
/* Nearby landmarks — compact inline pill row */
.landmark-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.landmark-choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.14);
  background: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.landmark-choice input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.landmark-choice svg { width: 15px; height: 15px; }
.landmark-choice b { display: none; }
.landmark-choice:has(input:checked) {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* ── Listing card: delete X + tappable hero ─────────────────── */
.listing-card { position: relative; }
.listing-card-delete {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17,17,17,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.15s ease;
}
.listing-card-delete:hover { background: rgba(17,17,17,0.8); }
.listing-card-delete svg { width: 16px; height: 16px; }
/* When there's no hero image, sit against a light background instead of dark */
.listing-card:not(:has(.listing-card-hero)) .listing-card-delete {
  background: #fff;
  color: #111;
  border: 1px solid rgba(17,17,17,0.14);
}
.listing-card:not(:has(.listing-card-hero)) .listing-card-delete:hover { background: #f4f5f6; }
.listing-card-hero-tap {
  cursor: zoom-in;
}

/* ── Photo lightbox ─────────────────────────────────────────── */
.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  grid-template-rows: 1fr auto auto;
  justify-items: center;
  padding: 20px;
  gap: 12px;
}
.photo-viewer[hidden] { display: none; }
.photo-viewer-close,
.photo-viewer-nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease;
}
.photo-viewer-close { top: 18px; right: 18px; width: 42px; height: 42px; }
.photo-viewer-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 46px; }
.photo-viewer-prev { left: 18px; }
.photo-viewer-next { right: 18px; }
.photo-viewer-close:hover,
.photo-viewer-nav:hover { background: rgba(255,255,255,0.28); }
.photo-viewer-close svg,
.photo-viewer-nav svg { width: 22px; height: 22px; }
.photo-viewer-nav[hidden] { display: none; }
.photo-viewer-track {
  grid-row: 1 / 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.photo-viewer-track img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.photo-viewer-caption {
  grid-row: 2 / 3;
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}
.photo-viewer-dots {
  grid-row: 3 / 4;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.photo-viewer-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
}
.photo-viewer-dot.is-active { background: #fff; width: 22px; }
@media (max-width: 720px) {
  .photo-viewer { padding: 12px; }
  .photo-viewer-close { top: 12px; right: 12px; }
  .photo-viewer-prev { left: 8px; }
  .photo-viewer-next { right: 8px; }
  .photo-viewer-nav { width: 40px; height: 40px; }
}

/* ── Delete confirm popup ───────────────────────────────────── */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(17,17,17,0.55);
  display: grid;
  place-items: center;
  padding: 24px;
}
.confirm-modal[hidden] { display: none; }
.confirm-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 22px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  text-align: center;
}
.confirm-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #ffe9ea;
  color: #d32f2f;
  display: grid;
  place-items: center;
}
.confirm-icon svg { width: 22px; height: 22px; }
.confirm-card h2 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: #111;
}
.confirm-card p {
  margin: 4px 0;
  color: #4f535a;
  font-size: 0.88rem;
}
.confirm-card p strong { color: #111; }
.confirm-sub { color: #7b7f86 !important; font-size: 0.78rem !important; margin-top: 8px !important; }
.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.confirm-cancel, .confirm-destructive {
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}
.confirm-cancel { background: #f4f5f6; color: #111; border-color: rgba(17,17,17,0.08); }
.confirm-cancel:hover { background: #e9eaec; }
.confirm-destructive { background: #d32f2f; color: #fff; }
.confirm-destructive:hover { background: #b71c1c; }

/* ── Listings modal: photo strip ────────────────────────────── */

.listing-photos-field { position: relative; }
.listing-photos-hint {
  display: inline-block;
  margin-left: 0.4rem;
  color: #7b7f86;
  font-size: 0.72rem;
  font-weight: 500;
}
.listing-photos-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.6rem;
  margin: 0.25rem -0.15rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.listing-photos-strip::-webkit-scrollbar { height: 4px; }
.listing-photos-strip::-webkit-scrollbar-thumb { background: rgba(17,17,17,0.15); border-radius: 4px; }
.listing-photo-thumb, .listing-photos-add {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
}
.listing-photo-thumb {
  background: #f4f5f6;
  border: 2px solid transparent;
  cursor: pointer;
}
.listing-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-photo-thumb.is-cover {
  border-color: #111;
}
.listing-photo-thumb .listing-photo-cover-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.listing-photo-thumb .listing-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(17,17,17,0.75);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.listing-photo-thumb .listing-photo-remove svg { width: 14px; height: 14px; }
.listing-photos-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #f7f8f9;
  border: 1px dashed rgba(17,17,17,0.22);
  color: #4f535a;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
}
.listing-photos-add svg { width: 22px; height: 22px; }
.listing-photos-add.is-hidden { display: none; }

/* Card hero image when at least one photo is attached */
.listing-card-hero {
  display: block;
  width: calc(100% + 2 * var(--listing-card-pad, 16px));
  margin: calc(-1 * var(--listing-card-pad, 16px)) calc(-1 * var(--listing-card-pad, 16px)) 0.6rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f4f5f6;
}

/* Share button on card (icon + label) */
.listing-card-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(17,17,17,0.12);
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}
.listing-card-share svg { width: 15px; height: 15px; }

/* Share button inside the modal (next to Save) */
.listing-form-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(17,17,17,0.14);
  background: #fff;
  color: #111;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.listing-form-share[hidden] { display: none; }
.listing-form-share svg { width: 15px; height: 15px; }

/* ── Listings modal: compact pickers ─────────────────────────── */

/* Property type — icon tiles (Apartment / Villa / Plot / Penthouse / Commercial) */
.listing-type-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0.35rem;
}
.listing-type-tiles button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px 8px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 100ms ease;
}
.listing-type-tiles button:hover { border-color: rgba(0, 0, 0, 0.2); color: var(--ink); }
.listing-type-tiles button:active { transform: scale(0.96); }
.listing-type-tiles button i, .listing-type-tiles button svg { width: 20px; height: 20px; }
.listing-type-tiles button.is-selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ± stepper (Bedrooms / Bathrooms) */
.listing-stepper {
  display: grid;
  grid-template-columns: 32px 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 4px;
  height: 44px;
  margin-top: 0.35rem;
  padding: 0 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
}
.listing-stepper-icon {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.listing-stepper-icon i, .listing-stepper-icon svg { width: 18px; height: 18px; }
.listing-stepper button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(0, 0, 0, 0.05);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}
.listing-stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.listing-stepper button:not(:disabled):hover { background: rgba(0, 0, 0, 0.1); }
.listing-stepper button i, .listing-stepper button svg { width: 14px; height: 14px; }
.listing-stepper output {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

/* Status pills — color-coded, one-tap */
.listing-status-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0.35rem;
}
.listing-status-pills button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 100ms ease;
}
.listing-status-pills button:active { transform: scale(0.97); }
.listing-status-pills .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1e9e54;
}
.listing-status-pills button[data-value="on-hold"] .dot { background: #d4a72c; }
.listing-status-pills button[data-value="sold"] .dot { background: #b3b6bd; }
.listing-status-pills button.is-selected {
  color: var(--ink);
  border-color: var(--ink);
  background: #f4f5f6;
}

/* Full-width helper — used by Property type + Built-up + Status labels */
.listing-form-grid label.listing-full { grid-column: 1 / -1; }
