:root {
  --color-primary-dark: #2D1B2E;
  --color-secondary-plum: #5B2D4E;
  --color-soft-rose: #DDB4C1;
  --color-cream: #F3E7DC;
  --color-luxury-gold: #CBA26E;
  --velora-dark: var(--color-primary-dark);
  --velora-plum: var(--color-secondary-plum);
  --velora-rose: var(--color-soft-rose);
  --velora-cream: var(--color-cream);
  --velora-gold: var(--color-luxury-gold);
  --bg: var(--color-cream);
  --panel: #fff8f1;
  --ink: var(--color-primary-dark);
  --muted: #75636d;
  --line: rgba(45, 27, 46, 0.14);
  --primary: var(--color-primary-dark);
  --primary-2: var(--color-secondary-plum);
  --gold: var(--color-luxury-gold);
  --rose: var(--color-soft-rose);
  --sky: #8a6d83;
  --shadow: 0 24px 70px rgba(45, 27, 46, 0.18);
}

body.dark {
  --bg: #101412;
  --panel: #171d1a;
  --ink: #f4f0e8;
  --muted: #a9b1ad;
  --line: rgba(244, 240, 232, 0.13);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Tajawal", "Cairo", "Poppins", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.top-actions,
.nav-links,
.trust-row,
.filter-strip,
.dash-head,
.panel-head,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.app-sidebar .brand,
.velora-pro-sidebar .velora-pro-brand {
  justify-content: center;
}

.app-sidebar .brand > span:not(.brand-logo),
.velora-pro-brand > span:not(.velora-pro-logo) {
  display: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: #2d1b2e;
  border: 1px solid rgba(203, 162, 110, 0.34);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(45, 27, 46, 0.18), 0 0 22px rgba(203, 162, 110, 0.14);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.home-topbar {
  min-height: 126px;
}

.home-topbar .brand {
  min-width: 112px;
  justify-content: center;
}

.home-topbar .brand > span:not(.brand-logo) {
  display: none;
}

.home-topbar .brand-logo {
  width: 108px;
  height: 108px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-topbar .brand-logo img,
.home-hero-logo img {
  object-fit: contain;
}

.home-hero-logo {
  position: relative;
  z-index: 1;
  width: 90mm;
  height: 90mm;
  max-width: min(340px, 72vw);
  max-height: min(340px, 72vw);
  margin: 0 0 18px auto;
  display: grid;
  place-items: center;
}

.en-content .home-hero-logo {
  margin-right: auto;
  margin-left: 0;
}

.home-hero-logo img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.34));
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.top-actions {
  gap: 10px;
}

.btn,
.icon-btn,
.chip {
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.btn:hover,
.icon-btn:hover,
.chip:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-2);
}

.btn-ghost,
.chip {
  color: var(--ink);
  background: var(--panel);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--panel);
  border-radius: 8px;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/salon-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(5, 24, 20, 0.78) 58%, rgba(5, 24, 20, 0.9));
}

.en-shade {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.08), rgba(5, 24, 20, 0.74) 55%, rgba(5, 24, 20, 0.9));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 5vw, 72px) 54px auto;
  color: #fff;
}

