:root {
  --dq-bg: #f4f6f8;
  --dq-surface: #ffffff;
  --dq-surface-2: #eef1f4;
  --dq-border: #e2e8f0;
  --dq-text: #0f172a;
  --dq-muted: #64748b;
  --dq-accent: #0f766e;
  --dq-accent-soft: #ccfbf1;
  --dq-teal-50: #f0fdfa;
  --dq-teal-800: #115e59;
  --dq-danger: #dc2626;
  --bg: var(--dq-bg);
  --card: var(--dq-surface);
  --text: var(--dq-text);
  --muted: var(--dq-muted);
  --teal: var(--dq-accent);
  --teal-700: #0f766e;
  --teal-soft: var(--dq-accent-soft);
  --teal-50: var(--dq-teal-50);
  --border: var(--dq-border);
  --danger: var(--dq-danger);
  --font: "Sora", "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "Sora", system-ui, sans-serif;
  --sidebar-w: 240px;
  --radius: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--dq-bg);
  color: var(--dq-text);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--dq-accent);
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(15, 118, 110, 0.2);
}

.dq-grid {
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(15, 118, 110, 0.08), transparent),
    var(--dq-bg);
  min-height: 100vh;
}

/* —— Logo —— */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--dq-text);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.logo img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}
.logo em {
  font-style: normal;
  color: var(--dq-accent);
}

/* —— Header (landing) —— */
.site-header {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .site-header {
    padding: 1.25rem 1.5rem;
  }
}

.site-nav {
  display: none;
  gap: 2rem;
  font-size: 0.875rem;
  color: #475569;
}
.site-nav a {
  color: inherit;
}
.site-nav a:hover {
  color: var(--dq-text);
}
@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #334155;
  border-radius: 2px;
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  border-bottom: 1px solid var(--dq-border);
  background: #fff;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu[hidden] {
  display: none !important;
}
.mobile-menu a {
  color: #334155;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
}
.mobile-menu a:hover {
  background: #f8fafc;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.hide-sm {
  display: none;
}
@media (min-width: 640px) {
  .hide-sm {
    display: inline-flex;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.75rem;
  padding: 0 1.25rem;
  height: 2.75rem;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  background: var(--dq-accent);
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, filter 0.15s ease;
}
.btn:hover {
  background: #0e6b63;
}
.btn:active {
  transform: scale(0.98);
}
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}
.btn.outline {
  background: #fff;
  color: #1e293b;
  border: 1px solid var(--dq-border);
}
.btn.outline:hover {
  background: #f8fafc;
}
.btn.ghost {
  background: transparent;
  color: #475569;
  border: 0;
}
.btn.ghost:hover {
  color: var(--dq-text);
  background: #f1f5f9;
}
.btn.secondary {
  background: #f1f5f9;
  color: var(--dq-text);
}
.btn.secondary:hover {
  background: #e2e8f0;
}
.btn.danger {
  background: var(--dq-danger);
  color: #fff;
}
.btn.danger:hover {
  background: #b91c1c;
}
.btn.soft {
  background: var(--dq-teal-50);
  color: var(--dq-teal-800);
}
.btn.sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  border-radius: 0.5rem;
}
.btn.lg {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 1rem;
  border-radius: 1rem;
}
.btn.icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}
.btn.w-full {
  width: 100%;
}

/* —— Forms —— */
.input,
.textarea,
.select {
  display: flex;
  width: 100%;
  height: 2.75rem;
  border: 1px solid var(--dq-border);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  background: #fff;
  color: var(--dq-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.textarea {
  height: auto;
  min-height: 5rem;
  padding: 0.75rem 1rem;
  resize: vertical;
}
.input::placeholder,
.textarea::placeholder {
  color: #94a3b8;
}
.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--dq-accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
.label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 0.375rem;
  color: #334155;
}
.field {
  margin-bottom: 1rem;
}
.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--dq-muted);
}

/* —— Cards & page chrome —— */
.card {
  background: var(--dq-surface);
  border: 1px solid var(--dq-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dq-text);
}
.card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--dq-muted);
}
.card .step {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dq-accent);
}
.card.feature {
  padding: 1.25rem;
}
.card.feature .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--dq-teal-50);
  color: var(--dq-accent);
  display: grid;
  place-items: center;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.card.feature h3 {
  margin-top: 0;
}
.card-link {
  display: block;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
}
.card-link:hover {
  border-color: #99f6e4;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.08);
}
.card-link strong {
  color: var(--dq-text);
  font-size: 0.9375rem;
}

.page-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dq-text);
  margin: 0;
}
.page-desc {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--dq-muted);
}

