@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;1,9..144,600&family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Sora:wght@600;700&display=swap");
/* ==========================================================================
   BLOOM AI — AWARD-LEVEL DESIGN SYSTEM TOKENS
   Primary Navy: #18344C | Botanical Green: #247B62 | Dark Green: #185C49
   Warm Cream: #FFF4E6 | Soft White: #FFFCF7 | Pale Sage: #E8F2EB
   Secondary Text: #66747A | Border: #E8DED1
   Accents: Bloom Gold #F5A623 | Blossom Coral #FF7A59 | Fresh Mint #5BE3A8
   ========================================================================== */

:root {
  /* Official Core Identity */
  --primary-navy: #18344C;
  --botanical-green: #247B62;
  --dark-green: #185C49;
  --warm-cream: #FFF4E6;
  --soft-white: #FFFCF7;
  --pale-sage: #E8F2EB;
  --secondary-text: #66747A;
  --border-color: #E8DED1;

  /* Contrast Accents (Vivid & Distinctive) */
  --bloom-gold: #F5A623;
  --blossom-coral: #FF7A59;
  --fresh-mint: #5BE3A8;

  /* Core Semantic Tokens */
  --brand-primary: #247B62;
  --brand-primary-hover: #185C49;
  --brand-accent: #F5A623;
  --brand-highlight: #5BE3A8;

  --background: #FFFCF7;
  --background-secondary: #FFF4E6;

  --foreground: #18344C;
  --surface: #FFFFFF;

  --primary: #247B62;
  --primary-hover: #185C49;
  --primary-foreground: #FFF4E6;

  --secondary: #E8F2EB;
  --secondary-foreground: #18344C;

  --accent: #F5A623;
  --accent-foreground: #18344C;

  --highlight: #5BE3A8;

  --text-primary: #18344C;
  --text-secondary: #247B62;
  --text-muted: #66747A;
  --text-inverse: #FFF4E6;
  --text-disabled: #A5B2B8;

  /* Aliases & Component Tokens */
  --color-primary: #247B62;
  --color-primary-hover: #185C49;
  --color-secondary: #E8F2EB;
  --color-dark: #18344C;
  --color-cream: #FFF4E6;
  --color-accent: #F5A623;
  --color-highlight: #5BE3A8;

  --card: #FFFFFF;
  --card-foreground: #18344C;

  --popover: #FFFFFF;
  --popover-foreground: #18344C;

  --muted: #66747A;
  --muted-foreground: #66747A;
  --muted-bg: #E8F2EB;
  --disabled-bg: #E8F2EB;

  --border: #E8E2D7;
  --input: #E8E2D7;

  /* Sidebar Theme (Soft Ivory #FFFCF7 + Pale Sage #EAF3EC Active + Navy #15324C + Botanical Green #237F65) */
  --sidebar-background: #FFFCF7;
  --sidebar-foreground: #15324C;
  --sidebar-active: #EAF3EC;
  --sidebar-active-text: #15324C;
  --sidebar-active-line: #237F65;
  --sidebar-hover: rgba(234, 243, 236, 0.65);
  --sidebar-hover-text: #17674F;
  --sidebar-primary: #237F65;
  --sidebar-accent: #FF8A1F;
  --sidebar-border: #E8E2D7;
  --sidebar-labels: #65747B;

  --ring: #247B62;

  --destructive: #FF7A59;
  --destructive-foreground: #FFFFFF;

  --success: #247B62;
  --warning: #F5A623;

  --bloom-charcoal: #18344C;
  --bloom-primary: #247B62;
  --bloom-secondary: #E8F2EB;
  --bloom-champagne: #FFF4E6;

  --bloom-background: #FFFCF7;
  --bloom-surface: #FFFFFF;
  --bloom-surface-secondary: #FFF4E6;

  --bloom-text-primary: #18344C;
  --bloom-text-secondary: #247B62;
  --bloom-text-muted: #66747A;

  --surface-primary: #FFFFFF;
  --surface-secondary: #FFF4E6;
  --border-default: #E8DED1;
  --focus-ring: #247B62;

  --bloom-border: #E8DED1;

  --bloom-button-primary: #247B62;
  --bloom-button-hover: #185C49;
  --bloom-button-text: #FFF4E6;

  --bloom-accent: #F5A623;
  --bloom-highlight: #5BE3A8;

  /* Mappings for legacy references */
  --brand-secondary: #E8F2EB;
  --brand-charcoal: #18344C;

  --blue: #18344C;
  --blue-bright: #247B62;
  --navy: #18344C;
  --navy-headings: #18344C;
  --primary-blue: #18344C;
  --primary-blue-btn: #247B62;
  --orange: #F5A623;
  --soft-blue: #E8F2EB;
  --light-blue: #FFF4E6;
  --white: #FFFFFF;
  --text: #18344C;
  --card-bg: #FFFFFF;
  --card-border: #E8DED1;
  --shadow: 0 8px 24px rgba(24, 52, 76, 0.08);
  --radius: 12px;
}

.dark {
  --background: #0F2231;
  --foreground: #FFF4E6;

  --card: #18344C;
  --card-foreground: #FFF4E6;

  --popover: #18344C;
  --popover-foreground: #FFF4E6;

  --primary: #247B62;
  --primary-foreground: #FFF4E6;

  --secondary: #1F425F;
  --secondary-foreground: #FFF4E6;

  --muted: #A5B2B8;
  --muted-foreground: #A5B2B8;
  --muted-bg: #1F425F;
  --disabled-bg: #1F425F;

  --accent: #F5A623;
  --accent-foreground: #18344C;

  --border: #234663;
  --input: #234663;
  --ring: #5BE3A8;

  --blue: #5BE3A8;
  --navy: #FFF4E6;
  --text: #FFF4E6;
  --white: #18344C;
  --soft-blue: #1F425F;
  --light-blue: #0F2231;
  --sidebar-background: #0F2231;
  --sidebar-foreground: #FFF4E6;
  --sidebar-border: #234663;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 43, 91, 0.28) transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(15, 43, 91, 0.24);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 43, 91, 0.42);
}

.sidebar *,
.mobile-drawer-panel * {
  scrollbar-color: rgba(36, 123, 98, 0.22) transparent;
}

.sidebar *::-webkit-scrollbar-thumb,
.mobile-drawer-panel *::-webkit-scrollbar-thumb {
  background: rgba(36, 123, 98, 0.2);
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--background);
  font-size: 14px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: var(--text-primary, #303E47);
}

button {
  cursor: pointer;
}

::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-muted, #596775);
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--bloom-primary, #2F496E);
  box-shadow: 0 0 0 3px rgba(47, 73, 110, 0.18);
}