.en-content {
  margin: 0 auto 54px clamp(18px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f2c778;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: 0;
  font-family: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
  font-family: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
}

h3 {
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  width: min(760px, 100%);
  padding: 10px;
  margin: 28px 0 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

label span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-panel label {
  padding: 6px 12px;
  background: #fff;
  border: 1px solid rgba(23, 32, 29, 0.1);
  border-radius: 8px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 84px auto 26px;
}

.split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.split p {
  max-width: 720px;
  color: var(--muted);
}

.filter-strip {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.chip.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.salon-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.salon-profile {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 92px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.profile-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.profile-gallery img {
  width: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.profile-gallery img:first-child {
  grid-row: span 2;
  height: 100%;
}

.profile-content p {
  color: var(--muted);
}

.booking-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 12px;
}

.step,
.dash-tab,
.slot-grid button {
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.step {
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--panel);
}

.step.is-active,
.dash-tab.is-active,
.slot-grid button:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.flow-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-card p {
  margin-bottom: 14px;
}

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

.slot-grid button {
  min-height: 40px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  font-weight: 800;
}

.salon-card,
.capability-grid article,
.ops-grid article,
.price-card,
.tenant-sidebar,
.dashboard-main,
.calendar-panel,
.insight-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 32, 29, 0.06);
}

.salon-card {
  overflow: hidden;
}

.salon-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.salon-body {
  padding: 16px;
}

.rating {
  color: var(--gold);
  font-weight: 800;
}

.meta-line {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.service-pills span {
  padding: 5px 9px;
  color: var(--muted);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-radius: 999px;
  font-size: 0.82rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: stretch;
  padding: clamp(20px, 3vw, 34px);
  background: color-mix(in srgb, var(--primary) 9%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-copy p,
.section-title p {
  color: var(--muted);
}

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

.capability-grid article {
  padding: 18px;
}

.mini-icon {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 900;
}

.capability-grid p,
.ops-grid p,
.price-card li {
  color: var(--muted);
}

.operations {
  margin-top: 84px;
}

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

.ops-grid article {
  padding: 18px;
  border-top: 4px solid var(--sky);
}

.dashboard-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 92px auto;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 16px;
}

.tenant-sidebar,
.dashboard-main {
  padding: 18px;
}

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

.tenant-btn {
  width: 100%;
  padding: 12px;
  text-align: start;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.tenant-btn.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.tenant-btn strong,
.tenant-btn span {
  display: block;
}

.tenant-btn span {
  color: inherit;
  opacity: 0.76;
  font-size: 0.84rem;
}

.plan-note {
  margin-top: 18px;
  padding: 14px;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border-radius: 8px;
}

.plan-note strong,
.plan-note span {
  display: block;
}

.plan-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

.dash-head,
.panel-head,
footer {
  justify-content: space-between;
  gap: 16px;
}

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

.dash-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dash-tab {
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
}

.metric {
  padding: 14px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  border-radius: 8px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.metric strong {
  display: block;
  font-size: 1.45rem;
}

.workspace {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 14px;
}

.calendar-panel,
.insight-panel {
  padding: 18px;
}

.panel-head {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.panel-head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.timeline {
  display: grid;
  gap: 10px;
}

.appointment,
.data-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-right: 4px solid var(--primary);
  border-radius: 8px;
}

.appointment time {
  color: var(--primary);
  font-weight: 900;
}

.appointment p,
.data-row p {
  margin: 0;
  color: var(--muted);
}

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

.data-row {
  grid-template-columns: 130px 1fr auto;
  border-right-color: var(--sky);
}

.data-row time {
  color: var(--sky);
  font-weight: 900;
}

.status {
  padding: 5px 9px;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  border-radius: 999px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.insight {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.insight:last-child {
  border-bottom: 0;
}

.bar {
  height: 8px;
  margin-top: 8px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 999px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.section-title {
  max-width: 740px;
  margin-bottom: 26px;
}

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

.price-card {
  padding: 22px;
}

.price-card.featured {
  color: #fff;
  background: var(--primary);
  transform: translateY(-10px);
}

.price-card.featured .price-card li,
.price-card.featured li,
.price-card.featured small {
  color: rgba(255, 255, 255, 0.78);
}

.price-card.featured .btn-primary {
  color: var(--primary);
  background: #fff;
  border-color: #fff;
}

.price {
  font-size: 2.1rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-card.featured .price span {
  color: rgba(255, 255, 255, 0.8);
}

.price-card ul {
  min-height: 116px;
  padding: 0 18px 0 0;
}

.onboarding {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  align-items: start;
  padding: clamp(20px, 3vw, 34px);
  background: color-mix(in srgb, var(--rose) 8%, var(--panel));
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.onboarding-steps article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.onboarding-steps strong {
  color: var(--rose);
  font-size: 1.1rem;
}

.faq {
  margin-bottom: 72px;
}

details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.05rem;
}

details p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--muted);
}

.booking-dialog {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.booking-dialog::backdrop {
  background: rgba(0, 0, 0, 0.42);
}

.booking-dialog form {
  position: relative;
  padding: 24px;
}

.booking-dialog label {
  display: block;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 14px;
  left: 14px;
}

.booking-summary {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 14px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border-radius: 8px;
}

menu {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 0;
  margin: 18px 0 0;
}

footer {
  width: min(1180px, calc(100% - 36px));
  margin: 48px auto 28px;
  padding-top: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer strong {
  color: var(--ink);
}

.auth-page,
.app-page {
  min-height: 100vh;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) 1.1fr;
}

.auth-panel,
.auth-aside,
.setup-layout {
  padding: clamp(24px, 5vw, 64px);
}

.auth-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  background: var(--panel);
}

.auth-panel h1,
.setup-layout h1 {
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.auth-aside {
  display: grid;
  place-items: center;
  background: linear-gradient(rgba(5, 24, 20, 0.58), rgba(5, 24, 20, 0.78)), url("./assets/salon-hero.png") center / cover;
}

.auth-card {
  width: min(520px, 100%);
  padding: 28px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.auth-card p {
  color: rgba(255, 255, 255, 0.82);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.mini-metrics strong,
.mini-metrics span {
  display: block;
}

.mini-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.role-switch,
.plan-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.role-switch button,
.plan-option {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.role-switch button.is-active,
.plan-option.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

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

.auth-form label,
.checkout-card label,
.setup-card label {
  display: block;
  padding: 8px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-row,
.total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.check-line {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
  border: 0 !important;
}

.check-line input {
  width: auto;
  min-height: auto;
}

.full-btn {
  width: 100%;
}

.small-copy,
.dark-copy {
  color: var(--muted);
}

.setup-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 72px);
}

.plain-topbar {
  position: static;
}

.setup-card,
.checkout-card,
.admin-table,
.management-grid article {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 32, 29, 0.06);
}

.two-col,
.booking-page-grid,
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.signup-steps article {
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signup-steps article.is-active {
  border-color: var(--primary);
  box-shadow: inset 4px 0 0 var(--primary);
}

.signup-steps strong,
.signup-steps span,
.plan-option strong,
.plan-option span {
  display: block;
}

.public-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 42px auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: center;
}

.public-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
}

.public-hero p {
  color: var(--muted);
}

.public-trust span {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}

.booking-page-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 80px;
  grid-template-columns: 1fr 360px;
  align-items: start;
}

.service-list {
  display: grid;
  gap: 12px;
}

.service-list article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-list span,
.staff-strip span {
  color: var(--muted);
}

.staff-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-strip span {
  padding: 8px 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.checkout-card {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 12px;
}

.public-salon-page {
  background: #f7f8f6;
}

.public-topbar {
  background: rgba(247, 248, 246, 0.9);
}

.salon-profile-hero {
  width: min(1240px, calc(100% - 36px));
  margin: 28px auto 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.salon-profile-copy {
  display: grid;
  align-content: center;
  min-height: 520px;
  padding: clamp(22px, 4vw, 44px);
  background: #fff;
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
}

.salon-profile-copy h1 {
  max-width: 620px;
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 4.8vw, 5.1rem);
}

.salon-profile-copy p {
  max-width: 680px;
  color: var(--muted);
}

.salon-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.salon-meta-row span {
  padding: 7px 10px;
  color: #0f5f50;
  background: #e7f7f3;
  border: 1px solid rgba(0, 109, 91, 0.12);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
}

.salon-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  min-height: 520px;
}

.salon-gallery img,
.gallery-tile {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(23, 32, 29, 0.08);
}

.salon-gallery img {
  grid-row: 1 / -1;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}

.gallery-tile {
  display: grid;
  place-items: end start;
  padding: 18px;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
}

.tile-hair {
  background: linear-gradient(135deg, rgba(0, 109, 91, 0.92), rgba(77, 137, 168, 0.82));
}

.tile-nails {
  background: linear-gradient(135deg, rgba(184, 137, 59, 0.92), rgba(212, 107, 107, 0.78));
}

.tile-spa {
  background: linear-gradient(135deg, rgba(23, 32, 29, 0.9), rgba(0, 109, 91, 0.78));
}

.salon-tabs {
  position: sticky;
  top: 75px;
  z-index: 12;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 32, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(12px);
}

.salon-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--muted);
  background: #f8fafc;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.salon-tabs a:hover {
  color: #fff;
  background: var(--primary);
}

.premium-booking-grid {
  width: min(1240px, calc(100% - 36px));
  grid-template-columns: minmax(0, 1fr) 390px;
}

.public-service-list .section-title {
  margin-bottom: 6px;
}

.public-service-list .section-title p {
  margin-bottom: 0;
}

.service-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.service-item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-item.is-selected {
  border-color: rgba(0, 109, 91, 0.45);
  box-shadow: inset 4px 0 0 var(--primary), 0 14px 34px rgba(15, 23, 42, 0.08);
}

.public-section-block {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(23, 32, 29, 0.1);
  scroll-margin-top: 150px;
}

.team-cards,
.review-grid,
.shop-cards,
.about-grid {
  display: grid;
  gap: 12px;
}

.team-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  min-height: 96px;
  padding: 14px;
  text-align: start;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(23, 32, 29, 0.1);
  border-radius: 8px;
  cursor: pointer;
}

.team-card strong,
.team-card span,
.shop-cards strong,
.shop-cards span,
.premium-summary span,
.premium-summary strong {
  display: block;
}

.team-card span,
.shop-cards span {
  color: var(--muted);
}

.team-card.is-selected {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.team-card.is-selected span {
  color: rgba(255, 255, 255, 0.8);
}

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

.review-grid article,
.shop-cards article,
.hours-card {
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(23, 32, 29, 0.1);
  border-radius: 8px;
}

.review-grid p,
.hours-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.shop-cards article {
  display: grid;
  gap: 8px;
}

.about-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.public-checkout-card {
  top: 148px;
  border-color: rgba(0, 109, 91, 0.18);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.1);
}

.premium-summary {
  background: #f0fbf8;
  border: 1px solid rgba(0, 109, 91, 0.1);
}

.premium-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.premium-summary span {
  color: var(--muted);
}

.public-booking-form {
  display: grid;
  gap: 12px;
}

.checkout-flow-page,
.customer-dashboard-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(221, 180, 193, 0.22), transparent 28%),
    linear-gradient(135deg, #f3e7dc, #fff8f1 46%, #ead0d8);
}

.checkout-flow {
  width: min(1180px, calc(100% - 36px));
  margin: 42px auto 80px;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.checkout-steps span {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 248, 241, 0.72);
  border: 1px solid rgba(45, 27, 46, 0.12);
  border-radius: 8px;
  font-weight: 900;
}

.checkout-steps span.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2d1b2e, #5b2d4e);
  border-color: rgba(203, 162, 110, 0.38);
}

.checkout-layout,
.customer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 14px;
  align-items: start;
}

.checkout-panel,
.checkout-side-card,
.settings-hub-card,
.customer-booking-card,
.customer-payment-card,
.loyalty-card {
  background: rgba(255, 248, 241, 0.82);
  border: 1px solid rgba(45, 27, 46, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(45, 27, 46, 0.12);
  backdrop-filter: blur(18px);
}

.checkout-panel,
.checkout-side-card {
  padding: clamp(18px, 3vw, 28px);
}

.checkout-panel h1 {
  font-size: clamp(2.2rem, 4vw, 4.8rem);
}

.checkout-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.checkout-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: rgba(45, 27, 46, 0.05);
  border: 1px solid rgba(45, 27, 46, 0.08);
  border-radius: 8px;
}

.checkout-summary span {
  color: var(--muted);
}

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

.checkout-form label {
  display: block;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(45, 27, 46, 0.12);
  border-radius: 8px;
}

.checkout-side-card {
  position: sticky;
  top: 96px;
}

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

.payment-methods button {
  min-height: 54px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(45, 27, 46, 0.14);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.payment-methods button.is-selected {
  color: #fff;
  background: linear-gradient(135deg, #2d1b2e, #5b2d4e);
  border-color: #cba26e;
}

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

.settings-hub-card {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(203, 162, 110, 0.5);
  box-shadow: 0 24px 58px rgba(45, 27, 46, 0.16);
}

.settings-hub-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2d1b2e, #5b2d4e);
  border-radius: 8px;
  font-weight: 950;
}

.settings-hub-card h2 {
  margin: 22px 0 10px;
  font-size: 1.4rem;
}

.settings-hub-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.customer-dashboard-page {
  display: grid;
  grid-template-columns: 390px 1fr;
}

.customer-side {
  background: linear-gradient(180deg, #140b16, #2d1b2e 54%, #1a0d1d);
}

.customer-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.customer-booking-list,
.customer-payment-list {
  display: grid;
  gap: 10px;
}

.customer-booking-card,
.customer-payment-card,
.loyalty-card {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.customer-booking-card strong,
.customer-payment-card strong,
.loyalty-card strong {
  color: #5b2d4e;
  font-size: 1.2rem;
}

.customer-booking-card span,
.customer-booking-card small,
.customer-payment-card span,
.customer-payment-card small,
.loyalty-card span {
  color: var(--muted);
}

.app-page {
  display: grid;
  grid-template-columns: 390px 1fr;
  background: #f3e7dc;
  color: #2d1b2e;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 20px;
  color: #f3e7dc;
  background: linear-gradient(180deg, #140b16, #2d1b2e 54%, #1a0d1d);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -16px 0 40px rgba(16, 34, 29, 0.12);
}

html[dir="ltr"] .app-sidebar {
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 16px 0 40px rgba(16, 34, 29, 0.12);
}

.app-sidebar .brand {
  color: #fff;
}

.app-sidebar .brand-mark {
  background: linear-gradient(135deg, #cba26e, #ddb4c1);
}

.app-sidebar .brand-logo {
  width: 150px;
  height: 150px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.app-sidebar .brand-logo img {
  object-fit: contain;
}

.app-sidebar nav {
  width: 100%;
  display: grid;
  gap: 6px;
}

.app-sidebar nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.68);
  border-radius: 8px;
}

.app-sidebar nav a.is-active,
.app-sidebar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 0 0 #cba26e;
}

html[dir="ltr"] .app-sidebar nav a.is-active,
html[dir="ltr"] .app-sidebar nav a:hover {
  box-shadow: inset -3px 0 0 #cba26e;
}

.admin-side .brand-mark {
  background: #cba26e;
}

.app-main {
  min-width: 0;
  padding: 24px clamp(18px, 3vw, 34px);
}

.app-utilitybar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -24px calc(clamp(18px, 3vw, 34px) * -1) 20px;
  padding: 12px clamp(18px, 3vw, 34px);
  background: rgba(243, 231, 220, 0.86);
  border-bottom: 1px solid rgba(45, 27, 46, 0.1);
  backdrop-filter: blur(16px);
}

.app-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  min-height: 42px;
  padding: 0 13px;
  background: rgba(255, 248, 241, 0.82);
  border: 1px solid rgba(45, 27, 46, 0.12);
  border-radius: 8px;
}

.app-search span {
  color: #cba26e;
  font-weight: 900;
}

.app-search input {
  color: #2d1b2e;
}

.utility-actions {
  display: flex;
  gap: 8px;
}

.utility-actions .icon-btn {
  color: #2d1b2e;
  background: #fff8f1;
  border-color: rgba(45, 27, 46, 0.12);
  box-shadow: 0 8px 22px rgba(45, 27, 46, 0.08);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 20px;
  background: #fff8f1;
  border: 1px solid rgba(45, 27, 46, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(45, 27, 46, 0.08);
}

.app-header h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.app-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  margin-top: 14px;
}

.app-page .metric {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  background: #fff8f1;
  border: 1px solid rgba(45, 27, 46, 0.12);
  box-shadow: 0 12px 30px rgba(45, 27, 46, 0.08);
}

.app-page .metric strong {
  color: #5b2d4e;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
}

.app-page .calendar-panel,
.app-page .insight-panel,
.app-page .admin-table,
.app-page .analytics-board,
.app-page .control-card,
.app-page .integration-card,
.app-page .settings-card,
.app-page .management-grid article {
  border-color: rgba(23, 32, 29, 0.08);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.app-page .panel-head {
  align-items: flex-start;
}

.app-page .appointment,
.app-page .data-row,
.app-page .table-row {
  background: #fff;
}

.app-page .table-row.head {
  padding: 10px 12px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 8px;
  border-bottom: 0;
}

.app-page .table-row:not(.head) {
  padding-inline: 12px;
}

.app-page .status {
  color: #2d1b2e;
  background: #ead0d8;
}

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

.management-grid p,
.insight p {
  color: var(--muted);
}

.admin-table {
  margin-top: 14px;
}

.admin-control-grid,
.chart-grid,
.settings-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.admin-control-grid {
  grid-template-columns: 1fr 1fr;
}

.control-card,
.analytics-board,
.integration-card,
.settings-card {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 32, 29, 0.06);
}

.health-list,
.source-list {
  display: grid;
  gap: 10px;
}

.health-list div,
.source-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.health-list div:last-child,
.source-list div:last-child {
  border-bottom: 0;
}

.health-list span,
.source-list span {
  color: var(--muted);
}

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

.analytics-board,
.settings-grid {
  scroll-margin-top: 24px;
}

.chart-grid {
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
}

.chart-grid article {
  padding: 16px;
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bar-chart {
  height: 220px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bar-chart span {
  flex: 1;
  min-height: 28px;
  background: var(--primary);
  border-radius: 6px 6px 0 0;
}

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

.settings-grid .section-title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.integration-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.integration-card p,
.settings-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.integration-card.is-connected {
  border-right: 4px solid var(--primary);
}

.settings-card {
  display: grid;
  gap: 12px;
}

.settings-card label {
  display: block;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--primary) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.settings-card code,
.file-map span {
  padding: 2px 7px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 9%, transparent);
  border-radius: 6px;
  font-family: Consolas, "Courier New", monospace;
}

.config-select {
  min-width: 132px;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
}

.file-map {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: center;
  margin-top: 12px;
  padding: 14px;
  background: color-mix(in srgb, var(--primary) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.file-map strong {
  color: var(--muted);
}

.crm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.crm-filters,
.crm-tools,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crm-tools {
  align-items: center;
}

.crm-tools input {
  min-width: min(320px, 70vw);
  padding: 0 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.crm-row small {
  display: block;
  color: var(--muted);
}

.crm-workspace {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  margin-top: 14px;
}

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

.pipeline-board div {
  min-height: 180px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.pipeline-board strong,
.pipeline-board span {
  display: block;
}

.pipeline-board strong {
  margin-bottom: 10px;
}

.pipeline-board span {
  margin-top: 8px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.crm-modules article {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.crm-modules article:hover,
.crm-modules article.is-selected {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.crm-module-panel {
  margin-top: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  scroll-margin-top: 90px;
}

.compact-settings {
  margin-top: 0;
}

input[type="color"] {
  height: 42px;
  padding: 4px;
  cursor: pointer;
}

.switch-line {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.switch-line input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--primary);
}

.table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.table-row.head {
  color: var(--muted);
  font-weight: 800;
}

.table-row:last-child {
  border-bottom: 0;
}

.lang-switcher {
  position: fixed;
  z-index: 50;
  bottom: 18px;
  left: 18px;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(16, 34, 29, 0.18);
  backdrop-filter: blur(12px);
}

html[dir="ltr"] .lang-switcher {
  right: 18px;
  left: auto;
}

.lang-switcher button {
  min-width: 54px;
  min-height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.lang-switcher button.is-active {
  color: #fff;
  background: var(--primary);
}

.action-toast {
  position: fixed;
  right: 22px;
  bottom: 76px;
  z-index: 70;
  max-width: min(360px, calc(100% - 36px));
  padding: 12px 14px;
  color: #fff;
  background: #0f172a;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.24);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.action-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.action-drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 65;
  width: min(420px, 92vw);
  height: 100vh;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-left: 1px solid #e5e7eb;
  box-shadow: -24px 0 70px rgba(15, 23, 42, 0.18);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

html[dir="ltr"] .action-drawer {
  right: auto;
  left: 0;
  border-left: 0;
  border-right: 1px solid #e5e7eb;
  box-shadow: 24px 0 70px rgba(15, 23, 42, 0.18);
  transform: translateX(-105%);
}

.action-drawer.is-open {
  transform: translateX(0);
}

.integration-logo-grid article,
.marketing-list article,
.report-item,
.service-row {
  cursor: pointer;
}

.drawer-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: #2d1b2e;
  background: #f7f1ec;
  border: 1px solid rgba(45, 27, 46, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

html[dir="ltr"] .drawer-close {
  right: 14px;
  left: auto;
}

.action-drawer h3 {
  margin: 12px 42px 22px 0;
  color: #2d1b2e;
  font-size: 1.25rem;
  line-height: 1.35;
}

html[dir="ltr"] .action-drawer h3 {
  margin-right: 0;
  margin-left: 42px;
}

.drawer-body,
.drawer-form {
  display: grid;
  gap: 14px;
}

.drawer-form label {
  display: grid;
  gap: 7px;
  align-items: start;
  width: 100%;
  color: #2d1b2e;
  font-weight: 800;
  line-height: 1.35;
}

.drawer-form input,
.drawer-form textarea,
.drawer-form select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: #2d1b2e;
  background: #fffaf7;
  border: 1px solid rgba(91, 45, 78, 0.22);
  border-radius: 10px;
  font: inherit;
  direction: inherit;
}

.drawer-form textarea {
  min-height: 104px;
  resize: vertical;
}

.drawer-form .btn,
.drawer-form button[type="submit"] {
  justify-self: start;
  min-width: 128px;
  margin-top: 4px;
}

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

.drawer-list p {
  margin: 0;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.drawer-list span {
  display: block;
  color: var(--muted);
}

html[dir="ltr"] body {
  direction: ltr;
}

html[dir="ltr"] .appointment,
html[dir="ltr"] .data-row {
  border-right: 1px solid var(--line);
  border-left: 4px solid var(--primary);
}

html[dir="ltr"] .data-row {
  border-left-color: var(--sky);
}

html[dir="ltr"] .signup-steps article.is-active {
  box-shadow: inset -4px 0 0 var(--primary);
}

html[dir="ltr"] .integration-card.is-connected {
  border-right: 1px solid var(--line);
  border-left: 4px solid var(--primary);
}

.velora-pro-page {
  --vp-bg: #2d1b2e;
  --vp-bg-2: #5b2d4e;
  --vp-card: rgba(255, 255, 255, 0.075);
  --vp-card-strong: rgba(255, 255, 255, 0.12);
  --vp-line: rgba(203, 162, 110, 0.28);
  --vp-gold: #cba26e;
  --vp-gold-2: #f3e7dc;
  --vp-violet: #5b2d4e;
  --vp-pink: #ddb4c1;
  --vp-cyan: #f3e7dc;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  color: #f8f3ff;
  background:
    radial-gradient(circle at 82% 8%, rgba(91, 45, 78, 0.46), transparent 30%),
    radial-gradient(circle at 28% 18%, rgba(203, 162, 110, 0.18), transparent 28%),
    linear-gradient(135deg, #120a13 0%, var(--vp-bg) 46%, #1b101d 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

.velora-pro-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 76%);
}

.velora-pro-sidebar {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(18, 10, 19, 0.96), rgba(45, 27, 46, 0.78));
  border-right: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px);
}

.velora-pro-brand,
.velora-pro-profile,
.velora-pro-nav a,
.velora-pro-topbar,
.velora-pro-top-actions,
.velora-pro-search,
.velora-pro-panel-head,
.velora-pro-appointment-list div,
.velora-pro-staff-row,
.velora-pro-service-pill,
.velora-pro-campaign,
.velora-pro-payment-rail,
.velora-pro-hero-actions {
  display: flex;
  align-items: center;
}

.velora-pro-brand {
  gap: 12px;
}

.velora-pro-logo {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.velora-pro-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 54%;
}

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

.velora-pro-brand strong {
  letter-spacing: 0.14em;
}

.velora-pro-brand small {
  max-width: 160px;
  color: rgba(248, 243, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.35;
}

.velora-pro-nav {
  width: 100%;
  display: grid;
  gap: 7px;
}

.velora-pro-nav a {
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  color: rgba(248, 243, 255, 0.66);
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
}

.velora-pro-nav a span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: var(--vp-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 8px;
  font-size: 0.72rem;
}

.velora-pro-nav a:hover,
.velora-pro-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(212, 175, 55, 0.11));
  border-color: rgba(212, 175, 55, 0.2);
}

.velora-pro-ai-card,
.velora-pro-panel,
.velora-pro-kpi-grid article,
.velora-pro-command-card,
.velora-pro-module-grid article {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px);
}

.velora-pro-ai-card {
  margin-top: auto;
  padding: 16px;
}

.velora-pro-ai-card p,
.velora-pro-panel-head p,
.velora-pro-eyebrow,
.velora-pro-kpi-grid span,
.velora-pro-module-grid p {
  margin: 0;
  color: var(--vp-gold);
  font-weight: 850;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.velora-pro-ai-card strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.velora-pro-btn,
.velora-pro-mini-btn,
.velora-pro-icon-btn,
.velora-pro-profile,
.velora-pro-calendar-grid button {
  border: 1px solid var(--vp-line);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.velora-pro-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
}

.velora-pro-btn:hover,
.velora-pro-mini-btn:hover,
.velora-pro-icon-btn:hover,
.velora-pro-profile:hover,
.velora-pro-calendar-grid button:hover {
  transform: translateY(-1px);
}

.velora-pro-btn-gold {
  color: #16091f;
  background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-2));
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.22);
}

.velora-pro-btn-glass,
.velora-pro-mini-btn,
.velora-pro-icon-btn,
.velora-pro-profile {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.velora-pro-main {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 22px clamp(18px, 3vw, 34px) 44px;
}

.velora-pro-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  justify-content: space-between;
  gap: 16px;
  margin: -22px calc(clamp(18px, 3vw, 34px) * -1) 22px;
  padding: 14px clamp(18px, 3vw, 34px);
  background: rgba(18, 10, 19, 0.76);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  backdrop-filter: blur(22px);
}

.velora-pro-search {
  width: min(520px, 100%);
  min-height: 46px;
  gap: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
}

.velora-pro-search span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--vp-gold);
  border-radius: 50%;
  box-shadow: 8px 8px 0 -6px var(--vp-gold);
}

.velora-pro-search input {
  color: #fff;
}

.velora-pro-search input::placeholder {
  color: rgba(248, 243, 255, 0.46);
}

.velora-pro-top-actions {
  gap: 10px;
}

.velora-pro-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-weight: 900;
}

.velora-pro-profile {
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
}

.velora-pro-profile span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #16091f;
  background: linear-gradient(135deg, var(--vp-gold), var(--vp-pink));
  border-radius: 8px;
  font-weight: 950;
}

.velora-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.velora-pro-hero > div:first-child {
  min-height: 440px;
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 48px);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.26), rgba(212, 175, 55, 0.08)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.velora-pro-hero h1 {
  max-width: 920px;
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 5.8rem);
  line-height: 0.98;
}

.velora-pro-hero p:not(.velora-pro-eyebrow) {
  max-width: 780px;
  color: rgba(248, 243, 255, 0.7);
  font-size: 1.04rem;
}

.velora-pro-hero-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.velora-pro-command-card {
  display: grid;
  align-content: space-between;
  padding: 24px;
  overflow: hidden;
}

.velora-pro-command-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.velora-pro-command-head span,
.velora-pro-command-card p {
  color: rgba(248, 243, 255, 0.64);
}

.velora-pro-command-head strong {
  color: var(--vp-gold);
  font-size: 2.2rem;
}

.velora-pro-orbit-chart {
  position: relative;
  width: min(270px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 16px auto;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--vp-gold), var(--vp-violet), var(--vp-pink), rgba(255, 255, 255, 0.08) 82%);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.32);
}