.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1280px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--dq-border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: var(--dq-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.stat-card .stat-ico svg {
  width: 1.25rem;
  height: 1.25rem;
}
.stat-card .stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  margin: 0;
}
.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dq-text);
  margin: 0.1rem 0 0;
  letter-spacing: -0.02em;
}

.flash {
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.flash.ok {
  background: #ecfdf5;
  color: #065f46;
}
.flash.err {
  background: #fff1f2;
  color: #9f1239;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table th,
.table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--dq-border);
}
.table th {
  font-weight: 600;
  color: #475569;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.muted {
  color: var(--dq-muted);
  font-size: 0.875rem;
}

.grid2 {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--dq-border);
}
.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--dq-text);
}
.nav .brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

/* —— Auth —— */
.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.auth-shell > .logo {
  margin-bottom: 2rem;
}
.auth-card {
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border: 1px solid var(--dq-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.auth-card h1 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: var(--dq-text);
}
.auth-card .auth-desc {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--dq-muted);
}
.auth-card .auth-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: #94a3b8;
}
.auth-card .auth-footer a {
  font-weight: 500;
  color: var(--dq-accent);
}
.auth-card .auth-footer a:hover {
  color: #115e59;
}

/* —— Dashboard shell —— */
.dq-app {
  min-height: 100vh;
  background: var(--dq-bg);
  color: var(--dq-text);
}

.dq-sidebar {
  display: none;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--sidebar-w);
  flex-direction: column;
  border-right: 1px solid var(--dq-border);
  background: #fff;
}
.dq-sidebar.open {
  display: flex;
  box-shadow: 8px 0 24px rgba(15, 23, 42, 0.12);
}
.dq-sidebar-brand {
  display: flex;
  align-items: center;
  height: 4rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--dq-border);
}
.dq-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.75rem;
}
.dq-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  transition: background 0.15s ease, color 0.15s ease;
}
.dq-nav-item:hover {
  background: #f8fafc;
  color: var(--dq-text);
}
.dq-nav-item.active {
  background: var(--dq-teal-50);
  color: var(--dq-teal-800);
}
.dq-nav-item.dq-nav-admin {
  margin-top: 0.5rem;
  border: 1px solid #99f6e4;
  background: var(--dq-teal-50);
  color: #134e4a;
  font-weight: 600;
}
.dq-nav-ico {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.dq-nav-ico svg {
  width: 100%;
  height: 100%;
}

.dq-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--dq-border);
  background: #fff;
  padding: 0 1rem;
}

.dq-main {
  min-height: 100vh;
  padding: 4.5rem 1rem 6rem;
}
.dq-main-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.dq-bottom-nav {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: flex;
  border-top: 1px solid var(--dq-border);
  background: #fff;
  padding-bottom: env(safe-area-inset-bottom);
}
.dq-bottom-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.625rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: #94a3b8;
}
.dq-bottom-item.active {
  color: var(--dq-accent);
}
.dq-bottom-item .dq-nav-ico {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 1024px) {
  .dq-sidebar {
    display: flex;
  }
  .dq-sidebar.open {
    box-shadow: none;
  }
  .dq-topbar {
    display: none;
  }
  .dq-bottom-nav {
    display: none;
  }
  .dq-main {
    margin-left: var(--sidebar-w);
    padding: 1.5rem 1.5rem 2rem;
  }
}

/* Mobile sidebar overlay when open */
@media (max-width: 1023px) {
  .dq-sidebar.open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    z-index: -1;
  }
}

/* —— Landing hero —— */
.hero-split {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1rem 4rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 640px) {
  .hero-split {
    padding: 1.5rem 1.5rem 5rem;
    gap: 3rem;
  }
}
@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid #99f6e4;
  background: var(--dq-teal-50);
  color: #115e59;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  margin-bottom: 1.25rem;
}