input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.icon {
  display: block;
  flex: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 250px;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  background: var(--sidebar-background, #FFFCF7);
  color: var(--sidebar-foreground, #23332B);
  border-right: 1px solid var(--sidebar-border, #E8DED1);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  overflow: hidden;
  box-shadow: 2px 0 16px rgba(24, 52, 76, 0.03);
  scrollbar-color: rgba(36, 123, 98, 0.22) transparent;
}

.sidebar,
.main {
  transition: width .22s ease, margin-left .22s ease;
}

.sidebar-header {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  z-index: 2;
}

.sidebar-logo {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--sidebar-border, #E8DED1);
}

.sidebar .workspace {
  flex: 0 0 auto;
}

.sidebar-logo .logo {
  flex: 1;
}

.sidebar-logo>button {
  position: absolute;
  right: 12px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--sidebar-border, #E8DED1);
  border-radius: 7px;
  background: var(--surface, #FFFFFF);
  color: var(--sidebar-foreground, #23332B);
  box-shadow: 0 1px 3px rgba(24, 52, 76, 0.04);
  transition: all 0.16s ease;
}

.sidebar-logo>button:hover {
  background: var(--sidebar-hover, #E8F2EB);
  color: var(--sidebar-active, #247B62);
  border-color: #C3E2CD;
}

.sidebar-logo>button .icon {
  transform: rotate(180deg);
}

.sidebar.collapsed {
  width: 72px;
  overflow: hidden;
}

.sidebar.collapsed .sidebar-header {
  flex: 0 0 auto;
}

.sidebar.collapsed .sidebar-logo>button {
  right: 4px;
  transform: translateX(50%);
  background: var(--surface, #FFFFFF);
  color: var(--sidebar-foreground, #23332B);
}

.sidebar.collapsed .sidebar-logo>button .icon {
  transform: none;
}

.sidebar.collapsed .logo {
  padding: 0 18px;
}

.sidebar.collapsed .workspace {
  margin: 0 14px 18px;
  padding: 7px;
}

.sidebar.collapsed .workspace>div,
.sidebar.collapsed .workspace>.icon,
.sidebar.collapsed .nav-label,
.sidebar.collapsed .nav-item>span:not(.avatar),
.sidebar.collapsed .nav-item em {
  display: none;
}

.sidebar.collapsed .nav-item {
  justify-content: center;
  padding: 0;
}

.sidebar.collapsed .sidebar-nav,
.sidebar.collapsed .sidebar-foot {
  padding-left: 12px;
  padding-right: 12px;
}

.main.sidebar-collapsed {
  margin-left: 72px;
  width: calc(100% - 72px);
}

.logo {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  font: 700 19px "Sora", sans-serif;
  letter-spacing: -.4px;
}

.logo-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--color-dark, #1E8F57);
  background: var(--color-cream, #FAFFF5);
  border-radius: 10px;
}

.workspace {
  margin: 14px 12px 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--sidebar-border, #E8DED1);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(24, 52, 76, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.workspace:hover {
  background: var(--sidebar-hover, #E8F2EB);
  border-color: #C3E2CD;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(36, 123, 98, 0.08);
}

.workspace>div {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.workspace strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-navy, #18344C);
}

.workspace div span {
  font-size: 11px;
  color: var(--text-muted, #66747A);
  font-weight: 500;
}

.avatar {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(145deg, #FF8A1F, #E67A15);
  box-shadow: 0 2px 8px rgba(255, 138, 31, 0.35);
  transition: transform 0.18s ease;
}

.avatar:hover {
  transform: scale(1.05);
}

.avatar-small {
  width: 29px;
  height: 29px;
  font-size: 11px;
}

.sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 6px 12px 18px;
}

.sidebar-nav:focus,
.sidebar-nav:focus-visible,
.mobile-drawer-nav:focus,
.mobile-drawer-nav:focus-visible {
  outline: none;
}

.sidebar-nav::-webkit-scrollbar,
.mobile-drawer-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track,
.mobile-drawer-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb,
.mobile-drawer-nav::-webkit-scrollbar-thumb {
  background: rgba(36, 123, 98, 0.22);
  border-radius: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover,
.mobile-drawer-nav::-webkit-scrollbar-thumb:hover {
  background: rgba(36, 123, 98, 0.45);
}

.nav-group {
  margin-bottom: 16px;
}

.nav-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sidebar-labels, #66747A);
  padding: 0 10px 6px;
}

.nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--sidebar-foreground, #23332B);
  height: 38px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  margin-bottom: 3px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.nav-item>span,
.nav-item>.icon,
.nav-item>em {
  position: relative;
  z-index: 1;
}

.nav-item .icon {
  color: #5C7266;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav-item:hover {
  background: var(--sidebar-hover, #E8F2EB);
  color: var(--sidebar-hover-text, #185C49);
  transform: translateX(2px);
}

.nav-item:hover .icon {
  color: var(--sidebar-hover-text, #185C49);
}

.nav-item.active {
  background: transparent;
  color: var(--sidebar-active-text, #15324C);
  font-weight: 600;
}

.nav-item.active .icon {
  color: var(--sidebar-primary, #237F65);
}

.sidebar-active-indicator {
  position: absolute;
  inset: 0;
  background: var(--sidebar-active, #EAF3EC);
  border-radius: 9px;
  z-index: 0;
  box-shadow: 0 1px 4px rgba(21, 50, 76, 0.04);
}

.sidebar-active-indicator::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: var(--sidebar-active-line, #237F65);
}

.nav-item em {
  margin-left: auto;
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 10px;
  font-style: normal;
  text-align: center;
  color: #FFFFFF;
  background: var(--sidebar-accent, #FF8A1F);
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(255, 138, 31, 0.35);
}

.sidebar-foot {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid var(--sidebar-border, #E8DED1);
  background: rgba(250, 255, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}

.main {
  margin-left: 250px;
  width: calc(100% - 250px);
  min-width: 0;
  background: var(--background, #FFFCF7);
  min-height: 100vh;
}

.topbar {
  height: 70px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border, #E8DED1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 8;
  box-sizing: border-box;
}

.page-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  flex-shrink: 0;
}

.eyebrow {
  font-size: 10px;
  color: var(--blue-bright, #247B62);
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

.page-heading .title {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--primary-navy, #15324C);
  margin-top: 2px;
  margin-bottom: 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
}

.top-actions,
.welcome-actions,
.builder-toolbar>div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-trigger {
  width: 240px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--muted, #65747B);
  background: var(--surface, #FFFFFF);
  border: 1px solid var(--border, #E8E2D7);
  border-radius: 10px;
  text-align: left;
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(21, 50, 76, 0.03);
  transition: all 0.18s ease;
}

.search-trigger:hover {
  border-color: var(--botanical-green, #237F65);
  box-shadow: 0 0 0 3px rgba(35, 127, 101, 0.12);
}

.search-trigger span {
  flex: 1;
}

kbd {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 9px;
  color: var(--muted);
}

.btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(46, 184, 114, .22);
}

.btn:active {
  transform: scale(0.98) translateY(0);
  transition-duration: 0.08s;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 184, 114, 0.28);
}

.btn-primary {
  background: var(--bloom-button-primary, #2EB872);
  color: var(--bloom-button-text, #FFFFFF);
  border: 1px solid transparent;
  box-shadow: 0 2px 8px rgba(46, 184, 114, 0.28);
}

.btn-primary:hover {
  background: var(--bloom-button-hover, #1E8F57);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(30, 143, 87, 0.35);
}

.btn-secondary {
  color: var(--secondary-foreground, #23332B);
  background: var(--muted-bg, #E6F7EC);
  border-color: var(--border, #D8EEDF);
}

.btn-secondary:hover {
  background: #D8EEDF;
  color: #1E8F57;
  border-color: #C3E2CD;
  box-shadow: 0 4px 12px rgba(35, 51, 43, 0.08);
}

.btn-accent {
  background: var(--accent, #FF8A1F);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 138, 31, 0.3);
}

.btn-accent:hover {
  background: #E67A15;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(230, 122, 21, 0.38);
}

.btn-ghost {
  color: var(--color-dark, #1E8F57);
  background: transparent;
}

.btn-ghost:hover {
  background: #E6F7EC;
  color: #1E8F57;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 9px;
  transition: all 0.16s ease;
}

.btn-icon:hover {
  background: #E6F7EC;
  color: #2EB872;
  transform: translateY(-1px);
}

.notification,
.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--muted);
  position: relative;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.notification:hover,
.icon-button:hover {
  border-color: #2EB872;
  color: #2EB872;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(46, 184, 114, 0.16);
}

.notification:active,
.icon-button:active {
  transform: scale(0.96);
}

.notification span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  border: 1px solid white;
  right: 6px;
  top: 6px;
}

.avatar-top {
  width: 38px;
  height: 38px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
}

.mobile-logo {
  display: none;
}

.dashboard,
.module-page {
  padding: 28px 32px 36px;
  max-width: 1580px;
  margin: auto;
}

.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 22px;
}

.welcome-kicker {
  font-size: 11px;
  color: var(--text-muted, #5C7266);
  font-weight: 700;
  letter-spacing: 1.1px;
  margin-bottom: 8px;
  line-height: 1.4;
  padding-top: 2px;
}

.welcome-title {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--primary-navy, #15324C);
  line-height: 1.25;
}

.welcome p,
.card-head p,
.module-intro p,
.block-library>p,
.editor-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

.metric-card {
  min-height: 108px;
  padding: 17px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  position: relative;
}

.metric-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--blue-bright);
  background: var(--soft-blue);
}

.metric-icon.orange {
  color: var(--orange);
  background: #fff0e9;
}

.metric-icon.violet {
  color: #7c4fd3;
  background: #f2edff;
}

.metric-icon.green {
  color: var(--success);
  background: #e8f8f1;
}

.metric-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.metric-content span {
  font-size: 10px;
  color: var(--muted);
}

.metric-content strong {
  font: 700 20px "Sora", sans-serif;
  color: var(--navy);
}

.metric-change {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--success);
  font-size: 9px;
  font-weight: 600;
  margin-top: -5px;
}

.metric-card.ctr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ring {
  width: 51px;
  height: 51px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) 49%, #edf2f7 0);
  display: grid;
  place-items: center;
  position: relative;
}

.ring::after {
  content: "";
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: white;
  position: absolute;
}

.ring span {
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  color: var(--navy);
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: 15px;
  margin-bottom: 15px;
}

.analytics-card {
  padding: 20px 20px 13px;
  min-height: 370px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.section-title {
  font: 600 14px "Sora", sans-serif;
  color: var(--navy);
}

.segmented {
  padding: 3px;
  background: var(--background);
  border-radius: 8px;
  display: flex;
}

.segmented button {
  border: 0;
  background: transparent;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 9px;
}

.segmented button.selected {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 2px 5px rgba(6, 43, 91, .09);
  font-weight: 600;
}

.chart-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
}

.chart-summary strong {
  font: 700 20px "Sora";
  color: var(--navy);
}

.chart-summary span {
  display: flex;
  gap: 3px;
  color: var(--success);
  font-size: 9px;
  font-weight: 600;
}

.chart-summary em {
  font-style: normal;
  color: var(--muted);
  font-size: 9px;
}

.chart-wrap {
  position: relative;
  height: 245px;
  padding: 6px 0 20px 31px;
}

.chart-y {
  position: absolute;
  inset: 7px auto 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #91a0b3;
  font-size: 8px;
}

.line-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.grid-lines {
  stroke: #e9eff5;
  stroke-width: 1;
}

.area {
  fill: url(#chartFill);
}

.line {
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.chart-point circle:first-child {
  fill: white;
  stroke: var(--blue-bright);
  stroke-width: 3;
}

.chart-point circle:last-child {
  fill: var(--blue-bright);
}

.chart-x {
  position: absolute;
  left: 31px;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  color: #91a0b3;
  font-size: 8px;
}

.preview-card {
  padding: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-card .card-head {
  width: 100%;
}

.preview-card>.btn {
  width: 100%;
  margin-top: auto;
}

.phone {
  width: 172px;
  height: 304px;
  border: 5px solid var(--navy);
  border-radius: 25px;
  margin: 12px auto;
  position: relative;
  background: white;
  overflow: hidden;
  box-shadow: 0 13px 25px rgba(6, 43, 91, .13);
}

.phone-speaker {
  position: absolute;
  top: 5px;
  width: 49px;
  height: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: var(--navy);
  z-index: 3;
}

.phone-screen {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  text-align: center;
  background: linear-gradient(180deg, #e9f3ff, white 48%);
  font-size: 7px;
}

.profile-cover {
  height: 54px;
  background: linear-gradient(125deg, var(--blue), #2b78d0);
  position: relative;
}

.profile-cover button {
  position: absolute;
  right: 8px;
  top: 9px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .2);
}

.profile-avatar {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3a076, #a72f0b);
  border: 3px solid white;
  display: grid;
  place-items: center;
  margin: -24px auto 5px;
  color: white;
  font: 700 12px "Sora";
  position: relative;
}

.profile-name {
  font: 700 9px "Sora";
  color: var(--navy);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.profile-name span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  color: white;
  background: var(--blue-bright);
  display: grid;
  place-items: center;
}

.profile-role {
  color: var(--blue-bright);
  margin: 2px 0 4px;
  font-weight: 600;
}

.profile-bio {
  width: 136px;
  color: var(--muted);
  margin: auto;
  line-height: 1.45;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 9px;
  color: var(--navy);
  margin: 7px 0;
}

.social-row .icon {
  width: 12px;
  height: 12px;
}

.phone .public-link {
  width: 142px;
  height: 33px;
  margin: 0 auto 5px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 3px 7px;
  font-size: 7px;
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(6, 43, 91, .05);
}

.phone .public-link.featured {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.phone .public-link>span:nth-child(2) {
  flex: 1;
  text-align: left;
}

.link-mini-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--soft-blue);
  color: var(--blue);
}

.featured .link-mini-icon {
  background: rgba(255, 255, 255, .15);
  color: white;
}

.phone-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #91a0b3;
  margin-top: 9px;
}

.phone-brand span {
  color: var(--blue);
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 15px;
}

.top-links,
.completion-card {
  padding: 19px;
}

.text-button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-bright);
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 600;
}

.link-table-head {
  display: grid;
  grid-template-columns: 1fr 75px 115px 24px;
  padding: 18px 7px 7px;
  color: var(--text-secondary, #475569);
  font-size: 11px;
  letter-spacing: .6px;
  font-weight: 700;
}

.link-row {
  display: grid;
  grid-template-columns: 1fr 75px 115px 24px;
  align-items: center;
  min-height: 60px;
  border-top: 1px solid var(--border-default, #edf1f5);
  padding: 0 7px;
  gap: 8px;
}

.link-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.rank {
  color: var(--text-muted, #596775);
  font-size: 11px;
  font-weight: 600;
  width: 14px;
}

.link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.link-info>span:last-child,
.edit-card>div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}

.link-info strong,
.edit-card strong {
  font-size: 12px;
  color: var(--text-primary, #303E47);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.link-info em,
.edit-card span {
  font-size: 11px;
  font-style: normal;
  color: var(--text-muted, #596775);
}

.clicks {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary, #303E47);
}

.progress {
  height: 6px;
  border-radius: 5px;
  background: #edf2f7;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--bloom-primary, #2F496E);
}

.link-row .icon-button {
  border: 0;
  width: 24px;
  height: 24px;
}

.completion-main {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--border-default, #edf1f5);
}

.completion-ring {
  flex: none;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: conic-gradient(var(--blue-bright) 75%, var(--light-blue) 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.completion-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: white;
}

.completion-ring strong,
.completion-ring span {
  position: relative;
  z-index: 1;
}

.completion-ring strong {
  color: var(--text-primary, #303E47);
  font: 700 16px "Sora", sans-serif;
}

.completion-ring span {
  color: var(--text-muted, #596775);
  font-size: 9px;
  font-weight: 600;
}

.completion-main>div:last-child strong {
  color: var(--text-primary, #303E47);
  font-size: 13px;
  font-weight: 700;
}

.completion-main p {
  color: var(--text-secondary, #475569);
  font-size: 11px;
  line-height: 1.5;
  margin: 5px 0 0;
}

.checklist {
  padding: 11px 0;
}

.checklist div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-primary, #303E47);
  padding: 6px 0;
  font-weight: 500;
}

.checklist span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-default, #D6D9DC);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted, #596775);
  background: var(--surface-secondary, #F8F5EF);
}

.checklist span.done {
  background: var(--success, #1E7E5A);
  color: #FFFFFF;
  border-color: var(--success, #1E7E5A);
}

.completion-card>.btn {
  width: 100%;
}

.module-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 5px 0 22px;
}

.module-title {
  font-family: "Fraunces", "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--primary-navy, #15324C);
  margin-top: 6px;
  line-height: 1.25;
}

.module-page .metrics {
  grid-template-columns: repeat(4, 1fr);
}

.full-chart {
  padding: 20px;
  margin-bottom: 15px;
}

.legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
}

.legend span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.legend span.click-dot {
  background: var(--orange);
  margin-left: 8px;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 15px;
}

.insight-card {
  padding: 19px;
  min-height: 210px;
}

.source {
  display: grid;
  grid-template-columns: 70px 1fr 30px;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  font-size: 9px;
}

.source div {
  height: 6px;
  background: #edf2f7;
  border-radius: 4px;
  overflow: hidden;
}

.source i {
  display: block;
  height: 100%;
  background: var(--blue-bright);
  border-radius: 4px;
}

.source strong {
  text-align: right;
  color: var(--navy);
}

.donut {
  margin: 20px auto 10px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--blue-bright) 68%, var(--orange) 0 93%, var(--light-blue) 0);
  display: grid;
  place-items: center;
}

.donut::after {
  content: "";
  width: 72px;
  height: 72px;
  position: absolute;
  background: white;
  border-radius: 50%;
}

.donut div {
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.donut strong {
  color: var(--navy);
  font: 700 16px "Sora";
}

.donut span {
  color: var(--muted);
  font-size: 8px;
}

.device-legend {
  display: flex;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 8px;
  color: var(--muted);
}

.device-legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  margin-right: 3px;
}

.device-legend i.desktop-dot {
  background: var(--orange);
}

.device-legend i.tablet-dot {
  background: var(--light-blue);
}

.location {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #edf1f5;
  font-size: 10px;
  color: var(--muted);
}

.location strong {
  color: var(--navy);
}

.empty-module {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 17px;
}

.empty-module p {
  max-width: 330px;
  color: var(--muted);
  font-size: 11px;
  margin: 8px 0 18px;
}

.builder-page {
  height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
}

.builder-toolbar {
  height: 61px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--success);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}

.saved {
  color: var(--muted);
  margin-left: 16px;
}

.builder-grid {
  display: grid;
  grid-template-columns: 210px minmax(360px, 1fr) 330px;
  min-height: 0;
  flex: 1;
}

.block-library {
  background: white;
  border-right: 1px solid var(--border);
  padding: 21px 16px;
}

.library-search {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #91a0b3;
  background: var(--background);
  padding: 0 10px;
  border-radius: 8px;
  margin: 18px 0 12px;
  font-size: 9px;
}

.block-library button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 43px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: white;
  color: var(--navy);
  font-size: 10px;
  font-weight: 500;
}

.block-library button>span {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
}

.block-library button>.icon:last-child {
  margin-left: auto;
  color: #91a0b3;
}

.editor-canvas {
  padding: 23px;
  overflow-y: auto;
}

.editor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.edit-card {
  min-height: 69px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(6, 43, 91, .04);
}

.drag {
  color: #a2afbe;
  font-size: 18px;
  cursor: grab;
}

.edit-card>div {
  flex: 1;
}

.avatar-edit {
  width: 40px;
  height: 40px;
  font-size: 10px;
}

.profile-edit {
  border-left: 3px solid var(--blue-bright);
}

.toggle {
  width: 31px;
  height: 18px;
  padding: 2px;
  border-radius: 10px;
  background: #cad4df;
}

.toggle i {
  display: block;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  transition: .2s;
}

.toggle.on {
  background: var(--blue-bright);
}

.toggle.on i {
  margin-left: 13px;
}

.builder-preview {
  background: #e6eef8;
  border-left: 1px solid var(--border);
  padding: 17px;
  overflow-y: auto;
  overflow-x: hidden;
}

.builder-preview .phone {
  width: 216px;
  height: 382px;
  margin-top: 25px;
  transform: scale(1.05);
}

.preview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .8px;
}

.preview-label div {
  display: flex;
  border: 1px solid #c9d6e4;
  border-radius: 6px;
  overflow: hidden;
}

.preview-label button {
  border: 0;
  background: white;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 8px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 29, 58, .48);
  backdrop-filter: blur(3px);
  z-index: 50;
  display: grid;
  place-items: start center;
  padding: 8vh 15px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.search-modal,
.add-modal,
.modal-dialog,
.apply-dialog {
  width: min(570px, calc(100vw - 30px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(6, 43, 91, .25);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-search {
  height: 62px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.modal-search input {
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--navy);
  font-size: 12px;
}

.modal-body {
  padding: 17px;
  max-height: calc(100dvh - 180px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-body .nav-label {
  color: var(--muted);
  padding-left: 8px;
}

.modal-body button {
  width: 100%;
  height: 49px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 11px;
  border-radius: 8px;
  padding: 0 9px;
}

.modal-body button:hover,
.add-grid button:hover {
  background: var(--background);
}

.modal-body button span {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.modal-body button>.icon:last-child {
  margin-left: auto;
  color: var(--muted);
}

.modal-head {
  padding: 19px 21px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.modal-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.add-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.add-grid button {
  border: 0;
  background: white;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  text-align: left;
}

.add-grid button>span {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
}

.add-grid button div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.add-grid strong {
  font-size: 10px;
  color: var(--navy);
}

.add-grid em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.add-grid button>.icon {
  color: #91a0b3;
}

.mobile-nav {
  display: none;
}

.page-actions,
.toolbar-filters,
.view-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

.service-stat {
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-stat>span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 10px;
}

.service-stat div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.service-stat em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
}

.service-stat strong {
  font: 700 18px "Sora";
  color: var(--navy);
}

.manager-card,
.data-module {
  padding: 0 18px 18px;
  overflow: hidden;
}

.manager-toolbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf1f5;
}

.manager-search {
  width: 280px;
  height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--background);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
}

.manager-search:focus-within {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px var(--light-blue);
}

.manager-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 10px;
}

.toolbar-filters>button,
.view-switch button {
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}

.view-switch {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
  gap: 1px;
}

.view-switch button {
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  justify-content: center;
}

.view-switch button.active {
  color: var(--blue);
  background: var(--soft-blue);
}

.service-collection.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  padding-top: 16px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  transition: .2s ease;
}

.service-card:hover {
  border-color: #b9cbe0;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-cover {
  height: 92px;
  background: linear-gradient(125deg, var(--soft-blue), #f6f9ff);
  position: relative;
  padding: 15px;
}

.service-cover>span {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: white;
  border: 1px solid var(--light-blue);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(6, 43, 91, .08);
}

.service-cover .icon-button {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: rgba(255, 255, 255, .8);
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 8px;
  font-weight: 600;
  font-style: normal;
}

.status.live {
  color: #08784a;
  background: #e6f7ef;
}

.status.draft {
  color: var(--muted);
  background: #edf2f7;
}

.service-cover .status {
  position: absolute;
  left: 74px;
  top: 29px;
}

.service-content {
  padding: 15px;
}

.service-category {
  color: var(--blue-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.service-name {
  margin: 5px 0;
  font: 600 13px "Sora";
  color: var(--navy);
}

.service-content p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
  margin: 0;
}

.service-data {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #edf1f5;
  padding: 12px 0;
  margin: 14px 0;
}

.service-data span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.service-data em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.service-data strong {
  color: var(--navy);
  font-size: 10px;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-actions .btn-secondary {
  flex: 1;
}

.service-collection.list {
  padding-top: 12px;
}

.service-collection.list .service-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  margin-bottom: 9px;
}

.service-collection.list .service-cover {
  height: auto;
}

.service-collection.list .service-content {
  display: grid;
  grid-template-columns: 1fr 240px 190px;
  align-items: center;
  gap: 15px;
}

.service-collection.list .service-data {
  margin: 0;
  border: 0;
}

.service-collection.list .service-actions {
  justify-content: flex-end;
}

.drawer-overlay {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  padding: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 100;
}

body.admin-bar .drawer-overlay {
  top: 32px;
  height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar .drawer-overlay {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

.service-drawer {
  width: min(580px, 100vw);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 40px rgba(6, 43, 91, .18);
  animation: slideIn .25s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(35px);
    opacity: .6;
  }
}

.drawer-head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}

.drawer-head .section-title {
  margin-top: 6px;
  font-size: 17px;
}

.drawer-head p {
  color: var(--muted);
  font-size: 10px;
  margin: 5px 0 0;
}

.drawer-body {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px 20px;
}

.form-section {
  padding: 21px 0;
  border-bottom: 1px solid #edf1f5;
}

.form-section>strong {
  display: block;
  color: var(--navy);
  font: 600 12px "Sora";
  margin-bottom: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--navy);
  font-size: 9px;
  font-weight: 600;
}

.field.full {
  grid-column: 1/-1;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  outline: 0;
  font: 400 10px "Inter";
  padding: 0 11px;
}

.field input {
  height: 39px;
}

.field textarea {
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px var(--soft-blue);
}

.field em {
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
  font-style: normal;
}

.setting-row {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf1f5;
}

.setting-row>div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.setting-row b {
  color: var(--navy);
  font-size: 10px;
}

.setting-row div>span {
  color: var(--muted);
  font-size: 8px;
}

.drawer-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  background: #fff;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 14px 35px rgba(6, 43, 91, .2);
  border-radius: 10px;
  padding: 11px 15px 11px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 600;
  animation: toastIn .25s ease;
}

.toast>span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #e6f7ef;
  color: var(--success);
}

@keyframes toastIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
}

.settings-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 590px;
  overflow: hidden;
}

.settings-nav {
  background: #fbfdff;
  padding: 15px;
  border-right: 1px solid var(--border);
}

.settings-nav button {
  width: 100%;
  height: 40px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  color: var(--muted);
  font-size: 10px;
  text-align: left;
  margin-bottom: 3px;
}

.settings-nav button:hover {
  color: var(--blue);
  background: var(--soft-blue);
}

.settings-nav button.active {
  color: var(--blue);
  background: var(--light-blue);
  font-weight: 600;
}

.settings-content {
  padding: 23px 26px;
  min-width: 0;
}

.settings-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.settings-head p,
.photo-setting p {
  color: var(--muted);
  font-size: 9px;
  margin: 5px 0 0;
}

.photo-setting {
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #edf1f5;
}

.settings-avatar {
  width: 65px;
  height: 65px;
  font-size: 15px;
}

.photo-setting strong {
  display: block;
  color: var(--navy);
  font-size: 11px;
}

.photo-setting .btn {
  margin-top: 9px;
  height: 32px;
}

.settings-form {
  padding-top: 22px;
  max-width: 760px;
}

.settings-list {
  padding-top: 8px;
}

.channel-toggles {
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-toggles small {
  font-size: 8px;
  color: var(--muted);
}

.security-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 14px;
  margin-top: 12px;
}

.security-card>span,
.session>span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--blue);
  background: var(--soft-blue);
}

.security-card>div {
  flex: 1;
}

.security-card b,
.session b {
  color: var(--navy);
  font-size: 10px;
}

.security-card p {
  color: var(--muted);
  font-size: 8px;
  margin: 4px 0 0;
}

.settings-subtitle {
  margin: 25px 0 8px;
}

.session {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid #edf1f5;
}

.session>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.session small {
  color: var(--muted);
  font-size: 8px;
}

.session button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 9px;
}

.export-grid {
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.export-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
}

.export-card>span {
  color: var(--blue);
}

.export-card b {
  color: var(--navy);
  font-size: 10px;
}

.export-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.danger-list {
  padding-top: 18px;
}

.danger-list>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid #f2c7c7;
  border-radius: 9px;
  margin-bottom: 11px;
  background: #fffafa;
}

.danger-list span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.danger-list b {
  color: #9b2323;
  font-size: 10px;
}

.danger-list small {
  color: var(--muted);
  font-size: 8px;
}

.danger-list button {
  border: 1px solid #d14949;
  color: #a92626;
  background: white;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 9px;
  font-weight: 600;
}

.help-page {
  background: var(--white);
  min-height: calc(100vh - 74px);
}

.help-hero {
  padding: 56px 20px 48px;
  background: var(--blue);
  color: white;
  text-align: center;
}

.help-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #dcecff;
}

.help-title {
  font: 700 31px "Sora";
  margin: 13px 0 8px;
}

.help-hero>p {
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  margin: 0 auto 23px;
  max-width: 520px;
  line-height: 1.6;
}

.help-search {
  height: 51px;
  max-width: 600px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  background: white;
  color: var(--muted);
  border-radius: 11px;
  box-shadow: 0 15px 35px rgba(0, 15, 40, .2);
}

.help-search:focus-within {
  outline: 3px solid rgba(255, 255, 255, .25);
}

.help-search input {
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--navy);
  font-size: 11px;
}

.popular-searches {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  font-size: 8px;
  color: rgba(255, 255, 255, .55);
}

.popular-searches button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  font-size: 8px;
  text-decoration: underline;
}

.help-content {
  max-width: 1080px;
  margin: auto;
  padding: 35px 26px 55px;
}

.content-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.content-heading p {
  color: var(--muted);
  font-size: 9px;
  margin: 5px 0 0;
}

.content-heading>button {
  border: 0;
  background: transparent;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.help-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  text-align: left;
  cursor: pointer;
  transition: .2s;
}

.help-category:hover {
  transform: translateY(-2px);
  border-color: #b7cce5;
}

.help-category>span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 10px;
}

.help-category>div {
  flex: 1;
}

.help-category strong {
  color: var(--navy);
  font-size: 10px;
}

.help-category p {
  color: var(--muted);
  font-size: 8px;
  margin: 4px 0 7px;
}

.help-category em {
  color: var(--blue-bright);
  font-size: 8px;
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 4px;
}

.popular-articles {
  margin-top: 34px;
}

.article-list {
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
}

.article-list button {
  width: 100%;
  height: 53px;
  display: grid;
  grid-template-columns: 35px 1fr 75px 20px;
  align-items: center;
  padding: 0 16px;
  background: white;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  text-align: left;
  color: var(--navy);
}

.article-list button:hover {
  background: var(--background);
}

.article-list button:last-child {
  border-bottom: 0;
}

.article-list span {
  color: #a1adba;
  font-size: 8px;
}

.article-list strong {
  font-size: 9px;
}

.article-list em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.support-banner {
  margin-top: 30px;
  padding: 20px;
  border-radius: 12px;
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  gap: 14px;
}

.support-banner>span {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--blue);
}

.support-banner>div {
  flex: 1;
}

.support-banner strong {
  color: var(--navy);
  font: 600 12px "Sora";
}

.support-banner p {
  color: var(--muted);
  font-size: 9px;
  margin: 4px 0 0;
}

.no-results {
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
}

.no-results strong {
  color: var(--navy);
  margin-top: 9px;
}

.no-results p {
  font-size: 9px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 15px;
}

.ticket-form,
.tickets {
  padding: 21px;
}

.ticket-form>p {
  color: var(--muted);
  font-size: 9px;
}

.ticket-form .form-grid {
  margin: 19px 0;
}

.ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #edf1f5;
}

.ticket>span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticket b {
  color: var(--blue);
  font-size: 8px;
}

.ticket small {
  color: var(--navy);
  font-size: 9px;
}

.ticket em {
  color: #9a6410;
  background: #fff6da;
  padding: 4px 7px;
  border-radius: 10px;
  font-size: 8px;
  font-style: normal;
}

.ticket em.resolved {
  color: var(--success);
  background: #e6f7ef;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.expert-card {
  padding: 20px;
}

.expert-card>span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--blue);
  border-radius: 10px;
  margin-bottom: 15px;
}

.expert-card p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.expert-card ul {
  padding-left: 16px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.9;
  margin: 13px 0;
}

.data-head,
.data-row {
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) 100px 130px 100px 35px;
  align-items: center;
  gap: 12px;
}

.data-head {
  color: #91a0b3;
  font-size: 8px;
  font-weight: 600;
  padding: 16px 10px 8px;
}

.data-row {
  min-height: 61px;
  border-top: 1px solid #edf1f5;
  padding: 0 10px;
  color: var(--muted);
  font-size: 9px;
}

.data-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-name i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 8px;
}

.data-name b {
  color: var(--navy);
  font-size: 10px;
}

.back-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-size: 9px;
  font-weight: 600;
}

.back-button .icon {
  transform: rotate(180deg);
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 0 24px;
}

.gallery-heading p {
  color: var(--muted);
  font-size: 10px;
  margin: 6px 0 0;
}

.gallery-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.gallery-count strong {
  font: 700 24px "Sora";
  color: var(--navy);
}

.gallery-count span {
  color: var(--muted);
  font-size: 9px;
}

.template-tools {
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.template-tools .manager-search {
  flex: 0 0 245px;
}

.category-scroll {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  font-size: 9px;
  white-space: nowrap;
}

.category-scroll button:hover {
  color: var(--blue);
  background: var(--soft-blue);
}

.category-scroll button.active {
  color: white;
  background: var(--blue);
  font-weight: 600;
}

.template-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.template-card {
  overflow: hidden;
  transition: .2s ease;
}

.template-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 43, 91, .1);
}

.template-card.selected {
  border: 2px solid var(--blue-bright);
  background: #f9fcff;
}

.template-preview {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f0f8;
  position: relative;
  overflow: hidden;
}

.template-preview::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}

.template-device {
  width: 143px;
  height: 250px;
  overflow: hidden;
  border: 4px solid var(--navy);
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(6, 43, 91, .18);
  background: white;
  position: relative;
  z-index: 1;
}

.template-device .digital-card-preview {
  width: 270px;
  min-height: 500px;
  transform: scale(.5);
  transform-origin: top left;
}

.device-labels {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 9px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 7px;
}

.device-labels span {
  display: flex;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, .8);
  border-radius: 8px;
  padding: 4px 6px;
}

.selected-badge {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--light-blue);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.template-info {
  padding: 16px;
}

.template-info>span {
  color: var(--blue-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.template-info .section-title {
  margin-top: 5px;
}

.template-info p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  min-height: 28px;
  margin: 6px 0 14px;
}

.template-info>div:last-child {
  display: flex;
  gap: 7px;
}

.template-info .btn {
  flex: 1;
}

.digital-card-preview {
  --card-primary: var(--blue);
  --card-accent: var(--orange);
  min-height: 100%;
  background: white;
  color: var(--text);
  font-family: "Inter";
  overflow: hidden;
}

.dc-cover {
  height: 83px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 15px;
  background: var(--card-primary);
  color: white;
}

.dc-logo {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--card-primary);
  border-radius: 9px;
}

.dc-cover>button {
  border: 1px solid rgba(255, 255, 255, .35);
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  color: white;
}

.dc-identity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 17px;
  margin-top: -29px;
  text-align: left;
}

.dc-photo {
  width: 61px;
  height: 61px;
  flex: none;
  border-radius: 50%;
  border: 3px solid white;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e89367, #9f300d);
  color: white;
  font: 700 14px "Sora";
  box-shadow: 0 5px 13px rgba(6, 43, 91, .13);
}

.dc-identity>div {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dc-name {
  color: var(--navy);
  font: 700 14px "Sora";
}

.dc-identity strong {
  color: var(--card-primary);
  font-size: 8px;
}

.dc-identity em {
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.dc-bio {
  padding: 0 17px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
  text-align: left;
}

.dc-primary-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px 17px;
}

.dc-primary-actions button {
  height: 43px;
  border: 0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--card-primary);
  background: var(--soft-blue);
  font-size: 7px;
}

.dc-primary-actions .icon {
  width: 14px;
  height: 14px;
}

.dc-save {
  width: calc(100% - 34px);
  height: 35px;
  margin: 6px 17px;
  border: 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: white;
  background: var(--card-accent);
  font-size: 8px;
  font-weight: 700;
}

.button-outline .dc-save {
  background: transparent;
  color: var(--card-primary);
  border: 1px solid var(--card-primary);
}

.button-soft .dc-save {
  background: var(--soft-blue);
  color: var(--card-primary);
}

.button-pill .dc-save {
  border-radius: 20px;
}

.button-minimal .dc-save {
  color: var(--card-primary);
  background: transparent;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.dc-details {
  margin: 9px 17px;
  border-top: 1px solid #e8edf3;
}

.dc-details>div {
  min-height: 29px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e8edf3;
  color: var(--muted);
  font-size: 7px;
}

.dc-details .icon {
  width: 12px;
  color: var(--card-primary);
}

.dc-services {
  padding: 4px 17px;
  text-align: left;
}

.dc-services>strong {
  color: var(--navy);
  font: 600 9px "Sora";
}

.dc-services>div {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.dc-services span {
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--card-primary);
  background: var(--soft-blue);
  font-size: 6px;
}

.dc-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--card-primary);
  padding: 12px 0;
}

.dc-social .icon {
  width: 14px;
  height: 14px;
}

.dc-footer {
  min-height: 42px;
  padding: 7px 17px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #e8edf3;
}

.dc-footer>span {
  color: var(--card-primary);
}

.dc-footer em {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
}

.dc-footer b {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 6px;
}

.template-classic .dc-cover,
.template-minimal .dc-cover {
  height: 45px;
  background: white;
  border-bottom: 3px solid var(--orange);
}

.template-classic .dc-cover>button,
.template-minimal .dc-cover>button {
  color: var(--blue);
  border-color: var(--border);
}

.template-classic .dc-identity,
.template-minimal .dc-identity {
  margin-top: 10px;
}

.template-classic .dc-identity>div,
.template-minimal .dc-identity>div {
  padding-top: 0;
}

.template-minimal .dc-cover {
  border-bottom: 1px solid var(--border);
}

.template-minimal .dc-identity {
  flex-direction: column;
  text-align: center;
}

.template-minimal .dc-bio {
  text-align: center;
}

.template-premium,
.template-dark {
  background: var(--navy);
  color: white;
}

.template-premium .dc-cover,
.template-dark .dc-cover {
  background: #031c3b;
}

.template-premium .dc-name,
.template-premium .dc-services strong,
.template-dark .dc-name,
.template-dark .dc-services strong {
  color: white;
}

.template-premium .dc-bio,
.template-premium .dc-details>div,
.template-dark .dc-bio,
.template-dark .dc-details>div {
  color: #bdd0e6;
}

.template-premium .dc-details,
.template-premium .dc-details>div,
.template-premium .dc-footer,
.template-dark .dc-details,
.template-dark .dc-details>div,
.template-dark .dc-footer {
  border-color: rgba(255, 255, 255, .12);
}

.template-split .dc-cover {
  width: 42%;
  height: 150px;
  float: left;
}

.template-split .dc-identity {
  margin: 0;
  padding-top: 18px;
}

.template-split .dc-identity>div {
  padding-top: 0;
}

.template-split .dc-bio {
  clear: both;
  padding-top: 8px;
}

.template-gradient .dc-cover {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  height: 105px;
}

.template-gradient .dc-identity,
.template-creator .dc-identity {
  justify-content: center;
  flex-direction: column;
  margin-top: -36px;
  text-align: center;
}

.template-gradient .dc-identity>div,
.template-creator .dc-identity>div {
  padding-top: 0;
  text-align: center;
}

.template-gradient .dc-bio,
.template-creator .dc-bio {
  text-align: center;
}

.template-profile .dc-cover {
  height: 120px;
}

.template-profile .dc-photo,
.template-creator .dc-photo {
  width: 72px;
  height: 72px;
}

.template-showcase .dc-services {
  background: var(--soft-blue);
  margin: 6px 12px;
  padding: 10px;
  border-radius: 8px;
}

.template-creator .dc-cover {
  height: 115px;
  background: var(--navy);
}

.digital-card-preview.compact .dc-cover {
  height: 65px;
}

.digital-card-preview.compact .dc-logo {
  width: 25px;
  height: 25px;
}

.digital-card-preview.compact .dc-cover>button {
  width: 24px;
  height: 24px;
}

.digital-card-preview.compact .dc-identity {
  margin-top: -24px;
}

.digital-card-preview.compact .dc-photo {
  width: 49px;
  height: 49px;
}

.digital-card-preview.compact .dc-identity>div {
  padding-top: 25px;
}

.digital-card-preview.compact .dc-name {
  font-size: 11px;
}

.template-modal {
  padding: 4vh 15px;
  place-items: center;
}

.template-preview-modal {
  width: min(820px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(6, 43, 91, .3);
}

.preview-modal-body {
  min-height: 0;
  flex: 1;
  overflow: auto;
  background: var(--background);
}

.preview-device-tabs {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 12px;
}

.preview-device-tabs button {
  height: 32px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 9px;
}

.preview-device-tabs button.active {
  color: var(--blue);
  background: var(--light-blue);
  border-color: var(--blue-bright);
}

.large-preview-stage {
  min-height: 530px;
  display: grid;
  place-items: center;
  padding: 15px;
}

.digital-phone {
  width: 276px;
  height: 553px;
  padding: 7px;
  border-radius: 31px;
  background: #071c33;
  box-shadow: 0 18px 42px rgba(6, 43, 91, .24);
  overflow: hidden;
  position: relative;
}

.digital-phone>.digital-card-preview {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px;
  scrollbar-width: thin;
}

.digital-phone.large {
  width: 259px;
  height: 510px;
}

.modal-actions {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.dc-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 15px;
}

.current-card-panel,
.qr-summary {
  padding: 20px;
}

.current-card-panel .status {
  gap: 4px;
}

.current-card-content {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 28px;
  align-items: center;
  padding-top: 18px;
}

.dashboard-card-preview {
  width: 190px;
  height: 302px;
  overflow: hidden;
  border: 4px solid var(--navy);
  border-radius: 22px;
  box-shadow: 0 13px 30px rgba(6, 43, 91, .15);
}

.dashboard-card-preview .digital-card-preview {
  width: 315px;
  min-height: 505px;
  transform: scale(.59);
  transform-origin: top left;
}

.current-template-name {
  color: var(--navy);
  font: 700 19px "Sora";
  margin-top: 7px;
}

.current-card-info>p {
  max-width: 420px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.card-url {
  max-width: 390px;
  height: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  margin: 15px 0;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 8px;
  color: var(--blue);
}

.card-url span {
  min-width: 0;
  flex: 1;
  color: var(--muted);
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-url button {
  border: 0;
  background: transparent;
  color: var(--blue);
}

.current-actions {
  display: flex;
  gap: 6px;
}

.qr-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-summary>p {
  color: var(--muted);
  font-size: 9px;
  margin: 6px 0 18px;
}

.dashboard-qr {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dashboard-qr>span,
.qr-large>span {
  position: absolute;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border: 3px solid white;
  border-radius: 7px;
}

.qr-summary>.btn {
  width: 100%;
  margin-top: 13px;
}

.qr-summary>.btn-ghost {
  margin-top: 4px;
}

.dc-analytics {
  margin-top: 15px;
  padding: 19px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.dc-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 17px;
  border-top: 1px solid #edf1f5;
}

.dc-metrics>div {
  padding: 17px 15px 4px;
  border-right: 1px solid #edf1f5;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 9px;
}

.dc-metrics>div:last-child {
  border: 0;
}

.dc-metrics>div>span {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 8px;
}

.dc-metrics em {
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
}

.dc-metrics strong {
  color: var(--navy);
  font: 700 16px "Sora";
}

.dc-metrics small {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--success);
  font-size: 7px;
}

.design-callout {
  margin-top: 15px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.design-callout>div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.design-callout>div>span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 10px;
}

.design-callout p {
  color: var(--muted);
  font-size: 9px;
  margin: 4px 0 0;
}

.card-builder {
  height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  background: var(--background);
}

.card-builder-toolbar {
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--border);
}

.card-builder-toolbar>div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.card-builder-toolbar .back-button {
  padding-right: 13px;
  border-right: 1px solid var(--border);
}

.save-state {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #a46916;
  font-size: 8px;
}

.save-state.saved {
  color: var(--success);
}

.card-builder-layout {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 195px minmax(380px, 1fr) 355px;
}

.card-builder-nav {
  overflow-y: auto;
  background: white;
  border-right: 1px solid var(--border);
  padding: 13px 11px;
}

.builder-template-mini {
  padding: 10px;
  margin-bottom: 13px;
  display: flex;
  gap: 8px;
  border-radius: 9px;
  background: var(--background);
}

.builder-template-mini>.digital-card-preview {
  width: 42px;
  min-width: 42px;
  height: 60px;
  min-height: 0;
  border-radius: 5px;
  overflow: hidden;
}

.builder-template-mini>.digital-card-preview>* {
  display: none;
}

.builder-template-mini>.digital-card-preview .dc-cover {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}

.builder-template-mini>div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.builder-template-mini span {
  color: var(--muted);
  font-size: 7px;
}

.builder-template-mini strong {
  color: var(--navy);
  font-size: 9px;
}

.builder-template-mini button {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 3px 0;
  text-align: left;
  font-size: 7px;
  font-weight: 600;
}

.card-builder-nav>button {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  text-align: left;
  margin-bottom: 3px;
}

.card-builder-nav>button span {
  flex: 1;
}

.card-builder-nav>button:hover {
  background: var(--background);
}

.card-builder-nav>button.active {
  color: var(--blue);
  background: var(--light-blue);
  font-weight: 600;
}

.card-controls {
  overflow-y: auto;
  padding: 23px;
}

.controls-heading {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.controls-heading .section-title {
  font-size: 17px;
  margin-top: 5px;
}

.controls-heading p {
  color: var(--muted);
  font-size: 9px;
  margin: 5px 0 0;
}

.upload-row {
  padding: 14px;
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}

.upload-row .dc-photo {
  width: 54px;
  height: 54px;
}

.upload-row>div {
  flex: 1;
}

.upload-row strong {
  color: var(--navy);
  font-size: 10px;
}

.upload-row p {
  color: var(--muted);
  font-size: 8px;
  margin: 3px 0 7px;
}

.upload-row .btn {
  height: 29px;
}

.control-group {
  padding: 17px;
  margin-bottom: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}

.control-group>strong {
  display: block;
  color: var(--navy);
  font: 600 11px "Sora";
  margin-bottom: 13px;
}

.brand-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.brand-presets button {
  padding: 8px 5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 7px;
}

.brand-presets i {
  width: 31px;
  height: 22px;
  border-radius: 5px;
  background: var(--blue);
}

.brand-presets i.navy {
  background: var(--navy);
}

.brand-presets i.white {
  background: white;
  border: 1px solid var(--border);
}

.brand-presets i.dark {
  background: #101b2a;
}

.brand-presets i.custom {
  background: linear-gradient(135deg, var(--orange) 50%, var(--blue) 50%);
}

.color-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.color-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
}

.color-controls i {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--blue);
}

.color-controls i.accent-color {
  background: var(--orange);
}

.color-controls i.background-color {
  background: white;
  border: 1px solid var(--border);
}

.color-controls span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--navy);
  font-size: 8px;
}

.color-controls em {
  color: var(--muted);
  font-size: 7px;
  font-style: normal;
}

.button-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.button-style-grid button {
  min-height: 68px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  color: var(--muted);
  font-size: 7px;
  text-transform: capitalize;
}

.button-style-grid button.active {
  border: 2px solid var(--blue);
  background: var(--soft-blue);
}

.button-style-grid button>.icon {
  position: absolute;
  right: 5px;
  top: 5px;
  color: var(--blue);
}

.button-sample {
  width: 72px;
  padding: 5px;
  border-radius: 5px;
  color: white;
  background: var(--blue);
  font-size: 7px;
  font-style: normal;
}

.button-sample.outline {
  color: var(--blue);
  background: white;
  border: 1px solid var(--blue);
}

.button-sample.soft {
  color: var(--blue);
  background: var(--light-blue);
}

.button-sample.rounded {
  border-radius: 9px;
}

.button-sample.pill {
  border-radius: 15px;
}

.button-sample.minimal {
  color: var(--blue);
  background: transparent;
}

.social-manager>div {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.social-manager>div>span:first-child {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 8px;
}

.social-manager>div>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.social-manager b {
  color: var(--navy);
  font-size: 9px;
}

.social-manager small {
  color: var(--muted);
  font-size: 8px;
}

.social-manager>.btn {
  margin-top: 14px;
}

.qr-builder {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
}

.qr-large {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.qr-actions {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.card-live-preview {
  overflow-y: auto;
  padding: 16px;
  background: #e5edf7;
  border-left: 1px solid var(--border);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.preview-top>div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-top span {
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .8px;
}

.preview-top strong {
  color: var(--navy);
  font-size: 9px;
}

.preview-top>div:last-child {
  display: flex;
  padding: 2px;
  border: 1px solid #c8d4e2;
  border-radius: 7px;
  background: rgba(255, 255, 255, .6);
}

.preview-top button {
  width: 29px;
  height: 27px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
  border-radius: 5px;
}

.preview-top button.active {
  color: var(--blue);
  background: white;
}

.digital-phone-notch {
  width: 70px;
  height: 17px;
  border-radius: 0 0 10px 10px;
  background: #071c33;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.card-live-preview .digital-phone {
  width: 265px;
  height: 520px;
  margin: auto;
}

.card-live-preview>p {
  text-align: center;
  color: var(--muted);
  font-size: 7px;
}

.card-live-preview .status-dot {
  margin-right: 4px;
}

.mobile-builder-actions {
  display: none;
}

.share-card-modal {
  width: min(500px, calc(100vw - 30px));
}

.share-link {
  margin: 15px;
  height: 45px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--background);
  color: var(--blue);
}

.share-link>span {
  flex: 1;
  color: var(--muted);
  font-size: 9px;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 15px 18px;
}

.share-options button {
  min-height: 70px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 9px;
}

.share-options button:hover {
  border-color: var(--blue-bright);
  background: var(--soft-blue);
}

.share-options span {
  color: var(--blue);
}

.template-marketplace {
  padding: 26px 28px 55px;
  max-width: 1600px;
  margin: auto;
}

.market-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
}

.market-header p,
.featured-heading p {
  color: var(--muted);
  font-size: 10px;
  margin: 6px 0 0;
}

.market-paths {
  display: flex;
  gap: 7px;
}

.market-paths button {
  min-width: 135px;
  height: 51px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 8px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--navy);
  text-align: left;
  padding: 8px 11px;
  font-size: 9px;
  font-weight: 600;
}

.market-paths button .icon {
  grid-row: 1/3;
  color: var(--blue);
}

.market-paths small {
  color: var(--muted);
  font-size: 7px;
  font-weight: 400;
}

.market-paths button.active {
  border-color: var(--blue-bright);
  background: var(--soft-blue);
}

.featured-section {
  padding: 18px;
  border-radius: 12px;
  color: white;
  background: var(--blue);
  margin-bottom: 15px;
}

.featured-section .section-title {
  color: white;
}

.featured-section .featured-heading p {
  color: rgba(255, 255, 255, .65);
}

.featured-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 15px;
}

.featured-heading>button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 8px;
}

.featured-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.featured-row>button {
  min-width: 0;
  height: 154px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .09);
  color: white;
  padding: 9px;
  text-align: left;
}

.featured-row>button:hover {
  background: rgba(255, 255, 255, .15);
}

.featured-row>button>div {
  height: 134px;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 10px;
  background: white;
}

.featured-row .wt-template {
  width: 180px;
  min-height: 330px;
  transform: scale(.38);
  transform-origin: top left;
}

.featured-row>button>span {
  font-size: 9px;
  font-weight: 600;
}

.featured-row em {
  display: block;
  color: #b9d4f7;
  font-size: 7px;
  font-style: normal;
  margin-top: 4px;
}

.market-tools {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  margin-bottom: 15px;
}

.market-tools>label {
  height: 38px;
  min-width: 280px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
}

.market-tools input {
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--navy);
  font-size: 10px;
}

.market-tools select {
  height: 38px;
  min-width: 140px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  padding: 0 10px;
  font-size: 9px;
}

.mobile-filter {
  display: none;
}

.market-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: white;
}

.category-sidebar .section-title {
  margin-bottom: 12px;
}

.category-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-sidebar nav button {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 9px;
  color: var(--text);
  background: white;
  font-size: 8px;
  text-align: left;
}

.category-sidebar nav button:hover {
  border-color: var(--color-primary, #2EB872);
  color: var(--color-dark, #1E8F57);
  background: #E6F7EC;
}

.category-sidebar nav button.active {
  color: #FFFFFF;
  background: var(--color-dark, #1E8F57);
  border-color: var(--color-dark, #1E8F57);
  font-weight: 600;
}

.category-sidebar nav span {
  opacity: .65;
  font-size: 7px;
}

.sidebar-filters {
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid var(--border);
}

.sidebar-filters>div {
  margin-bottom: 11px;
}

.sidebar-filters strong {
  display: block;
  color: var(--navy);
  font-size: 7px;
  letter-spacing: .7px;
  margin-bottom: 5px;
}

.sidebar-filters select {
  width: 100%;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
  color: var(--muted);
  padding: 0 7px;
  font-size: 8px;
}

.sidebar-filters>button {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 3px 0;
  font-size: 8px;
  font-weight: 600;
}

.results-heading {
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.results-heading>div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.results-heading strong {
  color: var(--navy);
  font: 600 14px "Sora";
}

.results-heading span {
  color: var(--muted);
  font-size: 8px;
}

.results-heading>button {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 8px;
}

.results-heading em {
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--blue);
  font-size: 7px;
  font-style: normal;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.market-template-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: .18s ease;
}

.market-template-card:hover {
  transform: translateY(-2px);
  border-color: #2EB872;
  box-shadow: 0 12px 28px rgba(35, 51, 43, .11);
}

.market-template-card.selected {
  border: 2px solid var(--color-primary, #2EB872);
  background: #E6F7EC;
}

.market-preview {
  height: 350px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  background: #e7eef7;
}

.market-phone {
  width: 174px;
  height: 320px;
  overflow: hidden;
  border: 4px solid #102b4a;
  border-radius: 23px;
  background: white;
  box-shadow: 0 15px 28px rgba(6, 43, 91, .2);
}

.market-phone .wt-template {
  width: 300px;
  min-height: 550px;
  transform: scale(.56);
  transform-origin: top left;
}

.template-badge,
.current-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 5px 7px;
  border-radius: 10px;
  color: var(--blue);
  background: var(--light-blue);
  font-size: 7px;
  font-weight: 700;
  text-transform: uppercase;
}

.template-badge.pro {
  color: white;
  background: var(--orange);
}

.template-badge.new {
  color: #08784a;
  background: #dff6eb;
}

.current-badge {
  top: auto;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  text-transform: none;
  font-style: normal;
}

.favorite {
  position: absolute;
  z-index: 3;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  color: var(--navy);
  font-size: 17px;
}

.favorite.active {
  color: var(--orange);
}

.template-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(3, 20, 40, .62);
  opacity: 0;
  transition: .18s ease;
}

.market-template-card:hover .template-hover,
.market-template-card:focus-within .template-hover {
  opacity: 1;
}

@media (hover: none) {
  .template-hover {
    inset: auto 0 0 0;
    padding: 8px;
    opacity: 1;
    background: linear-gradient(180deg, transparent, rgba(3, 20, 40, .82));
  }
}

.template-hover .btn {
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.market-card-info {
  min-height: 59px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}

.market-card-info>div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.market-card-info strong {
  color: var(--navy);
  font-size: 10px;
}

.market-card-info span {
  color: var(--muted);
  font-size: 7px;
}

.market-card-info>button {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--blue);
  background: var(--soft-blue);
}

.market-empty {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.market-empty strong {
  color: var(--navy);
  margin-top: 12px;
}

.market-empty p {
  font-size: 9px;
}

.wt-template {
  --wt-primary: var(--blue);
  --wt-accent: var(--orange);
  min-height: 100%;
  background: #f7faff;
  color: var(--text);
  font-family: "Inter";
  overflow: hidden;
  text-align: center;
}

.wt-hero {
  min-height: 135px;
  padding: 22px 18px 12px;
  background: var(--wt-primary);
  color: white;
  position: relative;
}

.wt-hero>button {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, .13);
}

.wt-avatar {
  width: 66px;
  height: 66px;
  margin: auto;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  background: transparent;
  font: 700 15px "Sora";
}

img.wt-avatar {
  background: transparent !important;
  object-fit: cover;
}

.wt-avatar-initials {
  background: var(--wt-primary, #247B62);
  color: white;
}

.wt-profile {
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wt-profile strong {
  font: 700 13px "Sora";
}

.wt-profile em {
  color: #cce0f8;
  font-size: 7px;
  font-style: normal;
}

.wt-bio {
  margin: 12px auto 6px;
  max-width: 245px;
  padding: 0 15px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.5;
}

.wt-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 8px;
  color: var(--wt-primary);
}

.wt-social .icon {
  width: 14px;
  height: 14px;
}

.wt-links {
  padding: 6px 16px;
}

.wt-links button {
  width: 100%;
  min-height: 42px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--navy);
  background: white;
  box-shadow: 0 3px 8px rgba(6, 43, 91, .04);
}

.wt-links button>span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--wt-primary);
  background: var(--soft-blue);
}

.wt-links b {
  flex: 1;
  text-align: left;
  font-size: 8px;
}

.wt-service-section {
  padding: 8px 16px;
  text-align: left;
}

.wt-service-section>strong {
  color: var(--navy);
  font: 600 9px "Sora";
}

.wt-service-section>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 7px;
}

.wt-service-section span {
  min-height: 41px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  border-radius: 8px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
  font-size: 7px;
}

.wt-service-section .icon {
  color: var(--wt-primary);
}

.wt-testimonial {
  margin: 7px 16px;
  padding: 11px;
  border-radius: 9px;
  text-align: left;
  color: var(--wt-primary);
  background: var(--soft-blue);
}

.wt-testimonial p {
  color: var(--navy);
  font-size: 7px;
  line-height: 1.4;
  margin: 5px 0;
}

.wt-testimonial span {
  color: var(--muted);
  font-size: 6px;
}

.wt-profile-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 6px;
  padding: 14px;
}

/* Scoped real-time design customization variables for live card preview */
.wt-template.has-custom-design {
  background: var(--card-bg, #f7faff);
  color: var(--card-text, var(--text));
  font-family: var(--card-body-font, "Inter", system-ui, sans-serif);
}

.wt-template.has-custom-design .wt-profile strong {
  font-family: var(--card-heading-font, "Sora", system-ui, sans-serif);
}

.wt-template.has-custom-design .wt-bio {
  color: var(--card-muted, var(--muted));
  font-family: var(--card-body-font, "Inter", system-ui, sans-serif);
}

.wt-template.has-custom-design .wt-social {
  color: var(--card-primary, var(--wt-primary));
}

.wt-template.has-custom-design.wt-theme-dark .wt-social {
  color: #e2e8f0;
}

.wt-template.has-custom-design .wt-links button {
  background: var(--card-btn-bg, #ffffff);
  color: var(--card-btn-color, #ffffff);
  border: 1.5px solid var(--card-btn-border, var(--card-border));
  border-radius: var(--card-btn-radius, 10px);
  font-family: var(--card-body-font, "Inter", system-ui, sans-serif);
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, border-radius 140ms ease;
}

.wt-template.has-custom-design .wt-links button>span {
  border-radius: calc(var(--card-btn-radius, 10px) * 0.7);
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

.wt-template.has-custom-design[data-button-style="outline"] .wt-links button>span,
.wt-template.has-custom-design[data-button-style="soft"] .wt-links button>span {
  background: rgba(0, 59, 143, 0.08);
  color: var(--card-primary, var(--wt-primary));
}

.wt-template.has-custom-design.wt-theme-dark[data-button-style="outline"] .wt-links button>span,
.wt-template.has-custom-design.wt-theme-dark[data-button-style="soft"] .wt-links button>span {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

.wt-template.has-custom-design .wt-links b {
  color: inherit;
}

.wt-template.has-custom-design .wt-service-section>strong,
.wt-template.has-custom-design .wt-products>strong,
.wt-template.has-custom-design .wt-menu>strong {
  color: var(--card-text, var(--navy));
  font-family: var(--card-heading-font, "Sora", system-ui, sans-serif);
}

.wt-template.has-custom-design .wt-service-section span,
.wt-template.has-custom-design .wt-products>div,
.wt-template.has-custom-design .wt-menu span,
.wt-template.has-custom-design .wt-contact-strip button,
.wt-template.has-custom-design .wt-local-panel span,
.wt-template.has-custom-design .wt-bento>div {
  background: var(--card-surface, #ffffff);
  color: var(--card-text, var(--navy));
  border-color: var(--card-border, var(--border));
}

.wt-template.has-custom-design .wt-service-section .icon,
.wt-template.has-custom-design .wt-contact-strip button .icon {
  color: var(--card-primary, var(--wt-primary));
}

.wt-template.has-custom-design .wt-testimonial {
  background: var(--card-surface, var(--soft-blue));
  border: 1px solid var(--card-border, transparent);
  color: var(--card-primary, var(--wt-primary));
}

.wt-template.has-custom-design .wt-testimonial p {
  color: var(--card-text, var(--navy));
}

.wt-template.has-custom-design .wt-testimonial span,
.wt-template.has-custom-design .wt-profile-footer {
  color: var(--card-muted, var(--muted));
}

.wt-template.has-custom-design.wt-minimal-editorial .wt-hero,
.wt-template.has-custom-design.wt-simple-link-stack .wt-hero {
  background: var(--card-bg, #ffffff);
  color: var(--card-text, var(--navy));
}

.wt-template.has-custom-design.wt-minimal-editorial .wt-profile em,
.wt-template.has-custom-design.wt-simple-link-stack .wt-profile em {
  color: var(--card-muted, var(--muted));
}

.layout-left .wt-hero {
  text-align: left;
}

.layout-left .wt-avatar {
  margin: 0;
}

.layout-left .wt-profile {
  position: absolute;
  left: 96px;
  right: 14px;
  bottom: 20px;
  overflow: hidden;
}

.layout-left .wt-profile strong,
.wt-profile strong {
  overflow-wrap: anywhere;
}

.layout-cover .wt-hero {
  min-height: 165px;
  padding-top: 50px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}

.layout-split .wt-hero {
  width: 43%;
  height: 185px;
  float: left;
  overflow: hidden;
  padding: 18px 10px 12px;
}

.layout-split .wt-bio {
  min-height: 185px;
  margin: 0 0 0 43%;
  padding: 46px 12px 10px;
  background: white;
  overflow-wrap: anywhere;
}

.layout-split .wt-social {
  clear: both;
}

.wt-minimal-white {
  background: white;
}

.wt-minimal-white .wt-hero {
  min-height: 130px;
  color: var(--navy);
  background: white;
  border-bottom: 1px solid var(--border);
}

.wt-minimal-white .wt-profile em {
  color: var(--muted);
}

.wt-minimal-white .wt-hero>button {
  color: var(--navy);
  border-color: var(--border);
}

.wt-dark-premium {
  background: var(--navy);
}

.wt-dark-premium .wt-hero {
  background: #031c3b;
}

.wt-dark-premium .wt-bio,
.wt-dark-premium .wt-profile-footer {
  color: #b9cce2;
}

.wt-dark-premium .wt-links button {
  color: white;
  background: #0d3868;
  border-color: #28517d;
}

.wt-creator-flow {
  --wt-primary: #6840b5;
}

.wt-creator-flow .wt-hero {
  background: linear-gradient(145deg, #51318f, #8358cf);
}

.wt-active-coach {
  --wt-primary: #ce4207;
}

.wt-active-coach .wt-hero {
  background: linear-gradient(135deg, #062b5b, #f4510b);
}

.wt-table-and-taste {
  --wt-primary: #285a45;
}

.wt-property-edge {
  --wt-primary: #174f83;
}

.wt-educator-hub {
  --wt-primary: #6242a5;
}

.wt-event-signal {
  --wt-primary: #172333;
  --wt-accent: var(--orange);
}

.wt-event-signal .wt-hero {
  background: #172333;
}

.wt-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 48px 48px;
  gap: 5px;
  padding: 7px 16px;
}

.wt-gallery span {
  border-radius: 7px;
  background: linear-gradient(145deg, #8ba5c0, #254f79);
}

.wt-gallery span:first-child {
  grid-row: 1/3;
}

.wt-gallery span:nth-child(2) {
  background: linear-gradient(145deg, #e49a73, #a84724);
}

.wt-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 7px 16px;
}

.wt-products>div {
  padding: 7px;
  display: grid;
  grid-template-columns: 38px 1fr;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}

.wt-products i {
  grid-row: 1/3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--blue);
  background: var(--soft-blue);
  font-style: normal;
  font-weight: 700;
  font-size: 7px;
}

.wt-products strong {
  font-size: 7px;
}

.wt-products em {
  color: var(--orange);
  font-size: 7px;
  font-style: normal;
}

.wt-menu {
  margin: 7px 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  border-radius: 8px;
  color: white;
  background: #285a45;
}

.wt-menu strong {
  font: 600 9px "Sora";
}

.wt-menu span {
  padding: 5px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 7px;
}

.wt-event-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 16px;
  padding: 10px;
  border-radius: 9px;
  color: white;
  background: #172333;
  text-align: left;
}

.wt-event-date strong {
  font: 700 23px "Sora";
}

.wt-event-date span {
  flex: 1;
  font-size: 7px;
}

.wt-event-date .btn {
  height: 29px;
  font-size: 7px;
}

.quick-preview-overlay {
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.quick-preview {
  width: min(870px, 100%);
  max-height: 92vh;
  max-height: 92dvh;
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  overflow-y: auto;
  border-radius: 14px;
  background: white;
  box-shadow: 0 25px 70px rgba(3, 20, 40, .3);
}

.quick-stage {
  min-height: 0;
  padding: 24px 16px;
  display: grid;
  place-items: center;
  background: #e5edf7;
  overflow-y: auto;
}

.quick-phone {
  width: 290px;
  height: min(570px, calc(100dvh - 110px));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 7px solid #102b4a;
  border-radius: 32px;
  background: white;
  box-shadow: 0 18px 40px rgba(6, 43, 91, .24);
  scrollbar-width: thin;
}

.quick-preview>aside {
  padding: 30px 25px;
  position: relative;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.quick-close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-default, #D6D9DC);
  border-radius: 8px;
  color: var(--text-primary, #303E47);
  background: var(--surface-secondary, #F8F5EF);
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-close:hover {
  background: #E5DDD2;
  color: #172F49;
}

.quick-preview aside .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--bloom-primary, #2F496E);
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.quick-title {
  margin: 6px 0 10px;
  color: var(--text-primary, #303E47);
  font: 700 24px/1.2 "Sora", sans-serif;
  letter-spacing: -0.5px;
}

.quick-preview aside>p {
  color: var(--text-secondary, #475569);
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.quick-preview dl {
  margin: 16px 0;
}

.quick-preview dl div {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-default, #E5E0D8);
  font-size: 12px;
  align-items: baseline;
}

.quick-preview dt {
  color: var(--text-muted, #596775);
  font-weight: 600;
}

.quick-preview dd {
  margin: 0;
  color: var(--text-primary, #303E47);
  font-weight: 600;
  line-height: 1.4;
}

.quick-preview aside>strong {
  display: block;
  color: var(--text-primary, #303E47);
  font-size: 12px;
  font-weight: 700;
  margin-top: 14px;
}

.included-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 22px;
}

.included-sections span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--bloom-primary, #2F496E);
  background: rgba(47, 73, 110, 0.08);
  border: 1px solid rgba(47, 73, 110, 0.16);
  font-size: 11px;
  font-weight: 600;
}

.quick-actions {
  display: grid;
  gap: 8px;
}

.quick-actions .btn {
  width: 100%;
}

.quick-preview aside>small {
  display: block;
  margin-top: 12px;
  color: var(--text-muted, #596775);
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

.apply-dialog {
  width: min(450px, calc(100vw - 28px));
  padding: 27px;
  border-radius: 13px;
  background: white;
  text-align: center;
  box-shadow: 0 25px 70px rgba(3, 20, 40, .3);
}

.apply-dialog>span {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 14px;
  color: var(--blue);
  background: var(--soft-blue);
}

.apply-dialog>p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.preserve-note {
  margin: 17px 0;
  padding: 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #bde4d2;
  border-radius: 9px;
  color: var(--success);
  background: #f1fbf6;
  text-align: left;
}

.preserve-note span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preserve-note b {
  color: #08784a;
  font-size: 9px;
}

.preserve-note span {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.apply-dialog>div:last-child {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.full-template-preview {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #dfe8f3;
}

.full-template-preview>header {
  min-height: 66px;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: 170px 1fr auto auto;
  align-items: center;
  gap: 15px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.full-template-preview header>button:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
}

.full-template-preview header>button:first-child .icon {
  transform: rotate(180deg);
}

.full-template-preview header>div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.full-template-preview header strong {
  color: var(--navy);
  font: 600 12px "Sora";
}

.full-template-preview header span {
  color: var(--muted);
  font-size: 8px;
}

.device-switch {
  display: flex;
  padding: 3px;
  border-radius: 8px;
  background: var(--background);
}

.device-switch button {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-size: 8px;
}

.device-switch button.active {
  color: var(--blue);
  background: white;
  box-shadow: 0 2px 7px rgba(6, 43, 91, .1);
}

.full-template-preview>main {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  place-items: center;
  padding: 30px;
}

.full-preview-device {
  overflow-y: auto;
  background: white;
  box-shadow: 0 20px 50px rgba(6, 43, 91, .2);
  scrollbar-width: none;
  transition: width .2s ease;
}

.full-preview-device.mobile {
  width: 340px;
  height: calc(100vh - 125px);
  border: 8px solid #102b4a;
  border-radius: 35px;
}

.full-preview-device.tablet {
  width: 620px;
  height: calc(100vh - 125px);
  border: 8px solid #102b4a;
  border-radius: 25px;
}

.full-preview-device.desktop {
  width: min(960px, calc(100vw - 280px));
  height: calc(100vh - 125px);
  border-radius: 8px;
}

.full-preview-device.tablet .wt-template,
.full-preview-device.desktop .wt-template {
  max-width: 600px;
  margin: auto;
}

.preview-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 8px;
}

.preview-arrow.previous .icon {
  transform: rotate(180deg);
}

.mobile-preview-bar {
  display: none;
}

.template-design-builder {
  height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
}

.template-design-builder>header {
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: white;
}

.template-design-builder header>button {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
}

.template-design-builder header>button .icon {
  transform: rotate(180deg);
}

.template-design-builder header>div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-design-builder header span {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #a46916;
  font-size: 8px;
}

.template-design-builder header span.saved {
  color: var(--success);
}

.design-builder-layout {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 190px minmax(380px, 1fr) 350px;
}

.design-builder-layout>aside:first-child {
  overflow-y: auto;
  padding: 12px;
  border-right: 1px solid var(--border);
  background: white;
}

.design-current {
  padding: 11px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 8px;
  background: var(--background);
}

.design-current span {
  color: var(--muted);
  font-size: 7px;
}

.design-current strong {
  color: var(--navy);
  font-size: 9px;
}

.design-current button {
  padding: 3px 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  text-align: left;
  font-size: 7px;
}

.design-builder-layout>aside:first-child>button {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  padding: 0 9px;
  font-size: 9px;
}

.design-builder-layout>aside:first-child>button.active {
  color: var(--blue);
  background: var(--light-blue);
  font-weight: 600;
}

.design-builder-layout>section {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
}

.design-builder-layout>section>.module-title {
  font-size: 20px;
}

.design-builder-layout>section>p {
  color: var(--muted);
  font-size: 9px;
  margin: 5px 0 20px;
}

.builder-control-card {
  padding: 18px;
  margin-bottom: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}

.builder-control-card>strong {
  display: block;
  color: var(--navy);
  font: 600 11px "Sora";
  margin-bottom: 13px;
}

.theme-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.theme-presets button {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font-size: 7px;
}

.theme-presets button.active {
  border: 2px solid var(--blue);
  background: var(--soft-blue);
}

.theme-presets .icon {
  position: absolute;
  right: 5px;
  top: 5px;
  color: var(--blue);
}

.theme-presets i {
  width: 37px;
  height: 24px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}

.theme-presets i.web-tree-brand {
  background: var(--blue);
}

.theme-presets i.light {
  background: white;
  border: 1px solid var(--border);
}

.theme-presets i.dark {
  background: var(--navy);
}

.theme-presets i.custom {
  background: conic-gradient(var(--blue), var(--orange), #6b4bb4, var(--blue));
}

.layout-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.layout-presets button {
  min-height: 80px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font-size: 7px;
}

.layout-presets button.active {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--soft-blue);
}

.layout-icon {
  width: 37px;
  height: 43px;
  display: block;
  margin: 0 auto 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: linear-gradient(var(--blue) 35%, white 35%);
}

.font-pair {
  min-height: 51px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #edf1f5;
}

.font-pair>span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.font-pair i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--blue);
  background: var(--soft-blue);
  font: 600 13px "Sora";
}

.font-pair b {
  color: var(--navy);
  font-size: 9px;
}

.design-button-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.design-button-grid button {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font-size: 7px;
}

.design-button-grid i {
  display: block;
  padding: 7px;
  margin-bottom: 6px;
  color: white;
  background: var(--blue);
  border-radius: 7px;
  font-style: normal;
}

.design-button-grid i.pill {
  border-radius: 20px;
}

.design-button-grid i.rectangle {
  border-radius: 0;
}

.design-button-grid i.soft {
  color: var(--blue);
  background: var(--light-blue);
}

.design-button-grid i.outline {
  color: var(--blue);
  background: white;
  border: 1px solid var(--blue);
}

.design-button-grid i.minimal {
  color: var(--blue);
  background: transparent;
}

.design-button-grid i.elevated {
  box-shadow: 0 5px 10px rgba(6, 43, 91, .2);
}

.generic-controls>div {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f5;
}

.generic-controls>div>span:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.generic-controls b {
  color: var(--navy);
  font-size: 9px;
}

.generic-controls small {
  color: var(--muted);
  font-size: 7px;
}

.design-live {
  overflow-y: auto;
  padding: 16px;
  background: #e3ecf6;
  border-left: 1px solid var(--border);
}

.design-live>div:first-child {
  display: flex;
  justify-content: space-between;
}

.design-live>div:first-child span {
  color: var(--muted);
  font-size: 7px;
  letter-spacing: .7px;
}

.design-live>div:first-child strong {
  color: var(--navy);
  font-size: 8px;
}

.design-preview-phone {
  width: 265px;
  height: min(520px, calc(100dvh - 180px));
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 16px auto;
  border: 7px solid #102b4a;
  border-radius: 30px;
  background: white;
  box-shadow: 0 18px 35px rgba(6, 43, 91, .2);
  scrollbar-width: thin;
}

.design-live>p {
  color: var(--muted);
  text-align: center;
  font-size: 7px;
}

.design-live>p span {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--success);
}

.design-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-preview-toggle {
  display: none;
}

.design-save-banner {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.wt-avatar {
  object-fit: cover;
  overflow: hidden;
}

.wt-profile>span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, .65);
  font-size: 5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.wt-hero.image-hero {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  text-align: left;
}

.wt-hero.image-hero .wt-profile {
  margin: 0;
}

.wt-hero.image-hero .wt-profile strong {
  font-size: 18px;
}

.wt-hero.image-hero>.btn {
  height: 27px;
  margin-top: 8px;
  font-size: 7px;
}

.wt-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -12px 14px 8px;
  position: relative;
  z-index: 2;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 7px 18px rgba(6, 43, 91, .13);
}

.wt-contact-strip button {
  min-height: 45px;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--wt-primary);
  background: white;
  font-size: 6px;
}

.wt-contact-strip .icon {
  width: 13px;
  height: 13px;
}

.wt-editorial-nav {
  margin: 10px 17px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.wt-editorial-nav span {
  padding: 7px 0;
  border-bottom: 1px solid #ddd;
  color: #222;
  font: 500 7px Georgia, serif;
}

.wt-editorial-nav span:last-child {
  border: 0;
}

.wt-stats {
  margin: 5px 16px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wt-stats span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px;
  color: var(--muted);
  font-size: 5px;
}

.wt-stats b {
  color: var(--navy);
  font-size: 9px;
}

.wt-video {
  margin: 7px 16px;
  height: 100px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  color: white;
}

.wt-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wt-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(4, 16, 30, .8));
}

.wt-video span {
  position: absolute;
  z-index: 1;
  left: 9px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7px;
  font-weight: 600;
}

.wt-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6px;
  padding: 8px 14px;
  text-align: left;
}

.wt-bento>div {
  min-height: 58px;
  padding: 9px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--navy);
  background: white;
  border: 1px solid var(--border);
}

.wt-bento .large {
  grid-row: span 2;
  color: white;
  background: var(--blue);
}

.wt-bento .large strong {
  font: 600 11px "Sora";
  line-height: 1.25;
}

.wt-bento .wide {
  grid-column: 1/-1;
  min-height: 38px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
}

.wt-bento b,
.wt-bento span {
  font-size: 6px;
}

.wt-gallery {
  grid-template-columns: 1.3fr .8fr;
  grid-template-rows: 62px 62px 45px;
}

.wt-gallery span {
  background-size: cover;
  background-position: center;
}

.wt-gallery span:first-child {
  grid-row: 1/3;
}

.wt-gallery span:nth-child(4) {
  grid-column: 1/-1;
}

.wt-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wt-products>strong {
  grid-column: 1/-1;
  color: var(--navy);
  font: 600 9px "Sora";
  text-align: left;
}

.wt-products>div {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.wt-products i {
  width: 100%;
  height: 63px;
  grid-row: auto;
  border-radius: 0;
  background-size: cover;
  background-position: center;
}

.wt-products>div>span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px;
}

.wt-products b {
  color: var(--navy);
  font-size: 7px;
}

.wt-products em {
  color: var(--orange);
  font-size: 6px;
  font-style: normal;
}

.wt-menu>div {
  display: flex;
  flex-direction: column;
}

.wt-menu>div span {
  display: flex;
  justify-content: space-between;
}

.wt-menu em {
  font-style: normal;
  color: #d5b47b;
}

.wt-event-date>div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wt-event-date b {
  font-size: 8px;
}

.wt-event-date em {
  color: #aebdce;
  font-size: 6px;
  font-style: normal;
}

.wt-local-panel {
  margin: 8px 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  text-align: left;
}

.wt-local-panel>span {
  min-height: 42px;
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  padding: 6px 9px;
  border-bottom: 1px solid var(--border);
}

.wt-local-panel .icon {
  grid-row: 1/3;
  color: var(--wt-primary);
}

.wt-local-panel b {
  font-size: 7px;
}

.wt-local-panel em {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
}

.wt-local-panel img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.wt-service-section>div {
  grid-template-columns: 1fr;
}

.wt-service-section span {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  min-height: 37px;
}

.wt-service-section span b {
  font-size: 7px;
}

.wt-service-section span em {
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
}

.wt-transformations {
  padding: 8px 16px;
  text-align: left;
}

.wt-transformations>strong {
  font: 600 9px "Sora";
}

.wt-transformations>div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 6px;
}

.wt-transformations img {
  width: 100%;
  height: 75px;
  object-fit: cover;
  border-radius: 7px;
}

.wt-executive-blue .wt-hero {
  min-height: 105px;
  text-align: left;
  padding-left: 95px;
}

.wt-executive-blue .wt-avatar {
  position: absolute;
  left: 20px;
  bottom: -22px;
  width: 64px;
  height: 77px;
  border-radius: 8px;
}

.wt-executive-blue .wt-profile {
  margin-top: 10px;
}

.wt-executive-blue .wt-bio {
  margin-top: 18px;
  text-align: left;
}

.wt-executive-blue .wt-links button {
  border-left: 3px solid var(--orange);
  border-radius: 4px;
}

.wt-minimal-editorial {
  background: #fbfaf7;
  text-align: left;
}

.wt-minimal-editorial .wt-hero {
  min-height: 150px;
  padding: 23px 18px;
  color: #181818;
  background: transparent;
}

.wt-minimal-editorial .wt-avatar {
  position: absolute;
  right: 18px;
  bottom: 17px;
  width: 63px;
  height: 78px;
  border: 0;
  border-radius: 0;
}

.wt-minimal-editorial .wt-profile {
  width: 65%;
  margin-top: 35px;
}

.wt-minimal-editorial .wt-profile span,
.wt-minimal-editorial .wt-profile em {
  color: #555;
}

.wt-minimal-editorial .wt-profile strong {
  font: 400 23px Georgia, serif;
  line-height: .95;
}

.wt-minimal-editorial .wt-bio {
  margin-left: 0;
  font: 400 8px Georgia, serif;
}

.wt-minimal-editorial .wt-social {
  justify-content: flex-start;
}

.wt-minimal-editorial .wt-links button {
  min-height: 30px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #aaa;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.wt-minimal-editorial .wt-links button>span {
  display: none;
}

.wt-creator-story {
  --wt-primary: #5c3a9f;
  background: #fcf8ff;
}

.wt-creator-story .wt-hero {
  min-height: 165px;
  padding-top: 30px;
  background: radial-gradient(circle at top, #ac83e5, #56348f 70%);
}

.wt-creator-story .wt-avatar {
  width: 82px;
  height: 82px;
}

.wt-creator-story .wt-links button {
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(83, 49, 142, .12);
}

.wt-fitness-energy {
  background: #111820;
  color: white;
}

.wt-fitness-energy .wt-bio,
.wt-fitness-energy .wt-profile-footer {
  color: #aab7c3;
}

.wt-fitness-energy .wt-links button {
  color: white;
  background: #1d2832;
  border-color: #35434f;
  border-radius: 3px;
}

.wt-fitness-energy .wt-links button:first-child {
  background: var(--orange);
  border-color: var(--orange);
}

.wt-fitness-energy .wt-testimonial {
  background: #1d2832;
}

.wt-fitness-energy .wt-testimonial p {
  color: white;
}

.wt-premium-dark {
  --wt-primary: #b89b6a;
  background: #101722;
  color: white;
}

.wt-premium-dark .wt-hero {
  background: #101722;
}

.wt-premium-dark .wt-avatar {
  border-color: #b89b6a;
}

.wt-premium-dark .wt-profile strong,
.wt-premium-dark .wt-service-section strong {
  color: white;
}

.wt-premium-dark .wt-bio,
.wt-premium-dark .wt-profile-footer {
  color: #9ca8b7;
}

.wt-premium-dark .wt-links button,
.wt-premium-dark .wt-service-section span {
  color: white;
  background: #172231;
  border-color: #2b3848;
}

.wt-premium-dark .wt-links button {
  border-radius: 0;
  border-left: 1px solid #b89b6a;
}

.wt-business-split .wt-hero {
  width: 43%;
  height: 210px;
  min-height: 210px;
  padding: 18px 10px;
  overflow: hidden;
}

.wt-business-split .wt-avatar {
  width: 56px;
  height: 56px;
}

.wt-business-split .wt-profile {
  position: static;
}

.wt-business-split .wt-profile strong {
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.wt-business-split .wt-contact-strip {
  width: 57%;
  margin: 0 0 0 43%;
  border-radius: 0;
  box-shadow: none;
}

.wt-business-split .wt-bio {
  min-height: 132px;
  margin: 0 0 0 43%;
  padding: 12px;
  text-align: left;
  overflow-wrap: anywhere;
}

.wt-business-split .wt-social {
  clear: both;
}

.wt-business-split .wt-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wt-bento-profile {
  background: #eef1f5;
}

.wt-bento-profile .wt-hero {
  min-height: 92px;
  padding: 14px;
  text-align: left;
  background: transparent;
  color: var(--navy);
}

.wt-bento-profile .wt-avatar {
  width: 50px;
  height: 50px;
  margin: 0;
}

.wt-bento-profile .wt-profile {
  position: absolute;
  left: 76px;
  bottom: 22px;
}

.wt-bento-profile .wt-profile span,
.wt-bento-profile .wt-profile em {
  color: var(--muted);
}

.wt-bento-profile .wt-social,
.wt-bento-profile .wt-bio,
.wt-bento-profile .wt-links {
  display: none;
}

.wt-product-showcase .wt-hero {
  min-height: 92px;
  text-align: left;
}

.wt-product-showcase .wt-avatar {
  width: 47px;
  height: 47px;
  margin: 0;
  border-radius: 10px;
}

.wt-product-showcase .wt-profile {
  position: absolute;
  left: 76px;
  bottom: 20px;
}

.wt-product-showcase .wt-links button {
  border-radius: 20px;
}

.wt-product-showcase .wt-testimonial {
  background: #fff1e9;
}

.wt-service-expert .wt-hero {
  min-height: 116px;
  padding-left: 105px;
  text-align: left;
}

.wt-service-expert .wt-avatar {
  position: absolute;
  left: 20px;
  bottom: -18px;
  width: 72px;
  height: 88px;
  border-radius: 14px;
}

.wt-service-expert .wt-bio {
  margin: 21px 0 0;
  text-align: left;
}

.wt-service-expert .wt-social {
  justify-content: flex-start;
  padding-left: 17px;
}

.wt-portfolio-grid,
.wt-photographer {
  background: #f8f7f4;
  text-align: left;
}

.wt-portfolio-grid .wt-hero {
  min-height: 85px;
  color: #171717;
  background: transparent;
}

.wt-portfolio-grid .wt-avatar,
.wt-photographer .wt-avatar {
  display: none;
}

.wt-portfolio-grid .wt-profile {
  margin-top: 18px;
}

.wt-portfolio-grid .wt-profile span,
.wt-portfolio-grid .wt-profile em {
  color: #666;
}

.wt-portfolio-grid .wt-profile strong {
  font: 500 18px Georgia, serif;
}

.wt-portfolio-grid .wt-social {
  justify-content: flex-start;
}

.wt-social-creator .wt-hero {
  min-height: 195px;
}

.wt-social-creator .wt-profile strong {
  font-size: 17px;
}

.wt-social-creator .wt-social {
  width: max-content;
  margin: -15px auto 5px;
  padding: 8px 15px;
  position: relative;
  border-radius: 18px;
  background: white;
  box-shadow: 0 6px 16px rgba(6, 43, 91, .14);
}

.wt-professional-card .wt-hero {
  min-height: 112px;
  padding-left: 94px;
  text-align: left;
}

.wt-professional-card .wt-avatar {
  position: absolute;
  left: 17px;
  bottom: 13px;
  border-radius: 10px;
}

.wt-professional-card .wt-bio {
  text-align: left;
}

.wt-professional-card .wt-links button {
  display: none;
}

.wt-local-business {
  --wt-primary: #285a45;
}

.wt-local-business .wt-social {
  display: none;
}

.wt-local-business .wt-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.wt-local-business .wt-links button {
  min-height: 53px;
  flex-direction: column;
  justify-content: center;
}

.wt-local-business .wt-links b {
  flex: none;
  text-align: center;
  font-size: 6px;
}

.wt-local-business .wt-links>button>.icon:last-child {
  display: none;
}

.wt-restaurant-menu {
  --wt-primary: #285a45;
  background: #f8f3ea;
}

.wt-restaurant-menu .wt-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wt-restaurant-menu .wt-links button {
  color: white;
  background: #285a45;
  border: 0;
}

.wt-restaurant-menu .wt-testimonial {
  background: #ece2d2;
}

.wt-real-estate-profile {
  --wt-primary: #174f83;
}

.wt-real-estate-profile .wt-local-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.wt-real-estate-profile .wt-local-panel img {
  height: 100px;
}

.wt-real-estate-profile .wt-links button {
  border-radius: 3px;
}

.wt-coach-mentor {
  background: #fffaf3;
}

.wt-coach-mentor .wt-hero {
  background: #0a315c;
}

.wt-coach-mentor .wt-profile strong {
  font-size: 17px;
}

.wt-coach-mentor .wt-links button:first-child {
  color: white;
  background: var(--orange);
}

.wt-coach-mentor .wt-testimonial {
  border-left: 3px solid var(--orange);
  background: white;
}

.wt-event-landing {
  background: #0e1722;
  color: white;
}

.wt-event-landing .wt-bio,
.wt-event-landing .wt-profile-footer {
  color: #aebdce;
}

.wt-event-landing .wt-social {
  color: var(--orange);
}

.wt-event-landing .wt-links button {
  color: white;
  background: #192535;
  border-color: #324154;
}

.wt-event-landing .wt-testimonial {
  display: none;
}

.wt-tech-founder {
  background: #f4f7fa;
  text-align: left;
}

.wt-tech-founder .wt-hero {
  min-height: 120px;
  background: #071c33;
}

.wt-tech-founder .wt-avatar {
  border-radius: 8px;
  margin: 0;
}

.wt-tech-founder .wt-profile {
  position: absolute;
  left: 96px;
  bottom: 26px;
}

.wt-tech-founder .wt-links button {
  border-radius: 5px;
  border-left: 3px solid #25a6a0;
}

.wt-tech-founder .wt-social {
  justify-content: flex-start;
}

.wt-elegant-beauty {
  --wt-primary: #8e665f;
  background: #f7efec;
}

.wt-elegant-beauty .wt-hero {
  min-height: 210px;
  background-size: cover;
  background-position: center;
}

.wt-elegant-beauty .wt-profile strong {
  font: 400 21px Georgia, serif;
}

.wt-elegant-beauty .wt-links button {
  border: 0;
  border-bottom: 1px solid #bda9a3;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.wt-photographer {
  background: #111;
  color: white;
}

.wt-photographer .wt-hero {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.wt-photographer .wt-profile strong {
  font: 400 19px Georgia, serif;
}

.wt-photographer .wt-bio,
.wt-photographer .wt-profile-footer {
  color: #aaa;
}

.wt-photographer .wt-social {
  color: white;
}

.wt-photographer .wt-links {
  display: none;
}

.wt-photographer .wt-gallery {
  grid-template-rows: 90px 90px 70px;
}

.wt-dark-creator {
  --wt-primary: #9d87c7;
  background: #11131a;
  color: white;
}

.wt-dark-creator .wt-profile-footer,
.wt-dark-creator .wt-bio {
  color: #999eac;
}

.wt-dark-creator .wt-links button {
  color: white;
  background: #1d202a;
  border-color: #303541;
  border-radius: 12px;
}

.wt-dark-creator .wt-testimonial {
  background: #1d202a;
}

.wt-dark-creator .wt-testimonial p {
  color: white;
}

.wt-clean-consultant {
  text-align: left;
  background: white;
}

.wt-clean-consultant .wt-hero {
  min-height: 120px;
  color: var(--navy);
  background: var(--soft-blue);
}

.wt-clean-consultant .wt-avatar {
  margin: 0;
}

.wt-clean-consultant .wt-profile {
  position: absolute;
  left: 96px;
  bottom: 26px;
}

.wt-clean-consultant .wt-profile span,
.wt-clean-consultant .wt-profile em {
  color: var(--muted);
}

.wt-clean-consultant .wt-social {
  justify-content: flex-start;
}

.wt-clean-consultant .wt-links button {
  padding-left: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

.wt-startup-profile {
  background: #f3f7fb;
}

.wt-startup-profile .wt-hero {
  min-height: 100px;
  text-align: left;
  background: #071c33;
}

.wt-startup-profile .wt-avatar {
  width: 43px;
  height: 43px;
  margin: 0;
  border-radius: 9px;
}

.wt-startup-profile .wt-profile {
  position: absolute;
  left: 72px;
  bottom: 18px;
}

.wt-startup-profile .wt-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wt-startup-profile .wt-links button {
  border-radius: 5px;
}

.wt-startup-profile .wt-testimonial {
  border: 1px solid var(--border);
  background: white;
}

.wt-simple-link-stack {
  background: radial-gradient(circle at top, #dcecff, #f9fbff 45%);
}

.wt-simple-link-stack .wt-hero {
  min-height: 145px;
  color: var(--navy);
  background: transparent;
}

.wt-simple-link-stack .wt-profile span,
.wt-simple-link-stack .wt-profile em {
  color: var(--muted);
}

.wt-simple-link-stack .wt-links button {
  min-height: 45px;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 7px 18px rgba(6, 43, 91, .1);
}

.wt-simple-link-stack .wt-links button>span {
  border-radius: 50%;
}

.wt-noolam-heritage {
  background: linear-gradient(180deg, #faf6ef 0%, #f4ecdd 100%);
  color: #3a0d18;
}

.wt-noolam-heritage .wt-hero {
  background: linear-gradient(145deg, #5c1124 0%, #3e0b18 65%, #7a1c33 100%);
  color: #fffdf9;
}

.wt-noolam-heritage .wt-avatar {
  border-radius: 999px 999px 14px 14px;
  border-color: #d4af37;
}

.wt-noolam-heritage .wt-profile strong {
  font-family: Georgia, "Playfair Display", serif;
}

.wt-noolam-heritage .wt-links button {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  color: #3a0d18;
}

.wt-cafe-3d-scroll {
  background: linear-gradient(180deg, #faf4ec 0%, #f3e5d4 100%);
  color: #2c1810;
}

.wt-cafe-3d-scroll .wt-hero {
  background: linear-gradient(135deg, #3b2014 0%, #6f3e21 70%, #9a552c 100%);
  color: #ffffff;
}

.wt-cafe-3d-scroll .wt-links button {
  border-left: 3px solid #d97706;
}

.wt-travel-atlas {
  background: linear-gradient(180deg, #f0f9ff 0%, #ecfeff 100%);
  color: #082f49;
}

.wt-travel-atlas .wt-hero {
  background: linear-gradient(135deg, #0369a1 0%, #0f766e 100%);
  color: #ffffff;
}

.wt-travel-atlas .wt-links button {
  border-radius: 999px;
  border-left: 3px solid #0f766e;
}

.wt-fanta-splash {
  background: linear-gradient(180deg, #fff5eb 0%, #fffbeb 100%);
  color: #431407;
}

.wt-fanta-splash .wt-hero {
  background: linear-gradient(135deg, #ff5a00 0%, #f97316 55%, #ffb800 100%);
  color: #ffffff;
}

.wt-fanta-splash .wt-links button {
  border-radius: 999px;
  border-color: #fdba74;
}

.wt-spatial-avatar-3d {
  background: radial-gradient(circle at top, #1e293b 0%, #090d16 80%);
  color: #f8fafc;
}

.wt-spatial-avatar-3d .wt-hero {
  background: radial-gradient(circle at top, #1e293b, #090d16 75%);
  color: #f8fafc;
}

.wt-spatial-avatar-3d .wt-bio,
.wt-spatial-avatar-3d .wt-profile em,
.wt-spatial-avatar-3d .wt-testimonial p {
  color: #cbd5e1;
}

.wt-spatial-avatar-3d .wt-links button,
.wt-spatial-avatar-3d .wt-testimonial {
  background: #111827;
  color: #f8fafc;
  border-color: rgba(56, 189, 248, 0.35);
}

.public-profile-wrapper .public-link {
  width: 100%;
  height: auto;
  min-height: 46px;
  margin: 0;
  overflow-wrap: anywhere;
}

.full-preview-device.desktop .wt-template {
  max-width: 920px;
  min-height: 100%;
  margin: auto;
}

.full-preview-device.desktop .wt-template:not(.wt-simple-link-stack):not(.wt-creator-story) .wt-links {
  max-width: 580px;
  margin: auto;
}

.full-preview-device.desktop .wt-gallery {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 170px 130px;
}

.full-preview-device.desktop .wt-gallery span:first-child {
  grid-row: 1/3;
}

.full-preview-device.desktop .wt-gallery span:nth-child(4) {
  grid-column: 2/4;
}

.full-preview-device.desktop .wt-bento {
  grid-template-columns: 1.5fr 1fr 1fr;
  max-width: 820px;
  margin: auto;
}

.full-preview-device.desktop .wt-bento .large {
  grid-row: span 2;
}

.full-preview-device.desktop .wt-products {
  grid-template-columns: 1fr 1fr;
  max-width: 760px;
  margin: auto;
}

.full-preview-device.desktop .wt-service-section {
  max-width: 700px;
  margin: auto;
}

.template-detail-layout {
  min-height: 0;
  flex: 1;
  display: grid !important;
  grid-template-columns: 245px minmax(400px, 1fr) 245px !important;
  gap: 0;
  padding: 0 !important;
  align-items: stretch !important;
}

.template-detail-info,
.template-custom-panel {
  overflow-y: auto;
  padding: 24px 19px;
  background: white;
}

.template-detail-info {
  border-right: 1px solid var(--border);
}

.template-custom-panel {
  border-left: 1px solid var(--border);
}

.detail-title {
  margin: 8px 0;
  color: var(--navy);
  font: 700 20px "Sora";
}

.template-detail-info>p,
.template-custom-panel>p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.template-detail-info dl {
  margin: 17px 0;
}

.template-detail-info dl div {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 55px 1fr;
  border-bottom: 1px solid #edf1f5;
  font-size: 8px;
}

.template-detail-info dt {
  color: var(--muted);
}

.template-detail-info dd {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
}

.template-detail-info>strong {
  color: var(--navy);
  font-size: 9px;
}

.template-detail-info>.btn {
  width: 100%;
  margin-top: 9px;
}

.detail-preview-center {
  min-width: 0;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  place-items: center;
  padding: 25px 0;
  overflow: hidden;
}

.template-custom-panel>.section-title {
  font-size: 15px;
}

.custom-preview-group {
  padding: 15px 0;
  border-bottom: 1px solid #edf1f5;
}

.custom-preview-group>strong {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 8px;
}

.detail-palette {
  display: flex;
  gap: 6px;
}

.detail-palette button {
  display: flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
}

.detail-palette button.active {
  border-color: var(--blue);
}

.detail-palette i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
}

.detail-palette i:nth-child(2) {
  margin-left: -4px;
  background: var(--orange);
}

.detail-palette i:nth-child(3) {
  margin-left: -4px;
  background: var(--soft-blue);
}

.detail-palette button:nth-child(2) i {
  background: #111827;
}

.detail-palette button:nth-child(3) i {
  background: #8e665f;
}

.detail-select {
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0 9px;
  color: var(--navy);
  background: white;
  font-size: 8px;
}

.detail-select .icon {
  transform: rotate(90deg);
}

.detail-cta-options,
.detail-layout-options {
  display: flex;
  gap: 5px;
}

.detail-cta-options button {
  flex: 1;
  padding: 7px 3px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  background: white;
  font-size: 7px;
}

.detail-cta-options button.active {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--soft-blue);
}

.detail-layout-options button {
  flex: 1;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--muted);
  background: white;
  font-size: 7px;
}

.detail-layout-options button.active {
  border-color: var(--blue);
  color: var(--blue);
}

.detail-layout-options i {
  display: block;
  width: 34px;
  height: 25px;
  margin: 0 auto 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue) 35%, #e7edf4 35%);
}

.template-custom-panel>.btn {
  width: 100%;
  margin-top: 9px;
}

.template-custom-panel>small {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--success);
  font-size: 7px;
}

@media (max-width: 1180px) {
  .sidebar {
    width: 210px;
  }

  .main {
    margin-left: 210px;
    width: calc(100% - 210px);
  }

  .topbar {
    padding: 0 24px;
  }

  .dashboard,
  .module-page {
    padding: 24px 24px 36px;
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-card.ctr {
    grid-column: span 1;
  }

  .lower-grid {
    grid-template-columns: 1fr;
  }

  .completion-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
  }

  .completion-main {
    border: 0;
    padding: 10px 0;
  }

  .completion-card>.btn {
    align-self: end;
  }

  .search-trigger {
    width: 180px;
  }

  .builder-grid {
    grid-template-columns: 190px minmax(330px, 1fr) 280px;
  }

  .service-collection.list .service-content {
    grid-template-columns: 1fr 200px;
  }

  .service-collection.list .service-actions {
    display: none;
  }

  .expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .template-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-builder-layout {
    grid-template-columns: 180px minmax(340px, 1fr) 310px;
  }

  .card-live-preview .digital-phone {
    width: 245px;
  }

  .featured-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .featured-row>button:last-child {
    display: none;
  }

  .market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .design-builder-layout {
    grid-template-columns: 170px minmax(340px, 1fr) 310px;
  }

  .design-preview-phone {
    width: 240px;
  }

  .template-detail-layout {
    grid-template-columns: 210px minmax(380px, 1fr) 210px !important;
  }

  .detail-preview-center {
    grid-template-columns: 45px 1fr 45px;
  }

  .template-detail-info,
  .template-custom-panel {
    padding: 19px 14px;
  }
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }

  .main {
    margin: 0;
    width: 100%;
  }

  .mobile-logo {
    display: block;
  }

  .mobile-logo .logo {
    color: var(--navy);
    padding: 0;
    height: auto;
  }

  .mobile-logo .logo-mark {
    background: var(--blue);
    color: white;
  }

  .page-heading {
    display: none;
  }

  .search-trigger {
    display: none;
  }

  .top-actions>.btn-secondary {
    display: none;
  }

  .avatar-top {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .dashboard,
  .module-page {
    padding: 22px 20px 90px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-grid {
    grid-template-columns: 1fr;
  }

  .preview-card {
    display: none;
  }

  .insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .builder-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
  }

  .block-library {
    display: none;
  }

  .service-collection.grid {
    grid-template-columns: 1fr;
  }

  .settings-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .dc-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .qr-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .qr-summary>p {
    grid-column: 1;
  }

  .qr-summary .dashboard-qr {
    grid-row: 1/5;
    grid-column: 2;
  }

  .qr-summary>.btn {
    width: 170px;
  }

  .dc-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-builder-layout {
    grid-template-columns: 72px minmax(360px, 1fr) 310px;
  }

  .card-builder-nav {
    padding: 12px 8px;
  }

  .builder-template-mini {
    display: none;
  }

  .card-builder-nav>button {
    justify-content: center;
  }

  .card-builder-nav>button span,
  .card-builder-nav>button>.icon:last-child {
    display: none;
  }

  .template-marketplace {
    padding: 22px 20px 90px;
  }

  .market-header {
    align-items: flex-start;
  }

  .market-paths {
    display: none;
  }

  .featured-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-row>button:nth-child(4) {
    display: none;
  }

  .market-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 13px;
  }

  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-sidebar {
    top: 85px;
  }

  .quick-preview {
    grid-template-columns: 1fr 340px;
  }

  .quick-stage {
    min-height: 570px;
  }

  .quick-phone {
    height: 530px;
  }

  .full-template-preview>header {
    grid-template-columns: 150px 1fr auto;
  }

  .full-template-preview header>.btn {
    display: none;
  }

  .full-template-preview>main {
    grid-template-columns: 75px 1fr 75px;
  }

  .full-preview-device.tablet {
    width: 560px;
  }

  .design-builder-layout {
    grid-template-columns: 65px minmax(350px, 1fr) 300px;
  }

  .design-builder-layout>aside:first-child {
    padding: 8px;
  }

  .design-current {
    display: none;
  }

  .design-builder-layout>aside:first-child>button {
    justify-content: center;
    font-size: 0;
  }

  .design-builder-layout>aside:first-child>button .icon {
    display: block;
  }

  .theme-presets,
  .layout-presets {
    grid-template-columns: repeat(3, 1fr);
  }

  .template-detail-layout {
    grid-template-columns: 190px minmax(0, 1fr) !important;
  }

  .template-custom-panel {
    display: none;
  }

  .detail-preview-center {
    grid-template-columns: 45px 1fr 45px;
  }

  .full-preview-device.mobile {
    width: 310px;
  }

  .builder-page {
    padding-bottom: 70px;
  }

  .builder-toolbar {
    padding: 0 16px;
  }

  .builder-toolbar .saved {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 20;
    bottom: 0;
    left: 0;
    right: 0;
    height: 69px;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: 0 -5px 18px rgba(6, 43, 91, .06);
  }

  .mobile-nav button {
    border: 0;
    background: transparent;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 8px;
    min-width: 50px;
  }

  .mobile-nav button.active {
    color: var(--blue);
  }

  .mobile-nav button.mobile-add {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    justify-content: center;
    transform: translateY(-14px);
    box-shadow: 0 7px 14px rgba(244, 81, 11, .28);
  }
}

@media (max-width: 620px) {
  .topbar {
    height: 58px;
    padding: 0 14px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-actions>.btn-primary {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  .top-actions>.btn-primary:not(:has(span)) {
    font-size: 0;
  }

  .dashboard,
  .module-page {
    padding: 20px 16px calc(88px + env(safe-area-inset-bottom));
  }

  .welcome {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .welcome-title {
    font-size: 20px;
    line-height: 1.25;
  }

  .welcome p {
    max-width: 100%;
  }

  .welcome-actions {
    margin-top: 8px;
  }

  .welcome-actions .btn {
    font-size: 12px;
    padding: 8px 14px;
    min-height: 40px;
  }

  .metrics {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    overflow-x: visible !important;
  }

  .metric-card {
    min-width: 0 !important;
    min-height: 84px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  .metric-card.ctr {
    grid-column: span 2 !important;
    min-width: 0 !important;
  }

  .analytics-card {
    padding: 16px 14px;
    min-height: 300px;
    border-radius: 12px;
  }

  .segmented button {
    padding: 6px;
  }

  .chart-wrap {
    height: 220px;
  }

  .chart-x span:nth-child(even) {
    display: none;
  }

  .lower-grid {
    display: block;
  }

  .top-links {
    padding: 15px;
    margin-bottom: 13px;
  }

  .link-table-head {
    display: none;
  }

  .link-row {
    grid-template-columns: 1fr 55px 24px;
  }

  .link-row .progress {
    display: none;
  }

  .completion-card {
    display: block;
  }

  .module-intro {
    align-items: flex-start;
  }

  .module-title {
    font-size: 21px;
  }

  .module-intro>.btn {
    font-size: 0;
    width: 39px;
    padding: 0;
  }

  .module-page .metrics {
    display: flex;
  }

  .insight-grid {
    grid-template-columns: 1fr;
  }

  .full-chart {
    padding: 15px;
  }

  .builder-grid {
    display: block;
  }

  .builder-preview {
    display: none;
  }

  .editor-canvas {
    padding: 15px;
  }

  .builder-toolbar .btn-secondary {
    display: none;
  }

  .builder-toolbar .btn-primary {
    padding: 0 11px;
  }

  .add-grid {
    grid-template-columns: 1fr;
    max-height: 65vh;
    overflow-y: auto;
  }

  .overlay:not(.drawer-overlay):not(.quick-preview-overlay):not(.wt-review-overlay):not(.template-modal) {
    padding-top: 5vh;
  }

  .service-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .service-stat {
    padding: 12px;
  }

  .manager-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 0;
  }

  .manager-search {
    width: 100%;
  }

  .toolbar-filters>button {
    display: none;
  }

  .toolbar-filters {
    justify-content: flex-end;
  }

  .service-collection.list .service-card {
    display: block;
  }

  .service-collection.list .service-cover {
    height: 85px;
  }

  .service-collection.list .service-content {
    display: block;
  }

  .service-collection.list .service-actions {
    display: flex;
  }

  .service-drawer {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .settings-layout {
    display: block;
  }

  .settings-nav {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    overflow-x: auto;
    padding: 9px;
  }

  .settings-nav button {
    width: auto;
    flex: none;
    padding: 0 10px;
  }

  .settings-content {
    padding: 18px 15px;
  }

  .settings-head .btn {
    font-size: 0;
    width: 38px;
    padding: 0;
  }

  .export-grid {
    grid-template-columns: 1fr;
  }

  .channel-toggles small {
    display: none;
  }

  .danger-list>div {
    align-items: flex-start;
    gap: 12px;
  }

  .help-hero {
    padding: 38px 15px 35px;
  }

  .help-title {
    font-size: 25px;
  }

  .popular-searches {
    flex-wrap: wrap;
  }

  .help-content {
    padding: 25px 14px 85px;
  }

  .help-grid {
    grid-template-columns: 1fr;
  }

  .article-list button {
    grid-template-columns: 28px 1fr 18px;
  }

  .article-list em {
    display: none;
  }

  .support-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .support-banner>div {
    min-width: calc(100% - 60px);
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .expert-grid {
    grid-template-columns: 1fr;
  }

  .data-head {
    display: none;
  }

  .data-row {
    grid-template-columns: 1fr auto 25px;
    padding: 10px 3px;
  }

  .data-row>span:nth-of-type(2),
  .data-row>span:nth-of-type(3) {
    display: none;
  }

  .toast {
    right: 14px;
    bottom: 82px;
  }

  .page-actions .btn-secondary {
    display: none;
  }

  .qr-page-actions .btn-secondary,
  .module-intro .qr-page-actions .btn-secondary {
    display: inline-flex;
  }

  .gallery-heading {
    align-items: flex-start;
  }

  .gallery-count {
    display: none;
  }

  .template-tools {
    display: block;
  }

  .template-tools .manager-search {
    width: 100%;
    margin-bottom: 10px;
  }

  .template-gallery {
    grid-template-columns: 1fr;
  }

  .template-preview {
    height: 285px;
  }

  .current-card-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dashboard-card-preview {
    margin: auto;
  }

  .current-card-info {
    text-align: center;
  }

  .current-card-info>p {
    margin-left: auto;
    margin-right: auto;
  }

  .card-url {
    margin-left: auto;
    margin-right: auto;
  }

  .current-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .qr-summary {
    display: flex;
    text-align: center;
  }

  .qr-summary>.btn {
    width: 100%;
  }

  .dc-metrics {
    display: flex;
    overflow-x: auto;
  }

  .dc-metrics>div {
    min-width: 150px;
  }

  .design-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .design-callout>.btn {
    width: 100%;
  }

  .card-builder {
    height: calc(100vh - 64px);
    padding-bottom: 66px;
  }

  .card-builder-toolbar {
    padding: 0 12px;
  }

  .card-builder-toolbar .save-state,
  .card-builder-toolbar .btn-secondary {
    display: none;
  }

  .card-builder-toolbar .btn-primary {
    padding: 0 11px;
  }

  .card-builder-layout {
    display: block;
    overflow-y: auto;
  }

  .card-builder-nav {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 7px;
  }

  .card-builder-nav>button {
    width: auto;
    min-width: 46px;
    height: 38px;
    flex: none;
    padding: 0 13px;
  }

  .card-builder-nav>button span {
    display: block;
  }

  .card-builder-nav>button>.icon:last-child {
    display: none;
  }

  .card-controls {
    overflow: visible;
    padding: 16px 14px 95px;
  }

  .card-live-preview {
    display: none;
  }

  .brand-presets {
    grid-template-columns: repeat(3, 1fr);
  }

  .color-controls {
    grid-template-columns: 1fr;
  }

  .qr-builder {
    grid-template-columns: 1fr;
  }

  .qr-large {
    margin: auto;
  }

  .mobile-builder-actions {
    display: flex;
    position: fixed;
    z-index: 15;
    bottom: 69px;
    left: 0;
    right: 0;
    padding: 9px 14px;
    gap: 8px;
    background: white;
    border-top: 1px solid var(--border);
  }

  .mobile-builder-actions .btn {
    flex: 1;
  }

  .digital-card-dashboard {
    padding-bottom: 100px;
  }

  .template-preview-modal {
    max-height: 88vh;
  }

  .large-preview-stage {
    min-height: 470px;
  }

  .template-marketplace {
    padding: 18px 14px 90px;
  }

  .market-header .module-title {
    font-size: 21px;
  }

  .featured-section {
    margin-left: -14px;
    margin-right: -14px;
    border-radius: 0;
    padding: 16px 14px;
  }

  .featured-row {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .featured-row>button,
  .featured-row>button:nth-child(4),
  .featured-row>button:last-child {
    display: grid;
    min-width: 185px;
  }

  .market-tools {
    position: sticky;
    top: 64px;
    z-index: 6;
  }

  .market-tools>label {
    min-width: 0;
  }

  .market-tools kbd,
  .market-tools select {
    display: none;
  }

  .mobile-filter {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--blue);
    background: white;
    font-size: 0;
  }

  .market-layout {
    display: block;
  }

  .category-sidebar {
    position: static;
    max-height: none;
    overflow: hidden;
    margin-bottom: 13px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .category-sidebar .section-title,
  .sidebar-filters {
    display: none;
  }

  .category-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-sidebar nav button {
    flex: none;
    min-height: 32px;
  }

  .market-grid {
    grid-template-columns: 1fr;
  }

  .market-preview {
    height: 390px;
  }

  .market-phone {
    width: 190px;
    height: 354px;
  }

  .market-phone .wt-template {
    transform: scale(.61);
  }

  .template-hover {
    opacity: 1;
    align-items: flex-end;
    padding-bottom: 18px;
    background: linear-gradient(transparent 62%, rgba(3, 20, 40, .76));
  }

  .quick-preview-overlay {
    padding: 0;
  }

  .quick-preview {
    width: 100%;
    height: 100%;
    max-height: none;
    display: block;
    border-radius: 0;
    overflow-y: auto;
  }

  .quick-stage {
    min-height: 68vh;
  }

  .quick-preview>aside {
    padding: 22px 18px 95px;
  }

  .quick-close {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 99;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-default, #D6D9DC);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(48, 62, 71, 0.18);
    cursor: pointer;
  }

  .quick-actions {
    position: fixed;
    z-index: 99;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px max(14px, env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid var(--border-default, #D6D9DC);
    box-shadow: 0 -4px 16px rgba(48, 62, 71, 0.08);
  }

  .quick-actions .btn {
    min-height: 44px;
  }

  .full-template-preview>header {
    min-height: 58px;
    grid-template-columns: 1fr auto;
  }

  .full-template-preview header>div:nth-child(2) {
    text-align: right;
  }

  .full-template-preview .device-switch,
  .full-template-preview header>.btn {
    display: none;
  }

  .full-template-preview>main {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 12px 80px;
  }

  .preview-arrow {
    display: none;
  }

  .full-preview-device.mobile,
  .full-preview-device.tablet,
  .full-preview-device.desktop {
    width: min(360px, 100%);
    height: calc(100vh - 155px);
    border: 6px solid #102b4a;
    border-radius: 28px;
  }

  .mobile-preview-bar {
    position: fixed;
    z-index: 5;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    background: white;
    border-top: 1px solid var(--border);
  }

  .mobile-preview-bar .btn {
    flex: 1;
  }

  .template-design-builder {
    height: calc(100vh - 64px);
    padding-bottom: 69px;
  }

  .template-design-builder>header {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: wrap;
    height: auto;
    min-height: 54px;
  }

  .design-header-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
  }

  .design-header-actions .mobile-preview-toggle {
    display: inline-flex;
  }

  .template-design-builder header .pill-saved-status {
    font-size: 10px;
  }

  .design-builder-layout {
    display: block;
    overflow-y: auto;
  }

  .design-builder-layout>aside:first-child {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    background: white;
  }

  .design-builder-layout>aside:first-child>button {
    width: auto;
    flex: none;
    font-size: 8px;
    padding: 0 12px;
  }

  .design-builder-layout>aside:first-child>button .icon {
    display: none;
  }

  .design-builder-layout>section {
    overflow: visible;
    padding: 17px 14px 85px;
  }

  .design-live {
    display: none;
  }

  .design-live.mobile-open {
    display: block;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 16px 12px 96px;
  }

  .theme-presets,
  .layout-presets {
    grid-template-columns: repeat(2, 1fr);
  }

  .design-button-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .template-detail-layout {
    display: block !important;
    padding: 12px 12px 80px !important;
  }

  .template-detail-info,
  .template-custom-panel {
    display: none;
  }

  .detail-preview-center {
    display: block;
    padding: 0;
  }

  .detail-preview-center .full-preview-device {
    margin: auto;
  }
}

/* Public marketing homepage */
.home-scroll-lock {
  overflow: hidden;
}

.marketing-home,
.webtree-features-page-wrapper,
.webtree-services-page-wrapper,
.webtree-templates-page-wrapper,
.webtree-contact-page-wrapper,
.webtree-help-page-wrapper,
.webtree-pricing-page-wrapper,
.webtree-about-page-wrapper,
.webtree-legal-page-wrapper {
  min-height: 100vh;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  overflow-x: hidden;
}

.marketing-home a,
.webtree-features-page-wrapper a,
.webtree-services-page-wrapper a,
.webtree-templates-page-wrapper a {
  color: inherit;
  text-decoration: none;
}

.marketing-home button,
.marketing-home a {
  -webkit-tap-highlight-color: transparent;
}

.marketing-home :focus-visible,
.public-demo-page :focus-visible {
  outline: 3px solid #f7a77f;
  outline-offset: 3px;
}

.marketing-btn {
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.marketing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 43, 91, .14);
}

.marketing-btn.primary {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.marketing-btn.secondary,
.marketing-btn.outline {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
}

.home-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.home-nav {
  height: 76px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 5px 20px rgba(6, 43, 91, .12);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 42px;
}

.home-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font: 700 20px "Sora", sans-serif;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.home-logo>span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: var(--white);
}

.home-nav nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.home-nav nav a,
.nav-actions>a {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 500;
}

.home-nav nav a:hover,
.nav-actions>a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 43, 91, .14);
}

.home-button.primary {
  color: var(--bloom-button-text, #FFFFFF);
  background: var(--bloom-button-primary, #2F496E);
  border: 1px solid transparent;
}

.home-button.primary:hover {
  background: var(--bloom-button-hover, #303E47);
  color: #FFFFFF;
}

.home-button.secondary {
  color: var(--bloom-charcoal, #303E47);
  background: var(--bloom-surface-secondary, #F5EADC);
  border-color: var(--bloom-border, #E5E0D8);
}

.home-button.secondary:hover {
  background: #E5E0D8;
  color: #303E47;
}

.home-nav .home-button {
  min-height: 44px;
  padding: 0 18px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 20, 40, .6);
}

.mobile-drawer {
  width: min(340px, 88vw);
  height: 100%;
  margin-left: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: -20px 0 50px rgba(3, 20, 40, .2);
}

.mobile-drawer>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer .home-logo {
  color: var(--navy);
}

.mobile-drawer .home-logo>span {
  color: var(--white);
  background: var(--blue);
}

.mobile-drawer>div button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--navy);
  background: var(--background);
}

.mobile-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 35px 0;
}

.mobile-drawer nav a {
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-weight: 600;
}

.mobile-drawer>.home-button {
  margin-top: auto;
  color: var(--white);
}

.home-hero {
  overflow: hidden;
  background: var(--soft-blue);
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(450px, .92fr);
  gap: 70px;
  align-items: center;
}

.hero-copy {
  padding: 75px 0;
}

.home-kicker {
  display: inline-flex;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hero-copy h1 {
  max-width: 670px;
  margin: 18px 0 24px;
  color: var(--navy);
  font: 700 clamp(43px, 4.5vw, 66px)/1.08 "Sora", sans-serif;
  letter-spacing: -2.6px;
}

.hero-copy>p {
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-copy>small {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.hero-copy>small .icon {
  color: var(--success);
}

.hero-preview {
  min-width: 0;
  padding: 48px 0 55px;
}

.hero-toggle {
  width: max-content;
  margin: 0 auto 18px;
  padding: 4px;
  display: flex;
  border: 1px solid #c8d9ee;
  border-radius: 12px;
  background: rgba(255, 255, 255, .66);
}

.hero-toggle button {
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.hero-toggle button.active {
  color: var(--blue);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(6, 43, 91, .1);
}

.preview-orbit {
  min-height: 535px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 40px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .9) 0 45%, transparent 46%);
}

.preview-orbit::before,
.preview-orbit::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 59, 143, .12);
  border-radius: 50%;
}

.preview-orbit::before {
  width: 430px;
  height: 430px;
}

.preview-orbit::after {
  width: 520px;
  height: 520px;
}

.home-phone {
  width: 286px;
  height: 554px;
  padding: 10px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 7px solid #082541;
  border-radius: 38px;
  background: var(--white);
  box-shadow: 0 28px 65px rgba(6, 43, 91, .25);
}

.home-phone.compact {
  width: 274px;
  height: 530px;
  transform: rotate(-2deg);
}

.home-phone-bar {
  height: 22px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-size: 8px;
  font-weight: 700;
}

.home-phone-bar i {
  width: 68px;
  height: 19px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 13px 13px;
  background: #082541;
}

.hero-product {
  min-height: calc(100% - 22px);
  padding: 25px 18px 15px;
  overflow: hidden;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--light-blue), var(--white) 55%);
}

.demo-label {
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.hero-product>img {
  width: 82px;
  height: 82px;
  margin: 11px auto 9px;
  display: block;
  border: 4px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(6, 43, 91, .14);
}

.hero-product h3 {
  margin: 0;
  color: var(--navy);
  font: 700 18px "Sora";
}

.hero-product>p {
  margin: 7px auto 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.hero-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.hero-contact-grid button {
  min-height: 58px;
  padding: 7px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--blue);
  background: var(--white);
  font-size: 8px;
  font-weight: 700;
}

.hero-contact-grid .icon {
  width: 16px;
  height: 16px;
}

.hero-save {
  width: 100%;
  min-height: 39px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.hero-card-footer {
  margin-top: 13px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--blue);
  font-size: 8px;
}

.hero-card-footer span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-card-footer .icon {
  width: 14px;
  height: 14px;
}

.hero-product>small {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #8b99a9;
  font-size: 7px;
}

.hero-link {
  min-height: 44px;
  margin-bottom: 8px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 23px 1fr 18px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--navy);
  background: var(--white);
  font-size: 9px;
  font-weight: 700;
}

.hero-link.featured {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.hero-link .icon {
  width: 14px;
  height: 14px;
}

.hero-media {
  height: 76px;
  margin-top: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: 12px;
  color: var(--white);
  text-align: left;
  background: linear-gradient(120deg, rgba(6, 43, 91, .9), rgba(0, 59, 143, .6)), url("https://images.unsplash.com/photo-1744686909358-915e14866592?auto=format&fit=crop&w=600&q=70") center/cover;
}

.hero-media span {
  font-size: 7px;
  letter-spacing: 1px;
}

.hero-media strong {
  font-size: 10px;
}

.hero-socials {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 14px;
  color: var(--navy);
}

.hero-socials .icon {
  width: 16px;
  height: 16px;
}

.preview-note {
  min-height: 46px;
  padding: 0 14px;
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 59, 143, .1);
  border-radius: 12px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(6, 43, 91, .13);
  font-size: 11px;
  font-weight: 700;
}

.preview-note .icon {
  color: var(--blue);
}

.preview-note.qr {
  top: 25%;
  right: -2%;
}

.preview-note.contact {
  bottom: 18%;
  left: -2%;
}

.value-strip {
  border-top: 1px solid #cdddf0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.value-strip .home-container {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-strip .home-container>div {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.value-strip .home-container>div:first-child {
  border-left: 1px solid var(--border);
}

.value-strip span,
.step-icon,
.compact-feature-grid article>span {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: var(--soft-blue);
}

.home-section {
  padding: 105px 0;
}

.home-section.alternate {
  background: var(--background);
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.feature-copy h2,
.faq-layout>div>h2,
.final-cta h2 {
  margin: 14px 0 16px;
  color: var(--navy);
  font: 700 clamp(32px, 3vw, 46px)/1.15 "Sora";
  letter-spacing: -1.5px;
}

.section-heading p,
.feature-copy>p,
.faq-layout>div>p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.template-filters {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.template-filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.template-filters button.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.home-template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-template-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(6, 43, 91, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(6, 43, 91, .12);
}

.home-template-preview {
  height: 380px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: #e6eef8;
}

.home-template-preview>div {
  width: 190px;
  height: 350px;
  overflow: hidden;
  border: 5px solid #102b4a;
  border-bottom: 0;
  border-radius: 25px 25px 0 0;
  box-shadow: 0 16px 35px rgba(6, 43, 91, .22);
}

.home-template-preview .wt-template {
  width: 300px;
  min-height: 550px;
  transform: scale(.6);
  transform-origin: top left;
}

.home-template-info {
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-template-info h3,
.steps-grid h3,
.compact-feature-grid h3,
.audience-grid h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font: 700 17px "Sora";
}

.home-template-info p,
.steps-grid p,
.compact-feature-grid p,
.audience-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.home-template-info>div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.home-template-info button {
  min-height: 44px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
}

.template-preview-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--navy);
  border: 1px solid var(--border);
  background: var(--white);
}

.template-use-action {
  color: var(--white);
  border: 1px solid var(--blue);
  background: var(--blue);
}

.section-link {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.section-link>a:not(.home-button) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.home-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(3, 20, 40, .72);
}

.home-template-modal {
  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(3, 20, 40, .35);
}

.home-template-modal>header {
  min-height: 76px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.home-template-modal>header span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.home-template-modal h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font: 700 20px "Sora";
}

.home-template-modal header button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--navy);
  background: var(--background);
}

.home-device-tabs {
  padding: 9px;
  display: flex;
  justify-content: center;
  gap: 7px;
  background: var(--background);
}

.home-device-tabs button {
  min-height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}

.home-device-tabs button.active {
  color: var(--blue);
  border-color: var(--border);
  background: var(--white);
}

.home-modal-stage {
  min-height: 0;
  flex: 1;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow: auto;
  background: #dfe8f3;
}

.home-modal-stage>div {
  height: 520px;
  overflow-y: auto;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(6, 43, 91, .2);
  scrollbar-width: none;
}

.home-modal-stage.mobile>div {
  width: 290px;
  border: 7px solid #102b4a;
  border-radius: 31px;
}

.home-modal-stage.desktop>div {
  width: min(720px, 100%);
}

.home-modal-stage.desktop .wt-template {
  max-width: 600px;
  margin: auto;
}

.home-template-modal footer {
  min-height: 78px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.home-template-modal footer p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.how-section {
  background: var(--navy);
}

.how-section .home-kicker {
  color: #8dbdff;
}

.how-section .section-heading h2 {
  color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.steps-grid article {
  min-height: 420px;
  padding: 24px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
}

.steps-grid h3 {
  color: var(--white);
  font-size: 19px;
}

.steps-grid p {
  color: rgba(255, 255, 255, .64);
}

.step-number {
  position: absolute;
  right: 23px;
  top: 23px;
  color: rgba(255, 255, 255, .3);
  font: 700 18px "Sora";
}

.step-visual {
  height: 210px;
  margin-bottom: 23px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
}

.step-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: var(--orange);
  background: rgba(244, 81, 11, .15);
}

.mini-page {
  width: 130px;
  height: 175px;
  padding: 17px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 13px 13px 0 0;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

.mini-page>span {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--light-blue);
}

.mini-page b {
  margin: 8px 0;
  font-size: 8px;
}

.mini-page i {
  width: 55px;
  height: 4px;
  margin-bottom: 11px;
  border-radius: 3px;
  background: var(--border);
}

.mini-page em {
  width: 100%;
  height: 24px;
  margin-bottom: 5px;
  border-radius: 6px;
  background: var(--soft-blue);
}

.mini-page.links em:first-of-type {
  background: var(--blue);
}

.mini-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.mini-qr .icon {
  padding: 9px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  box-sizing: content-box;
}

.how-section .section-link .home-button {
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: 80px;
}

.feature-grid.reverse> :first-child {
  order: 2;
}

.feature-grid.reverse> :last-child {
  order: 1;
}

.feature-preview {
  min-height: 540px;
  padding: 36px 24px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: var(--soft-blue);
  box-sizing: border-box;
}

.feature-preview::before {
  content: "";
  width: 400px;
  height: 400px;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border: 1px solid #bed4ef;
  border-radius: 50%;
}

.feature-preview>*:not(.feature-callout) {
  position: relative;
  z-index: 2;
}

.large-card-demo {
  position: relative;
  z-index: 2;
}

/* AI Review Generator Marketing Showcase Card */
.ai-feature::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65) 0%, rgba(220, 235, 255, 0.22) 70%, transparent 100%);
  border-color: rgba(0, 59, 143, 0.12);
}

.ai-review-card-mockup {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 22px 54px rgba(6, 43, 91, .14);
  text-align: left;
  box-sizing: border-box;
}

.ai-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f8;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.ai-mockup-body p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
  font-weight: 500;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font: 700 14px "Sora", sans-serif;
}

.client-info>div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.client-info b {
  font: 700 14px "Sora", sans-serif;
  color: var(--navy);
}

.client-info small {
  font-size: 12px;
  color: var(--muted);
}

.ai-mockup-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf2f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.approved-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e7f7f0;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

/* Homepage Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(6, 43, 91, .06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
}

.testimonial-quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #edf2f8;
}

.author-avatar {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font: 700 14px "Sora", sans-serif;
}

.testimonial-author h4 {
  margin: 0 0 2px;
  font: 700 14px "Sora", sans-serif;
  color: var(--navy);
}

.testimonial-author span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.contact-grid-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  margin-top: 40px;
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 48px;
  text-align: center;
}

.feature-callout {
  min-height: 48px;
  padding: 0 15px;
  position: absolute;
  z-index: 3;
  right: 12%;
  bottom: 15%;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 11px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(6, 43, 91, .15);
  font-size: 12px;
  font-weight: 700;
}

.feature-copy h2 {
  max-width: 550px;
}

.feature-copy>p {
  max-width: 580px;
}

.feature-copy ul {
  margin: 27px 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.feature-copy li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 15px;
}

.feature-copy li .icon {
  padding: 4px;
  border-radius: 50%;
  color: var(--success);
  background: #e7f7f0;
  box-sizing: content-box;
}

.link-page-mock {
  width: min(360px, 80%);
  padding: 30px;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(6, 43, 91, .16);
}

.mock-heading {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.mock-standard,
.mock-service {
  min-height: 55px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
}

.mock-standard .icon:last-child {
  margin-left: auto;
}

.mock-image {
  height: 130px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(6, 43, 91, .85), transparent), url("https://images.unsplash.com/photo-1744686909358-915e14866592?auto=format&fit=crop&w=800&q=75") center/cover;
}

.mock-image div {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-image small {
  font-size: 7px;
  letter-spacing: 1px;
}

.mock-image b {
  font-size: 12px;
}

.mock-service>span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-service small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 400;
}

.mock-social {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 17px;
  color: var(--blue);
}

.status-note {
  margin: 25px 0 30px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #c9dcf3;
  border-radius: 12px;
  color: var(--muted);
  background: var(--soft-blue);
  font-size: 13px;
  line-height: 1.55;
}

.status-note .icon {
  color: var(--blue);
}

.status-note span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-note b {
  color: var(--navy);
}

.customizer {
  display: grid;
  grid-template-columns: 420px 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(6, 43, 91, .08);
}

.custom-controls {
  padding: 28px;
  background: var(--white);
}

.custom-controls fieldset {
  margin: 0 0 21px;
  padding: 0;
  border: 0;
}

.custom-controls legend {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.custom-controls fieldset>div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.custom-controls fieldset button {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.custom-controls fieldset button.active {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--soft-blue);
}

.reset-preview {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 9px;
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 12px;
  font-weight: 700;
}

.custom-stage {
  min-height: 600px;
  display: grid;
  place-items: center;
  background: #dfe8f3;
}

.custom-demo {
  width: 320px;
  min-height: 470px;
  padding: 48px 28px 25px;
  border-radius: 24px;
  color: var(--demo-text);
  background: var(--demo-bg);
  text-align: center;
  font-family: var(--demo-font), sans-serif;
  box-shadow: 0 18px 50px rgba(6, 43, 91, .16);
  transition: .25s ease;
}

.custom-demo.left {
  text-align: left;
}

.custom-demo.left .custom-avatar {
  margin-left: 0;
}

.custom-demo>span {
  color: var(--demo-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.custom-avatar {
  width: 74px;
  height: 74px;
  margin: 22px auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--demo-accent);
  font: 700 20px "Sora";
}

.custom-demo h3 {
  margin: 0;
  font: 700 24px/1.25 var(--demo-font), sans-serif;
}

.custom-demo p {
  margin: 12px 0 24px;
  color: inherit;
  opacity: .7;
  font-size: 12px;
  line-height: 1.6;
}

.custom-demo button {
  width: 100%;
  min-height: 49px;
  margin-bottom: 9px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid color-mix(in srgb, var(--demo-accent), transparent 70%);
  border-radius: var(--demo-radius);
  color: var(--demo-text);
  background: color-mix(in srgb, var(--demo-bg), white 25%);
  font-size: 11px;
  font-weight: 700;
}

.custom-demo button:first-of-type {
  color: var(--white);
  border-color: var(--demo-accent);
  background: var(--demo-accent);
}

.custom-demo small {
  display: block;
  margin-top: 19px;
  opacity: .55;
  font-size: 8px;
}

.qr-showcase {
  min-height: 530px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.qr-card {
  width: 235px;
  padding: 24px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 44px rgba(6, 43, 91, .2);
  transform: rotate(-3deg);
}

.qr-card img {
  width: 172px;
  height: 172px;
  padding: 8px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--white);
}

.qr-card b {
  font: 700 13px "Sora";
}

.qr-card span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .65);
  font-size: 9px;
}

.a4-sheet {
  width: 230px;
  height: 325px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(6, 43, 91, .13);
  transform: rotate(3deg);
}

.a4-sheet>span {
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.a4-sheet img {
  width: 135px;
  height: 135px;
  margin: 36px 0 17px;
}

.a4-sheet b {
  color: var(--navy);
  font: 700 13px "Sora";
}

.a4-sheet small {
  margin-top: 7px;
  color: var(--muted);
  text-align: center;
  font-size: 8px;
  line-height: 1.4;
}

.placement-label {
  min-height: 46px;
  padding: 0 14px;
  position: absolute;
  right: 10%;
  bottom: 4%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 10px 27px rgba(6, 43, 91, .13);
  font-size: 10px;
  font-weight: 700;
}

.analytics-demo {
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(6, 43, 91, .1);
}

.analytics-demo header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.analytics-demo header small {
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.analytics-demo header h3 {
  margin: 5px 0 0;
  color: var(--navy);
  font: 700 17px "Sora";
}

.analytics-demo header>span,
.analytics-chart>span {
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 8px;
  font-weight: 700;
}

.analytics-stats {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.analytics-stats div {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid var(--border);
}

.analytics-stats div:last-child {
  border: 0;
}

.analytics-stats span {
  color: var(--muted);
  font-size: 9px;
}

.analytics-stats b {
  color: var(--navy);
  font: 700 19px "Sora";
}

.analytics-chart {
  height: 190px;
  position: relative;
}

.analytics-chart>span {
  position: absolute;
  z-index: 2;
  left: 8px;
  top: 8px;
}

.analytics-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.analytics-chart .grid {
  fill: none;
  stroke: #e7eef5;
}

.analytics-chart .area {
  fill: rgba(23, 105, 224, .1);
}

.analytics-chart .trend-line {
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.top-clicks {
  padding-top: 19px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.top-clicks>b {
  color: var(--navy);
  font-size: 11px;
}

.top-clicks span {
  color: var(--text);
  font-size: 10px;
}

.top-clicks em {
  float: right;
  color: var(--muted);
  font-style: normal;
}

.compact-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.compact-feature-grid article {
  min-height: 210px;
  padding: 24px;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--white);
}

.compact-feature-grid article>span {
  margin-bottom: 22px;
}

.compact-feature-grid p {
  line-height: 1.65;
}

.planned-badge {
  padding: 5px 8px;
  position: absolute;
  right: 16px;
  top: 16px;
  border-radius: 7px;
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience-grid article {
  padding: 15px 15px 23px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(6, 43, 91, .06);
}

.audience-grid article>h3,
.audience-grid article>p {
  padding-left: 7px;
  padding-right: 7px;
}

.audience-grid article>div:first-child {
  height: 190px;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: var(--soft-blue);
}

.audience-grid .mini-analytics {
  padding: 18px;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  align-content: center;
}

.mini-analytics span {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: 7px;
}

.mini-analytics b {
  color: var(--navy);
  font: 700 13px "Sora";
}

.mini-analytics svg {
  grid-column: 1/3;
  width: 100%;
}

.mini-analytics path {
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 3;
}

.audience-grid .mini-qr {
  color: var(--navy);
}

.faq-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
  align-items: start;
}

.faq-layout>div:first-child {
  position: sticky;
  top: 120px;
}

.faq-layout>div>h2 {
  font-size: 40px;
}

.faq-layout .home-button {
  margin-top: 27px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list>div {
  border-bottom: 1px solid var(--border);
}

.faq-list h3 {
  margin: 0;
}

.faq-list h3 button {
  width: 100%;
  min-height: 75px;
  padding: 15px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}

.faq-list h3 button .icon {
  padding: 8px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--soft-blue);
  box-sizing: content-box;
}

.faq-list p {
  margin: 0;
  padding: 0 50px 23px 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.final-cta {
  padding: 95px 0;
  color: var(--white);
  background: var(--blue);
  text-align: center;
}

.final-cta .home-container {
  max-width: 900px;
}

.final-cta .home-container>span {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: var(--white);
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(34px, 4vw, 52px);
}

.final-cta p {
  max-width: 670px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.7;
}

.final-cta .home-container>div {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.final-cta .home-button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
  background: transparent;
}

.home-footer {
  padding: 70px 0 25px;
  color: rgba(255, 255, 255, .7);
  background: var(--bloom-charcoal, #303E47);
}

.home-footer>.home-container:first-child {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
}

.footer-brand p {
  max-width: 350px;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.home-footer h3 {
  margin: 8px 0 17px;
  color: var(--white);
  font: 700 13px "Sora";
}

.home-footer .home-container>div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-footer a,
.home-footer div>span {
  font-size: 12px;
}

.footer-bottom {
  margin-top: 55px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 11px;
}

.public-demo-page {
  min-height: 100vh;
  padding: 30px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
}

.public-demo-page>div {
  text-align: center;
}

.public-demo-page .home-phone {
  margin: auto;
}

.public-demo-page p {
  color: var(--muted);
  font-size: 12px;
}

.demo-back {
  position: fixed;
  left: 25px;
  top: 25px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 700;
}

.demo-back .icon {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .home-nav nav {
    gap: 18px;
  }

  .nav-inner {
    gap: 22px;
  }

  .nav-actions {
    gap: 14px;
  }

  .hero-grid {
    min-height: 640px;
    grid-template-columns: 1fr 430px;
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: 47px;
  }

  .preview-note.qr {
    right: 0;
  }

  .preview-note.contact {
    left: 0;
  }

  .home-template-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    gap: 55px;
  }

  .feature-preview {
    min-height: 520px;
  }

  .customizer {
    grid-template-columns: 360px 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {

  .home-nav nav,
  .nav-actions {
    display: none;
  }

  .menu-button {
    margin-left: auto;
    display: grid;
  }

  .hero-grid {
    padding: 70px 0;
    display: block;
  }

  .hero-copy {
    padding: 0;
    text-align: center;
  }

  .hero-copy h1,
  .hero-copy>p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-copy>small {
    justify-content: center;
  }

  .hero-preview {
    max-width: 520px;
    margin: 45px auto 0;
    padding: 0;
  }

  .value-strip .home-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-strip .home-container>div:nth-child(3) {
    border-left: 1px solid var(--border);
  }

  .value-strip .home-container>div {
    min-height: 88px;
  }

  .home-section {
    padding: 80px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid article {
    min-height: 300px;
    display: grid;
    grid-template-columns: 210px auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 22px;
    align-items: center;
  }

  .step-visual {
    height: 250px;
    grid-row: 1/3;
    margin: 0;
  }

  .step-icon {
    align-self: end;
  }

  .steps-grid article h3 {
    align-self: end;
  }

  .steps-grid article p {
    grid-column: 2/4;
    align-self: start;
  }

  .feature-grid,
  .feature-grid.reverse {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .feature-grid.reverse> :first-child,
  .feature-grid.reverse> :last-child {
    order: initial;
  }

  .feature-preview {
    min-height: 550px;
  }

  .feature-copy {
    max-width: 650px;
  }

  .customizer {
    grid-template-columns: 1fr;
  }

  .custom-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }

  .reset-preview {
    width: max-content;
  }

  .custom-stage {
    min-height: 550px;
  }

  .qr-showcase {
    min-height: 470px;
  }

  .placement-label {
    right: 18%;
  }

  .compact-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid-wrap,
  .about-metrics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .faq-layout>div:first-child {
    position: static;
  }

  .home-footer>.home-container:first-child {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .home-footer>.home-container:first-child>div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .home-container {
    width: calc(100% - 40px);
  }

  .home-nav {
    height: 68px;
  }

  .home-logo {
    font-size: 18px;
  }

  .home-logo>span {
    width: 35px;
    height: 35px;
  }

  .hero-grid {
    min-height: 0;
    padding: 55px 0 52px;
  }

  .hero-copy {
    text-align: left;
  }

  .home-kicker {
    font-size: 10px;
    line-height: 1.4;
  }

  .hero-copy h1 {
    margin: 14px 0 18px;
    font-size: clamp(37px, 11vw, 46px);
    letter-spacing: -1.8px;
  }

  .hero-copy>p {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    justify-content: stretch;
  }

  .hero-actions .home-button {
    width: 100%;
  }

  .hero-copy>small {
    justify-content: flex-start;
    line-height: 1.5;
  }

  .hero-preview {
    margin-top: 36px;
  }

  .preview-orbit {
    min-height: 520px;
    margin: 0 -10px;
  }

  .preview-orbit::before {
    width: 360px;
    height: 360px;
  }

  .preview-orbit::after {
    width: 430px;
    height: 430px;
  }

  .home-phone {
    width: 270px;
    height: 525px;
  }

  .preview-note {
    display: none;
  }

  .value-strip .home-container {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .value-strip .home-container>div {
    min-height: 75px;
    padding: 13px 20px;
    border-left: 0 !important;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .home-section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .section-heading h2,
  .feature-copy h2,
  .faq-layout>div>h2 {
    font-size: 31px;
    letter-spacing: -1px;
  }

  .section-heading p,
  .feature-copy>p {
    font-size: 15px;
  }

  .template-filters {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .template-filters button {
    flex: none;
  }

  .home-template-grid {
    grid-template-columns: 1fr;
  }

  .home-template-preview {
    height: 360px;
  }

  .home-template-card:hover {
    transform: none;
  }

  .home-modal-backdrop {
    padding: 0;
  }

  .home-template-modal {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .home-template-modal footer {
    align-items: stretch;
    flex-direction: column;
  }

  .home-template-modal footer .home-button {
    width: 100%;
  }

  .home-modal-stage.desktop>div {
    min-width: 600px;
  }

  .steps-grid article {
    min-height: 415px;
    display: block;
  }

  .step-visual {
    height: 220px;
    margin-bottom: 21px;
  }

  .step-icon {
    margin-bottom: 12px;
  }

  .feature-preview {
    min-height: 410px;
    margin: 0;
    padding: 24px 16px;
  }

  .feature-preview::before {
    width: 300px;
    height: 300px;
  }

  .ai-feature::before {
    width: 320px;
    height: 320px;
  }

  .ai-review-card-mockup {
    padding: 20px;
  }

  .feature-callout {
    right: 4%;
  }

  .home-phone.compact {
    width: 254px;
    height: 498px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .link-page-mock {
    width: 88%;
    padding: 20px;
  }

  .custom-controls {
    padding: 20px;
    display: block;
  }

  .custom-controls fieldset {
    margin-bottom: 18px;
  }

  .custom-stage {
    min-height: 510px;
    padding: 25px 15px;
  }

  .custom-demo {
    width: 100%;
    max-width: 320px;
    min-height: 440px;
  }

  .qr-showcase {
    min-height: 550px;
    gap: 0;
  }

  .qr-card {
    width: 205px;
    margin-right: -50px;
  }

  .qr-card img {
    width: 145px;
    height: 145px;
  }

  .a4-sheet {
    width: 190px;
    height: 285px;
    padding: 20px;
  }

  .a4-sheet img {
    width: 115px;
    height: 115px;
    margin-top: 33px;
  }

  .placement-label {
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .analytics-demo {
    padding: 18px;
  }

  .analytics-stats {
    grid-template-columns: 1fr;
  }

  .analytics-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .analytics-chart {
    height: 150px;
  }

  .compact-feature-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .compact-feature-grid article {
    min-height: 180px;
  }

  .faq-list h3 button {
    font-size: 14px;
  }

  .faq-list p {
    padding-right: 5px;
  }

  .final-cta {
    padding: 75px 0;
  }

  .final-cta h2 {
    font-size: 34px;
  }

  .final-cta .home-container>div {
    display: grid;
  }

  .final-cta .home-button {
    width: 100%;
  }

  .home-footer>.home-container:first-child {
    grid-template-columns: 1fr 1fr;
    gap: 35px 30px;
  }

  .footer-brand {
    grid-column: 1/3;
  }

  .home-footer>.home-container:first-child>div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .public-demo-page {
    padding: 80px 20px 30px;
  }

  .demo-back {
    left: 20px;
    top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .marketing-home *,
  .marketing-home *::before,
  .marketing-home *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   SUPER ADMIN PORTAL & RESPONSIVE DASHBOARD REDESIGN
   ========================================================= */

/* Mobile Hamburger Toggle Button in Topbar - Hidden on desktop (>900px) */
.mobile-header-left {
  display: none;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .mobile-header-left {
    display: flex;
  }
}

.mobile-hamburger-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--soft-blue);
  border: 1px solid var(--border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-hamburger-btn:hover {
  background: var(--light-blue);
  border-color: var(--blue-bright);
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.2s ease;
}

@media (max-width: 900px) {
  .mobile-hamburger-btn {
    display: inline-flex;
  }
}

/* Slide-out Mobile Navigation Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 52, 76, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  animation: fadeIn 0.22s ease-out;
}

.mobile-drawer-panel {
  width: min(320px, 86vw);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  background: var(--sidebar-background, #FFFCF7);
  color: var(--sidebar-foreground, #23332B);
  border-right: 1px solid var(--sidebar-border, #E8DED1);
  display: flex;
  flex-direction: column;
  box-shadow: 8px 0 32px rgba(24, 52, 76, 0.15);
  animation: slideInLeft 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  scrollbar-width: thin;
}

.mobile-drawer-header {
  flex: 0 0 auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.mobile-drawer-head {
  flex: 0 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sidebar-border, #E8DED1);
}

.mobile-drawer-head .logo {
  height: auto;
  padding: 0;
  color: var(--sidebar-foreground, #23332B);
}

.mobile-drawer-head .logo-mark {
  background: var(--color-cream, #FAFFF5);
  color: var(--color-dark, #1E8F57);
}

.mobile-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--sidebar-border, #E8DED1);
  background: var(--surface, #FFFFFF);
  color: var(--sidebar-foreground, #23332B);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.16s ease;
}

.mobile-drawer-close:hover {
  background: var(--sidebar-hover, #E8F2EB);
  color: var(--sidebar-active, #247B62);
  border-color: #C3E2CD;
}

.mobile-drawer-workspace {
  flex: 0 0 auto;
  margin: 14px 14px 10px;
}

.mobile-drawer-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 6px 14px 24px;
}

.mobile-drawer-foot {
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-top: auto;
  padding: 12px 14px calc(24px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--sidebar-border, #E8DED1);
  background: rgba(250, 255, 245, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
}

.mobile-drawer-foot .signout-btn {
  color: #ff8a65 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

/* Platform Status Pill & Pulse */
.platform-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8F8F1;
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  border: 1px solid #BAECD5;
}

.status-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(21, 150, 95, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 150, 95, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(21, 150, 95, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(21, 150, 95, 0);
  }
}

/* User Count Badge */
.user-count-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--blue);
  border: 1px solid var(--border);
}

/* Admin Metrics Grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 620px) {
  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin Table Layout & Responsive Scroll */
.data-table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.admin-table-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(170px, 1.2fr) minmax(90px, 0.7fr) minmax(130px, 0.9fr) minmax(100px, 0.8fr) minmax(140px, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 780px;
}

.sortable-th {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.sortable-th:hover {
  color: var(--navy);
}

.user-table-row {
  transition: background 0.15s ease;
}

.user-table-row:hover {
  background: #F9FCFF;
}

.user-text-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.user-full-name {
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-meta-sub {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-email {
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Role Badges */
.role-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.role-super {
  color: var(--orange);
  background: #FFF1EB;
  border: 1px solid #FFD3C2;
}

.role-admin {
  color: var(--blue-bright);
  background: var(--soft-blue);
  border: 1px solid var(--light-blue);
}

/* Plan Badges */
.plan-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.plan-pro {
  background: #EBF3FE;
  color: #1A56DB;
  border: 1px solid #C3D9FF;
}

.plan-enterprise {
  background: #F3E8FF;
  color: #7E22CE;
  border: 1px solid #E9D5FF;
}

.plan-free {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
}

.status-active {
  background: #E8F8F1;
  color: #0E7045;
  border: 1px solid #BAECD5;
}

.status-active .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #15965F;
}

.status-suspended {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.status-suspended .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DC2626;
}

/* Skeleton Loading */
.table-skeleton-wrap {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.table-skeleton-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.skeleton-bar {
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, #EDF2F7 25%, #F7FAFC 50%, #EDF2F7 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.avatar-skel {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.pill-skel {
  width: 70px;
  height: 22px;
}

.btn-skel {
  width: 90px;
  height: 28px;
  margin-left: auto;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Empty & Error States */
.table-empty-state,
.table-error-state {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.empty-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 4px;
}

.table-empty-state h4,
.table-error-state h4 {
  margin: 0;
  font-size: 16px;
  color: var(--navy);
  font-family: 'Sora', sans-serif;
}

.table-empty-state p,
.table-error-state p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  max-width: 420px;
}

/* Toolbar styling */
.admin-toolbar {
  padding: 14px 20px;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.manager-search {
  position: relative;
  display: flex;
  align-items: center;
}

.clear-search-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
}

.clear-search-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--navy);
}

.styled-select {
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.styled-select:focus {
  outline: 2px solid var(--blue-bright);
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .toolbar-filters .styled-select {
    flex: 1;
    min-width: 120px;
  }
}

/* Interactive Toggles */
.setting-row button.toggle {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* Floating Toast notifications */
.toast-success {
  background: #062B5B !important;
  color: #FFFFFF !important;
  border-left: 4px solid var(--success) !important;
}

.toast-error {
  background: #7F1D1D !important;
  color: #FFFFFF !important;
  border-left: 4px solid #EF4444 !important;
}

.toast-info {
  background: #062B5B !important;
  color: #FFFFFF !important;
  border-left: 4px solid var(--blue-bright) !important;
}

/* Role switcher floating position */
.role-switcher-floating {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 768px) {
  .role-switcher-floating {
    bottom: 80px !important;
    left: 12px !important;
    transform: scale(0.9);
    transform-origin: bottom left;
  }
}

/* Mobile responsive fixes for ultra-narrow screens (320px - 414px) */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .app-shell,
  .main {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .dashboard,
  .module-page {
    padding: 20px 16px calc(88px + env(safe-area-inset-bottom)) !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .module-intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .module-intro .page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .module-intro .page-actions .btn {
    flex: 1 1 auto;
    font-size: 11px;
    padding: 0 8px;
    min-width: 0;
  }

  .topbar {
    padding: 0 12px;
  }

  .card-head {
    padding: 14px 12px !important;
  }

  .data-module {
    max-width: 100%;
    overflow-x: auto;
  }

  .service-metrics {
    display: grid;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {

  .ai-review-grid,
  .heatmap-layout,
  .settings-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Links & Actions manager */
.links-tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 5px;
  margin-top: 16px;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(6, 43, 91, 0.05);
}

.links-tab-bar .tab-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 600 12px "Inter", sans-serif;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.links-tab-bar .tab-btn svg,
.links-tab-bar .tab-btn .icon {
  flex-shrink: 0;
  display: inline-block;
}

.links-tab-bar .tab-btn:hover:not(.active) {
  background: var(--soft-blue);
  color: var(--navy);
}

.links-tab-bar .tab-btn:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

.links-tab-bar .tab-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 59, 143, 0.22);
}

.links-page .service-stat {
  min-width: 0;
}

.links-page .service-stat>div {
  min-width: 0;
  flex: 1;
}

.links-page .service-stat strong {
  font-size: clamp(13px, 1.35vw, 17px);
  line-height: 1.3;
  word-break: break-word;
}

.links-list-container {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.link-manage-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.link-manage-item:hover {
  border-color: #c8dcf8;
  box-shadow: 0 6px 18px rgba(6, 43, 91, 0.06);
}

.link-manage-item.dimmed {
  opacity: 0.65;
  background: #f8fafd;
}

.reorder-controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.reorder-btn {
  width: 24px;
  height: 20px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  color: var(--navy);
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.reorder-btn:hover:not(:disabled) {
  background: var(--soft-blue);
  border-color: #b7d2f7;
  color: var(--blue);
}

.reorder-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.link-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.link-item-main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-item-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.link-item-title-row strong {
  font: 600 13px "Sora", sans-serif;
  color: var(--navy);
}

.featured-badge,
.schedule-badge,
.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font: 600 10px "Inter", sans-serif;
  line-height: 1.4;
}

.featured-badge {
  background: rgba(244, 81, 11, 0.12);
  color: var(--orange);
}

.schedule-badge {
  background: #e0f2fe;
  color: #0369a1;
}

.category-tag {
  background: var(--soft-blue);
  color: var(--blue);
}

.link-item-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
}

.link-item-url:hover {
  color: var(--blue);
  text-decoration: underline;
}

.link-analytics-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 64px;
  flex-shrink: 0;
}

.link-analytics-stat strong {
  font: 700 14px "Sora", sans-serif;
  color: var(--navy);
}

.link-analytics-stat span {
  font-size: 10px;
  color: var(--muted);
}

.link-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.toggle-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--navy);
  cursor: pointer;
}

.toggle-action small {
  font: 600 11px "Inter", sans-serif;
  color: var(--muted);
}

.toggle-action.on small {
  color: var(--navy);
}

.icon-button.delete-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  background: #fef2f2;
  color: #dc2626;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-button.delete-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

@media (max-width: 768px) {
  .links-tab-bar {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .links-tab-bar .tab-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .link-manage-item {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }

  .link-analytics-stat {
    align-items: flex-start;
  }

  .link-item-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

/* Shared filter chips, compact buttons, data tables & modal overlays */
.toolbar,
.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.chips {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 5px;
  max-width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(6, 43, 91, 0.05);
}

.chips button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 600 12px "Inter", sans-serif;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.chips button:hover:not(.active) {
  background: var(--soft-blue);
  color: var(--navy);
}

.chips button:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 2px;
}

.chips button.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 59, 143, 0.22);
}

.btn.btn-sm {
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 11px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th {
  text-align: left;
  padding: 12px 14px;
  font: 700 10px "Inter", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f8fbff;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 14px;
  color: var(--navy);
  border-bottom: 1px solid #edf1f5;
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: #f9fbff;
}

.styled-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  color: var(--navy);
  font: 400 12px "Inter", sans-serif;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.styled-input:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px var(--light-blue);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 43, 91, 0.45);
  backdrop-filter: blur(4px);
}

.modal-backdrop .modal {
  position: relative;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(6, 43, 91, 0.22);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-head strong {
  font: 600 15px "Sora", sans-serif;
  color: var(--navy);
}

.icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--background);
  color: var(--navy);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.icon-btn:hover {
  background: var(--soft-blue);
  border-color: #b7d2f7;
  color: var(--blue);
}

@media (max-width: 768px) {
  .chips {
    width: 100%;
  }

  .chips button {
    flex: 1 1 auto;
  }
}

/* 2-Step Mobile-First AI Review & Google Handoff Modal */
.wt-review-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10002;
  padding: 16px;
}

.wt-review-dialog {
  width: 100%;
  max-width: min(672px, calc(100vw - 24px));
  max-height: min(92dvh, 860px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  text-align: left;
}

.wt-review-standalone-shell .wt-review-dialog.wt-review-standalone {
  margin: 0 auto;
  max-width: min(672px, calc(100vw - 24px));
  min-height: min(620px, calc(100dvh - 48px));
  max-height: none;
}

.wt-review-dialog-head {
  padding: 18px 22px 14px;
  flex-shrink: 0;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.wt-review-form-shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
  min-height: 0;
  overflow: hidden;
}

.wt-review-dialog-body {
  padding: 18px 22px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1 1 0%;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.wt-review-dialog-foot {
  padding: 12px 22px calc(12px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.wt-review-primary-btn {
  display: flex;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  box-sizing: border-box;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.wt-review-primary-btn:hover:not(:disabled) {
  opacity: 0.94;
}

.wt-review-primary-btn:focus-visible,
.wt-review-secondary-btn:focus-visible,
.wt-review-chip:focus-visible,
.wt-review-lang-pill:focus-visible {
  outline: 2px solid #003B8F;
  outline-offset: 2px;
}

.wt-review-secondary-btn {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  box-sizing: border-box;
  cursor: pointer;
}

.wt-review-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.wt-review-lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  box-sizing: border-box;
}

.wt-review-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wt-review-field {
  display: grid;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
}

.wt-review-field input,
.wt-review-field select,
.wt-review-field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .wt-review-overlay {
    padding: 0 !important;
  }

  .wt-review-dialog {
    max-width: 100vw;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .wt-review-dialog-head {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
  }

  .wt-review-dialog-body {
    padding: 14px 16px;
  }

  .wt-review-dialog-foot {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .wt-review-grid-2 {
    grid-template-columns: 1fr;
  }

  .wt-review-field input,
  .wt-review-field select,
  .wt-review-field textarea {
    font-size: 16px;
    padding: 11px 12px;
  }
}


/* Smart Back Button Component */
.wt-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 59, 143, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: #003b8f;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}

.wt-back-btn-ghost {
  background: transparent;
  border-color: transparent;
  margin-bottom: 0;
}

.wt-back-btn-pill {
  border-radius: 999px;
}

.wt-back-btn:hover {
  background: #eaf3ff;
  border-color: #bfd7fb;
}

.wt-back-btn:focus-visible {
  outline: 2px solid #003b8f;
  outline-offset: 2px;
  background: #eaf3ff;
}

.wt-back-label-mobile {
  display: none;
}

@media (max-width: 640px) {
  .wt-back-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 14px;
    margin-bottom: 12px;
  }

  .wt-back-btn.show-mobile-label .wt-back-label-desktop {
    display: none;
  }

  .wt-back-btn.show-mobile-label .wt-back-label-mobile {
    display: inline;
  }

  .wt-back-btn.hide-mobile-label .wt-back-label-desktop {
    display: none;
  }
}

/* Responsive QR Code Management Layout */
.qr-builder-grid {
  padding: 28px;
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.qr-controls-col,
.qr-stage-col {
  min-width: 0;
}

.qr-display-box {
  padding: 22px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(6, 43, 91, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 280px;
  position: relative;
}

.qr-matrix-wrap {
  max-width: 100%;
}

.qr-live-img {
  width: 200px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
}

.module-intro .eyebrow {
  display: block;
}

@media (max-width: 960px) {
  .qr-builder-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .qr-stage-col {
    order: -1;
  }
}

@media (max-width: 640px) {
  .qr-management-page .module-intro {
    flex-direction: column;
    align-items: stretch;
  }

  .qr-page-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .qr-page-actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .qr-management-page .button-style-grid,
  .qr-management-page .brand-presets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
  }

  .qr-management-page .button-style-grid button,
  .qr-management-page .brand-presets button {
    min-height: 44px;
  }

  .qr-builder-grid {
    padding: 16px;
  }

  .qr-stage-col {
    padding: 16px !important;
  }
}

/* Mobile-First Authenticated Bottom Navigation Bar */
.wt-mobile-bottom-nav {
  display: none;
}

.builder-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}

.builder-mobile-switch {
  display: none;
}

@media (max-width: 980px) {
  .wt-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    background: #ffffff;
    border-top: 1px solid var(--border-default, #D6D9DC);
    box-shadow: 0 -6px 24px rgba(48, 62, 71, 0.08);
    padding: 4px 4px max(8px, env(safe-area-inset-bottom));
  }

  .wt-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    min-width: 44px;
    padding: 6px 2px;
    border-radius: 10px;
    color: var(--color-dark, #1E8F57);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    transition: color 0.16s ease, background-color 0.16s ease;
  }

  .wt-bottom-nav-item:hover {
    background: var(--background-secondary, #E6F7EC);
    color: var(--color-primary-hover, #1E8F57);
  }

  .wt-bottom-nav-item:focus-visible {
    outline: 2px solid var(--focus-ring, #2EB872);
    outline-offset: -2px;
  }

  .wt-bottom-nav-item.active {
    color: var(--color-primary, #2EB872);
    background: rgba(46, 184, 114, 0.08);
    font-weight: 700;
  }

  .wt-bottom-nav-item.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22%;
    right: 22%;
    height: 2.5px;
    border-radius: 999px;
    background: var(--color-primary, #2EB872);
  }

  .app-shell .main {
    min-width: 0;
    max-width: 100%;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .dashboard,
  .module-page,
  .builder-page,
  .template-marketplace,
  .help-page {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    max-width: 100%;
    overflow-x: clip;
  }

  .builder-main-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .builder-mobile-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 4px;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid var(--border-default, #D6D9DC);
    border-radius: 12px;
  }

  .builder-mobile-switch button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--bloom-primary, #2F496E);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  .builder-mobile-switch button.active {
    background: var(--bloom-primary, #2F496E);
    color: #ffffff;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .builder-preview-col {
    position: static !important;
  }
}

@media (max-width: 640px) {
  .topbar {
    height: 58px;
    padding: 0 14px;
    gap: 8px;
  }

  .mobile-hamburger-btn {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
  }

  .topbar .page-heading {
    display: none !important;
  }

  .topbar .search-trigger,
  .topbar .top-actions .btn-secondary {
    display: none;
  }

  .topbar .notification,
  .topbar .avatar-top {
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
  }

  .builder-page {
    padding: 14px 12px calc(92px + env(safe-area-inset-bottom)) !important;
  }

  .builder-toolbar {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
    padding: 12px !important;
  }

  .builder-toolbar>div {
    flex-wrap: wrap;
    gap: 8px !important;
  }

  .builder-toolbar .btn {
    min-height: 42px;
  }
}


/* ==========================================================================
   PREMIUM TEMPLATE LIBRARY STYLES (18 Professional Templates)
   ========================================================================== */

/* --- Collection A: Minimal & Luxury --- */
.wt-public-midnight-elegance {
  background: #0A0A0A !important;
  color: #FFFFFF !important;
}

.wt-public-midnight-elegance .wt-cover-hero {
  display: none !important;
}

.wt-public-midnight-elegance .wt-avatar {
  border: 2px solid #D4AF6A !important;
  box-shadow: 0 0 24px rgba(212, 175, 106, 0.25) !important;
}

.wt-public-midnight-elegance .link-card,
.wt-public-midnight-elegance .wt-anim-card {
  border: 1px solid #2A2A2A !important;
  background: #111111 !important;
  transition: all 0.2s ease !important;
}

.wt-public-midnight-elegance .link-card:hover {
  border-color: #D4AF6A !important;
  box-shadow: 0 4px 16px rgba(212, 175, 106, 0.15) !important;
}

.wt-public-noir-classic {
  background: #080808 !important;
  color: #F5F5F5 !important;
}

.wt-public-noir-classic .wt-cover-hero {
  display: none !important;
}

.wt-public-noir-classic .wt-avatar {
  border-radius: 0 !important;
  border: 1.5px solid #FFFFFF !important;
}

.wt-public-noir-classic .link-card,
.wt-public-noir-classic .wt-anim-card {
  border-radius: 0 !important;
  border: 1px solid #2E2E2E !important;
  background: #121212 !important;
  letter-spacing: 0.04em !important;
}

.wt-public-noir-classic .link-card:hover {
  border-color: #FFFFFF !important;
}

.wt-public-ivory-minimal {
  background: #FAFAF7 !important;
  color: #1A1A1A !important;
}

.wt-public-ivory-minimal .wt-cover-hero {
  display: none !important;
}

.wt-public-ivory-minimal .wt-avatar {
  border-radius: 4px !important;
  border: 1px solid #E8E0D5 !important;
}

.wt-public-ivory-minimal .link-card {
  background: #FFFFFF !important;
  border: 1px solid #E8E0D5 !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(139, 111, 71, 0.04) !important;
}

.wt-public-editorial-muse {
  background: #F7F3EE !important;
  color: #1A1A2E !important;
}

.wt-public-editorial-muse .wt-avatar {
  border-radius: 2px !important;
  border-left: 4px solid #E63946 !important;
}

.wt-public-editorial-muse .link-card {
  border-left: 3px solid #E63946 !important;
  background: #FFFFFF !important;
  border-radius: 4px !important;
}

.wt-public-monochrome-pro {
  background: #F5F5F5 !important;
  color: #111111 !important;
}

.wt-public-monochrome-pro .wt-profile-section {
  align-items: flex-start !important;
  text-align: left !important;
}

.wt-public-monochrome-pro .wt-avatar {
  border-radius: 8px !important;
}

.wt-public-monochrome-pro .link-card {
  border-radius: 8px !important;
  background: #FFFFFF !important;
  border: 1px solid #E0E0E0 !important;
}

/* --- Collection B: Creators & Influencers --- */
.wt-public-fashion-creator {
  background: #FAF7FF !important;
}

.wt-public-fashion-creator .wt-cover-hero {
  min-height: 180px !important;
}

.wt-public-fashion-creator .link-card {
  border-radius: 999px !important;
  border: 1px solid #F0E8F5 !important;
  box-shadow: 0 4px 14px rgba(233, 30, 140, 0.08) !important;
}

.wt-public-lifestyle-journal {
  background: #FBF8F4 !important;
}

.wt-public-lifestyle-journal .wt-cover-hero {
  display: none !important;
}

.wt-public-lifestyle-journal .wt-avatar {
  border-radius: 6px !important;
  border: 2px solid #E8DDD0 !important;
}

.wt-public-lifestyle-journal .link-card {
  border-radius: 8px !important;
  background: #FFFFFF !important;
  border: 1px solid #E8DDD0 !important;
}

.wt-public-beauty-influencer {
  background: #FEF0F5 !important;
}

.wt-public-beauty-influencer .wt-cover-hero {
  display: none !important;
}

.wt-public-beauty-influencer .wt-avatar {
  border: 3px solid #FF8FA3 !important;
  box-shadow: 0 4px 20px rgba(255, 143, 163, 0.25) !important;
}

.wt-public-beauty-influencer .link-card {
  border-radius: 999px !important;
  border: 1px solid #F5D6E8 !important;
  background: #FFFFFF !important;
}

.wt-public-travel-explorer {
  background: #F0F9FF !important;
}

.wt-public-travel-explorer .wt-cover-hero {
  min-height: 180px !important;
}

.wt-public-travel-explorer .link-card {
  border-radius: 12px !important;
  border: 1px solid #C8E6F5 !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 105, 148, 0.06) !important;
}

.wt-public-content-creator-pro {
  background: #0A0A0F !important;
  color: #FFFFFF !important;
}

.wt-public-content-creator-pro .wt-cover-hero {
  display: none !important;
}

.wt-public-content-creator-pro .wt-avatar {
  border: 2px solid #FF0050 !important;
  box-shadow: 0 0 20px rgba(255, 0, 80, 0.3) !important;
}

.wt-public-content-creator-pro .link-card {
  background: #141420 !important;
  border: 1px solid #2A2A3E !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
}

.wt-public-content-creator-pro .link-card:hover {
  border-color: #00B4D8 !important;
  box-shadow: 0 0 16px rgba(0, 180, 216, 0.25) !important;
}

/* --- Collection C: Business & Services --- */
.wt-public-olive-serenity {
  background: #F7F5EE !important;
}

.wt-public-olive-serenity .wt-cover-hero {
  display: none !important;
}

.wt-public-olive-serenity .wt-avatar {
  border: 2px solid #8B9E5A !important;
}

.wt-public-olive-serenity .link-card {
  background: #FDFCF8 !important;
  border: 1px solid #D8D5C4 !important;
  border-radius: 10px !important;
}

.wt-public-personal-consultant .wt-profile-section {
  align-items: flex-start !important;
  text-align: left !important;
}

.wt-public-personal-consultant .link-card {
  border-radius: 10px !important;
  border: 1px solid #D1DCF0 !important;
}

.wt-public-creative-portfolio .link-card {
  border-radius: 8px !important;
  border: 1px solid #E5D9FF !important;
}

.wt-public-digital-business-card-pro .wt-action-buttons {
  flex-direction: column !important;
  gap: 10px !important;
}

.wt-public-digital-business-card-pro .link-card {
  border-radius: 12px !important;
  border: 1px solid #C8D8F5 !important;
}

.wt-public-professional-agency .link-card {
  border-radius: 6px !important;
  border: 1px solid #D5DDE8 !important;
}

/* --- Collection D: Premium Interactive & Glassmorphism --- */
.wt-public-aurora-gradient {
  background: linear-gradient(135deg, #0D1B2A 0%, #1B0A3B 50%, #0A2A1B 100%) !important;
  color: #FFFFFF !important;
  min-height: 100vh;
}

.wt-public-aurora-gradient .wt-cover-hero {
  display: none !important;
}

.wt-public-aurora-gradient .wt-avatar {
  border: 2px solid #00FFD1 !important;
  box-shadow: 0 0 24px rgba(0, 255, 209, 0.35) !important;
}

.wt-public-aurora-gradient .link-card,
.wt-public-aurora-gradient .wt-anim-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
  transition: all 0.25s ease !important;
}

.wt-public-aurora-gradient .link-card:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #00FFD1 !important;
  box-shadow: 0 0 20px rgba(0, 255, 209, 0.3) !important;
  transform: translateY(-2px);
}

.wt-public-neo-glass {
  background: linear-gradient(135deg, #0A0E27 0%, #0D1B4B 100%) !important;
  color: #FFFFFF !important;
  min-height: 100vh;
}

.wt-public-neo-glass .wt-cover-hero {
  display: none !important;
}

.wt-public-neo-glass .wt-avatar {
  border-radius: 16px !important;
  border: 2px solid #00D4FF !important;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3) !important;
}

.wt-public-neo-glass .link-card,
.wt-public-neo-glass .wt-anim-card {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(0, 212, 255, 0.22) !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
  transition: all 0.25s ease !important;
}

.wt-public-neo-glass .link-card:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #00D4FF !important;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35) !important;
  transform: translateY(-2px);
}

.wt-public-bento-studio {
  background: #F4F4F5 !important;
  color: #09090B !important;
}

.wt-public-bento-studio .wt-cover-hero {
  display: none !important;
}

.wt-public-bento-studio .wt-avatar {
  border-radius: 16px !important;
}

.wt-public-bento-studio .link-card,
.wt-public-bento-studio .wt-anim-card {
  border-radius: 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #E4E4E7 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {

  .wt-public-aurora-gradient .link-card,
  .wt-public-neo-glass .link-card,
  .wt-anim-card {
    transition: none !important;
    transform: none !important;
  }
}


/* ==========================================================================
   MOBILE-FIRST RESPONSIVE ARCHITECTURE & WORDPRESS ADMIN BAR COMPATIBILITY
   ========================================================================== */

/* Universal viewport containment — eliminates horizontal scroll on mobile */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

#root,
.app-shell {
  max-width: 100vw;
  overflow-x: hidden;
}

/* WordPress Admin Bar Compatibility (#wpadminbar height: 32px desktop, 46px mobile) */
body.admin-bar .app-shell,
body:has(#wpadminbar) .app-shell {
  padding-top: 0 !important;
}

body.admin-bar .topbar,
body:has(#wpadminbar) .topbar {
  top: 32px;
}

body.admin-bar .sidebar,
body:has(#wpadminbar) .sidebar {
  top: 32px;
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {

  body.admin-bar .app-shell,
  body:has(#wpadminbar) .app-shell {
    padding-top: 0 !important;
  }

  body.admin-bar .topbar,
  body:has(#wpadminbar) .topbar {
    top: 46px;
  }

  body.admin-bar .sidebar,
  body:has(#wpadminbar) .sidebar {
    top: 46px;
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }

  body.admin-bar .mobile-drawer-overlay,
  body:has(#wpadminbar) .mobile-drawer-overlay {
    top: 46px;
    height: calc(100% - 46px);
  }
}

/* Mobile-First Dashboard Welcome Section & Actions */
@media screen and (max-width: 820px) {

  .welcome,
  .dashboard .welcome {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    margin-top: 4px !important;
    margin-bottom: 20px !important;
  }

  .welcome>div:first-child,
  .dashboard .welcome>div:first-child,
  .welcome-text-block {
    width: 100% !important;
  }

  .welcome-actions,
  .dashboard .welcome-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 4px !important;
  }

  .welcome-actions .btn,
  .dashboard .welcome-actions .btn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
  }

  .welcome-actions .btn-secondary,
  .welcome-actions .btn-primary {
    display: inline-flex !important;
    font-size: 13px !important;
  }
}

/* Responsive Table & Overflow Containers */
.table-responsive,
.top-links {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Minimum 44px touch targets across all mobile buttons and interactive items */
@media (max-width: 768px) {

  button:not(.btn-sm):not(.color-dot):not(.icon-btn-micro),
  .btn:not(.btn-sm),
  input[type="button"],
  input[type="submit"],
  .wt-bottom-nav-item,
  .mobile-hamburger-btn {
    min-height: 44px;
  }
}

/* ==========================================================================
   Bloom AI Professional SaaS Admin Dashboard (shadcn-admin Pattern)
   ========================================================================== */

.admin-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
}

.admin-breadcrumbs strong {
  color: var(--navy-headings, #062B5B);
  font-weight: 700;
}

.admin-segmented-tabs {
  background: #F1F5F9;
  padding: 4px;
  border-radius: 10px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border: 1px solid #E2E8F0;
  margin-bottom: 24px;
}

.admin-segmented-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 7px;
  user-select: none;
}

.admin-segmented-tab:hover {
  color: var(--navy-headings, #062B5B);
  background: rgba(255, 255, 255, 0.6);
}

.admin-segmented-tab.active {
  background: #FFFFFF;
  color: var(--primary-blue, #003B8F);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.admin-badge-count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 10px;
  background: #E2E8F0;
  color: #334155;
  font-weight: 700;
}

.admin-segmented-tab.active .admin-badge-count {
  background: #EAF3FF;
  color: #003B8F;
}

/* Batch Operations Action Bar */
.admin-batch-bar {
  background: var(--navy-headings, #062B5B);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 10px;
  margin: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-batch-bar strong {
  font-size: 13px;
  letter-spacing: 0.3px;
}

.admin-batch-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-batch-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.admin-batch-btn.primary {
  background: #10B981;
  color: #FFFFFF;
}

.admin-batch-btn.primary:hover {
  background: #059669;
}

.admin-batch-btn.danger {
  background: #EF4444;
  color: #FFFFFF;
}

.admin-batch-btn.danger:hover {
  background: #DC2626;
}

.admin-batch-btn.secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.admin-batch-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 2-Column Overview Dashboard */
.admin-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* Quick Action Tiles */
.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.admin-quick-card {
  background: #FFFFFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 59, 143, 0.08);
  border-color: #93C5FD;
}

.admin-quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #EFF6FF;
  color: var(--primary-blue, #003B8F);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.admin-quick-card h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-headings, #062B5B);
}

.admin-quick-card p {
  margin: 0;
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
}

/* Mobile Stacked Card View for Users Table */
.admin-mobile-cards-wrap {
  display: none;
}

@media (max-width: 768px) {
  .admin-table-desktop-view {
    display: none;
  }

  .admin-mobile-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
}

.admin-user-card {
  background: #FFFFFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-user-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-user-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-user-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid var(--border, #E2E8F0);
  padding-top: 10px;
  margin-top: 4px;
}



/* ==========================================================================
   BLOOM AI — PREMIUM MOTION DESIGN SYSTEM & MICRO-INTERACTIONS
   60fps GPU-Accelerated, Intentional, Polished & Accessible
   ========================================================================== */

/* 1. Page Transitions */
.page-transition-wrapper {
  animation: pageEntrance 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pageEntrance {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

/* 2. Staggered Dashboard Section Reveals */
.dashboard>* {
  animation: cardFadeUp 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dashboard>*:nth-child(1) {
  animation-delay: 0.03s;
}

.dashboard>*:nth-child(2) {
  animation-delay: 0.06s;
}

.dashboard>*:nth-child(3) {
  animation-delay: 0.09s;
}

.dashboard>*:nth-child(4) {
  animation-delay: 0.12s;
}

.dashboard>*:nth-child(5) {
  animation-delay: 0.15s;
}

.dashboard>*:nth-child(6) {
  animation-delay: 0.18s;
}

@keyframes cardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Interactive Cards, Quick Actions & Metric Elevators */
.card {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s ease;
}

.card:hover {
  border-color: rgba(46, 184, 114, 0.32);
}

.metric-card {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(46, 184, 114, 0.14), 0 2px 6px -1px rgba(35, 51, 43, 0.04);
  border-color: rgba(46, 184, 114, 0.4);
}

.quick-action-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.quick-action-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand-primary, #2EB872) !important;
  box-shadow: 0 8px 20px -2px rgba(46, 184, 114, 0.16), 0 2px 6px rgba(35, 51, 43, 0.04);
}

.quick-action-btn:hover span:first-child {
  transform: scale(1.1);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-action-btn:active {
  transform: scale(0.97) translateY(0);
}

/* 4. Smooth Chart Animations */
.line-chart .line {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: lineReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lineReveal {
  to {
    stroke-dashoffset: 0;
  }
}

.line-chart .area {
  animation: areaFadeIn 1.4s ease forwards;
}

@keyframes areaFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.line-chart circle {
  transition: r 0.18s cubic-bezier(0.16, 1, 0.3, 1), fill 0.18s ease;
  cursor: pointer;
}

.line-chart circle:hover {
  r: 6.5;
  fill: var(--brand-accent, #FF8A1F) !important;
}

/* 5. Progress Bars & Metric Rings */
.progress span {
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: linear-gradient(90deg, #2EB872, #1E8F57) !important;
  border-radius: 999px;
}

.completion-ring {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.completion-card:hover .completion-ring {
  transform: scale(1.05);
}

/* 6. Form Inputs & Interactive Feedback */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="number"],
select,
textarea {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  border-color: var(--brand-primary, #2EB872) !important;
  box-shadow: 0 0 0 3px rgba(46, 184, 114, 0.2) !important;
}

/* 7. Dropdown & Modal Popovers */
.overlay {
  animation: overlayFadeIn 0.2s ease forwards;
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.search-modal,
.add-modal,
.modal-content,
.webtree-modal-content {
  animation: modalScaleIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.top-actions>div[style*="position: absolute"] {
  animation: dropdownSlideIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 8. Table & List Row Hover Polish */
.link-row {
  transition: background-color 0.16s ease, transform 0.16s ease !important;
}

.link-row:hover {
  background-color: rgba(230, 247, 236, 0.45) !important;
  transform: translateX(2px);
}

.link-info strong {
  transition: color 0.15s ease;
}

.link-row:hover .link-info strong {
  color: var(--brand-primary, #2EB872);
}

/* 9. Segmented Control & Tab Micro-Interactions */
.segmented {
  background: #E6F7EC;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.segmented button {
  border-radius: 8px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 500;
}

.segmented button.selected {
  background: #FFFFFF;
  color: var(--brand-primary-hover, #1E8F57);
  box-shadow: 0 2px 8px rgba(35, 51, 43, 0.08);
  font-weight: 700;
}

.segmented button:not(.selected):hover {
  color: var(--brand-primary, #2EB872);
  background: rgba(255, 255, 255, 0.5);
}

/* 10. Shimmer Loading & Skeleton Reveal */
.skeleton-shimmer,
.loading-shimmer {
  background: linear-gradient(90deg, #E6F7EC 25%, #FAFFF5 50%, #E6F7EC 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* 11. Live Pulse Indicator */
@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 184, 114, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(46, 184, 114, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 184, 114, 0);
  }
}

.welcome span[style*="Live & Published"] span:first-child {
  animation: pulseDot 2s infinite ease-in-out;
}

/* 12. Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 13. Icon Picker Dropdown Animation */
@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   14. SIGNATURE BOTANICAL MOTION & INTERACTION SUITE
   ========================================================================== */

/* Rotating Glowing Gradient Border for Pro / Popular SaaS Cards */
.pro-card-glow {
  position: relative;
  isolation: isolate;
}

.pro-card-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: conic-gradient(from 0deg, #247B62, #F5A623, #5BE3A8, #FF7A59, #247B62);
  z-index: -1;
  opacity: 0.85;
  filter: blur(5px);
  animation: rotateGradient 6s linear infinite;
}

@keyframes rotateGradient {
  0% {
    filter: hue-rotate(0deg) blur(5px);
  }

  50% {
    filter: hue-rotate(45deg) blur(7px);
  }

  100% {
    filter: hue-rotate(0deg) blur(5px);
  }
}

/* Gold Badge Pulse */
@keyframes goldBadgePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 16px 3px rgba(245, 166, 35, 0.6);
  }
}

.gold-badge-pulse {
  animation: goldBadgePulse 2.8s ease-in-out infinite;
}

/* Button Micro-Interactions: Arrow Slide, Magnetic Hover, Ripple */
.marketing-btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

.marketing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(36, 123, 98, 0.28);
}

.marketing-btn:hover svg {
  transform: translateX(4px);
}

.marketing-btn svg {
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.marketing-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(24, 52, 76, 0.08);
  border-color: var(--botanical-green, #247B62);
}

/* Interactive Bento Card Hover Effect */
.bento-card {
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(24, 52, 76, 0.09);
  border-color: rgba(36, 123, 98, 0.4) !important;
}

/* Animated Underline for Links */
.desktop-nav-links a {
  position: relative;
  text-decoration: none;
}

.desktop-nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--botanical-green, #247B62);
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav-links a:hover::after {
  width: 100%;
}

/* Drifting Botanical Leaf Particles */
@keyframes driftParticle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.25;
  }

  50% {
    transform: translateY(-16px) rotate(8deg);
    opacity: 0.6;
  }

  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.25;
  }
}

.drift-particle {
  animation: driftParticle 6.5s ease-in-out infinite;
}

/* ==========================================================================
   15. REDESIGNED PRO HIGHLIGHT & PRICING COMPONENTS
   ========================================================================== */

@keyframes rotateConicPro {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.pro-card-wrapper {
  position: relative;
  height: 100%;
  transform: translateY(-12px) scale(1.04);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  z-index: 2;
}

.pro-card-outer {
  position: relative;
  border-radius: 20px;
  padding: 2.5px;
  overflow: hidden;
  box-shadow: 0 20px 45px -15px rgba(36, 123, 98, 0.22), 0 0 35px rgba(245, 166, 35, 0.12);
  height: 100%;
}

.pro-card-outer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #247B62 0%, #5BE3A8 28%, #F5A623 58%, #247B62 100%);
  animation: rotateConicPro 4s linear infinite;
  z-index: 0;
}

.pro-card-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #E8F2EB 0%, #FFFCF7 28%);
  border-radius: 18px;
  padding: 32px;
  color: var(--primary-navy, #18344C);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Popular Gold Badge with Pulse and Shine Sweep */
@keyframes badgeShineSweep {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }

  40%,
  100% {
    transform: translateX(250%) skewX(-20deg);
  }
}

.popular-gold-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bloom-gold, #F5A623);
  color: var(--primary-navy, #18344C);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.45);
  animation: goldBadgePulse 2.8s ease-in-out infinite;
  z-index: 20;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.popular-gold-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: badgeShineSweep 3.5s ease-in-out infinite;
}

/* Standard Plan Card */
.standard-plan-card {
  padding: 32px;
  border-radius: 18px;
  background: #FFFFFF;
  color: var(--primary-navy, #18344C);
  border: 1px solid var(--border, #E8DED1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 14px rgba(24, 52, 76, 0.04);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.2s ease;
}

.standard-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(24, 52, 76, 0.08);
  border-color: rgba(36, 123, 98, 0.3);
}

/* Green Filled Pro CTA button with Gold Glow */
.pro-cta-btn {
  background: var(--botanical-green, #247B62);
  color: #FFF4E6;
  border: none;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(36, 123, 98, 0.28);
}

.pro-cta-btn:hover {
  background: var(--dark-green, #185C49);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(36, 123, 98, 0.38), 0 0 18px rgba(245, 166, 35, 0.35);
  transform: translateY(-2px);
}

/* Responsive Overrides for Floating Navbar and Hero Mockups */
@media (max-width: 900px) {
  .desktop-nav-links {
    display: none !important;
  }

  .nav-actions a:first-child {
    display: none !important;
  }

  .hero-floating-card,
  .hero-floating-qr {
    display: none !important;
  }

  .menu-button {
    display: grid !important;
    place-items: center;
  }
}

/* ==========================================================================
   16. CENTRAL MOTION MICRO-INTERACTIONS
   ========================================================================== */

@keyframes inputShake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-5px);
  }

  40%,
  80% {
    transform: translateX(5px);
  }
}

.input-shake {
  animation: inputShake 0.35s ease-in-out;
}

/* Button & Card Micro-Interactions */
button,
.btn,
.marketing-btn {
  transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.15s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button:active,
.btn:active,
.marketing-btn:active {
  transform: scale(0.97) translateY(0);
}

.card,
.bento-card,
.standard-plan-card {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.2s ease;
}






/* ==========================================================================
   17. PREMIUM AUTHENTICATION PAGES (Login, Register, Recovery)
   ========================================================================== */

.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 12% 18%, rgba(36, 123, 98, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(245, 166, 35, 0.07) 0%, transparent 45%),
    var(--warm-cream, #FFF4E6);
  padding: 48px 24px;
  position: relative;
  overflow-x: hidden;
}

.auth-two-col-layout {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 960px) {
  .auth-two-col-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 480px;
  }
}

/* Left Branding & Storytelling Column */
.auth-brand-col {
  display: flex;
  flex-direction: column;
}

.auth-brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 28px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--botanical-green, #247B62);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.auth-headline {
  font: 700 40px/1.18 'Playfair Display', Georgia, serif;
  color: var(--primary-navy, #18344C);
  margin: 0 0 16px;
  letter-spacing: -0.4px;
}

.auth-subtext {
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary-text, #66747A);
  margin: 0 0 36px;
  max-width: 460px;
}

/* Subtle Visual Composition for Storytelling */
.auth-preview-card {
  background: #FFFFFF;
  border: 1px solid var(--border, #E8DED1);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 18px 44px -10px rgba(24, 52, 76, 0.10);
  position: relative;
  max-width: 440px;
}

.auth-floating-chip {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border, #E8DED1);
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(24, 52, 76, 0.08);
}

@media (max-width: 960px) {
  .auth-brand-col {
    text-align: center;
    align-items: center;
  }

  .auth-headline {
    font-size: 30px;
  }

  .auth-subtext {
    margin-bottom: 20px;
  }

  .auth-preview-card {
    display: none;
  }
}

/* Right Authentication Card Column */
.auth-card-col {
  display: flex;
  justify-content: center;
  width: 100%;
}

.auth-card {
  background: #FFFFFF;
  border: 1px solid var(--border, #E8DED1);
  border-radius: 22px;
  padding: 40px 36px;
  box-shadow: 0 20px 48px -12px rgba(24, 52, 76, 0.09), 0 2px 6px rgba(24, 52, 76, 0.03);
  width: 100%;
  max-width: 460px;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 20px;
    border-radius: 18px;
  }
}

.auth-card-header {
  margin-bottom: 28px;
}

.auth-card-title {
  font: 700 26px 'Playfair Display', Georgia, serif;
  color: var(--primary-navy, #18344C);
  margin: 0 0 6px;
}

.auth-card-desc {
  font-size: 14px;
  color: var(--secondary-text, #66747A);
  margin: 0;
  line-height: 1.5;
}

/* Form Fields */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
  text-align: left;
}

.auth-field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.auth-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-navy, #18344C);
}

.auth-link-subtle {
  font-size: 13px;
  font-weight: 600;
  color: var(--botanical-green, #247B62);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.auth-link-subtle:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.auth-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--border, #E8DED1);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--primary-navy, #18344C);
  background: #FFFFFF;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.auth-input::placeholder {
  color: #9AA6AC;
}

.auth-input:focus {
  outline: none;
  border-color: var(--botanical-green, #247B62);
  box-shadow: 0 0 0 3.5px rgba(36, 123, 98, 0.16);
}

.auth-input.has-error {
  border-color: #E53E3E;
  background-color: #FFF9F9;
}

.auth-input.has-error:focus {
  box-shadow: 0 0 0 3.5px rgba(229, 62, 62, 0.18);
}

/* Password Input with Embedded Toggle */
.auth-password-wrap {
  position: relative;
  width: 100%;
}

.auth-password-wrap .auth-input {
  padding-right: 48px;
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: var(--secondary-text, #66747A);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.auth-password-toggle:hover {
  color: var(--primary-navy, #18344C);
}

/* Password Strength Indicator */
.auth-strength-meter {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-strength-bars {
  display: flex;
  gap: 4px;
  height: 4px;
}

.auth-strength-bar {
  flex: 1;
  border-radius: 2px;
  background: #E8DED1;
  transition: background-color 0.25s ease;
}

.auth-strength-label {
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

/* Checkbox Row */
.auth-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--secondary-text, #66747A);
  line-height: 1.45;
  text-align: left;
}

.auth-checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--botanical-green, #247B62);
  cursor: pointer;
  flex-shrink: 0;
}

.auth-checkbox-row a {
  color: var(--botanical-green, #247B62);
  text-decoration: underline;
  font-weight: 600;
}

/* Primary Submit Button */
.auth-submit-btn {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: var(--botanical-green, #247B62);
  color: #FFF4E6;
  font-size: 15px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(36, 123, 98, 0.28);
  transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.15s ease, background-color 0.2s ease;
  font-family: inherit;
}

.auth-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(36, 123, 98, 0.36);
  background-color: var(--dark-green, #185C49);
}

.auth-submit-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Alert Banners */
.auth-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #FFF1F0;
  border: 1px solid #FFA39E;
  border-radius: 10px;
  color: #CF1322;
  font-size: 13.5px;
  margin-bottom: 20px;
  animation: inputShake 0.35s ease;
  text-align: left;
}

.auth-card-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--secondary-text, #66747A);
}

/* ==========================================================================
   Bloom AI Device Simulator & Realistic Preview Modal
   ========================================================================== */
.hide-device-scrollbar {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.hide-device-scrollbar::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.preview-modal-grid {
  display: grid;
  grid-template-columns: minmax(340px, 390px) 1fr;
  gap: 32px;
  max-width: 1020px;
  width: 100%;
  max-height: min(840px, 92vh);
  background: #FFFFFF;
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(10, 24, 38, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15);
  padding: 28px 32px;
  position: relative;
  overflow-y: auto;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .preview-modal-grid {
    grid-template-columns: 1fr !important;
    max-height: 94vh !important;
    overflow-y: auto !important;
    padding: 24px 20px !important;
    gap: 24px !important;
  }

  .preview-device-stage {
    order: 2;
  }

  .preview-info-panel {
    order: 1;
  }

  .phone-simulator-frame {
    width: min(340px, 92vw) !important;
    height: 600px !important;
  }
}

.auth-card-footer a {
  color: var(--botanical-green, #247B62);
  font-weight: 700;
  text-decoration: none;
}

.auth-card-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE MARKETING NAVBAR & HERO SYSTEM
   Breakpoints: Base (320px), 360px, 375px, 414px, 768px, 901px+
   ========================================================================== */

/* Universal viewport & overflow lockdown */
html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.marketing-site-root {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.marketing-site-root > main {
  flex: 1 0 auto;
}

.marketing-footer,
.home-footer,
footer.home-footer,
#colophon {
  flex-shrink: 0;
  margin-bottom: 0 !important;
}

/* Base Mobile Navbar (from 320px) — Firmly anchored to the top of viewport */
.home-nav-outer,
.mobile-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  z-index: 1000 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: max(8px, env(safe-area-inset-top, 8px)) 12px 8px !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  margin: 0 !important;
  transform: none !important;
  transition: background 0.24s ease, backdrop-filter 0.24s ease, box-shadow 0.24s ease, padding 0.24s ease !important;
}

/* Scrolled state: frosted warm-cream shelf hides content passing behind the top padding */
.home-nav-outer.is-scrolled,
.mobile-header.is-scrolled {
  background: rgba(255, 244, 230, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(232, 222, 209, 0.6) !important;
  box-shadow: 0 4px 16px -2px rgba(24, 52, 76, 0.06) !important;
}

/* WordPress Admin Bar Compatibility (#wpadminbar: 32px desktop, 46px mobile) */
body.admin-bar #wpadminbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
}
body.admin-bar .home-nav-outer,
body.admin-bar .mobile-header {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar #wpadminbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
  }
  body.admin-bar .home-nav-outer,
  body.admin-bar .mobile-header {
    top: 46px !important;
  }
}

.home-navbar,
.mobile-navbar {
  pointer-events: auto !important;
  position: relative !important;
  max-width: 1140px !important;
  width: 100% !important;
  height: 52px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  margin: 0 auto !important;
  transform: none !important;
  background: rgba(255, 252, 247, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid var(--border, #E8DED1) !important;
  box-shadow: 0 6px 20px -4px rgba(24, 52, 76, 0.08) !important;
  transition: background 0.24s ease, box-shadow 0.24s ease, height 0.24s ease !important;
}

.home-navbar.is-scrolled,
.mobile-navbar.is-scrolled {
  background: rgba(255, 252, 247, 0.98) !important;
  box-shadow: 0 10px 24px -4px rgba(24, 52, 76, 0.12), 0 2px 6px rgba(24, 52, 76, 0.04) !important;
}

/* Header layout: logo on left, right-aligned flex group, justify-content: space-between, gap: 8px */
.home-navbar .nav-inner,
.mobile-navbar .nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  height: 100% !important;
}

/* Logo protected: flex-shrink: 0, responsive max-width so it never overflows or collides */
.home-navbar .nav-logo-link,
.mobile-navbar .nav-logo-link {
  min-width: 0 !important;
  max-width: 115px !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.home-navbar .bloom-logo-wrapper,
.mobile-navbar .bloom-logo-wrapper {
  min-width: 0 !important;
  max-width: 100% !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

.home-navbar .bloom-logo-wrapper img,
.home-navbar .bloom-logo-img,
.mobile-navbar .bloom-logo-wrapper img,
.mobile-navbar .bloom-logo-img {
  height: 24px !important;
  max-height: 24px !important;
  max-width: 100% !important;
  width: auto !important;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
}

/* Right-aligned flex group: margin-left: auto, gap: 8px */
.home-navbar .nav-actions,
.mobile-navbar .nav-actions {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Hide desktop login in navbar header on mobile (present in drawer) */
.home-navbar .nav-actions .nav-login-link,
.mobile-navbar .nav-actions .nav-login-link {
  display: none !important;
}

/* Single-line primary CTA button: white-space: nowrap, flex-shrink: 0, compact mobile sizing */
.home-navbar .nav-cta-btn,
.mobile-navbar .nav-cta-btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  min-height: 0 !important;
  min-height: unset !important;
  height: 28px !important;
  max-height: 28px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  line-height: 28px !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  letter-spacing: -0.1px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  background: var(--botanical-green, #247B62) !important;
  color: #FFF4E6 !important;
  box-shadow: 0 2px 8px rgba(36, 123, 98, 0.18) !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

/* Menu hamburger button touch target (minimum 40x40px) with visible focus state */
.home-navbar .menu-button,
.mobile-navbar .menu-button {
  min-width: 40px !important;
  min-height: 40px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: var(--primary-navy, #18344C) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  touch-action: manipulation;
  transition: background-color 0.2s ease, border-color 0.2s ease, outline 0.2s ease;
}

.home-navbar .menu-button:hover,
.mobile-navbar .menu-button:hover {
  background: rgba(36, 123, 98, 0.08) !important;
}

.home-navbar .menu-button:focus-visible,
.mobile-navbar .menu-button:focus-visible {
  outline: 2px solid var(--botanical-green, #247B62) !important;
  outline-offset: 2px !important;
  background: rgba(36, 123, 98, 0.1) !important;
}

/* Requirement: Below 340px, hide CTA from header and show inside hamburger menu */
@media (max-width: 339px) {
  .home-navbar .nav-cta-btn,
  .mobile-navbar .nav-cta-btn {
    display: none !important;
  }
}

/* Breakpoint: 375px (Small Modern Mobile) */
@media (min-width: 375px) {
  .home-nav-outer,
  .mobile-header {
    padding: max(10px, env(safe-area-inset-top, 10px)) 14px 10px !important;
  }

  .home-navbar,
  .mobile-navbar {
    height: 54px !important;
    padding: 0 14px !important;
  }

  .home-navbar .nav-logo-link,
  .mobile-navbar .nav-logo-link {
    max-width: 125px !important;
  }

  .home-navbar .bloom-logo-wrapper img,
  .home-navbar .bloom-logo-img,
  .mobile-navbar .bloom-logo-wrapper img,
  .mobile-navbar .bloom-logo-img {
    height: 26px !important;
    max-height: 26px !important;
  }

  .home-navbar .nav-cta-btn,
  .mobile-navbar .nav-cta-btn {
    height: 28px !important;
    max-height: 28px !important;
    line-height: 28px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }
}

/* Breakpoint: 414px / 420px (iPhone Plus / Pro Max / Standard Mobile) */
@media (min-width: 414px) {
  .home-nav-outer,
  .mobile-header {
    padding: max(12px, env(safe-area-inset-top, 12px)) 16px 12px !important;
  }

  .home-navbar,
  .mobile-navbar {
    height: 56px !important;
    padding: 0 16px !important;
  }

  .home-navbar .nav-inner,
  .mobile-navbar .nav-inner {
    gap: 10px !important;
  }

  .home-navbar .nav-logo-link,
  .mobile-navbar .nav-logo-link {
    max-width: 135px !important;
  }

  .home-navbar .bloom-logo-wrapper img,
  .home-navbar .bloom-logo-img,
  .mobile-navbar .bloom-logo-wrapper img,
  .mobile-navbar .bloom-logo-img {
    height: 28px !important;
    max-height: 28px !important;
  }

  .home-navbar .nav-actions,
  .mobile-navbar .nav-actions {
    gap: 8px !important;
  }

  .home-navbar .nav-cta-btn,
  .mobile-navbar .nav-cta-btn {
    height: 29px !important;
    max-height: 29px !important;
    line-height: 29px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
  }
}

/* Breakpoint: 768px (Tablet) */
@media (min-width: 768px) {
  .home-nav-outer,
  .mobile-header {
    padding: 16px 20px !important;
  }

  .home-navbar,
  .mobile-navbar {
    height: 60px !important;
    padding: 0 20px !important;
  }

  .home-navbar .nav-inner,
  .mobile-navbar .nav-inner {
    gap: 14px !important;
  }

  .home-navbar .nav-logo-link,
  .mobile-navbar .nav-logo-link {
    max-width: 160px !important;
  }

  .home-navbar .bloom-logo-wrapper img,
  .home-navbar .bloom-logo-img,
  .mobile-navbar .bloom-logo-wrapper img,
  .mobile-navbar .bloom-logo-img {
    height: 32px !important;
    max-height: 32px !important;
  }

  .home-navbar .nav-cta-btn,
  .mobile-navbar .nav-cta-btn {
    height: 36px !important;
    max-height: 36px !important;
    line-height: 36px !important;
    padding: 0 15px !important;
    font-size: 13px !important;
  }

  .home-navbar .nav-actions .nav-login-link,
  .mobile-navbar .nav-actions .nav-login-link {
    display: inline-flex !important;
  }
}

/* Breakpoint: > 900px (Desktop Full Navigation) */
@media (min-width: 901px) {
  .home-nav-outer,
  .mobile-header {
    padding: 18px 24px !important;
  }

  .home-navbar,
  .mobile-navbar {
    height: 64px !important;
    padding: 0 20px !important;
  }

  .home-navbar .nav-cta-btn {
    height: 40px !important;
    max-height: 40px !important;
    line-height: 40px !important;
    padding: 0 20px !important;
    font-size: 13.5px !important;
  }

  .home-navbar .menu-button {
    display: none !important;
  }

  .home-navbar .desktop-nav-links {
    display: flex !important;
  }

  .home-navbar .nav-actions {
    margin-left: 0 !important;
    gap: 12px !important;
  }
}

/* Page Header Banner Fluid Responsive Typography (/templates & sub-pages) */
.page-header-banner {
  padding-top: max(104px, calc(env(safe-area-inset-top, 0px) + 80px)) !important;
  padding-bottom: 28px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  box-sizing: border-box !important;
}

body.admin-bar .page-header-banner {
  padding-top: max(150px, calc(env(safe-area-inset-top, 0px) + 126px)) !important;
}

@media (min-width: 414px) {
  .page-header-banner {
    padding-top: max(114px, calc(env(safe-area-inset-top, 0px) + 86px)) !important;
    padding-bottom: 34px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.admin-bar .page-header-banner {
    padding-top: max(160px, calc(env(safe-area-inset-top, 0px) + 132px)) !important;
  }
}

@media (min-width: 768px) {
  .page-header-banner {
    padding-top: 130px !important;
    padding-bottom: 60px !important;
  }

  body.admin-bar .page-header-banner {
    padding-top: 168px !important;
  }
}

.page-header-banner .page-header-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  font-size: clamp(26px, 7vw, 42px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  margin: 0 0 12px !important;
  word-break: break-word !important;
}

.page-header-banner .page-header-subtitle {
  font-size: clamp(14px, 3.8vw, 16px) !important;
  line-height: 1.55 !important;
  max-width: 640px !important;
  margin: 0 auto !important;
}

/* Home Hero Fluid Responsive Typography & Mobile Layout with Header Compensation */
.home-hero-section {
  padding-top: max(108px, calc(env(safe-area-inset-top, 0px) + 84px)) !important;
  padding-bottom: 54px !important;
  box-sizing: border-box !important;
}

body.admin-bar .home-hero-section {
  padding-top: max(154px, calc(env(safe-area-inset-top, 0px) + 130px)) !important;
}

@media (min-width: 414px) {
  .home-hero-section {
    padding-top: max(116px, calc(env(safe-area-inset-top, 0px) + 90px)) !important;
    padding-bottom: 60px !important;
  }

  body.admin-bar .home-hero-section {
    padding-top: max(162px, calc(env(safe-area-inset-top, 0px) + 136px)) !important;
  }
}

@media (min-width: 768px) {
  .home-hero-section {
    padding-top: 128px !important;
    padding-bottom: 72px !important;
  }

  body.admin-bar .home-hero-section {
    padding-top: 162px !important;
  }
}

@media (min-width: 901px) {
  .home-hero-section {
    padding-top: 144px !important;
    padding-bottom: 84px !important;
  }

  body.admin-bar .home-hero-section {
    padding-top: 176px !important;
  }
}

/* Hero Grid Layout */
.home-hero-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 36px !important;
  align-items: center !important;
}

@media (min-width: 901px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr) !important;
    gap: 60px !important;
  }
}

@media (max-width: 900px) {
  .home-hero-mockup-col {
    margin-top: 16px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .home-hero-text-col {
    text-align: center !important;
  }

  .home-hero-text-col .home-hero-sub {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home-hero-cta-group {
    justify-content: center !important;
  }

  .home-hero-checklist {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .home-hero-cta-group .marketing-btn,
  .home-hero-cta-group a {
    padding: 10px 20px !important;
    font-size: 13.5px !important;
  }
}

.home-hero-headline {
  font-size: clamp(28px, 8vw, 48px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  margin: 0 0 14px !important;
  word-break: break-word !important;
}

.home-hero-sub {
  font-size: clamp(14.5px, 4vw, 17px) !important;
  line-height: 1.55 !important;
  margin: 16px 0 28px !important;
}

/* Floating Hostinger Agent Button / Chat Overlap Protection */
[id*="hostinger"],
[class*="hostinger"],
[class*="agent-button"],
div[id*="ai-assistant"],
.floating-agent-btn,
button[aria-label*="Agent" i],
button[aria-label*="Hostinger" i] {
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  z-index: 9999;
}

@media (max-width: 480px) {
  [id*="hostinger"],
  [class*="hostinger"],
  [class*="agent-button"],
  div[id*="ai-assistant"],
  .floating-agent-btn {
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    transform: scale(0.85);
    transform-origin: bottom right;
  }
}



/* Hero Section Primary & Secondary CTA Buttons Responsive Sizing */
.home-hero-primary-btn {
  padding: 13px 28px !important;
  font-size: 15px !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.home-hero-secondary-btn {
  padding: 12px 24px !important;
  font-size: 14.5px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

@media (max-width: 640px) {
  .home-hero-primary-btn,
  .home-hero-cta-group .marketing-btn,
  .home-hero-cta-group a.home-hero-primary-btn {
    padding: 10px 18px !important;
    font-size: 13px !important;
    min-height: 38px !important;
    height: 38px !important;
  }

  .home-hero-secondary-btn,
  .home-hero-cta-group a.home-hero-secondary-btn {
    padding: 9px 16px !important;
    font-size: 12.5px !important;
    min-height: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 380px) {
  .home-hero-primary-btn,
  .home-hero-cta-group .marketing-btn,
  .home-hero-cta-group a.home-hero-primary-btn {
    padding: 8px 14px !important;
    font-size: 12px !important;
    min-height: 34px !important;
    height: 34px !important;
  }

  .home-hero-secondary-btn,
  .home-hero-cta-group a.home-hero-secondary-btn {
    padding: 7px 12px !important;
    font-size: 11.5px !important;
    min-height: 32px !important;
    height: 32px !important;
  }
}


/* ==========================================================================
   Scoped Non-Editable Text Selection Protection for Bloom AI Auth Pages
   Prevents unwanted full-page blue text selection / highlighting on branding,
   headings, testimonials, labels, buttons, and error banners while strictly
   preserving full native text selection inside form inputs and textareas.
   ========================================================================== */

.auth-page-wrapper,
.auth-two-col-layout,
.auth-brand-col,
.auth-brand-logo-link,
.auth-eyebrow,
.auth-headline,
.auth-subtext,
.auth-preview-card,
.auth-preview-card *,
.auth-floating-chip,
.auth-floating-chip *,
.auth-card-col,
.auth-card,
.auth-card-header,
.auth-card-title,
.auth-card-desc,
.auth-label,
.auth-field-label-row,
.auth-field-label-row span,
.auth-password-toggle,
.auth-strength-meter,
.auth-strength-meter *,
.auth-strength-bars,
.auth-strength-bar,
.auth-strength-label,
.auth-strength-label span,
.auth-error-banner,
.auth-error-banner span,
.auth-checkbox-row,
.auth-checkbox-row label,
.auth-submit-btn,
.auth-submit-btn *,
.auth-card-footer,
.auth-card-footer span,
.auth-split-wrapper,
.auth-form-panel,
.auth-form-container,
.auth-brand-badge,
.auth-alert,
.form-group label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Explicitly guarantee native text selection, cursor, and clipboard inside all form inputs */
.auth-page-wrapper input,
.auth-page-wrapper textarea,
.auth-split-wrapper input,
.auth-split-wrapper textarea,
.auth-input,
.form-group input,
.form-group textarea {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Allow normal text selection on legal policy links and anchor tags */
.auth-checkbox-row a,
.auth-card-footer a,
.auth-link-subtle,
.auth-split-wrapper a {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  user-select: auto;
}

/* Scoped selection styling: Clean brand green inside inputs, transparent on non-editable UI */
.auth-page-wrapper :not(input):not(textarea)::selection,
.auth-split-wrapper :not(input):not(textarea)::selection {
  background: transparent;
  color: inherit;
}
.auth-page-wrapper :not(input):not(textarea)::-moz-selection,
.auth-split-wrapper :not(input):not(textarea)::-moz-selection {
  background: transparent;
  color: inherit;
}
.auth-page-wrapper input::selection,
.auth-page-wrapper textarea::selection,
.auth-split-wrapper input::selection,
.auth-split-wrapper textarea::selection {
  background: rgba(36, 123, 98, 0.25) !important;
  color: inherit !important;
}
.auth-page-wrapper input::-moz-selection,
.auth-page-wrapper textarea::-moz-selection,
.auth-split-wrapper input::-moz-selection,
.auth-split-wrapper textarea::-moz-selection {
  background: rgba(36, 123, 98, 0.25) !important;
  color: inherit !important;
}