.velora-pro-orbit-chart span {
  position: absolute;
  inset: 18px;
  background: #160827;
  border-radius: 50%;
}

.velora-pro-orbit-chart b {
  position: relative;
  font-size: 2.8rem;
}

.velora-pro-kpi-grid,
.velora-pro-grid,
.velora-pro-module-grid {
  display: grid;
  gap: 14px;
}

.velora-pro-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.velora-pro-kpi-grid article {
  min-height: 140px;
  display: grid;
  align-content: space-between;
  padding: 18px;
}

.velora-brand-palette {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.velora-brand-palette > div,
.velora-brand-palette article {
  min-height: 132px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
}

.velora-brand-palette > div {
  display: grid;
  align-content: center;
}

.velora-brand-palette h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.velora-brand-palette article {
  display: grid;
  align-content: space-between;
}

.velora-brand-palette article span {
  width: 100%;
  height: 46px;
  display: block;
  background: var(--swatch);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

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

.velora-brand-palette strong {
  margin-top: 10px;
  color: #fff;
}

.velora-brand-palette small {
  color: rgba(248, 243, 255, 0.58);
  font-weight: 850;
}

.velora-pro-kpi-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1;
}

.velora-pro-kpi-grid small {
  color: rgba(248, 243, 255, 0.56);
  font-weight: 700;
}

.admin-command-center,
.admin-tracking-section,
.admin-ops-grid {
  margin-bottom: 18px;
}

.admin-command-center,
.admin-tracking-section,
.admin-ops-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px);
}

.admin-command-center {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
  gap: 18px;
  padding: 22px;
}

.admin-command-copy h2,
.admin-tracking-section h2,
.admin-ops-card h3 {
  margin: 8px 0 10px;
  color: #fff;
}

.admin-command-copy p:not(.velora-pro-eyebrow),
.admin-ops-card h3,
.admin-map-side small,
.admin-live-feed span {
  color: rgba(248, 243, 255, 0.68);
}

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

.admin-control-cards article {
  padding: 16px;
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-control-cards span,
.admin-ops-card p {
  display: block;
  color: var(--vp-gold);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-control-cards strong {
  display: block;
  margin: 10px 0 4px;
  color: #fff;
  font-size: 2rem;
}

.admin-control-cards small {
  color: rgba(248, 243, 255, 0.62);
}

.admin-tracking-section {
  padding: 22px;
}

.admin-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-map-actions .is-active {
  color: #16091f;
  background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-2));
}

.admin-tracking-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 330px;
  gap: 16px;
  margin-top: 16px;
}

.admin-live-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(203, 162, 110, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 42% 38%, rgba(203, 162, 110, 0.2), transparent 22%),
    radial-gradient(circle at 72% 64%, rgba(221, 180, 193, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(19, 8, 38, 0.82), rgba(45, 27, 46, 0.72));
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
}

.admin-live-map::before {
  content: "UAE OPERATIONS";
  position: absolute;
  right: 18px;
  top: 16px;
  color: rgba(248, 243, 255, 0.14);
  font-weight: 950;
  letter-spacing: 0.16em;
}

.admin-map-route {
  position: absolute;
  inset: 14% 12% 18% 16%;
  border: 1px dashed rgba(203, 162, 110, 0.28);
  border-radius: 42% 58% 48% 52%;
  transform: rotate(-8deg);
}