.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0;
}
.hero-copy h1 span {
  color: #0f766e;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: #475569;
}
@media (min-width: 640px) {
  .lead {
    font-size: 1.125rem;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: #64748b;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* —— Phone mock —— */
.phone-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.phone {
  position: relative;
  border-radius: 2.4rem;
  border: 1px solid #334155;
  background: #020617;
  padding: 0.65rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 0.75rem;
  z-index: 2;
  width: 6rem;
  height: 1.25rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.8);
}

.phone-screen {
  overflow: hidden;
  border-radius: 2rem;
  min-height: 520px;
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
  color: #f8fafc;
  background: linear-gradient(160deg, #0f766e, #134e4a 55%, #0f172a);
}

.phone-avatar {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 auto 0.75rem;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.phone-name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone-bio {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  opacity: 0.9;
  color: #e2e8f0;
}

.phone-socials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}
.phone-socials span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 0.6rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #0f766e;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.animate-float {
  animation: float 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .animate-float {
    animation: none;
  }
}

/* —— Sections —— */
.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media (min-width: 640px) {
  .section {
    padding: 4rem 1.5rem;
  }
}

.section h2 {
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
.cards.three {
  grid-template-columns: 1fr;
}
.cards.four {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cards.four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .cards.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.business-panel {
  border: 1px solid var(--dq-border);
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) {
  .business-panel {
    padding: 3rem;
  }
}
.business-panel h2 {
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}
.business-panel p {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  color: #475569;
}
.business-panel .btn {
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--dq-border);
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* —— Public profile view (.pv) —— */
.pv {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}
.pv-inner {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 28rem;
  padding: 0.5rem 1.25rem 2rem;
  gap: 0.75rem;
}
.pv-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pv-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  ring: 2px solid rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}
.pv-avatar.rounded {
  border-radius: 1rem;
}
.pv-avatar img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.pv-name {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.pv-bio {
  margin: 0.5rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.85;
}
.pv-handle {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  opacity: 0.7;
}

.pv-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 0 0.5rem;
}
.pv-socials a {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: inherit;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease;
}
.pv-socials a:hover {
  transform: scale(1.1);
}

.pv-biz {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.pv-biz-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.pv-biz-chips a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: inherit;
  transition: background 0.15s ease;
}
.pv-biz-chips a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.pv-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pv-link {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  color: inherit;
  border: 1.5px solid currentColor;
  background: transparent;
  transition: transform 0.15s ease;
}
.pv-link:hover {
  transform: scale(1.015);
}
.pv-link:active {
  transform: scale(0.99);
}
.pv-link span {
  flex: 1;
  min-width: 0;
}
.pv-link-ico {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  opacity: 0.7;
}
.pv-heading {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0.25rem 0;
}
.pv-divider {
  display: flex;
  justify-content: center;
  opacity: 0.4;
  padding: 0.25rem 0;
}

.pv-contact-btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  font-family: inherit;
  transition: transform 0.15s ease;
}
.pv-contact-btn:hover {
  transform: scale(1.015);
}
.pv-contact-form {
  margin-top: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
}
.pv-contact-form .input,
.pv-contact-form .textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: inherit;
}
.pv-contact-form .input::placeholder,
.pv-contact-form .textarea::placeholder {
  color: inherit;
  opacity: 0.5;
}
.pv-contact-form .label {
  color: inherit;
  opacity: 0.85;
}

.pv-join {
  margin-top: auto;
  padding-top: 2rem;
}
.pv-join-card {
  border-radius: 1.75rem;
  background: #fff;
  padding: 1.25rem;
  text-align: center;
  color: #0f172a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.pv-join-card p {
  margin: 0;
}
.pv-join-card .join-title {
  font-size: 0.875rem;
  font-weight: 600;
}
.pv-join-card .join-desc {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}
.pv-join-card .btn {
  margin-top: 0.75rem;
}
.pv-powered {
  padding: 1rem 0 0.5rem;
  text-align: center;
  font-size: 0.6875rem;
  opacity: 0.5;
  color: inherit;
}
.pv-powered a {
  color: inherit;
}

/* —— Tree / QR extras —— */
.tree-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .tree-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}
.url-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid var(--dq-border);
  font-size: 0.875rem;
  word-break: break-all;
}
.url-box code {
  flex: 1;
  font-family: inherit;
  color: var(--dq-text);
}
.qr-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}
.qr-preview img {
  width: 280px;
  height: 280px;
  border-radius: 1rem;
  border: 1px solid var(--dq-border);
  background: #fff;
}

.admin-shell {
  min-height: 100vh;
  background: var(--dq-bg);
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid var(--dq-border);
}
.admin-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.list-row + .list-row,
.card + .card {
  margin-top: 0.75rem;
}

.space-y > * + * {
  margin-top: 1.5rem;
}

.range-pills {
  display: inline-flex;
  border-radius: 0.75rem;
  border: 1px solid var(--dq-border);
  background: #f8fafc;
  padding: 0.25rem;
  gap: 0.125rem;
}
.range-pills a,
.range-pills span {
  border-radius: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}
.range-pills a:hover {
  color: var(--dq-text);
}
.range-pills .active {
  background: var(--dq-accent);
  color: #fff;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.color-row input[type="color"] {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.2rem;
  border: 1px solid var(--dq-border);
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
}

.empty-hint {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--dq-muted);
  font-size: 0.875rem;
}