.admin-map-pin {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 118px;
  padding: 8px 10px 8px 42px;
  text-align: start;
  color: #fff;
  background: rgba(18, 10, 19, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.admin-map-pin span {
  position: absolute;
  left: 7px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #16091f;
  border-radius: 999px;
  background: var(--vp-gold);
  transform: translateY(-50%);
  font-weight: 950;
}

.admin-map-pin strong {
  font-size: 0.78rem;
}

.admin-map-pin small {
  color: rgba(248, 243, 255, 0.66);
  font-size: 0.68rem;
}

.admin-map-pin.green span { background: #7dd3a6; }
.admin-map-pin.blue span { background: #9bbcff; }
.admin-map-pin.pink span { background: #ddb4c1; }

.admin-map-side {
  display: grid;
  gap: 12px;
}

.admin-map-status,
.admin-live-feed article,
.admin-mini-table {
  padding: 14px;
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-map-status span {
  display: block;
  color: var(--vp-gold);
  font-weight: 900;
}

.admin-map-status strong {
  display: block;
  margin: 8px 0 4px;
  color: #fff;
  font-size: 1.55rem;
}

.admin-live-feed {
  display: grid;
  gap: 10px;
}

.admin-live-feed b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

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

.admin-ops-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.admin-mini-table {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.admin-mini-table strong {
  color: #fff;
}

.velora-suite-grid,
.velora-communication-grid,
.velora-command-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.velora-suite-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.velora-suite-grid article {
  min-height: 178px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--vp-line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.velora-suite-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 10px;
  color: #16091f;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-2));
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.velora-suite-grid strong {
  display: block;
  color: rgba(248, 243, 255, 0.78);
  line-height: 1.55;
}

.velora-communication-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.velora-command-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.velora-command-grid .velora-pro-panel,
.velora-communication-grid .velora-pro-panel {
  grid-column: auto;
}

.comm-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.comm-kpi-row span,
.automation-flow p,
.chat-inbox-preview,
.ai-command-list p,
.branch-ranking p,
.inventory-alerts p {
  padding: 12px;
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.comm-kpi-row strong {
  display: block;
  margin-bottom: 6px;
  color: var(--vp-gold);
  font-size: 1.35rem;
}

.automation-flow,
.ai-command-list,
.branch-ranking,
.inventory-alerts {
  display: grid;
  gap: 10px;
}

.automation-flow p,
.ai-command-list p,
.branch-ranking p,
.inventory-alerts p {
  margin: 0;
}

.automation-flow b,
.ai-command-list span,
.branch-ranking b,
.inventory-alerts b {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.automation-flow span,
.ai-command-list b,
.branch-ranking span,
.inventory-alerts span {
  color: rgba(248, 243, 255, 0.66);
}

.chat-inbox-preview {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
}

.chat-inbox-preview aside {
  display: grid;
  gap: 8px;
}

.chat-inbox-preview button {
  min-height: 38px;
  color: rgba(248, 243, 255, 0.72);
  text-align: start;
  border: 1px solid rgba(203, 162, 110, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.chat-inbox-preview button.is-active {
  color: #16091f;
  background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-2));
}

.chat-bubble {
  max-width: 86%;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 14px;
}

.chat-bubble.customer {
  color: #16091f;
  background: var(--vp-gold-2);
}

.chat-bubble.ai {
  margin-inline-start: auto;
  color: #fff;
  background: rgba(91, 45, 78, 0.86);
}

.chat-actions,
.loyalty-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-actions span,
.loyalty-levels span {
  padding: 8px 10px;
  color: rgba(248, 243, 255, 0.82);
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.loyalty-levels {
  margin: 18px 0;
}

.velora-pro-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.velora-pro-panel {
  min-height: 260px;
  grid-column: span 4;
  padding: 18px;
}

.velora-pro-revenue,
.velora-pro-calendar {
  grid-column: span 8;
}

.velora-pro-payments {
  grid-column: span 6;
}

.velora-pro-panel-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.velora-pro-panel-head h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: clamp(1.15rem, 1.6vw, 1.7rem);
}

.velora-pro-panel-head strong {
  color: var(--vp-gold);
  font-size: 1.5rem;
}

.velora-pro-mini-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 850;
}

.velora-pro-chart {
  height: 240px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.velora-pro-chart span {
  flex: 1;
  min-height: 22px;
  background: linear-gradient(180deg, var(--vp-gold-2), var(--vp-violet));
  border-radius: 8px 8px 3px 3px;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
}

.velora-pro-trend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: rgba(248, 243, 255, 0.72);
}

.velora-pro-trend span {
  width: 44px;
  height: 18px;
  display: block;
  border-bottom: 3px solid var(--vp-gold);
  border-radius: 50%;
}

.velora-pro-appointment-list {
  display: grid;
  gap: 10px;
}

.velora-pro-appointment-list div {
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.velora-pro-appointment-list time {
  color: var(--vp-gold);
  font-weight: 900;
}

.velora-pro-appointment-list strong,
.velora-pro-appointment-list small {
  display: block;
}

.velora-pro-appointment-list small,
.velora-pro-panel p,
.velora-pro-quote {
  color: rgba(248, 243, 255, 0.62);
}

.velora-pro-appointment-list b {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
}

.is-confirmed { color: #bbf7d0; background: rgba(34, 197, 94, 0.14); }
.is-arrived { color: #bae6fd; background: rgba(14, 165, 233, 0.14); }
.is-pending { color: #fde68a; background: rgba(245, 158, 11, 0.14); }
.is-paid { color: #f5d0fe; background: rgba(217, 70, 239, 0.14); }

.velora-pro-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.velora-pro-calendar-grid span,
.velora-pro-calendar-grid button {
  min-height: 58px;
  display: grid;
  place-items: center;
  text-align: center;
}

.velora-pro-calendar-grid span {
  color: rgba(248, 243, 255, 0.48);
  font-weight: 850;
}

.velora-pro-calendar-grid button {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  font-weight: 900;
}

.velora-pro-calendar-grid button.is-hot {
  color: #17091d;
  background: linear-gradient(135deg, var(--vp-gold), var(--vp-pink));
}

.velora-pro-client-card,
.velora-pro-service-pill,
.velora-pro-campaign,
.velora-pro-report-list span {
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.velora-pro-client-card {
  display: grid;
  gap: 3px;
  margin-bottom: 10px;
}

.velora-pro-client-card strong {
  color: var(--vp-gold);
}

.velora-pro-client-card span,
.velora-pro-client-card small {
  color: rgba(248, 243, 255, 0.66);
}

.velora-pro-staff-row {
  position: relative;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin-bottom: 10px;
  padding: 10px 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.velora-pro-staff-row i {
  position: absolute;
  left: 12px;
  bottom: 8px;
  height: 5px;
  background: linear-gradient(90deg, var(--vp-gold), var(--vp-violet));
  border-radius: 999px;
}

.velora-pro-service-pill,
.velora-pro-campaign {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.velora-pro-payment-rail {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.velora-pro-payment-rail span {
  padding: 8px 10px;
  color: #17091d;
  background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-2));
  border-radius: 999px;
  font-weight: 900;
}

.velora-pro-quote {
  font-size: 1.15rem;
  line-height: 1.7;
}

.velora-pro-report-list {
  display: grid;
  gap: 10px;
}

.velora-pro-module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.velora-pro-module-grid article {
  min-height: 178px;
  padding: 20px;
}

.velora-pro-module-grid h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.42;
}

body.velora-home {
  --home-bg: #130826;
  --home-bg-2: #2d1b2e;
  --home-card: rgba(255, 248, 241, 0.08);
  --home-card-strong: rgba(255, 248, 241, 0.13);
  --home-border: rgba(203, 162, 110, 0.28);
  --home-gold: #cba26e;
  --home-gold-2: #f3e7dc;
  --home-rose: #ddb4c1;
  --home-text: #fff8f1;
  --home-muted: rgba(255, 248, 241, 0.72);
  --ink: var(--home-text);
  --muted: var(--home-muted);
  --panel: var(--home-card);
  --line: var(--home-border);
  min-height: 100vh;
  color: var(--home-text);
  background:
    radial-gradient(circle at 14% 8%, rgba(203, 162, 110, 0.18), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(221, 180, 193, 0.16), transparent 30%),
    linear-gradient(145deg, #0c0614 0%, #130826 46%, #2d1b2e 100%);
}

body.velora-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

body.velora-home .home-topbar {
  min-height: 92px;
  color: var(--home-text);
  background: rgba(19, 8, 38, 0.76);
  border-bottom: 1px solid rgba(203, 162, 110, 0.18);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

body.velora-home .home-topbar .brand {
  min-width: 96px;
}

body.velora-home .home-topbar .brand-logo {
  width: 82px;
  height: 82px;
  filter: drop-shadow(0 18px 34px rgba(203, 162, 110, 0.22));
}

body.velora-home .nav-links {
  gap: clamp(14px, 2vw, 30px);
  color: rgba(255, 248, 241, 0.7);
}

body.velora-home .nav-links a:hover {
  color: var(--home-gold-2);
}

body.velora-home .btn,
body.velora-home .icon-btn {
  border-color: rgba(203, 162, 110, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

body.velora-home .btn-primary {
  color: #1b0c21;
  background: linear-gradient(135deg, #f3e7dc, #cba26e 52%, #9c6c3a);
  border-color: rgba(243, 231, 220, 0.58);
}

body.velora-home .btn-primary:hover {
  background: linear-gradient(135deg, #fff8f1, #d9ad74 55%, #b27c45);
}

body.velora-home .btn-ghost,
body.velora-home .icon-btn {
  color: var(--home-text);
  background: rgba(255, 248, 241, 0.07);
  backdrop-filter: blur(18px);
}

body.velora-home .home-premium-hero {
  min-height: calc(100vh - 20px);
  padding-top: 34px;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
}

body.velora-home .hero-media {
  opacity: 0.3;
  filter: saturate(0.7) contrast(1.08);
  background-position: center;
}

body.velora-home .hero-shade {
  background:
    linear-gradient(90deg, rgba(19, 8, 38, 0.98), rgba(19, 8, 38, 0.82) 42%, rgba(45, 27, 46, 0.66)),
    radial-gradient(circle at 70% 30%, rgba(203, 162, 110, 0.18), transparent 36%);
}

body.velora-home[dir="ltr"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(19, 8, 38, 0.98), rgba(19, 8, 38, 0.82) 42%, rgba(45, 27, 46, 0.66)),
    radial-gradient(circle at 30% 30%, rgba(203, 162, 110, 0.18), transparent 36%);
}

body.velora-home .home-hero-logo {
  width: min(34vw, 390px);
  height: min(34vw, 390px);
  max-width: 390px;
  max-height: 390px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 42%, rgba(203, 162, 110, 0.18), transparent 58%),
    rgba(255, 248, 241, 0.035);
  box-shadow: 0 0 70px rgba(203, 162, 110, 0.17), inset 0 0 44px rgba(255, 248, 241, 0.04);
  backdrop-filter: blur(12px);
}

body.velora-home .home-hero-logo img {
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 22px rgba(203, 162, 110, 0.22));
}

body.velora-home .hero-content {
  width: min(760px, calc(100% - 32px));
  margin: 0 clamp(18px, 5vw, 70px) 0 auto;
  padding: clamp(22px, 4vw, 42px);
  color: var(--home-text);
  background: linear-gradient(145deg, rgba(255, 248, 241, 0.11), rgba(255, 248, 241, 0.045));
  border: 1px solid rgba(203, 162, 110, 0.24);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
}

body.velora-home[dir="ltr"] .hero-content {
  margin-right: auto;
  margin-left: clamp(18px, 5vw, 70px);
}

body.velora-home .eyebrow,
body.velora-home .hero .eyebrow {
  color: var(--home-gold);
  text-transform: uppercase;
}

body.velora-home h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 5.4vw, 5.7rem);
  line-height: 1.02;
  color: var(--home-text);
}

body.velora-home h2 {
  color: var(--home-text);
}

body.velora-home .hero-copy {
  color: var(--home-muted);
  font-size: 1.12rem;
}

body.velora-home .search-panel {
  padding: 12px;
  background: rgba(255, 248, 241, 0.1);
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 16px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07), 0 24px 80px rgba(0, 0, 0, 0.22);
}

body.velora-home .search-panel label {
  background: rgba(19, 8, 38, 0.46);
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 12px;
}

body.velora-home label span {
  color: rgba(243, 231, 220, 0.68);
}

body.velora-home input {
  color: #fff8f1;
}

body.velora-home input::placeholder {
  color: rgba(255, 248, 241, 0.46);
}

body.velora-home .trust-row span {
  color: rgba(255, 248, 241, 0.88);
  background: rgba(255, 248, 241, 0.08);
  border-color: rgba(203, 162, 110, 0.24);
}

body.velora-home .section {
  position: relative;
  margin-top: 74px;
}

body.velora-home .split,
body.velora-home .feature-band,
body.velora-home .home-dashboard-preview,
body.velora-home .pricing {
  width: min(1220px, calc(100% - 36px));
  padding: clamp(22px, 3vw, 36px);
  background: linear-gradient(145deg, rgba(255, 248, 241, 0.09), rgba(255, 248, 241, 0.04));
  border: 1px solid rgba(203, 162, 110, 0.2);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

body.velora-home .split p,
body.velora-home .feature-copy p,
body.velora-home .section-title p,
body.velora-home .capability-grid p,
body.velora-home .management-grid p,
body.velora-home .price-card p {
  color: var(--home-muted);
}

body.velora-home .capability-grid article,
body.velora-home .management-grid article,
body.velora-home .price-card {
  background:
    linear-gradient(145deg, rgba(255, 248, 241, 0.1), rgba(255, 248, 241, 0.045));
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 18px 46px rgba(0, 0, 0, 0.18);
}

body.velora-home .capability-grid article {
  min-height: 158px;
}

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

body.velora-home .management-grid article {
  padding: 24px;
}

body.velora-home .price-card.featured {
  background:
    radial-gradient(circle at 20% 0%, rgba(203, 162, 110, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(91, 45, 78, 0.72), rgba(255, 248, 241, 0.06));
  border-color: rgba(203, 162, 110, 0.44);
}

body.velora-home .price {
  color: var(--home-gold-2);
}

body.velora-home .section-title.wide {
  max-width: 920px;
  margin-bottom: 26px;
}

body.velora-home .home-product-suite,
body.velora-home .home-showcase,
body.velora-home .home-growth-suite,
body.velora-home .home-ai-band,
body.velora-home .home-final-cta {
  width: min(1220px, calc(100% - 36px));
  padding: clamp(22px, 3.4vw, 42px);
  background:
    radial-gradient(circle at 18% 0%, rgba(203, 162, 110, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 248, 241, 0.09), rgba(255, 248, 241, 0.035));
  border: 1px solid rgba(203, 162, 110, 0.2);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

body.velora-home .product-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.velora-home .product-module-grid article,
body.velora-home .growth-grid article,
body.velora-home .ai-flow article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(255, 248, 241, 0.105), rgba(255, 248, 241, 0.04));
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 18px 46px rgba(0, 0, 0, 0.18);
}

body.velora-home .product-module-grid article::after,
body.velora-home .growth-grid article::after,
body.velora-home .ai-flow article::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 35%;
  height: 140px;
  border-radius: 999px;
  background: rgba(203, 162, 110, 0.1);
  filter: blur(28px);
  pointer-events: none;
}

body.velora-home .module-icon,
body.velora-home .ai-flow span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: #1b0c21;
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3e7dc, #cba26e 56%, #9c6c3a);
  box-shadow: 0 16px 34px rgba(203, 162, 110, 0.18);
}

body.velora-home .product-module-grid h3,
body.velora-home .growth-grid h3,
body.velora-home .ai-flow h3 {
  margin: 0 0 10px;
  color: var(--home-text);
}

body.velora-home .product-module-grid p,
body.velora-home .home-showcase p,
body.velora-home .growth-grid p,
body.velora-home .home-ai-band p,
body.velora-home .home-final-cta p,
body.velora-home .home-footer p {
  color: var(--home-muted);
}

body.velora-home .home-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  align-items: center;
  gap: clamp(22px, 4vw, 52px);
}

body.velora-home .showcase-copy {
  max-width: 470px;
}

body.velora-home .showcase-actions,
body.velora-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body.velora-home .home-dashboard-shell {
  padding: 18px;
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(19, 8, 38, 0.86), rgba(45, 27, 46, 0.64)),
    radial-gradient(circle at 75% 15%, rgba(203, 162, 110, 0.2), transparent 36%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

body.velora-home .shell-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 248, 241, 0.72);
}

body.velora-home .shell-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(203, 162, 110, 0.6);
}

body.velora-home .shell-top strong {
  margin-inline-start: auto;
  letter-spacing: 0;
  color: #f3e7dc;
}

body.velora-home .shell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

body.velora-home .metric-card {
  padding: 16px;
  border: 1px solid rgba(255, 248, 241, 0.1);
  border-radius: 14px;
  background: rgba(255, 248, 241, 0.07);
}

body.velora-home .metric-card small,
body.velora-home .source-map-card small {
  display: block;
  color: rgba(255, 248, 241, 0.62);
}

body.velora-home .metric-card strong {
  display: block;
  margin: 8px 0 4px;
  color: #fff8f1;
  font-size: 1.55rem;
}

body.velora-home .metric-card span {
  color: #cba26e;
  font-weight: 800;
}

body.velora-home .metric-card.gold {
  background: linear-gradient(145deg, rgba(203, 162, 110, 0.24), rgba(255, 248, 241, 0.06));
  border-color: rgba(203, 162, 110, 0.34);
}

body.velora-home .preview-panel {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(180px, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

body.velora-home .chart-bars,
body.velora-home .appointment-stack,
body.velora-home .source-map-card {
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(255, 248, 241, 0.1);
  border-radius: 16px;
  background: rgba(255, 248, 241, 0.055);
}

body.velora-home .chart-bars {
  display: flex;
  align-items: end;
  gap: 10px;
}

body.velora-home .chart-bars i {
  flex: 1;
  min-width: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #f3e7dc, #cba26e 62%, #5b2d4e);
}

body.velora-home .appointment-stack {
  display: grid;
  gap: 10px;
}

body.velora-home .appointment-stack div {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: #fff8f1;
  border-radius: 12px;
  background: rgba(255, 248, 241, 0.075);
}

body.velora-home .appointment-stack b {
  color: #cba26e;
}

body.velora-home .source-map-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 150px;
}

body.velora-home .source-map {
  height: 124px;
  border: 1px solid rgba(203, 162, 110, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 34%, #cba26e 0 5px, transparent 6px),
    radial-gradient(circle at 72% 62%, #ddb4c1 0 5px, transparent 6px),
    radial-gradient(circle at 52% 46%, #fff8f1 0 4px, transparent 5px),
    linear-gradient(135deg, rgba(255, 248, 241, 0.06), rgba(203, 162, 110, 0.08));
}

body.velora-home .source-map-card p {
  margin: 6px 0 0;
  color: rgba(255, 248, 241, 0.72);
}

body.velora-home .growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.velora-home .home-ai-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: 22px;
  align-items: start;
}

body.velora-home .ai-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.velora-home .home-final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

body.velora-home .home-final-cta > div:first-child {
  max-width: 720px;
}

body.velora-home .home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto 30px;
  padding: 22px;
  color: var(--home-text);
  border: 1px solid rgba(203, 162, 110, 0.18);
  border-radius: 18px;
  background: rgba(255, 248, 241, 0.06);
  backdrop-filter: blur(16px);
}

body.velora-home .home-footer .brand {
  min-width: 150px;
}

body.velora-home .home-footer .brand-logo {
  width: 56px;
  height: 56px;
}

body.velora-home .home-footer p {
  max-width: 540px;
  margin: 0;
}

body.velora-home .home-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

body.velora-home .home-footer a {
  color: var(--home-muted);
}

body.velora-home .home-footer a:hover {
  color: var(--home-gold-2);
}

body.velora-home.dark {
  background:
    radial-gradient(circle at 12% 10%, rgba(203, 162, 110, 0.2), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(221, 180, 193, 0.14), transparent 30%),
    linear-gradient(145deg, #09040f 0%, #130826 48%, #24112c 100%);
}

body.velora-home:not(.dark) {
  --home-text: #2d1b2e;
  --home-muted: rgba(45, 27, 46, 0.72);
  color: var(--home-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(203, 162, 110, 0.24), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(221, 180, 193, 0.28), transparent 32%),
    linear-gradient(145deg, #fff8f1 0%, #f3e7dc 48%, #ddb4c1 100%);
}

body.velora-home:not(.dark) .home-topbar {
  color: #2d1b2e;
  background: rgba(255, 248, 241, 0.78);
}

body.velora-home:not(.dark) .hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 248, 241, 0.96), rgba(243, 231, 220, 0.78) 44%, rgba(91, 45, 78, 0.3)),
    radial-gradient(circle at 70% 30%, rgba(203, 162, 110, 0.24), transparent 38%);
}

body.velora-home:not(.dark)[dir="ltr"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(255, 248, 241, 0.96), rgba(243, 231, 220, 0.78) 44%, rgba(91, 45, 78, 0.3)),
    radial-gradient(circle at 30% 30%, rgba(203, 162, 110, 0.24), transparent 38%);
}

body.velora-home:not(.dark) .hero-content,
body.velora-home:not(.dark) .split,
body.velora-home:not(.dark) .feature-band,
body.velora-home:not(.dark) .home-dashboard-preview,
body.velora-home:not(.dark) .pricing,
body.velora-home:not(.dark) .home-product-suite,
body.velora-home:not(.dark) .home-showcase,
body.velora-home:not(.dark) .home-growth-suite,
body.velora-home:not(.dark) .home-ai-band,
body.velora-home:not(.dark) .home-final-cta,
body.velora-home:not(.dark) .home-footer {
  background: rgba(255, 248, 241, 0.68);
  border-color: rgba(91, 45, 78, 0.14);
}

body.velora-home:not(.dark) .product-module-grid article,
body.velora-home:not(.dark) .growth-grid article,
body.velora-home:not(.dark) .ai-flow article {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(91, 45, 78, 0.12);
}

body.velora-home:not(.dark) .search-panel label {
  background: rgba(255, 255, 255, 0.72);
}

body.velora-home:not(.dark) input {
  color: #2d1b2e;
}

body.velora-home:not(.dark) input::placeholder {
  color: rgba(45, 27, 46, 0.45);
}

.velora-intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  color: #fff8f1;
  background:
    radial-gradient(circle at 50% 32%, rgba(203, 162, 110, 0.28), transparent 20%),
    radial-gradient(circle at 18% 18%, rgba(221, 180, 193, 0.16), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(91, 45, 78, 0.38), transparent 30%),
    linear-gradient(145deg, #08030d 0%, #130826 46%, #2d1b2e 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.velora-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0 42%, transparent 78%);
}

.velora-intro.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.velora-intro-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: clamp(26px, 5vw, 48px);
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 248, 241, 0.12), rgba(255, 248, 241, 0.04));
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  animation: veloraIntroRise 0.72s ease both;
}

.velora-intro-logo {
  width: min(280px, 64vw);
  height: min(230px, 52vw);
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
}

.velora-intro-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 26px rgba(203, 162, 110, 0.24));
}

.velora-intro-kicker {
  margin: 0 0 8px;
  color: #cba26e;
  font-weight: 900;
}

.velora-intro h1 {
  margin: 0 0 8px;
  max-width: none;
  color: #f3e7dc;
  font-size: clamp(3rem, 8vw, 5.8rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.velora-intro-copy {
  max-width: 420px;
  margin: 0 auto 24px;
  color: rgba(255, 248, 241, 0.78);
}

.velora-intro-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(420px, 100%);
  margin: 0 auto;
}

.velora-intro .btn {
  min-height: 56px;
  border-radius: 14px;
  font-size: 1.02rem;
}

@keyframes veloraIntroRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.salon-os .app-main {
  background:
    radial-gradient(circle at 92% 0%, rgba(203, 162, 110, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(243, 231, 220, 0.42), rgba(255, 255, 255, 0.88));
}

.salon-os .app-sidebar {
  background: #24252b;
  border-color: rgba(255, 255, 255, 0.08);
}

.salon-os .app-sidebar nav a {
  color: rgba(255, 255, 255, 0.78);
}

.salon-os .app-sidebar nav a.is-active,
.salon-os .app-sidebar nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, #5b55e8, #6f5ff6);
}

.salon-mobile-top {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 12px 18px;
  color: #fff;
  background: #24252b;
  border-radius: 0 0 16px 16px;
}

.salon-mobile-top .btn {
  color: #df4b72;
  background: #fff;
  border-radius: 999px;
}

.salon-command-grid article:first-child {
  background:
    radial-gradient(circle at 10% 0%, rgba(203, 162, 110, 0.2), transparent 34%),
    linear-gradient(145deg, #2d1b2e, #5b2d4e);
  color: #fff;
}

.salon-command-grid article:first-child p {
  color: rgba(255, 255, 255, 0.72);
}

.salon-module-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.salon-module-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  color: #f7f7fb;
  background: #24252b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(36, 37, 43, 0.18);
}

.salon-module-menu a:hover {
  background: linear-gradient(135deg, #5b55e8, #6f5ff6);
}

.salon-module-menu span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  font-weight: 900;
}

.salon-os-card {
  margin: 0 0 22px;
  padding: clamp(18px, 3vw, 30px);
  color: #16171d;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(36, 37, 43, 0.08);
}

.salon-os-card .panel-head {
  margin-bottom: 18px;
}

.salon-os-card h2,
.salon-os-card h3 {
  color: #111216;
}

.salon-os-card p {
  color: #6d7078;
}

.salon-filter-row,
.invoice-grid,
.salon-actions-grid {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.salon-filter-row {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
}

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

.salon-actions-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.salon-filter-row input,
.salon-filter-row select,
.invoice-grid input,
.invoice-grid select,
.full-input,
.invoice-notes {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: #191a20;
  background: #fff;
  border: 1px solid rgba(36, 37, 43, 0.28);
  border-radius: 10px;
  outline: 0;
}

.invoice-notes {
  min-height: 86px;
  padding-top: 16px;
  resize: vertical;
}

.salon-tabs {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.salon-tabs button,
.service-row {
  min-height: 56px;
  padding: 0 18px;
  color: #22242b;
  background: #f0f0f1;
  border: 0;
  border-radius: 12px;
  text-align: start;
  font-weight: 700;
}

.salon-tabs button.is-active {
  color: #fff;
  background: #24252b;
}

.service-list {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(36, 37, 43, 0.08);
}

.service-row {
  display: grid;
  grid-template-columns: 34px 1fr 36px;
  align-items: center;
  border-radius: 0;
  border-bottom: 1px solid rgba(36, 37, 43, 0.06);
}

.service-row.head {
  grid-template-columns: 1fr 36px;
  background: #e6e6e8;
  font-size: 1.2rem;
}

.service-row button {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.salon-table-scroll {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 12px;
  background: #fff;
}

.salon-data-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.salon-data-table th,
.salon-data-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(36, 37, 43, 0.1);
  text-align: start;
  white-space: nowrap;
}

.salon-data-table th {
  background: #efeff0;
  font-weight: 900;
}

.round-add {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: #24252b;
  border: 0;
  border-radius: 999px;
  font-size: 2.2rem;
  box-shadow: 0 18px 34px rgba(36, 37, 43, 0.25);
  cursor: pointer;
}

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

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}

.payment-methods button {
  min-width: 130px;
  min-height: 56px;
  color: #8b8e96;
  background: #f7f7f8;
  border: 2px solid #e6e6e8;
  border-radius: 12px;
  cursor: pointer;
}

.payment-methods button.is-active {
  color: #fff;
  background: #24252b;
  border-color: #24252b;
}

.invoice-total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  margin-top: 18px;
  padding: 20px;
  background: #f7f7f8;
  border-radius: 14px;
  font-size: 1.08rem;
}

.invoice-total strong {
  font-size: 1.45rem;
}

.report-group {
  margin-top: 18px;
  padding: 12px 18px;
  background: #dedee0;
  border-radius: 12px;
}

.report-list,
.marketing-list {
  display: grid;
  gap: 12px;
  margin: 14px 0 24px;
}

.report-item,
.marketing-list article {
  position: relative;
  min-height: 90px;
  padding: 18px 54px 18px 18px;
  background: #fff;
  border: 1px solid rgba(36, 37, 43, 0.18);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(36, 37, 43, 0.05);
}

.report-item span,
.marketing-list article > span {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  color: #8d8f96;
  font-size: 1.3rem;
}

.report-item em,
.marketing-list em {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  padding: 4px 14px;
  color: #fff;
  background: #008c1e;
  border-radius: 10px 0 10px 0;
  font-style: normal;
}

.integration-section {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 16px;
}

.integration-section h3 {
  padding: 12px 16px;
  background: #e4e4e6;
  border-radius: 12px;
}

.integration-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.integration-logo-grid article {
  min-height: 220px;
  padding: 22px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(36, 37, 43, 0.08);
}

.integration-logo-grid article span {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  color: #24252b;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(36, 37, 43, 0.12);
  font-weight: 900;
}

.client-source-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.source-map-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(36, 37, 43, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(36, 37, 43, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 28%, rgba(203, 162, 110, 0.22), transparent 18%),
    radial-gradient(circle at 78% 62%, rgba(91, 85, 232, 0.2), transparent 20%),
    linear-gradient(145deg, #f8f4ef, #ffffff);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 18px;
}

.source-map-visual::before,
.source-map-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 999px;
}

.source-map-visual::before {
  width: 44%;
  height: 46%;
  inset: 18% auto auto 17%;
  transform: rotate(-18deg);
}

.source-map-visual::after {
  width: 34%;
  height: 34%;
  inset: auto 14% 16% auto;
  transform: rotate(14deg);
}

.map-pin {
  position: absolute;
  inset-inline-start: var(--x);
  top: var(--y);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: #24252b;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(36, 37, 43, 0.22);
  transform: translate(-50%, -50%);
  font-size: 0.85rem;
  font-weight: 900;
}

html[dir="rtl"] .map-pin {
  transform: translate(50%, -50%);
}

.map-pin::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #cba26e;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(203, 162, 110, 0.2);
}

.map-pin.google::before { background: #4285f4; box-shadow: 0 0 0 6px rgba(66, 133, 244, 0.18); }
.map-pin.instagram::before { background: #d94686; box-shadow: 0 0 0 6px rgba(217, 70, 134, 0.18); }
.map-pin.whatsapp::before { background: #22c55e; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18); }
.map-pin.website::before { background: #5b55e8; box-shadow: 0 0 0 6px rgba(91, 85, 232, 0.18); }
.map-pin.referral::before { background: #cba26e; box-shadow: 0 0 0 6px rgba(203, 162, 110, 0.18); }

.source-channel-grid {
  display: grid;
  gap: 12px;
}

.source-channel-grid article {
  display: grid;
  gap: 2px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(36, 37, 43, 0.06);
}

.source-channel-grid strong {
  color: #24252b;
  font-size: 1.75rem;
  line-height: 1;
}

.source-channel-grid span {
  color: #24252b;
  font-weight: 900;
}

.source-channel-grid small {
  color: #777b84;
}

.architecture-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.architecture-hero article,
.architecture-card,
.architecture-controls {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(36, 37, 43, 0.08);
}

.architecture-hero article {
  padding: 20px;
}

.architecture-hero strong {
  display: block;
  color: #2d1b2e;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.architecture-hero span {
  display: block;
  margin: 8px 0 4px;
  color: #24252b;
  font-weight: 900;
}

.architecture-hero small {
  color: #777b84;
}

.architecture-controls {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
}

.architecture-controls input,
.architecture-controls select {
  min-height: 48px;
  padding: 0 14px;
  color: #24252b;
  background: #fff;
  border: 1px solid rgba(36, 37, 43, 0.16);
  border-radius: 10px;
}

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

.architecture-card {
  overflow: hidden;
  padding: 22px;
}

.architecture-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.architecture-card-head span,
.architecture-card-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 900;
}

.architecture-card-head span {
  color: #2d1b2e;
  background: #f3e7dc;
}

.architecture-card-head strong {
  color: #fff;
  background: #24252b;
}

.architecture-card[data-priority="High"] .architecture-card-head strong {
  background: #7c2d3a;
}

.architecture-card[data-priority="Medium"] .architecture-card-head strong {
  background: #5b55e8;
}

.architecture-card[data-priority="Low"] .architecture-card-head strong {
  background: #667085;
}

.architecture-card h2 {
  margin-bottom: 10px;
  color: #16171d;
  font-size: 1.45rem;
}

.architecture-card > p,
.architecture-card details p {
  color: #626772;
}

.architecture-card details {
  margin-top: 10px;
  padding: 12px 14px;
  background: #f7f7f8;
  border: 1px solid rgba(36, 37, 43, 0.08);
  border-radius: 12px;
}

.architecture-card summary {
  color: #24252b;
  cursor: pointer;
  font-weight: 900;
}

.growth-hero,
.revenue-feature-grid,
.ad-hook-grid {
  display: grid;
  gap: 14px;
}

.growth-hero {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.growth-hero article,
.growth-section,
.growth-card,
.growth-controls,
.revenue-feature-grid article,
.ad-hook-grid article {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 37, 43, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(36, 37, 43, 0.08);
}

.growth-hero article {
  padding: 20px;
}

.growth-hero strong {
  display: block;
  color: #2d1b2e;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.growth-hero span {
  display: block;
  margin: 8px 0 4px;
  color: #24252b;
  font-weight: 900;
}

.growth-hero small {
  color: #777b84;
}

.growth-controls {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
}

.growth-controls input,
.growth-controls select {
  min-height: 48px;
  padding: 0 14px;
  color: #24252b;
  background: #fff;
  border: 1px solid rgba(36, 37, 43, 0.16);
  border-radius: 10px;
}

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

.growth-card {
  padding: 22px;
}

.growth-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.growth-card-head span,
.growth-card-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 900;
}

.growth-card-head span {
  color: #2d1b2e;
  background: #f3e7dc;
}

.growth-card-head strong {
  color: #fff;
  background: #24252b;
}

.growth-card[data-priority="High"] .growth-card-head strong {
  background: #7c2d3a;
}

.growth-card[data-priority="Medium"] .growth-card-head strong {
  background: #5b55e8;
}

.growth-card h2 {
  margin-bottom: 10px;
  color: #16171d;
  font-size: 1.45rem;
}

.growth-card > p,
.growth-card details p {
  color: #626772;
}

.growth-card details {
  margin-top: 10px;
  padding: 12px 14px;
  background: #f7f7f8;
  border: 1px solid rgba(36, 37, 43, 0.08);
  border-radius: 12px;
}

.growth-card summary {
  color: #24252b;
  cursor: pointer;
  font-weight: 900;
}

.growth-section {
  margin-top: 22px;
  padding: 22px;
}

.revenue-feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.revenue-feature-grid article {
  padding: 18px;
}

.revenue-feature-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  color: #fff;
  background: #2d1b2e;
  border-radius: 999px;
  font-weight: 900;
}

.revenue-feature-grid strong,
.ad-hook-grid strong {
  display: block;
  color: #16171d;
}

.revenue-feature-grid p {
  color: #626772;
  font-size: 0.92rem;
}

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

.ad-hook-grid article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
}

.marketplace-page,
.business-page,
.clients-page {
  min-height: 100vh;
  color: #1f1724;
  background:
    radial-gradient(circle at 12% 8%, rgba(203, 162, 110, 0.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(91, 45, 78, 0.14), transparent 30%),
    linear-gradient(145deg, #fff8f1 0%, #f3e7dc 50%, #f9eef2 100%);
}

.market-hero,
.business-hero,
.clients-hero,
.market-results-section,
.business-section,
.clients-section {
  width: min(1220px, calc(100% - 36px));
  margin: 42px auto 0;
}

.market-hero,
.business-hero,
.clients-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 30px 90px rgba(45, 27, 46, 0.14);
  backdrop-filter: blur(18px);
}

.market-hero h1,
.business-hero h1,
.clients-hero h1 {
  max-width: 760px;
  color: #2d1b2e;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  line-height: 1.02;
}

.market-searchbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 26px;
  padding: 12px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 18px;
  background: #fff;
}

.market-searchbar label,
.calculator-card label,
.business-lead-form label {
  display: grid;
  gap: 8px;
}

.market-searchbar input,
.calculator-card input,
.business-lead-form input {
  width: 100%;
  border: 1px solid rgba(45, 27, 46, 0.16);
  border-radius: 12px;
  padding: 14px 16px;
  color: #2d1b2e;
  background: rgba(255, 255, 255, 0.88);
}

.market-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
}

.market-filters .chip {
  border-color: rgba(91, 45, 78, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.market-filters .chip.is-active,
.market-card.is-featured {
  border-color: rgba(203, 162, 110, 0.58);
  box-shadow: 0 18px 44px rgba(203, 162, 110, 0.18);
}

.market-map-card,
.customer-journey-card,
.business-preview-card,
.calculator-card,
.client-app-preview {
  padding: 20px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(45, 27, 46, 0.96), rgba(19, 8, 38, 0.92));
  color: #fff8f1;
  box-shadow: 0 26px 70px rgba(45, 27, 46, 0.18);
}

.market-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 52% 46%, rgba(203, 162, 110, 0.28), transparent 25%),
    #130826;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.map-pin {
  position: absolute;
  display: grid;
  gap: 4px;
  transform: translate(-50%, -50%);
  border: 0;
  color: #fff8f1;
  background: transparent;
  cursor: pointer;
}

.map-pin span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #1b0c21;
  border-radius: 999px 999px 999px 4px;
  background: linear-gradient(135deg, #f3e7dc, #cba26e);
  transform: rotate(-45deg);
  box-shadow: 0 10px 26px rgba(203, 162, 110, 0.3);
}

.map-pin span::first-letter {
  transform: rotate(45deg);
}

.map-pin b {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 248, 241, 0.12);
  font-size: 0.72rem;
}

.map-legend {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.map-legend span,
.customer-journey-card span,
.business-preview-card small,
.calculator-card span {
  color: rgba(255, 248, 241, 0.72);
}

.market-layout,
.business-pricing-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.market-layout {
  width: min(1220px, calc(100% - 36px));
  margin: 26px auto 70px;
}

.market-filters {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(45, 27, 46, 0.08);
}

.market-filters h2 {
  margin: 0 0 4px;
  color: #2d1b2e;
  font-size: 1.12rem;
}

.market-filters button {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #2d1b2e;
  border: 1px solid rgba(91, 45, 78, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  cursor: pointer;
}

.market-filters button.is-active,
.market-filters button:hover {
  color: #fff8f1;
  border-color: transparent;
  background: linear-gradient(135deg, #2d1b2e, #5b2d4e);
}

.market-results {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.market-results .row-title {
  align-items: end;
  justify-content: space-between;
  margin: 0;
}

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

.market-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 46px rgba(45, 27, 46, 0.08);
}

.market-thumb {
  display: grid;
  place-items: end start;
  min-height: 170px;
  padding: 14px;
  color: #fff8f1;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 25%, rgba(203, 162, 110, 0.42), transparent 28%),
    linear-gradient(145deg, #2d1b2e, #5b2d4e);
}

.market-thumb span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 248, 241, 0.14);
}

.market-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.market-card-head h3 {
  margin: 0 0 4px;
  color: #2d1b2e;
  overflow-wrap: anywhere;
}

.market-card-head p,
.market-meta,
.market-services {
  color: #626772;
}

.market-meta,
.market-services,
.market-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.market-meta span,
.market-services span {
  padding: 7px 10px;
  border: 1px solid rgba(45, 27, 46, 0.1);
  border-radius: 999px;
  background: rgba(243, 231, 220, 0.55);
}

.customer-journey-card {
  position: sticky;
  top: 96px;
}

.customer-journey-card ol {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.customer-journey-card li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 248, 241, 0.1);
  border-radius: 12px;
  background: rgba(255, 248, 241, 0.07);
}

.business-section,
.clients-section {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 60px rgba(45, 27, 46, 0.09);
}

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

.business-module-grid article,
.client-step-grid article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.business-module-grid h3,
.client-step-grid h3 {
  margin: 0 0 10px;
  color: #2d1b2e;
}

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

.business-plan {
  display: grid;
  gap: 8px;
  text-align: start;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.business-plan.is-active {
  color: #fff8f1;
  border-color: rgba(203, 162, 110, 0.52);
  background: linear-gradient(145deg, #2d1b2e, #5b2d4e);
}

.business-plan strong {
  font-size: 2rem;
}

.calculator-card {
  color: #fff8f1;
}

.calc-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 248, 241, 0.12);
  border-radius: 14px;
  background: rgba(255, 248, 241, 0.07);
}

.join-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: 22px;
}

.business-lead-form {
  display: grid;
  gap: 14px;
}

.business-preview-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
}

.business-phone,
.client-phone-card {
  display: grid;
  gap: 12px;
  min-height: 340px;
  padding: 24px;
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 34px;
  background: linear-gradient(180deg, #fff8f1, #ddb4c1);
  color: #2d1b2e;
  box-shadow: inset 0 0 0 8px rgba(45, 27, 46, 0.08);
}

.business-phone strong {
  font-size: 4rem;
}

.mini-lines {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.mini-lines i {
  height: 12px;
  border-radius: 999px;
  background: rgba(45, 27, 46, 0.18);
}

.business-kpis {
  display: grid;
  gap: 12px;
}

.business-kpis article {
  padding: 16px;
  border: 1px solid rgba(255, 248, 241, 0.12);
  border-radius: 14px;
  background: rgba(255, 248, 241, 0.08);
}

.business-kpis strong {
  display: block;
  margin-top: 8px;
  color: #cba26e;
  font-size: 1.7rem;
}

.client-app-preview {
  display: grid;
  place-items: center;
}

.client-phone-card {
  width: min(330px, 100%);
}

.client-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.client-mini-grid b {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
}

.client-step-grid article span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #1b0c21;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3e7dc, #cba26e);
  font-weight: 900;
}

.frontend-control-page .app-main {
  background:
    radial-gradient(circle at 16% 8%, rgba(203, 162, 110, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(243, 231, 220, 0.92), rgba(255, 248, 241, 0.98));
}

.frontend-editor-header p:not(.eyebrow) {
  max-width: 720px;
  color: #626772;
}

.frontend-editor-shell {
  display: grid;
  gap: 16px;
}

.frontend-editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(45, 27, 46, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(45, 27, 46, 0.08);
}

.frontend-editor-tabs button {
  min-height: 42px;
  padding: 0 14px;
  color: #2d1b2e;
  background: rgba(243, 231, 220, 0.54);
  border: 1px solid rgba(45, 27, 46, 0.1);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
}

.frontend-editor-tabs button.is-active {
  color: #fff8f1;
  background: linear-gradient(135deg, #2d1b2e, #5b2d4e);
  border-color: rgba(203, 162, 110, 0.36);
}

.frontend-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}

.frontend-form-stack,
.frontend-editor-panel,
.frontend-live-preview,
.frontend-publish-card {
  min-width: 0;
}

.frontend-editor-panel {
  display: none;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(45, 27, 46, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 58px rgba(45, 27, 46, 0.08);
}

.frontend-editor-panel.is-active {
  display: grid;
}

.frontend-editor-panel .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(45, 27, 46, 0.08);
}

.frontend-editor-panel .panel-head h2 {
  margin: 4px 0 0;
}

.frontend-editor-panel .panel-head > span {
  padding: 8px 10px;
  color: #2d1b2e;
  border-radius: 999px;
  background: #f3e7dc;
  font-weight: 900;
}

.frontend-editor-panel label {
  display: grid;
  gap: 8px;
  color: #2d1b2e;
  font-weight: 850;
}

.frontend-editor-panel input,
.frontend-editor-panel textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: #2d1b2e;
  border: 1px solid rgba(45, 27, 46, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.frontend-editor-panel textarea {
  min-height: 104px;
  resize: vertical;
}

.frontend-editor-panel input[type="color"] {
  min-height: 52px;
  padding: 5px;
}

.color-fields label {
  padding: 12px;
  border: 1px solid rgba(45, 27, 46, 0.08);
  border-radius: 14px;
  background: rgba(243, 231, 220, 0.42);
}

.frontend-live-preview {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.preview-toolbar,
.frontend-publish-card {
  padding: 14px;
  border: 1px solid rgba(45, 27, 46, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 44px rgba(45, 27, 46, 0.08);
}

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

.preview-toolbar span {
  color: #2d1b2e;
  font-weight: 950;
}

.preview-toolbar div {
  display: flex;
  gap: 6px;
}

.preview-toolbar button {
  min-width: 42px;
  min-height: 34px;
  color: #2d1b2e;
  border: 1px solid rgba(45, 27, 46, 0.12);
  border-radius: 999px;
  background: #f3e7dc;
  cursor: pointer;
  font-weight: 900;
}

.preview-toolbar button.is-active {
  color: #fff8f1;
  background: #2d1b2e;
}

.preview-window {
  --preview-primary: #2d1b2e;
  --preview-gold: #cba26e;
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 26px;
  color: #fff8f1;
  border: 1px solid rgba(203, 162, 110, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 18%, color-mix(in srgb, var(--preview-gold) 34%, transparent), transparent 32%),
    linear-gradient(145deg, var(--preview-primary), #130826);
  box-shadow: 0 28px 84px rgba(45, 27, 46, 0.22);
}

.preview-logo {
  width: 160px;
  height: 120px;
}

.preview-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-window h2 {
  margin: 0;
  color: #fff8f1;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.preview-window p:not(.eyebrow) {
  color: rgba(255, 248, 241, 0.72);
}

.preview-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-buttons span {
  padding: 12px 14px;
  border: 1px solid rgba(203, 162, 110, 0.34);
  border-radius: 999px;
  background: rgba(255, 248, 241, 0.1);
  font-weight: 900;
}

.preview-buttons span:first-child {
  color: #16091f;
  background: linear-gradient(135deg, #f3e7dc, var(--preview-gold));
}

.frontend-publish-card {
  display: grid;
  gap: 10px;
}

.frontend-publish-card h3 {
  margin: 0;
  color: #2d1b2e;
}

.frontend-publish-card p {
  margin: 0;
  color: #626772;
}

.currency-preview-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: #fff8f1;
  border: 1px solid rgba(203, 162, 110, 0.24);
  border-radius: 16px;
  background: linear-gradient(145deg, #2d1b2e, #5b2d4e);
}

.currency-preview-card span,
.currency-preview-card small {
  color: rgba(255, 248, 241, 0.68);
}

.currency-preview-card strong {
  color: #cba26e;
  font-size: 1.35rem;
}

.file-map.compact {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .salon-mobile-top {
    display: flex;
    margin: -18px -18px 18px;
  }

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

  .salon-filter-row,
  .invoice-grid,
  .salon-actions-grid,
  .integration-logo-grid,
  .client-source-layout,
  .market-hero,
  .business-hero,
  .clients-hero,
  .market-layout,
  .business-pricing-layout,
  .join-section,
  .business-preview-card,
  .frontend-editor-layout,
  .architecture-hero,
  .architecture-grid,
  .growth-hero,
  .growth-grid,
  .revenue-feature-grid,
  .ad-hook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .salon-module-menu,
  .salon-filter-row,
  .invoice-grid,
  .salon-actions-grid,
  .integration-logo-grid,
  .client-source-layout,
  .market-hero,
  .business-hero,
  .clients-hero,
  .market-layout,
  .business-pricing-layout,
  .join-section,
  .business-preview-card,
  .business-module-grid,
  .business-plan-grid,
  .client-step-grid,
  .frontend-editor-layout,
  .architecture-hero,
  .architecture-grid,
  .architecture-controls,
  .growth-hero,
  .growth-grid,
  .growth-controls,
  .revenue-feature-grid,
  .ad-hook-grid,
  .metric-grid.compact {
    grid-template-columns: 1fr;
  }

  .source-map-visual {
    min-height: 300px;
  }

  .market-searchbar,
  .market-card {
    grid-template-columns: 1fr;
  }

  .market-thumb {
    min-height: 140px;
  }

  .customer-journey-card {
    position: static;
  }

  .frontend-live-preview {
    position: static;
  }

  .frontend-editor-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .business-plan {
    min-height: auto;
  }

  .salon-os-card {
    padding: 18px;
  }

  .round-add {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .search-panel,
  .split,
  .salon-profile,
  .salon-profile-hero,
  .feature-band,
  .onboarding,
  .auth-layout,
  .setup-layout,
  .public-hero,
  .booking-page-grid,
  .app-page,
  .app-grid,
  .admin-control-grid,
  .chart-grid,
  .settings-grid,
  .crm-workspace,
  .dashboard-shell,
  .workspace {
    grid-template-columns: 1fr;
  }

  .checkout-layout,
  .customer-dashboard-page,
  .customer-grid,
  .settings-hub-grid {
    grid-template-columns: 1fr;
  }

  .salon-profile-copy,
  .salon-gallery {
    min-height: auto;
  }

  .salon-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .salon-gallery img {
    grid-column: 1 / -1;
    grid-row: auto;
    max-height: 360px;
  }

  .premium-booking-grid {
    grid-template-columns: 1fr;
  }

  .public-checkout-card {
    position: static;
  }

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

  .app-sidebar {
    position: static;
    height: auto;
  }

  .salon-grid,
  .pricing-grid,
  .ops-grid,
  .management-grid,
  .admin-command-center,
  .admin-control-cards,
  .admin-tracking-layout,
  .admin-ops-grid,
  .velora-suite-grid,
  .velora-communication-grid,
  .velora-command-grid,
  body.velora-home .product-module-grid,
  body.velora-home .growth-grid,
  body.velora-home .ai-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.velora-home .home-showcase,
  body.velora-home .home-ai-band {
    grid-template-columns: 1fr;
  }

  body.velora-home .home-final-cta,
  body.velora-home .home-footer {
    align-items: stretch;
    flex-direction: column;
  }

  body.velora-home .home-footer {
    display: grid;
  }

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

@media (max-width: 640px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    justify-content: space-between;
  }

  .top-actions .btn {
    flex: 1;
    padding-inline: 10px;
  }

  .hero-content {
    margin: 0 auto 32px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .salon-grid,
  .pricing-grid,
  .capability-grid,
  .ops-grid,
  .onboarding-steps,
  .signup-steps,
  .two-col,
  .management-grid,
  .admin-command-center,
  .admin-control-cards,
  .admin-tracking-layout,
  .admin-ops-grid,
  .velora-suite-grid,
  .velora-communication-grid,
  .velora-command-grid,
  .comm-kpi-row,
  .chat-inbox-preview,
  body.velora-home .product-module-grid,
  body.velora-home .growth-grid,
  body.velora-home .ai-flow,
  body.velora-home .shell-grid,
  body.velora-home .preview-panel,
  body.velora-home .source-map-card,
  .metric-grid,
  .team-cards,
  .review-grid,
  .shop-cards,
  .about-grid {
    grid-template-columns: 1fr;
  }

  body.velora-home .home-topbar {
    min-height: auto;
  }

  body.velora-home .home-topbar .brand-logo {
    width: 64px;
    height: 64px;
  }

  body.velora-home .home-premium-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  body.velora-home .home-hero-logo {
    width: min(68vw, 260px);
    height: min(68vw, 260px);
  }

  body.velora-home h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  body.velora-home .product-module-grid article,
  body.velora-home .growth-grid article,
  body.velora-home .ai-flow article {
    min-height: auto;
  }

  body.velora-home .home-final-cta,
  body.velora-home .home-footer {
    align-items: stretch;
  }

  body.velora-home .cta-actions .btn,
  body.velora-home .showcase-actions .btn {
    flex: 1 1 170px;
  }

  .salon-profile-copy {
    padding: 22px;
  }

  .salon-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-tile {
    min-height: 92px;
  }

  .profile-gallery,
  .slot-grid,
  .quick-actions,
  .pipeline-board {
    grid-template-columns: 1fr 1fr;
  }

  .crm-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .appointment,
  .data-row,
  .service-list article,
  .table-row {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    position: static;
  }

  .checkout-steps,
  .payment-methods {
    grid-template-columns: 1fr;
  }

  .checkout-side-card {
    position: static;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1180px) {
  .velora-pro-page {
    grid-template-columns: 1fr;
  }

  .velora-pro-sidebar {
    position: relative;
    height: auto;
  }

  .velora-pro-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .velora-pro-hero,
  .velora-pro-kpi-grid,
  .velora-brand-palette,
  .velora-pro-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .velora-pro-panel,
  .velora-pro-revenue,
  .velora-pro-calendar,
  .velora-pro-payments {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .velora-pro-main {
    padding-inline: 14px;
  }

  .velora-pro-topbar,
  .velora-pro-top-actions,
  .velora-pro-hero,
  .velora-pro-kpi-grid,
  .velora-brand-palette,
  .velora-pro-module-grid {
    grid-template-columns: 1fr;
  }

  .velora-pro-topbar,
  .velora-pro-top-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .velora-pro-panel,
  .velora-pro-revenue,
  .velora-pro-calendar,
  .velora-pro-payments {
    grid-column: span 12;
  }

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

  .velora-pro-appointment-list div {
    grid-template-columns: 1fr;
  }
}

/* HUD Admin skin for the main platform dashboard */
.velora-pro-page {
  --hud-bg: #101923;
  --hud-bg-soft: #172432;
  --hud-panel: rgba(14, 28, 39, 0.9);
  --hud-panel-2: rgba(19, 36, 49, 0.82);
  --hud-border: rgba(133, 169, 188, 0.34);
  --hud-border-strong: rgba(156, 190, 207, 0.55);
  --hud-text: #edf7fb;
  --hud-muted: rgba(219, 234, 242, 0.62);
  --hud-faint: rgba(219, 234, 242, 0.38);
  --hud-red: #e85d5d;
  --hud-cyan: #8fb8ca;
  --hud-gold: #d7b27b;
  background:
    radial-gradient(circle at 22% 0%, rgba(88, 123, 142, 0.24), transparent 34%),
    radial-gradient(circle at 78% 12%, rgba(232, 93, 93, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, rgba(127, 162, 181, 0.05) 1px, transparent 1px 76px),
    linear-gradient(180deg, #0c141d 0%, #142230 48%, #0f1720 100%);
  color: var(--hud-text);
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

.velora-pro-page::before {
  background:
    linear-gradient(rgba(143, 184, 202, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 202, 0.065) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

.velora-pro-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
  opacity: 0.42;
}

.velora-pro-sidebar,
.velora-pro-main {
  position: relative;
  z-index: 1;
}

.velora-pro-sidebar {
  background:
    linear-gradient(rgba(143, 184, 202, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 202, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(14, 24, 34, 0.98), rgba(12, 19, 27, 0.96));
  background-size: 28px 28px, 28px 28px, auto;
  border-inline-end: 1px solid var(--hud-border);
  box-shadow: 18px 0 48px rgba(0, 0, 0, 0.24);
}

.velora-pro-brand {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hud-border);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
}

.velora-pro-logo {
  filter: drop-shadow(0 0 16px rgba(215, 178, 123, 0.24));
}

.velora-pro-brand h2,
.velora-pro-topbar h3,
.velora-pro-hero h1,
.velora-pro-panel-head h2,
.admin-command-center h2,
.admin-tracking-section h2,
.velora-pro-page h1,
.velora-pro-page h2,
.velora-pro-page h3 {
  color: var(--hud-text);
}

.velora-pro-brand p,
.velora-pro-page p,
.velora-pro-page small,
.velora-pro-kpi-grid small,
.velora-pro-panel-head p,
.velora-pro-kpi-grid span,
.velora-pro-topbar p {
  color: var(--hud-muted);
}

.velora-pro-nav {
  gap: 8px;
}

.velora-pro-nav a {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: rgba(238, 247, 251, 0.76);
}

.velora-pro-nav a:hover,
.velora-pro-nav a.active {
  background: linear-gradient(90deg, rgba(232, 93, 93, 0.22), rgba(143, 184, 202, 0.08));
  border-color: rgba(232, 93, 93, 0.38);
  color: #ffffff;
  box-shadow: inset 3px 0 0 var(--hud-red), 0 12px 28px rgba(0, 0, 0, 0.24);
}

.velora-pro-topbar,
.velora-pro-ai-card,
.velora-pro-panel,
.velora-pro-kpi-grid article,
.velora-pro-command-card,
.velora-pro-module-grid article,
.admin-command-center,
.admin-tracking-section,
.admin-ops-card,
.velora-suite-grid article,
.velora-communication-grid article,
.velora-command-grid article,
.admin-super-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hud-border);
  border-radius: 4px;
  background:
    linear-gradient(rgba(143, 184, 202, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 202, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, var(--hud-panel), rgba(10, 20, 29, 0.84));
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255,255,255,0.025);
  backdrop-filter: blur(16px);
}

.velora-pro-topbar::before,
.velora-pro-ai-card::before,
.velora-pro-panel::before,
.velora-pro-kpi-grid article::before,
.velora-pro-command-card::before,
.velora-pro-module-grid article::before,
.admin-command-center::before,
.admin-tracking-section::before,
.admin-ops-card::before,
.velora-suite-grid article::before,
.velora-communication-grid article::before,
.velora-command-grid article::before,
.admin-super-grid article::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(143, 184, 202, 0.16);
  pointer-events: none;
}

.velora-pro-topbar > *,
.velora-pro-ai-card > *,
.velora-pro-panel > *,
.velora-pro-kpi-grid article > *,
.velora-pro-command-card > *,
.velora-pro-module-grid article > *,
.admin-command-center > *,
.admin-tracking-section > *,
.admin-ops-card > *,
.velora-suite-grid article > *,
.velora-communication-grid article > *,
.velora-command-grid article > *,
.admin-super-grid article > * {
  position: relative;
  z-index: 1;
}

.velora-pro-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 14px 16px;
}

.velora-pro-search,
.velora-pro-action,
.velora-pro-profile,
.velora-pro-page input,
.velora-pro-page select,
.velora-pro-page textarea {
  border: 1px solid var(--hud-border);
  border-radius: 3px;
  background: rgba(5, 14, 22, 0.48);
  color: var(--hud-text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.velora-pro-page input::placeholder,
.velora-pro-page textarea::placeholder {
  color: rgba(219, 234, 242, 0.46);
}

.velora-pro-hero > div:first-child {
  border: 1px solid var(--hud-border-strong);
  border-radius: 4px;
  background:
    radial-gradient(circle at 82% 8%, rgba(232, 93, 93, 0.28), transparent 24%),
    linear-gradient(135deg, rgba(22, 38, 52, 0.94), rgba(10, 19, 28, 0.9));
  box-shadow: 0 28px 70px rgba(0,0,0,0.32);
}

.velora-pro-page .eyebrow,
.velora-pro-page .panel-label,
.velora-pro-page .stat-label,
.velora-pro-page .settings-tag {
  color: var(--hud-cyan);
  letter-spacing: 0.12em;
}

.velora-pro-page .primary,
.velora-pro-page button.primary,
.velora-pro-page .velora-pro-hero-actions a:first-child {
  border: 1px solid rgba(232, 93, 93, 0.5);
  border-radius: 3px;
  background: linear-gradient(135deg, #f4e1cf, #cf9b67 42%, #e85d5d 100%);
  color: #111923;
  box-shadow: 0 14px 34px rgba(232, 93, 93, 0.22);
}

.velora-pro-page button,
.velora-pro-page .button,
.velora-pro-page .secondary,
.velora-pro-page .ghost,
.velora-pro-page .velora-pro-hero-actions a {
  border-radius: 3px;
}

.velora-pro-page button:hover,
.velora-pro-page .button:hover,
.velora-pro-page .velora-pro-hero-actions a:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(232, 93, 93, 0.16);
}

.velora-pro-kpi-grid strong,
.velora-pro-page .metric-value,
.velora-pro-page .admin-live-value,
.velora-pro-page .command-value,
.velora-pro-page .suite-value {
  color: var(--hud-text);
}

.velora-pro-kpi-grid article:nth-child(1) strong,
.velora-pro-kpi-grid article:nth-child(3) strong,
.velora-pro-page .negative,
.velora-pro-page .danger,
.velora-pro-page .accent-red {
  color: var(--hud-red);
}

.velora-pro-page .positive,
.velora-pro-page .accent-cyan {
  color: var(--hud-cyan);
}

.velora-pro-page .chart-bar,
.velora-pro-page .bar,
.velora-pro-page .mini-bar {
  background: linear-gradient(180deg, var(--hud-red), rgba(232, 93, 93, 0.26));
  border-radius: 2px 2px 0 0;
}

.velora-pro-page .chart-bar:nth-child(even),
.velora-pro-page .bar:nth-child(even),
.velora-pro-page .mini-bar:nth-child(even) {
  background: linear-gradient(180deg, var(--hud-cyan), rgba(143, 184, 202, 0.25));
}

.admin-live-map {
  border: 1px solid var(--hud-border);
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 50%, rgba(143, 184, 202, 0.15), transparent 44%),
    linear-gradient(rgba(143, 184, 202, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 202, 0.06) 1px, transparent 1px),
    #0b151f;
  background-size: auto, 30px 30px, 30px 30px, auto;
}

.admin-live-map::before {
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(232, 93, 93, 0.16) 45% 46%, transparent 47%),
    linear-gradient(60deg, transparent 0 52%, rgba(143, 184, 202, 0.12) 53% 54%, transparent 55%);
  opacity: 1;
}

.admin-map-pin {
  border-radius: 3px;
  border-color: rgba(143, 184, 202, 0.55);
  background: rgba(11, 20, 29, 0.86);
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}

.admin-map-pin span {
  border-radius: 2px;
  background: var(--hud-red);
  box-shadow: 0 0 18px rgba(232, 93, 93, 0.62);
}

.admin-map-pin.team span {
  background: var(--hud-cyan);
  box-shadow: 0 0 18px rgba(143, 184, 202, 0.58);
}

.velora-pro-page table,
.velora-pro-page .data-table,
.velora-pro-page .admin-table,
.velora-pro-page .table-row {
  border-color: var(--hud-border);
}

.velora-pro-page th,
.velora-pro-page .table-head {
  background: rgba(143, 184, 202, 0.08);
  color: var(--hud-text);
}

.velora-pro-page td,
.velora-pro-page .table-row {
  color: rgba(237, 247, 251, 0.78);
}

.velora-pro-page .chip,
.velora-pro-page .status,
.velora-pro-page .badge {
  border: 1px solid rgba(143, 184, 202, 0.28);
  border-radius: 3px;
  background: rgba(143, 184, 202, 0.1);
  color: var(--hud-cyan);
}

@media (max-width: 1180px) {
  .velora-pro-page {
    background:
      radial-gradient(circle at top, rgba(88, 123, 142, 0.22), transparent 34%),
      linear-gradient(180deg, #0c141d 0%, #142230 100%);
  }
}

/* Admin dashboard layout fix: keep the HUD sidebar compact on desktop/tablet */
.velora-pro-page {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  align-items: start;
}

.velora-pro-sidebar {
  width: auto;
  max-width: 300px;
  align-items: stretch;
  padding: 18px 14px;
  overflow-y: auto;
}

.velora-pro-brand {
  justify-content: center;
  min-height: 116px;
  padding: 10px;
}

.velora-pro-brand > span:not(.velora-pro-logo) {
  display: none;
}

.velora-pro-logo {
  width: 128px;
  height: 92px;
}

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

.velora-pro-nav a {
  justify-content: flex-start;
  min-height: 38px;
  padding-inline: 10px;
}

html[dir="rtl"] .velora-pro-nav a,
.velora-pro-page[dir="rtl"] .velora-pro-nav a {
  justify-content: flex-end;
}

.velora-pro-main {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 1180px) {
  .velora-pro-page {
    grid-template-columns: minmax(250px, 286px) minmax(0, 1fr);
  }

  .velora-pro-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    max-width: 286px;
  }

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

  .velora-pro-hero,
  .velora-pro-kpi-grid,
  .velora-brand-palette,
  .velora-pro-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .velora-pro-page {
    grid-template-columns: 220px minmax(0, calc(100vw - 220px));
  }

  .velora-pro-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    max-width: 220px;
    padding: 12px 8px;
  }

  .velora-pro-brand {
    min-height: 82px;
  }

  .velora-pro-logo {
    width: 92px;
    height: 64px;
  }

  .velora-pro-nav a {
    min-height: 34px;
    gap: 7px;
    padding-inline: 7px;
    font-size: 0.8rem;
  }

  .velora-pro-nav a span {
    width: 22px;
    height: 22px;
    font-size: 0.66rem;
  }

  .velora-pro-main {
    overflow: hidden;
    padding-inline: 10px;
  }
}

/* Hard lock for the admin dashboard shell on hosted/zoomed desktop browsers. */
body.velora-pro-page {
  display: grid !important;
  grid-template-columns: clamp(220px, 19vw, 300px) minmax(0, 1fr) !important;
  grid-auto-flow: column;
}

body.velora-pro-page > .velora-pro-sidebar {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: clamp(220px, 19vw, 300px) !important;
  min-width: 0 !important;
  align-self: start;
}

body.velora-pro-page > .velora-pro-main {
  grid-column: 2 !important;
  min-width: 0 !important;
}

body.velora-pro-page .velora-pro-nav,
body.velora-pro-page .velora-pro-nav a {
  max-width: 100%;
}

.settings-admin-page .app-sidebar nav {
  gap: 7px;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  padding-inline-end: 4px;
}

.settings-admin-page .app-sidebar nav a {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  min-height: 54px;
  line-height: 1.25;
}

.settings-admin-page .app-sidebar nav a span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-admin-page .app-sidebar nav a strong {
  color: inherit;
  font-size: 0.9rem;
}

.portal-settings-page .app-header p {
  max-width: 760px;
}

.portal-settings-page .settings-hub-card {
  min-height: 190px;
}

.portal-settings-page .settings-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(203, 162, 110, 0.42);
}

.salon-registration-page .setup-layout {
  align-items: start;
}

.salon-onboarding-form {
  gap: 16px;
}

.form-section-title {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(203, 162, 110, 0.2);
  border-radius: 8px;
  background: rgba(203, 162, 110, 0.08);
}

.form-section-title span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-section-title strong {
  color: var(--ink);
  font-size: 1rem;
}

.salon-onboarding-form input[type="file"] {
  padding: 10px;
  border: 1px dashed rgba(91, 45, 78, 0.34);
  background: rgba(255, 255, 255, 0.7);
}

.salon-onboarding-form textarea {
  min-height: 92px;
  resize: vertical;
}

.platform-ad-banner,
.client-ad-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto;
}

.platform-ad-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  color: #f8efe4;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.24), transparent 34%),
    linear-gradient(135deg, #1b0f23 0%, #2d1831 48%, #0f1016 100%);
  border: 1px solid rgba(212, 175, 55, 0.26);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(20, 8, 28, 0.28);
}

.platform-ad-banner span,
.client-ad-strip span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-ad-banner h2 {
  margin: 8px 0;
  color: #fff7e8;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.platform-ad-banner p {
  margin: 0;
  color: rgba(255, 247, 232, 0.76);
  line-height: 1.8;
}

.team-card-pro {
  min-height: 210px;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.team-photo {
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 8px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(45, 24, 49, 0.18);
}

.team-card-pro small {
  color: var(--muted);
  font-weight: 800;
}

.photo-rose { background: linear-gradient(145deg, #f8d7cf, #8d4868); }
.photo-violet { background: linear-gradient(145deg, #ead9ff, #5b2d4e); }
.photo-gold { background: linear-gradient(145deg, #f3e7d0, #cba26e); }
.photo-mint { background: linear-gradient(145deg, #d7f2ea, #3c877c); }

.portfolio-grid,
.catalog-grid,
.ad-plan-grid,
.client-ad-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.portfolio-card,
.catalog-grid article,
.ad-plan-grid article,
.client-ad-strip article {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(203, 162, 110, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background: linear-gradient(145deg, #2d1831, #cba26e);
}

.portfolio-card::before,
.product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.32), transparent 28%);
}

.portfolio-card span,
.portfolio-card strong {
  position: relative;
  z-index: 1;
}

.portfolio-card span {
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card strong {
  margin-top: 6px;
  font-size: 1.1rem;
}

.hair-color { background: linear-gradient(145deg, #4f233d, #d48b8c); }
.nail-art { background: linear-gradient(145deg, #2d1831, #e7b9c4); }
.spa-care { background: linear-gradient(145deg, #21443f, #cba26e); }
.bridal { background: linear-gradient(145deg, #3f2a20, #f0d8b4); }

.catalog-grid article {
  display: grid;
  gap: 10px;
}

.product-thumb {
  position: relative;
  display: block;
  height: 118px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f7eee7, #cba26e);
}

.product-thumb.mask { background: linear-gradient(145deg, #f8e8ef, #5b2d4e); }
.product-thumb.kit { background: linear-gradient(145deg, #ebf5f3, #2d1831); }

.catalog-grid b,
.ad-plan-grid strong {
  color: var(--primary);
}

.ad-plan-grid article.is-featured {
  color: #fff9ed;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.28), transparent 36%),
    linear-gradient(145deg, #2d1831, #130826);
}

.ad-plan-grid article.is-featured p,
.ad-plan-grid article.is-featured span,
.ad-plan-grid article.is-featured strong {
  color: inherit;
}

.client-ad-strip article {
  display: grid;
  gap: 12px;
  min-height: 170px;
}

.client-ad-strip article:first-child {
  grid-column: span 2;
  color: #fff8eb;
  background:
    radial-gradient(circle at 80% 18%, rgba(212, 175, 55, 0.28), transparent 32%),
    linear-gradient(135deg, #2d1831, #130826);
}

.client-ad-strip article:first-child strong {
  color: #fff8eb;
}

@media (max-width: 920px) {
  .platform-ad-banner,
  .client-ad-strip,
  .portfolio-grid,
  .catalog-grid,
  .ad-plan-grid {
    grid-template-columns: 1fr;
  }

  .client-ad-strip article:first-child {
    grid-column: auto;
  }

  .platform-ad-banner {
    grid-template-columns: 1fr;
  }
}

.settings-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: #8a5a21;
  background: rgba(203, 162, 110, 0.15);
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 999px;
  font-weight: 800;
}

.settings-status.is-ok {
  color: #176b43;
  background: rgba(58, 185, 123, 0.14);
  border-color: rgba(58, 185, 123, 0.26);
}

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

.settings-hub-card,
.settings-dynamic-form .settings-field,
.settings-dynamic-form .switch-line {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.settings-hub-card span,
.settings-dynamic-form .settings-field span,
.settings-dynamic-form .switch-line span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-hub-card strong {
  font-size: 1.2rem;
}

.settings-hub-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.settings-dynamic-form .settings-field input,
.settings-dynamic-form .settings-field select,
.settings-dynamic-form .settings-field textarea {
  width: 100%;
}

.settings-dynamic-form .settings-field textarea {
  min-height: 124px;
  resize: vertical;
}

.settings-dynamic-form .switch-line {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.settings-hub-card.is-testing {
  opacity: 0.72;
  outline: 2px solid rgba(91, 84, 235, 0.28);
}

.settings-hub-card.is-connected {
  border-color: rgba(58, 185, 123, 0.4);
  box-shadow: 0 18px 45px rgba(58, 185, 123, 0.12);
}

.settings-hub-card.is-connected::after {
  content: "Connected";
  justify-self: start;
  padding: 6px 10px;
  color: #176b43;
  background: rgba(58, 185, 123, 0.14);
  border: 1px solid rgba(58, 185, 123, 0.24);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.velora-dashboard-controls,
.velora-public-controls {
  position: fixed;
  z-index: 90;
  display: flex;
  gap: 8px;
  align-items: center;
}

.velora-dashboard-controls {
  top: 14px;
  inset-inline-end: 18px;
}

.velora-public-controls {
  bottom: 18px;
  inset-inline-start: 18px;
}

.control-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  color: #fff8f1;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  background: rgba(45, 27, 46, 0.92);
  box-shadow: 0 12px 34px rgba(19, 8, 38, 0.22);
  font-weight: 900;
}

.control-chip select {
  color: inherit;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 900;
}

.subscription-summary-grid,
.subscription-plan-grid,
.subscription-addon-grid {
  display: grid;
  gap: 14px;
}

.subscription-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.subscription-summary-grid article,
.subscription-plan-card,
.subscription-addon-grid article {
  padding: 18px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 46px rgba(45, 27, 46, 0.08);
}

.subscription-summary-grid span,
.subscription-plan-card > span {
  color: #8a5a21;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subscription-summary-grid strong {
  display: block;
  margin-top: 8px;
  color: #2d1b2e;
  font-size: 1.35rem;
}

.subscription-plan-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subscription-plan-card {
  display: grid;
  gap: 12px;
}

.subscription-plan-card.is-featured {
  color: #fff8f1;
  background: linear-gradient(145deg, #2d1b2e, #130826);
  border-color: rgba(212, 175, 55, 0.45);
}

.subscription-plan-card h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.subscription-plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 18px;
  color: inherit;
}

.plan-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.btn.danger,
.icon-btn.danger {
  color: #9f1239;
  border-color: rgba(159, 18, 57, 0.28);
}

.runtime-notification-button {
  position: fixed;
  z-index: 91;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(135deg, #2d1b2e, #5b2d4e);
  border: 1px solid rgba(203, 162, 110, 0.55);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(45, 27, 46, 0.22);
  cursor: pointer;
}

.runtime-notification-button b {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #2d1b2e;
  background: #cba26e;
  border-radius: 999px;
}

.runtime-notification-panel {
  position: fixed;
  z-index: 96;
  right: 18px;
  bottom: 72px;
  width: min(360px, calc(100vw - 36px));
  max-height: min(640px, calc(100vh - 110px));
  overflow: auto;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(45, 27, 46, 0.24);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.runtime-notification-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.runtime-notification-panel article {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.is-invalid {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12) !important;
}

.subscription-addon-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.subscription-addon-grid article {
  display: grid;
  gap: 8px;
}

@media (max-width: 1100px) {
  .subscription-summary-grid,
  .subscription-plan-grid,
  .subscription-addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .velora-dashboard-controls {
    top: auto;
    bottom: 16px;
    inset-inline-end: 16px;
  }

  .subscription-summary-grid,
  .subscription-plan-grid,
  .subscription-addon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .settings-hub-grid,
  .settings-dynamic-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .settings-hub-grid,
  .settings-dynamic-form {
    grid-template-columns: 1fr;
  }
}

/* Customer marketplace layout fix */
.market-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 22px;
  padding: 10px;
  border: 1px solid rgba(91, 45, 78, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.market-search-row input {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  color: #2d1b2e;
  background: transparent;
}

.marketplace-page .market-layout {
  width: min(1220px, calc(100% - 36px));
  margin: 26px auto 70px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.marketplace-page .market-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .marketplace-page .market-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .marketplace-page .market-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .market-search-row,
  .marketplace-page .market-layout,
  .marketplace-page .market-card {
    grid-template-columns: 1fr;
  }

  .marketplace-page .market-filters {
    position: static;
  }
}

/* Dynamic CMS */
.cms-toolbar,
.cms-table-card,
.cms-form-card,
.cms-live-section,
.cms-banner-strip article,
.cms-product-card {
  border: 1px solid rgba(45, 27, 46, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 55px rgba(45, 27, 46, 0.08);
}

.cms-toolbar {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 18px;
}

.cms-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cms-tabs button {
  flex: 0 0 auto;
  border: 1px solid rgba(45, 27, 46, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #2d1b2e;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}

.cms-tabs button.is-active {
  background: linear-gradient(135deg, #2d1b2e, #5b2d4e);
  color: #fff;
  border-color: transparent;
}

.cms-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 180px auto;
  gap: 10px;
}

.cms-actions input,
.cms-actions select {
  min-height: 44px;
  border: 1px solid rgba(45, 27, 46, 0.14);
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
}

.cms-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 18px;
}

.cms-table-card,
.cms-form-card {
  border-radius: 20px;
  padding: 16px;
  min-width: 0;
}

.cms-table-head,
.cms-form-head,
.cms-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cms-table {
  overflow-x: auto;
}

.cms-table-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: center;
  min-width: 760px;
  padding: 12px;
  border-bottom: 1px solid rgba(45, 27, 46, 0.08);
}

.cms-table-row.is-selected {
  background: rgba(203, 162, 110, 0.12);
}

.cms-table-header {
  background: rgba(45, 27, 46, 0.07);
  border-radius: 12px;
  font-weight: 900;
}

.cms-row-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cms-row-actions button {
  border: 1px solid rgba(45, 27, 46, 0.16);
  border-radius: 8px;
  background: #fff;
  padding: 7px 9px;
  cursor: pointer;
}

.cms-empty-state {
  padding: 32px;
  border-radius: 14px;
  background: rgba(45, 27, 46, 0.05);
  color: #6f6470;
}

.cms-live-section {
  margin: 32px auto;
  padding: 22px;
  border-radius: 24px;
  max-width: 1180px;
}

.cms-banner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.cms-banner-strip article {
  border-radius: 20px;
  padding: 18px;
}

.cms-banner-strip img {
  max-width: 84px;
  max-height: 84px;
  object-fit: contain;
}

.cms-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.cms-category-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(45, 27, 46, 0.07);
  color: #2d1b2e;
  text-decoration: none;
  font-weight: 800;
}

.cms-section-head {
  margin-bottom: 14px;
}

.cms-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.cms-product-card {
  display: grid;
  gap: 14px;
  border-radius: 18px;
  padding: 14px;
}

.cms-product-media {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 27, 46, 0.12), rgba(203, 162, 110, 0.16));
}

.cms-product-media img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.cms-product-card h3 {
  margin: 6px 0;
}

.cms-product-card strong {
  display: block;
  margin: 10px 0;
}

.cms-product-card del {
  color: #8c818d;
  font-size: 0.85em;
  margin-inline-start: 8px;
}

@media (max-width: 980px) {
  .cms-workspace,
  .cms-actions {
    grid-template-columns: 1fr;
  }
}

/* VELORA visual identity lock */
.topbar,
.app-sidebar,
.velora-pro-sidebar,
.auth-aside,
footer {
  background:
    radial-gradient(circle at top, rgba(203, 162, 110, 0.18), transparent 32%),
    linear-gradient(135deg, #2D1B2E, #5B2D4E) !important;
  color: #fff8f1;
}

.hero-shade,
.en-shade {
  background: linear-gradient(90deg, rgba(45, 27, 46, 0.1), rgba(45, 27, 46, 0.78) 56%, rgba(91, 45, 78, 0.92)) !important;
}

.btn-primary,
.price-card.featured .btn-primary {
  color: #2D1B2E;
  background: #CBA26E;
  border-color: #CBA26E;
}

.btn-primary:hover {
  color: #fff8f1;
  background: #5B2D4E;
  border-color: #5B2D4E;
}

.btn-ghost,
.chip,
.role-switch button,
.plan-option {
  border-color: rgba(91, 45, 78, 0.18);
  background: rgba(255, 248, 241, 0.84);
}

.brand-mark,
.chip.is-active,
.step.is-active,
.dash-tab.is-active,
.tenant-btn.is-active,
.role-switch button.is-active,
.plan-option.is-active {
  background: linear-gradient(135deg, #2D1B2E, #5B2D4E);
  border-color: rgba(203, 162, 110, 0.36);
}

.salon-card,
.capability-grid article,
.ops-grid article,
.price-card,
.tenant-sidebar,
.dashboard-main,
.calendar-panel,
.insight-panel,
.setup-card,
.checkout-card,
.admin-table,
.management-grid article,
.metric,
.flow-card,
.auth-panel {
  border-color: rgba(203, 162, 110, 0.22);
  background: rgba(255, 248, 241, 0.88);
  box-shadow: 0 18px 55px rgba(45, 27, 46, 0.10);
}

.price,
.rating,
.metric strong,
.appointment time,
.data-row time,
.eyebrow,
.mini-icon,
.catalog-grid b,
.ad-plan-grid strong {
  color: #CBA26E;
}

.app-sidebar nav a,
.velora-pro-nav a {
  border-color: rgba(203, 162, 110, 0.18);
}

.app-sidebar nav a.is-active,
.app-sidebar nav a:hover,
.velora-pro-nav a.is-active,
.velora-pro-nav a:hover {
  color: #2D1B2E;
  background: #CBA26E;
}

.salon-os .app-main,
.app-page,
.auth-page,
.booking-page {
  background:
    radial-gradient(circle at 14% 10%, rgba(221, 180, 193, 0.22), transparent 28%),
    linear-gradient(180deg, #F3E7DC 0%, #fff8f1 100%);
}

.salon-os .app-header {
  border: 1px solid rgba(203, 162, 110, 0.24);
  background:
    radial-gradient(circle at top right, rgba(203, 162, 110, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 248, 241, 0.94), rgba(221, 180, 193, 0.22));
  box-shadow: 0 18px 55px rgba(45, 27, 46, 0.10);
}

.salon-os .app-header h1::after {
  content: "Smart Booking. Seamless Growth.";
  display: block;
  margin-top: 8px;
  color: #5B2D4E;
  font-family: "Tajawal", "Cairo", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.salon-command-grid article:first-child,
.price-card.featured,
.ad-plan-grid article.is-featured,
.client-ad-strip article:first-child,
.platform-ad-banner {
  background:
    radial-gradient(circle at top, rgba(203, 162, 110, 0.24), transparent 34%),
    linear-gradient(135deg, #2D1B2E, #5B2D4E) !important;
  color: #fff8f1;
  border-color: rgba(203, 162, 110, 0.35);
}

.salon-command-grid article:first-child p,
.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 248, 241, 0.78);
}

.salon-map-dashboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(203, 162, 110, 0.24);
  border-radius: 14px;
  background: rgba(255, 248, 241, 0.88);
  box-shadow: 0 18px 55px rgba(45, 27, 46, 0.10);
}

.salon-map-copy p {
  color: var(--muted);
}

.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-pills span {
  padding: 8px 10px;
  color: #2D1B2E;
  background: rgba(203, 162, 110, 0.18);
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 999px;
  font-weight: 900;
}

.salon-live-map {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(203, 162, 110, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 26%, rgba(203, 162, 110, 0.34), transparent 11%),
    radial-gradient(circle at 74% 58%, rgba(221, 180, 193, 0.34), transparent 15%),
    linear-gradient(135deg, rgba(45, 27, 46, 0.10), rgba(255,255,255,0.9)),
    repeating-linear-gradient(45deg, rgba(91,45,78,0.08) 0 1px, transparent 1px 44px);
}

.salon-live-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(91, 45, 78, 0.18);
  border-radius: 12px;
}

.map-dot {
  position: absolute;
  z-index: 1;
  padding: 8px 11px;
  color: #fff8f1;
  background: #2D1B2E;
  border: 1px solid rgba(203, 162, 110, 0.42);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(45, 27, 46, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
}

.dot-google { inset-inline-start: 18%; top: 24%; }
.dot-instagram { inset-inline-start: 58%; top: 34%; background: #5B2D4E; }
.dot-whatsapp { inset-inline-start: 34%; top: 62%; background: #5B2D4E; }
.dot-market { inset-inline-start: 68%; top: 70%; }

@media (max-width: 920px) {
  .salon-map-dashboard {
    grid-template-columns: 1fr;
  }
}

/* Salon independent module pages */
.salon-module-page .app-sidebar nav {
  gap: 7px;
}

.salon-module-page .app-sidebar nav a[data-module] {
  border-color: rgba(203, 162, 110, 0.2);
}

.module-hero p {
  max-width: 720px;
  color: var(--muted);
}

.module-workspace {
  display: grid;
  gap: 18px;
}

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

.module-kpis article {
  padding: 16px;
  border: 1px solid rgba(203, 162, 110, 0.22);
  border-radius: 12px;
  background: rgba(255, 248, 241, 0.9);
  box-shadow: 0 16px 42px rgba(45, 27, 46, 0.08);
}

.module-kpis span {
  color: var(--muted);
  font-weight: 800;
}

.module-kpis strong {
  display: block;
  color: var(--gold);
  font-size: 1.55rem;
}

.module-calendar {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
}

.calendar-hours,
.calendar-lanes,
.module-card-grid,
.appointment-board,
.module-form {
  display: grid;
  gap: 12px;
}

.calendar-hours {
  color: var(--muted);
  font-weight: 900;
}

.calendar-hours span {
  min-height: 54px;
}

.calendar-lanes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calendar-lanes article,
.module-card-grid article,
.appointment-board article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(203, 162, 110, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(45, 27, 46, 0.08);
}

.slot-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 27, 46, 0.92), rgba(91, 45, 78, 0.9));
  color: #fff8f1;
}

.slot-card.soft {
  margin-top: 10px;
  color: var(--ink);
  background: rgba(221, 180, 193, 0.24);
}

.module-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.appointment-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-chip {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: var(--primary);
  background: rgba(203, 162, 110, 0.18);
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.module-table-wrap {
  overflow-x: auto;
}

.module-form label {
  display: grid;
  gap: 7px;
}

.module-form input,
.module-form select {
  border: 1px solid rgba(91, 45, 78, 0.14);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}

@media (max-width: 1100px) {
  .module-kpis,
  .module-card-grid,
  .appointment-board,
  .calendar-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .module-kpis,
  .module-card-grid,
  .appointment-board,
  .module-calendar,
  .calendar-lanes {
    grid-template-columns: 1fr;
  }
}

/* Salon settings vertical navigation */
.salon-settings-page .velora-settings-sidebar {
  background:
    radial-gradient(circle at top, rgba(203, 162, 110, 0.18), transparent 28%),
    linear-gradient(180deg, #2D1B2E 0%, #5B2D4E 100%) !important;
}

.settings-logo {
  justify-content: center;
  padding: 8px 0 18px;
}

.settings-logo .brand-logo {
  width: 128px;
  height: 128px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.settings-logo .brand-logo img {
  object-fit: contain;
}

.settings-logo > span:not(.brand-logo) {
  display: none;
}

.velora-settings-sidebar nav {
  gap: 6px;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  padding-inline-end: 4px;
}

.velora-settings-sidebar nav a {
  display: grid;
  gap: 2px;
  min-height: 54px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff8f1;
  text-align: end;
}

.velora-settings-sidebar nav a span {
  color: #CBA26E;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.velora-settings-sidebar nav a strong {
  font-size: 0.95rem;
}

.velora-settings-sidebar nav a.is-active,
.velora-settings-sidebar nav a:hover {
  color: #2D1B2E;
  background: #CBA26E;
  border-color: rgba(203, 162, 110, 0.42);
}

.velora-settings-sidebar nav a.is-active span,
.velora-settings-sidebar nav a:hover span {
  color: #2D1B2E;
}

.velora-settings-form {
  margin-top: 18px;
}


/* Localized file upload controls */
.velora-file-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px;
  border: 1px dashed rgba(91, 45, 78, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.velora-native-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.velora-file-button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: var(--gold, #CBA26E);
  color: var(--primary, #2D1B2E);
  font-weight: 900;
  cursor: pointer;
}

.velora-file-name {
  min-width: 0;
  color: var(--muted, #6f6170);
  font-size: 0.92rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[dir="rtl"] .velora-file-control {
  grid-template-columns: minmax(0, 1fr) auto;
}

html[dir="rtl"] .velora-file-button {
  order: 2;
}

html[dir="rtl"] .velora-file-name {
  order: 1;
  text-align: end;
}

/* Payment settings */
.payment-settings-form {
  display: grid;
  gap: 18px;
}

.payment-gateway-settings {
  align-content: start;
}

.payment-gateway-settings h2 {
  color: var(--primary, #2D1B2E);
}

.sticky-save-bar {
  position: sticky;
  bottom: 14px;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(203, 162, 110, 0.28);
  border-radius: 12px;
  background: rgba(255, 248, 241, 0.94);
  box-shadow: 0 18px 38px rgba(45, 27, 46, 0.16);
  backdrop-filter: blur(12px);
}

@media (max-width: 720px) {
  .sticky-save-bar {
    flex-direction: column;
  }
}
