:root {
  --bg: #05070d;
  --bg-2: #090d19;
  --panel: #101827;
  --panel-2: #121d32;
  --text: #f5f7fb;
  --muted: #a8b3c7;
  --soft: #c9d4e8;
  --line: rgba(255,255,255,.12);
  --accent: #6cf6c9;
  --accent-2: #7aa7ff;
  --gold: #ffd22e;
  --gold-2: #ff9f0a;
  --danger: #ff6b87;
  --ok: #55f0b0;
  --radius: 24px;
  --shadow: 0 30px 80px rgba(0,0,0,.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(122,167,255,.28), transparent 34%),
    radial-gradient(circle at 80% 5%, rgba(108,246,201,.18), transparent 30%),
    radial-gradient(circle at 50% 75%, rgba(255,204,122,.10), transparent 38%),
    linear-gradient(180deg,#05070d 0%,#090d19 52%,#05070d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 36px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5,7,13,.72);
  border-bottom: 1px solid var(--line);
}
.navin { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.04em; font-size: 24px; }
.brand-logo-img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 180px;
  object-fit: contain;
}
.brand-admin {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20,184,166,.12);
  color: #115e59;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: #07101b;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 0 35px rgba(108,246,201,.24);
}
.links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 800; }
.links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn, .navbtn, .icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: .18s transform, .18s border, .18s background, .18s opacity;
}
.btn:hover, .navbtn:hover, .icon-btn:hover { transform: translateY(-1px); }
.btn { min-height: 54px; padding: 14px 20px; }
.navbtn { padding: 12px 18px; border-radius: 999px; background: #fff; color: #07101b; box-shadow: 0 16px 40px rgba(255,255,255,.12); }
.navbtn.ghost { background: rgba(255,255,255,.08); color: var(--text); box-shadow: none; }
.btn.primary { background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #06101b; border: 0; }
.btn.secondary { background: rgba(255,255,255,.07); color: var(--text); }
.btn.gold { background: linear-gradient(135deg,var(--gold),var(--gold-2)); color: #080806; border: 0; }
.btn.danger { background: rgba(255,107,135,.12); color: #ffd7df; border-color: rgba(255,107,135,.34); }
.btn.full { width: 100%; }
.btn.disabled { opacity: .45; pointer-events: none; }
.order-shell form .btn.primary,
.client-body form .btn.primary,
.admin-body form .btn.primary {
  background: linear-gradient(135deg,#102a43,#1d4ed8);
  color: #fff;
  box-shadow: 0 16px 34px rgba(29,78,216,.20);
}

.hero { padding: 86px 0 58px; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 54px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dce5f5;
  background: rgba(255,255,255,.06);
  font-weight: 800;
  font-size: 13px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
h1, h2, h3 { letter-spacing: -.055em; }
h1 { font-size: clamp(44px,6vw,82px); line-height: .94; margin: 24px 0 22px; }
h2 { font-size: clamp(32px,4vw,54px); line-height: 1; margin: 0; }
h3 { margin: 0; }
.grad { background: linear-gradient(90deg,var(--accent),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 650px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(255,255,255,.045);
  font-size: 13px;
  font-weight: 800;
}

.stage { position: relative; min-height: 560px; }
.glow {
  position: absolute;
  inset: 34px 10px 60px 20px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(108,246,201,.22),transparent 58%);
  filter: blur(8px);
}
.physical-card {
  position: absolute;
  right: 55px;
  top: 38px;
  width: 380px;
  height: 230px;
  border-radius: 30px;
  padding: 26px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.03)),
    linear-gradient(135deg,#101827,#05070d 70%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
  transform: rotate(10deg);
  overflow: hidden;
}
.physical-card:before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 25% 15%,rgba(108,246,201,.34),transparent 28%),
    radial-gradient(circle at 90% 90%,rgba(122,167,255,.28),transparent 28%);
  pointer-events: none;
}
.card-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.mini-logo { display: flex; align-items: center; min-height: 36px; }
.mini-logo img { display: block; height: 36px; width: auto; max-width: 132px; object-fit: contain; }
.nfc { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; display: grid; place-items: center; color: var(--accent); }
.card-name { position: absolute; left: 26px; bottom: 28px; }
.card-name strong { display: block; font-size: 22px; }
.card-name span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.phone {
  position: absolute;
  left: 20px;
  top: 125px;
  width: 315px;
  height: 625px;
  border-radius: 44px;
  background: #080b13;
  border: 10px solid #1d2535;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-3deg);
}
.phone:before { content: ""; position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 92px; height: 22px; background: #1d2535; border-radius: 999px; z-index: 2; }
.screen { height: 100%; padding: 42px 18px 18px; background: linear-gradient(180deg,#10192c,#070a12); }
.profile-cover { height: 92px; border-radius: 24px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); position: relative; }
.avatar {
  position: absolute;
  left: 50%;
  bottom: -42px;
  transform: translateX(-50%);
  width: 86px;
  height: 86px;
  border-radius: 28px;
  border: 6px solid #10192c;
  background: linear-gradient(135deg,#fff,#b8c6dc);
  display: grid;
  place-items: center;
  color: #0a1220;
  font-size: 30px;
  font-weight: 900;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile { text-align: center; margin-top: 55px; }
.profile h3 { font-size: 23px; }
.profile p { margin: 7px 0 16px; color: var(--muted); font-size: 13px; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action { padding: 12px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid var(--line); font-weight: 900; font-size: 12px; }
.save { margin-top: 10px; background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #06101b; border: 0; }
.socials { display: grid; gap: 9px; margin-top: 16px; }
.social { display: flex; align-items: center; justify-content: space-between; padding: 12px 13px; border-radius: 16px; background: rgba(255,255,255,.055); color: #dce5f5; font-size: 12px; font-weight: 800; }
.float-badge {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: 250px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(0,0,0,.30);
}
.float-badge strong { display: block; font-size: 16px; }
.float-badge span { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 5px; }

section.block { padding: 74px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 30px; }
.section-head p { color: var(--muted); max-width: 500px; line-height: 1.55; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature, .product, .panel, .summary-card, .admin-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
}
.feature { padding: 26px; min-height: 210px; }
.feature .icon, .summary-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: rgba(108,246,201,.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
  font-weight: 900;
}
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p, .product p, .muted { color: var(--muted); line-height: 1.58; }

.products { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.product { position: relative; padding: 24px; overflow: hidden; }
.product.featured, .product.selected { border-color: rgba(108,246,201,.48); box-shadow: 0 0 0 1px rgba(108,246,201,.12),0 28px 70px rgba(108,246,201,.08); }
.tag { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: #dce5f5; font-size: 12px; font-weight: 900; margin-bottom: 16px; }
.prod-card {
  aspect-ratio: 1.58 / 1;
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 20px 42px rgba(0,0,0,.20);
}
.prod-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
}
.product h3 { font-size: 26px; margin-bottom: 8px; }
.price { font-size: 34px; font-weight: 900; letter-spacing: -.05em; margin: 14px 0; color: #fff; }
.price small { font-size: 15px; color: var(--muted); font-weight: 700; }
.product ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; color: #cbd6e9; font-size: 14px; }
.product li:before { content: "✓"; color: var(--accent); font-weight: 900; margin-right: 9px; }

.order-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: start;
}
.panel { padding: 28px; }
.panel h2 { font-size: clamp(30px,3vw,44px); margin-bottom: 12px; }
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.summary-line strong { color: #fff; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.full { grid-column: 1 / -1; }
label { display: block; color: #dce5f5; font-size: 13px; font-weight: 850; margin: 0 0 7px; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  color: #fff;
  background: #060b16;
  border: 1px solid rgba(255,255,255,.14);
  padding: 0 16px;
  outline: none;
}
textarea { min-height: 112px; padding: 14px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(108,246,201,.62);
  box-shadow: 0 0 0 4px rgba(108,246,201,.08);
}
.spam-challenge {
  grid-column: 1 / -1;
}
.challenge-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 220px);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
}
.challenge-row span {
  color: #dce5f5;
  font-weight: 900;
}
.challenge-row input {
  min-height: 44px;
}
.help { color: var(--muted); font-size: 13px; line-height: 1.45; margin-top: 7px; }
.notice {
  border-radius: 18px;
  padding: 14px 16px;
  margin: 18px 0;
  background: rgba(85,240,176,.12);
  border: 1px solid rgba(85,240,176,.32);
  color: #d8ffed;
  font-weight: 800;
}
.notice.error { background: rgba(255,107,135,.12); border-color: rgba(255,107,135,.32); color: #ffe0e6; }
.payment-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #f5f7fb;
}
.payment-box > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}
.payment-instructions {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: #dce5f5;
  line-height: 1.5;
}
.narrow .notice {
  background: #e9fff5;
  border-color: #86efac;
  color: #065f46;
}
.narrow .notice.error {
  background: #fff1f2;
  border-color: #fda4af;
  color: #9f1239;
}

.banner {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 25%,rgba(108,246,201,.22),transparent 36%),
    linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
}
.banner p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.team-stack { position: relative; height: 290px; }
.team-card {
  position: absolute;
  width: 285px;
  height: 170px;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.team-card.one { right: 70px; top: 8px; background: linear-gradient(135deg,#0f172a,#111827); transform: rotate(8deg); }
.team-card.two { right: 10px; top: 92px; background: linear-gradient(135deg,#6cf6c9,#7aa7ff); color: #06101b; transform: rotate(-6deg); }
.team-card.three { right: 130px; top: 150px; background: linear-gradient(135deg,#f6f7fb,#cbd6e9); color: #06101b; transform: rotate(3deg); }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat { padding: 23px; border-radius: 24px; background: rgba(255,255,255,.055); border: 1px solid var(--line); }
.stat b { display: block; font-size: 34px; letter-spacing: -.06em; }
.stat span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 7px; }
.faq { display: grid; gap: 12px; }
details { padding: 22px 24px; border-radius: 22px; background: rgba(255,255,255,.055); border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 900; font-size: 17px; }
details p { color: var(--muted); line-height: 1.58; margin: 14px 0 0; }
.final {
  text-align: center;
  padding: 70px 24px;
  border-radius: 34px;
  background: linear-gradient(135deg,rgba(108,246,201,.17),rgba(122,167,255,.14));
  border: 1px solid rgba(255,255,255,.15);
  margin-bottom: 70px;
}
.final p { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 690px; margin: 18px auto 28px; }
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

.gold-page {
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(255,210,46,.15), transparent 32%),
    radial-gradient(circle at 0% 45%, rgba(255,150,0,.08), transparent 35%),
    linear-gradient(180deg,#070707 0%,#050505 44%,#090805 100%);
  background-size: 64px 64px,64px 64px,100% 100%,100% 100%,100% 100%;
}
.edit-page { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 22px 0 38px; }
.browser {
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  margin-bottom: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  position: sticky;
  top: 12px;
  z-index: 20;
  backdrop-filter: blur(18px);
}
.browser .domain { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: #f4f4f4; letter-spacing: -.03em; }
.edit-hero, .edit-card, .info-card, .footer-card {
  border-radius: 30px;
  border: 1px solid rgba(255,210,46,.23);
  background: linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
}
.edit-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(circle at 70% 5%,rgba(255,210,46,.13),transparent 40%),
    linear-gradient(135deg,rgba(255,210,46,.10),rgba(255,255,255,.025) 45%,rgba(0,0,0,.25));
}
.edit-hero h1 { font-size: clamp(38px,6vw,64px); margin: 0; }
.starbox {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: linear-gradient(135deg,rgba(255,210,46,.20),rgba(255,255,255,.04));
  border: 1px solid rgba(255,210,46,.55);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 44px;
  box-shadow: 0 0 50px rgba(255,210,46,.13);
}
.edit-top { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 26px; align-items: center; }
.overline { color: var(--gold); letter-spacing: .34em; font-size: 13px; font-weight: 900; text-transform: uppercase; margin-bottom: 10px; }
.progress-card {
  position: relative;
  margin-top: 30px;
  border: 1px solid rgba(255,210,46,.28);
  background: rgba(0,0,0,.16);
  border-radius: 24px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.progress-label { color: #e9c94d; font-size: 17px; margin-bottom: 8px; }
.progress-status { font-size: 24px; font-weight: 850; letter-spacing: -.03em; }
.percent { font-size: 52px; color: var(--gold); font-weight: 950; letter-spacing: -.07em; }
.bar { grid-column: 1 / -1; height: 14px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg,var(--gold),var(--gold-2)); border-radius: 999px; transition: .35s width; }
.summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 18px 0; }
.summary-card { padding: 24px; min-height: 170px; border-color: rgba(255,210,46,.20); }
.summary-card .icon { background: rgba(255,210,46,.09); color: var(--gold); border: 1px solid rgba(255,210,46,.24); }
.summary-card h3 { font-size: 26px; margin-bottom: 10px; }
.summary-card p { color: #c8c8c8; font-size: 17px; line-height: 1.5; margin: 0; }
.edit-card { padding: 28px; margin-top: 18px; }
.edit-card-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 30px; align-items: center; }
.step { color: var(--gold); letter-spacing: .28em; font-size: 13px; font-weight: 900; margin-bottom: 12px; }
.gold-btn, .outline-btn, .submit {
  border: 0;
  cursor: pointer;
  border-radius: 20px;
  font-weight: 950;
  transition: .2s transform,.2s opacity;
}
.gold-btn:hover, .outline-btn:hover, .submit:hover { transform: translateY(-1px); }
.gold-btn {
  min-height: 62px;
  padding: 15px 22px;
  color: #080806;
  background: linear-gradient(135deg,var(--gold),var(--gold-2));
  box-shadow: 0 0 36px rgba(255,174,12,.23);
}
.outline-btn {
  min-height: 54px;
  padding: 12px 20px;
  color: #ffdf56;
  background: rgba(255,210,46,.06);
  border: 1px solid rgba(255,210,46,.42);
}
.upload-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; border-radius: 22px; background: #050914; border: 1px solid rgba(255,255,255,.14); padding: 14px; }
.file-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 16px; color: #ffdf56; border: 1px solid rgba(255,210,46,.72); background: rgba(255,210,46,.04); font-weight: 850; white-space: nowrap; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.filename { color: #d7d7d7; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.remove-asset {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--editor-muted, #cbd5e1);
  font-size: 14px;
  font-weight: 850;
}
.remove-asset input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--editor-primary, var(--accent));
}
.preview-grid { margin-top: 18px; display: grid; grid-template-columns: .75fr 1fr; gap: 18px; align-items: stretch; }
.phone-preview {
  border-radius: 32px;
  border: 1px solid rgba(255,210,46,.20);
  background: linear-gradient(180deg,#14110b,#080808);
  padding: 22px;
  min-height: 540px;
}
.cover { height: 110px; border-radius: 24px; background: linear-gradient(135deg,rgba(255,210,46,.9),rgba(255,159,10,.85)); position: relative; }
.avatar-big {
  width: 104px;
  height: 104px;
  border-radius: 32px;
  border: 7px solid #14110b;
  background: #24211b;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 950;
  position: absolute;
  left: 50%;
  bottom: -52px;
  transform: translateX(-50%);
  overflow: hidden;
}
.avatar-big img { width: 100%; height: 100%; object-fit: cover; }
.preview-name { text-align: center; margin-top: 64px; }
.preview-name h3 { font-size: 28px; color: var(--card-text); }
.preview-name p { margin: 8px 0 18px; color: color-mix(in srgb, var(--card-text) 65%, var(--card-bg)); font-size: 16px; line-height: 1.35; }
.preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pact { border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.10); padding: 14px 8px; text-align: center; font-weight: 850; color: #fff; font-size: 14px; }
.save-contact { border-radius: 16px; background: linear-gradient(135deg,var(--card-primary),var(--card-accent)); color: #fff; padding: 16px; text-align: center; font-weight: 950; margin-top: 12px; }
.profile-fields { padding: 28px; border-radius: 32px; border: 1px solid rgba(255,210,46,.20); background: linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.color-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-weight: 850;
}
.color-field input {
  width: 52px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.editor-body {
  --editor-bg: #f3f8fb;
  --editor-panel: #ffffff;
  --editor-text: #112033;
  --editor-muted: #65758b;
  --editor-line: #dce6ef;
  --editor-primary: #2563eb;
  --editor-secondary: #0f766e;
  --editor-soft: #e8f3ff;
  color: var(--editor-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(20,184,166,.16), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(37,99,235,.14), transparent 34%),
    linear-gradient(180deg,#f8fbfd,#eef5f9 58%,#f7fafc);
}
.editor-body .edit-page {
  width: min(1120px, calc(100% - 32px));
  padding: 20px 0 46px;
}
.editor-body .browser {
  background: rgba(255,255,255,.82);
  border-color: var(--editor-line);
  box-shadow: 0 16px 42px rgba(17,32,51,.10);
}
.editor-body .browser .domain {
  color: var(--editor-muted);
  font-size: 17px;
  letter-spacing: 0;
}
.editor-body .brand-logo-img {
  height: 48px;
  max-width: 164px;
}
.editor-body .edit-hero,
.editor-body .edit-card,
.editor-body .profile-fields,
.editor-body .phone-preview,
.editor-body .summary-card,
.editor-body .advanced-panel {
  border: 1px solid var(--editor-line);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 45px rgba(17,32,51,.08);
}
.editor-body .edit-hero {
  padding: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(20,184,166,.18), transparent 34%),
    linear-gradient(135deg,#ffffff,#eef7ff);
}
.editor-body .edit-hero h1 {
  font-size: clamp(34px,4vw,50px);
  color: var(--editor-text);
}
.editor-body .starbox {
  background: #fff;
  border-color: var(--editor-line);
  box-shadow: 0 14px 34px rgba(17,32,51,.10);
}
.editor-body .starbox img {
  width: 56px;
  max-height: 70px;
  object-fit: contain;
}
.editor-body .overline,
.editor-body .step {
  color: var(--editor-secondary);
}
.editor-body .progress-card {
  background: rgba(255,255,255,.72);
  border-color: var(--editor-line);
}
.editor-body .progress-label,
.editor-body .percent {
  color: var(--editor-primary);
}
.editor-body .progress-status,
.editor-body .summary-card h3,
.editor-body .edit-card h2,
.editor-body .profile-fields h2 {
  color: var(--editor-text);
}
.editor-body .bar {
  background: #dfe8f1;
}
.editor-body .bar > span,
.editor-body .submit {
  background: linear-gradient(135deg,var(--editor-primary),var(--editor-secondary));
}
.editor-body .summary {
  display: none;
}
.editor-body .preview-grid {
  grid-template-columns: minmax(320px,.72fr) minmax(0,1fr);
  align-items: start;
}
.editor-body .phone-preview {
  position: sticky;
  top: 100px;
  background: linear-gradient(180deg,#ffffff,#eef6fb);
}
.editor-body .profile-fields {
  background: #fff;
}
.editor-body .muted,
.editor-body .summary-card p,
.editor-body .filename {
  color: var(--editor-muted);
}
.design-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
}
.design-preset {
  min-height: 118px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: left;
  border: 1px solid var(--editor-line);
  border-radius: 18px;
  padding: 12px;
  color: var(--editor-text);
  background: #fff;
  cursor: pointer;
  transition: .18s transform,.18s border,.18s box-shadow;
}
.design-preset:hover,
.design-preset.selected {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--editor-primary) 46%, var(--editor-line));
  box-shadow: 0 14px 32px rgba(37,99,235,.12);
}
.preset-swatch {
  display: block;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(90deg,var(--p) 0 34%,var(--s) 34% 68%,var(--a) 68%),
    var(--b);
}
.design-preset strong {
  font-size: 15px;
}
.design-preset small {
  color: var(--editor-muted);
  line-height: 1.25;
}
.profile-kind-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.profile-kind-card {
  position: relative;
  min-height: 118px;
  display: grid;
  gap: 7px;
  align-content: start;
  border: 1px solid var(--editor-line);
  border-radius: 18px;
  padding: 14px 14px 14px 48px;
  color: var(--editor-text);
  background: #fff;
  cursor: pointer;
  transition: .18s border,.18s box-shadow,.18s transform;
}
.profile-kind-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  min-height: 1px;
  margin: 0;
  padding: 0;
}
.profile-kind-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #c9d7e7;
  background: #fff;
}
.profile-kind-card::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--editor-primary);
  transform: scale(0);
  transition: .18s transform;
}
.profile-kind-card strong {
  font-size: 16px;
}
.profile-kind-card span {
  color: var(--editor-muted);
  font-size: 13px;
  line-height: 1.3;
}
.profile-kind-card:has(input:checked) {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--editor-primary) 54%, var(--editor-line));
  box-shadow: 0 14px 32px rgba(37,99,235,.12);
}
.profile-kind-card:has(input:checked)::before {
  border-color: var(--editor-primary);
}
.profile-kind-card:has(input:checked)::after {
  transform: scale(1);
}
.industry-block {
  margin: 0 0 18px;
}
.industry-block > label {
  display: block;
  margin-bottom: 8px;
}
.industry-templates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.industry-template-card {
  appearance: none;
  -webkit-appearance: none;
  min-height: 96px;
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  padding: 13px;
  border: 1px solid var(--editor-line);
  border-radius: 18px;
  color: var(--editor-text);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: .18s transform,.18s border,.18s box-shadow,.18s background;
}
.industry-template-card strong {
  display: block;
  font-size: 15px;
}
.industry-template-card span {
  display: block;
  color: var(--editor-muted);
  font-size: 12px;
  line-height: 1.32;
  font-weight: 760;
}
.industry-template-card.selected,
.industry-template-card:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--editor-primary) 54%, var(--editor-line));
  background: linear-gradient(135deg,#ffffff,#edf7ff);
  box-shadow: 0 14px 32px rgba(37,99,235,.12);
}
.industry-template-card.selected strong,
.industry-template-card:hover strong {
  color: var(--editor-primary);
}
.editor-body .upload-stack {
  display: grid;
  gap: 12px;
}
.editor-body .upload-row {
  background: #f7fafc;
  border-color: var(--editor-line);
}
.editor-body .file-btn {
  color: var(--editor-primary);
  background: #fff;
  border-color: #bfd2f4;
}
.photo-cropper {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--editor-line);
  background: #f8fbfd;
}
.photo-cropper[hidden] {
  display: none;
}
.crop-stage {
  position: relative;
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background:
    linear-gradient(45deg,#e8eef6 25%,transparent 25% 75%,#e8eef6 75%),
    linear-gradient(45deg,#e8eef6 25%,transparent 25% 75%,#e8eef6 75%);
  background-color: #fff;
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  border: 1px solid #cad8e8;
  cursor: grab;
  touch-action: none;
}
.crop-stage:active {
  cursor: grabbing;
}
.crop-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(37,99,235,.34);
  pointer-events: none;
}
.crop-stage img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}
.cover-crop-stage {
  width: min(520px, 100%);
  aspect-ratio: 1.47 / 1;
  border-radius: 20px;
}
.cover-crop-stage img {
  border-radius: inherit;
}
.crop-controls {
  display: grid;
  gap: 10px;
}
.crop-controls label {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: var(--editor-text);
}
.crop-controls input[type="range"] {
  min-height: 30px;
  padding: 0;
  accent-color: var(--editor-primary);
}
.crop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.editor-body .color-field,
.editor-body .toggle-row {
  color: var(--editor-text);
  background: #f7fafc;
  border-color: var(--editor-line);
}
.editor-body .toggle-row input {
  accent-color: var(--editor-primary);
}
.editor-body .advanced-panel {
  margin-top: 14px;
  padding: 0;
  overflow: hidden;
}
.editor-body .advanced-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 22px;
  color: var(--editor-text);
  background: #fff;
  list-style: none;
}
.editor-body .advanced-panel > summary::-webkit-details-marker {
  display: none;
}
.editor-body .advanced-panel > summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--editor-primary);
  background: var(--editor-soft);
}
.editor-body .advanced-panel[open] > summary::after {
  content: "-";
}
.editor-body .advanced-panel .edit-card {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--editor-line);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.editor-body .btn.secondary {
  color: var(--editor-text);
  background: #fff;
  border-color: var(--editor-line);
}
.editor-body .submit {
  color: #fff;
  box-shadow: 0 18px 42px rgba(37,99,235,.22);
}
.submit { width: 100%; min-height: 76px; margin: 22px 0 0; font-size: 28px; color: #070707; background: linear-gradient(135deg,var(--gold),var(--gold-2)); box-shadow: 0 0 42px rgba(255,174,12,.30); }

.public-card-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,210,46,.15), transparent 32%),
    radial-gradient(circle at 10% 80%, rgba(108,246,201,.12), transparent 30%),
    linear-gradient(180deg,#060606,#090805);
}
.public-card {
  width: min(480px, 100%);
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  box-shadow: 0 28px 90px rgba(0,0,0,.48);
  overflow: hidden;
}
.public-cover { height: 150px; background: linear-gradient(135deg,var(--gold),var(--gold-2)); position: relative; }
.public-card.pure .public-cover { background: linear-gradient(135deg,#eaf1ff,#8d9eb8); }
.public-card.terra .public-cover { background: linear-gradient(135deg,#d7b37d,#78624b); }
.public-avatar {
  position: absolute;
  left: 50%;
  bottom: -58px;
  transform: translateX(-50%);
  width: 116px;
  height: 116px;
  border-radius: 34px;
  border: 8px solid #111;
  background: #1b1b1b;
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 950;
  overflow: hidden;
}
.public-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-body { padding: 74px 24px 26px; text-align: center; }
.public-body h1 { font-size: 34px; line-height: 1.05; margin: 0 0 8px; }
.public-body .role { margin: 0 0 18px; color: #c8c8c8; line-height: 1.45; }
.public-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 12px; }
.public-actions a, .social-link {
  min-height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 900;
}
.vcard-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 10px;
  border-radius: 17px;
  background: linear-gradient(135deg,var(--gold),var(--gold-2));
  color: #080806;
  font-weight: 950;
}
.bio { color: #d8d8d8; line-height: 1.6; margin: 18px 0; }
.social-list { display: grid; gap: 10px; margin-top: 16px; }
.social-link { justify-content: space-between; padding: 0 16px; color: #f4f4f4; }
.powered { margin-top: 18px; color: #8f8f8f; font-size: 13px; }

.vcard-body {
  background: #eef2f7;
  color: var(--card-text, #07163A);
}
.vcard-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 18px 10px 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(108,246,201,.20), transparent 26%),
    radial-gradient(circle at 90% 20%, rgba(122,167,255,.18), transparent 32%),
    linear-gradient(180deg,#f8fafc,#edf2f7);
}
.nexo-vcard {
  --card-primary: #12C7A2;
  --card-secondary: #07163A;
  --card-accent: #6B8CFF;
  --card-bg: #FFFFFF;
  --card-text: #07163A;
  width: min(560px, 100%);
  overflow: hidden;
  border-radius: 32px;
  background: var(--card-bg);
  color: var(--card-text);
  border: 1px solid rgba(6,18,42,.08);
  box-shadow: 0 24px 70px rgba(10,22,45,.14);
}
.vcard-hero {
  min-height: 390px;
  padding: 42px 28px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(108,246,201,.18), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(122,167,255,.16), transparent 28%),
    linear-gradient(180deg,#ffffff,#f7f9fc);
  background-size: cover;
  background-position: center;
}
.vcard-logo-wrap {
  min-height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--card-text);
  font-size: clamp(30px,7vw,54px);
  font-weight: 950;
  letter-spacing: -.055em;
}
.vcard-logo-wrap img {
  max-width: min(360px, 86vw);
  max-height: 88px;
  object-fit: contain;
}
.vcard-logo-wrap img.vcard-brand-logo {
  max-width: min(360px, 82vw);
  max-height: 150px;
}
.vcard-kind-badge {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-primary) 14%, var(--card-bg));
  color: var(--card-text);
  border: 1px solid color-mix(in srgb, var(--card-text) 10%, transparent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.vcard-logo-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg,var(--card-primary),var(--card-accent));
  font-size: 34px;
}
.vcard-avatar {
  width: 128px;
  height: 128px;
  margin: 0 auto 22px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--card-secondary);
  color: #fff;
  font-size: 44px;
  font-weight: 950;
  border: 7px solid rgba(255,255,255,.92);
  box-shadow: 0 18px 45px rgba(6,18,42,.16);
}
.vcard-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vcard-hero h1 {
  margin: 0 0 10px;
  color: var(--card-text);
  font-size: clamp(34px,8vw,52px);
  line-height: 1.02;
  letter-spacing: -.06em;
}
.vcard-role {
  margin: 0;
  color: color-mix(in srgb, var(--card-text) 64%, var(--card-bg));
  font-size: 18px;
  font-weight: 750;
  line-height: 1.4;
}
.vcard-bio {
  margin: 18px auto 0;
  max-width: 410px;
  color: color-mix(in srgb, var(--card-text) 70%, var(--card-bg));
  line-height: 1.55;
}
.vcard-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 24px 24px;
}
.vcard-hours div {
  border: 1px solid color-mix(in srgb, var(--card-text) 10%, transparent);
  border-radius: 22px;
  padding: 16px;
  background: color-mix(in srgb, var(--card-bg) 94%, white);
  box-shadow: 0 12px 32px rgba(10,22,45,.07);
}
.vcard-hours span {
  display: block;
  color: var(--card-primary);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 5px;
}
.vcard-hours strong {
  display: block;
  color: var(--card-text);
  font-size: 16px;
}
.vcard-actions {
  padding: 16px 24px 26px;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(6,18,42,.06);
}
.vcard-action-main,
.vcard-contact-jump,
.vcard-action-grid a,
.vcard-action-grid button {
  min-height: 64px;
  border: 0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 950;
  font-size: 18px;
}
.vcard-action-main {
  color: #fff;
  background: linear-gradient(135deg,var(--card-primary),color-mix(in srgb, var(--card-primary) 76%, var(--card-accent)));
  box-shadow: 0 18px 40px rgba(7,22,58,.22);
}
.vcard-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.vcard-action-grid a,
.vcard-action-grid button {
  color: var(--card-text);
  background: color-mix(in srgb, var(--card-bg) 94%, white);
  border: 1px solid color-mix(in srgb, var(--card-text) 11%, transparent);
  box-shadow: 0 12px 30px rgba(10,22,45,.07);
}
.vcard-contact-jump {
  color: #fff;
  background: var(--card-secondary);
}
.vcard-section {
  margin: 0 24px 24px;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--card-text) 10%, transparent);
  background: color-mix(in srgb, var(--card-bg) 96%, white);
  box-shadow: 0 12px 32px rgba(10,22,45,.07);
}
.vcard-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.section-kicker {
  display: block;
  color: var(--card-text);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 5px;
}
.vcard-section-head strong {
  display: block;
  color: color-mix(in srgb, var(--card-text) 62%, var(--card-bg));
  font-size: 14px;
}
.vcard-section-head a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--card-text) 12%, transparent);
  color: var(--card-text);
  font-weight: 900;
}
.vcard-map-card iframe {
  width: 100%;
  min-height: 230px;
  border: 0;
  border-radius: 18px;
  filter: saturate(.9);
}
.vcard-section-title h2 {
  color: var(--card-text);
  font-size: 24px;
  margin: 0 0 14px;
}
.vcard-section-title.center {
  text-align: center;
}
.vcard-section-title.center p {
  margin: 0 0 16px;
  color: color-mix(in srgb, var(--card-text) 64%, var(--card-bg));
  line-height: 1.45;
}
.vcard-message-form {
  display: grid;
  gap: 10px;
}
.vcard-message-form input,
.vcard-message-form textarea {
  color: var(--card-text);
  background: color-mix(in srgb, var(--card-bg) 84%, #f6f8fb);
  border-color: color-mix(in srgb, var(--card-text) 12%, transparent);
}
.vcard-message-form button {
  min-height: 56px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  font-weight: 950;
  background: var(--card-secondary);
  cursor: pointer;
}
.vcard-quick-links {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.vcard-quick-links a {
  min-height: 112px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--card-text) 10%, transparent);
  background: color-mix(in srgb, var(--card-bg) 88%, #f8fafc);
  color: var(--card-text);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  font-weight: 950;
}
.vcard-quick-links span {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg,var(--card-secondary),var(--card-accent));
  font-weight: 950;
}
.vcard-socials {
  display: grid;
  gap: 10px;
}
.vcard-socials a {
  min-height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: var(--card-text);
  background: color-mix(in srgb, var(--card-bg) 88%, #f8fafc);
  border: 1px solid color-mix(in srgb, var(--card-text) 10%, transparent);
  font-weight: 900;
}
.vcard-powered {
  padding: 4px 24px 32px;
  text-align: center;
  color: #7b8798;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
}
.vcard-powered a {
  color: var(--card-text);
}

/* Public card skin: close in structure to the mobile reference, but fully brandable per client. */
.vcard-body {
  background: #f3f5fa;
  color: var(--card-text, #07163a);
}
.vcard-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 48px 10px 64px;
  background:
    linear-gradient(180deg,#ffffff 0,#f6f8fc 50%,#eef2f8 100%);
}
.nexo-vcard {
  --card-primary: #12C7A2;
  --card-secondary: #07163A;
  --card-accent: #6B8CFF;
  --card-bg: #FFFFFF;
  --card-text: #07163A;
  width: min(520px, calc(100vw - 34px));
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--card-text) 10%, transparent);
  background: var(--card-bg);
  color: var(--card-text);
  box-shadow: 0 28px 80px rgba(12,24,44,.16);
  overflow: hidden;
}
.vcard-hero {
  min-height: 380px;
  padding: 48px 30px 24px;
  background:
    linear-gradient(180deg,color-mix(in srgb, var(--card-bg) 88%, white),var(--card-bg)),
    radial-gradient(circle at 50% 8%,color-mix(in srgb, var(--card-accent) 16%, transparent),transparent 36%),
    var(--card-bg);
}
.vcard-logo-wrap {
  margin-bottom: 18px;
  color: var(--card-text);
  font-size: clamp(38px,9vw,70px);
}
.vcard-logo-wrap img {
  max-width: min(360px, 82vw);
  max-height: 96px;
}
.vcard-logo-wrap img.vcard-brand-logo {
  max-width: min(330px, 78vw);
  max-height: 116px;
}
.vcard-logo-mark {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg,var(--card-primary),var(--card-accent));
}
.vcard-avatar {
  width: 116px;
  height: 116px;
  margin-bottom: 22px;
  border: 6px solid #fff;
  color: #fff;
  background: var(--card-secondary);
  box-shadow: 0 18px 45px rgba(7,22,58,.18);
}
.vcard-hero h1 {
  color: var(--card-text);
  font-size: clamp(32px,6vw,46px);
}
.vcard-role {
  color: color-mix(in srgb, var(--card-text) 64%, var(--card-bg));
  font-size: 17px;
  font-weight: 800;
}
.vcard-bio {
  color: color-mix(in srgb, var(--card-text) 70%, var(--card-bg));
}
.vcard-hero.text-light h1,
.vcard-hero.text-light .vcard-role,
.vcard-hero.text-light .vcard-bio,
.vcard-hero.text-light .vcard-logo-wrap,
.vcard-hero.cover-dark h1,
.vcard-hero.cover-dark .vcard-role,
.vcard-hero.cover-dark .vcard-bio,
.vcard-hero.cover-dark .vcard-logo-wrap {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.32);
}
.vcard-hero.text-dark h1,
.vcard-hero.text-dark .vcard-logo-wrap {
  color: var(--card-text);
  text-shadow: none;
}
.vcard-hero.text-dark .vcard-role,
.vcard-hero.text-dark .vcard-bio {
  color: color-mix(in srgb, var(--card-text) 70%, var(--card-bg));
  text-shadow: none;
}
.vcard-hero.cover-dark .vcard-avatar {
  border-color: rgba(255,255,255,.88);
}
.nexo-vcard.lux {
  border-color: rgba(148,163,184,.28);
  box-shadow: 0 28px 80px rgba(2,6,23,.36);
}
.nexo-vcard.kind-company .vcard-hero {
  text-align: left;
}
.nexo-vcard.kind-company .vcard-logo-wrap {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 22px;
}
.nexo-vcard.kind-company .vcard-logo-wrap img {
  max-width: min(310px, 72vw);
  max-height: 76px;
}
.nexo-vcard.kind-company .vcard-avatar {
  margin-left: 0;
  margin-right: 0;
  width: 96px;
  height: 96px;
  font-size: 34px;
}
.nexo-vcard.kind-company .vcard-kind-badge {
  margin-left: 0;
  margin-right: 0;
}
.nexo-vcard.kind-company .vcard-hero h1 {
  max-width: 440px;
}
.nexo-vcard.kind-team .vcard-hero {
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--card-primary) 24%, transparent), transparent 28%),
    radial-gradient(circle at 86% 0%, color-mix(in srgb, var(--card-accent) 24%, transparent), transparent 32%),
    linear-gradient(180deg,color-mix(in srgb, var(--card-bg) 92%, white),var(--card-bg));
}
.nexo-vcard.kind-team .vcard-avatar {
  border-radius: 28px;
}
.nexo-vcard.kind-team .vcard-kind-badge {
  background: linear-gradient(135deg,var(--card-primary),var(--card-accent));
  color: #fff;
  border: 0;
}
.vcard-hours {
  padding: 0 28px 28px;
  gap: 12px;
}
.vcard-hours div {
  min-height: 62px;
  border-radius: 18px;
  padding: 14px 16px;
  border-color: color-mix(in srgb, var(--card-text) 10%, transparent);
  background: color-mix(in srgb, var(--card-bg) 94%, white);
  box-shadow: 0 14px 34px rgba(7,22,58,.08);
}
.vcard-hours span {
  color: var(--card-primary);
  font-size: 12px;
}
.vcard-hours strong {
  color: var(--card-text);
  font-size: 16px;
}
.vcard-actions {
  padding: 24px 28px 30px;
  gap: 14px;
  border-top: 1px solid color-mix(in srgb, var(--card-text) 7%, transparent);
  box-shadow: inset 0 24px 35px color-mix(in srgb, var(--card-primary) 8%, transparent);
}
.vcard-action-main,
.vcard-contact-jump,
.vcard-action-grid a,
.vcard-action-grid button {
  min-height: 74px;
  border-radius: 18px;
  font-size: 19px;
  letter-spacing: -.02em;
}
.vcard-action-main {
  background: linear-gradient(135deg,var(--card-primary),color-mix(in srgb, var(--card-primary) 76%, var(--card-accent)));
  box-shadow: 0 16px 36px color-mix(in srgb, var(--card-primary) 26%, transparent);
}
.vcard-action-grid {
  gap: 14px;
}
.vcard-action-grid a,
.vcard-action-grid button {
  min-height: 60px;
  color: var(--card-text);
  border-color: color-mix(in srgb, var(--card-text) 12%, transparent);
  background: color-mix(in srgb, var(--card-bg) 94%, white);
  box-shadow: 0 10px 26px rgba(7,22,58,.08);
}
.vcard-contact-jump {
  min-height: 64px;
  color: #fff;
  background: var(--card-secondary);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--card-secondary) 22%, transparent);
}
.vcard-section {
  margin: 0 28px 26px;
  border-radius: 24px;
  border-color: color-mix(in srgb, var(--card-text) 10%, transparent);
  background: color-mix(in srgb, var(--card-bg) 96%, white);
  box-shadow: 0 14px 34px rgba(7,22,58,.08);
}
.vcard-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.map-pin {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(135deg,var(--card-primary),var(--card-accent));
}
.section-kicker {
  color: var(--card-text);
  letter-spacing: .24em;
}
.vcard-section-head strong {
  color: color-mix(in srgb, var(--card-text) 62%, var(--card-bg));
  font-size: 15px;
}
.vcard-section-head a {
  color: var(--card-text);
  background: color-mix(in srgb, var(--card-bg) 82%, #f7f9fc);
}
.vcard-map-card {
  overflow: hidden;
  padding-bottom: 0;
}
.vcard-map-card iframe {
  display: block;
  width: calc(100% + 40px);
  margin: 0 -20px;
  min-height: 235px;
  border-radius: 0 0 24px 24px;
}
.vcard-section-title.center {
  margin-top: 4px;
}
.vcard-section-title.center p {
  color: color-mix(in srgb, var(--card-text) 58%, var(--card-bg));
}
.vcard-quick-links {
  gap: 24px;
  padding: 6px 8px 4px;
}
.vcard-quick-links a {
  min-height: 108px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--card-text);
}
.vcard-quick-links span {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--card-bg) 92%, white);
  color: var(--card-text);
  border: 1px solid color-mix(in srgb, var(--card-text) 9%, transparent);
  box-shadow: 0 10px 26px rgba(7,22,58,.10);
}
.vcard-quick-links a:nth-child(1) span { color: #fff; background: var(--card-primary); }
.vcard-quick-links a:nth-child(2) span { color: #fff; background: var(--card-secondary); }
.vcard-quick-links a:nth-child(3) span { color: #fff; background: var(--card-accent); }
.vcard-powered {
  padding-top: 8px;
  color: var(--card-text);
  letter-spacing: .42em;
  font-size: 13px;
}
.vcard-powered a {
  color: var(--card-text);
  letter-spacing: .18em;
}
.vcard-message-form input,
.vcard-message-form textarea {
  background: color-mix(in srgb, var(--card-bg) 84%, #f7f9fc);
  color: var(--card-text);
}
.vcard-message-form button {
  background: var(--card-secondary);
}
.vcard-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 22px;
  overflow: hidden;
}
.vcard-contact-modal:target {
  display: grid;
}
.vcard-contact-modal.open {
  display: grid;
}
.vcard-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,34,53,.72);
  backdrop-filter: blur(7px);
}
.vcard-modal-panel {
  position: relative;
  width: min(480px, calc(100vw - 34px));
  max-height: min(590px, calc(100dvh - 34px));
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(7,22,58,.12);
  background: #fff;
  color: #07163a;
  padding: 22px 22px 0;
  box-shadow: 0 28px 90px rgba(3,12,30,.34);
}
.vcard-modal-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg,var(--card-primary,#12c7a2),var(--card-accent,#6b8cff),var(--card-secondary,#07163a));
}
.vcard-modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(7,22,58,.12);
  color: #718098;
  font-size: 27px;
  line-height: 1;
  background: #fff;
}
.vcard-modal-panel h2 {
  max-width: 340px;
  margin: 6px 48px 8px 0;
  color: #07163a;
  font-size: clamp(21px,2.7vw,25px);
  line-height: 1.08;
}
.vcard-modal-panel p {
  max-width: 400px;
  color: #5f6c83;
  line-height: 1.45;
  margin: 0 0 12px;
}
.vcard-modal-panel .vcard-message-form {
  gap: 8px;
}
.vcard-modal-panel .vcard-message-form input,
.vcard-modal-panel .vcard-message-form textarea {
  min-height: 46px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #d9e1ee;
  color: #07163a;
  font-size: 15px;
}
.vcard-modal-panel .vcard-message-form textarea {
  min-height: 74px;
}
.vcard-modal-panel .spam-challenge label {
  color: #34425a;
}
.vcard-modal-panel .challenge-row {
  grid-template-columns: 1fr minmax(96px, 142px);
  padding: 10px;
  border-color: #d9e1ee;
  background: #f8fafc;
}
.vcard-modal-panel .challenge-row span {
  color: #34425a;
  font-size: 13px;
}
.vcard-modal-panel .challenge-row input {
  min-height: 42px;
  background: #fff;
}
.vcard-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #60708b;
  font-size: 13px;
  line-height: 1.35;
}
.vcard-consent input {
  width: 24px;
  min-height: 24px;
  margin-top: 1px;
  accent-color: var(--card-secondary);
}
.vcard-consent a {
  color: #1d4ed8;
  text-decoration: underline;
}
.vcard-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: sticky;
  bottom: 0;
  margin: 2px -22px 0;
  padding: 12px 22px 18px;
  background: linear-gradient(180deg,rgba(255,255,255,.84),#fff 36%);
}
.vcard-modal-actions a,
.vcard-modal-actions button {
  min-height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  border: 1px solid #d9e1ee;
}
.vcard-modal-actions a {
  background: #fff;
  color: #60708b;
}
.vcard-modal-actions button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg,var(--card-secondary,#07163a),var(--card-accent,#2f5bd7));
  box-shadow: 0 14px 34px color-mix(in srgb, var(--card-accent,#2f5bd7) 24%, transparent);
}
.nexo-vcard.terra .vcard-contact-jump,
.nexo-vcard.terra .vcard-logo-mark,
.nexo-vcard.terra .vcard-quick-links span {
  background: linear-gradient(135deg,var(--card-primary),var(--card-accent));
}
.nexo-vcard.pure .vcard-contact-jump { background: var(--card-secondary); }
.nexo-vcard.pure .vcard-logo-mark { background: linear-gradient(135deg,var(--card-primary),var(--card-accent)); }
.phone-preview-light {
  background: #f7f9fc;
}
.builder-demo-card {
  --card-primary: #12C7A2;
  --card-secondary: #07163A;
  --card-accent: #6B8CFF;
  --card-bg: #FFFFFF;
  --card-text: #07163A;
  min-height: 100%;
  border-radius: 24px;
  background: var(--card-bg);
  overflow: hidden;
  color: var(--card-text);
}
.builder-demo-cover {
  min-height: 210px;
  padding: 32px 18px 72px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--card-accent) 22%, transparent), transparent 30%),
    linear-gradient(180deg,var(--card-bg),color-mix(in srgb, var(--card-bg) 80%, #eef4fb));
  background-size: cover;
  background-position: center;
}
.builder-demo-logo {
  max-width: 240px;
  max-height: 80px;
  object-fit: contain;
}
.builder-demo-logo-text {
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -.055em;
  color: var(--card-text);
}
.builder-demo-avatar {
  bottom: -52px;
  border-color: #fff;
  background: var(--card-secondary);
  color: #fff;
}
.builder-demo-card.kind-preview-company .builder-demo-cover {
  place-items: start;
  text-align: left;
}
.builder-demo-card.kind-preview-company .builder-demo-avatar {
  left: 30px;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  transform: none;
}
.builder-demo-card.kind-preview-company .preview-name {
  text-align: left;
  padding: 0 18px;
}
.builder-demo-card.kind-preview-team .builder-demo-avatar {
  border-radius: 24px;
}
.builder-demo-card.kind-preview-team .builder-demo-cover {
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--card-primary) 26%, transparent), transparent 30%),
    radial-gradient(circle at 86% 0%, color-mix(in srgb, var(--card-accent) 24%, transparent), transparent 30%),
    linear-gradient(180deg,var(--card-bg),color-mix(in srgb, var(--card-bg) 80%, #eef4fb));
}
.demo-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.demo-hours span {
  display: block;
  padding: 12px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--card-bg) 88%, #f8fafc);
  border: 1px solid color-mix(in srgb, var(--card-text) 10%, transparent);
  color: var(--card-text);
  font-weight: 900;
  font-size: 12px;
}
.demo-hours b {
  display: block;
  color: var(--card-primary);
  font-size: 10px;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin-top: 18px;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
}
.toggle-row input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--gold);
}

.admin-body {
  background:
    radial-gradient(circle at 0% 0%, rgba(20,184,166,.14), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(79,70,229,.10), transparent 32%),
    #f4f7fb;
  color: #172033;
}
.admin-body .brand { color: #172033; }
.admin-body .logo { background: linear-gradient(135deg,#14b8a6,#2563eb); color: #fff; }
.admin-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 60px; }
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(23,32,51,.08);
  box-shadow: 0 18px 45px rgba(23,32,51,.08);
}
.admin-body .panel,
.admin-body .admin-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(23,32,51,.09);
  box-shadow: 0 18px 45px rgba(23,32,51,.08);
}
.admin-body .eyebrow {
  color: #115e59;
  background: #eafaf7;
  border-color: rgba(20,184,166,.22);
}
.admin-body .dot { background: #14b8a6; box-shadow: 0 0 12px rgba(20,184,166,.35); }
.admin-body .muted,
.admin-body .section-head p { color: #697488; }
.admin-body label,
.client-body label,
.editor-body label {
  color: #334155;
}
.admin-body input,
.admin-body select,
.admin-body textarea,
.client-body input,
.client-body select,
.client-body textarea {
  background: #fff;
  color: #172033;
  border-color: rgba(23,32,51,.14);
}
.admin-body input::placeholder,
.admin-body textarea::placeholder,
.client-body input::placeholder,
.client-body textarea::placeholder {
  color: #94a3b8;
}
.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus,
.client-body input:focus,
.client-body select:focus,
.client-body textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.admin-body .btn.secondary {
  color: #172033;
  background: #fff;
  border-color: rgba(23,32,51,.12);
}
.admin-body .btn.primary,
.admin-body .btn.gold {
  background: linear-gradient(135deg,#1e3a8a,#0f766e);
  color: #fff;
}
.admin-body .btn.danger {
  background: #fff0f3;
  color: #c90033;
  border-color: rgba(228,0,55,.22);
}
.client-body .brand-admin {
  background: #e0f2fe;
  color: #075985;
}
.admin-body .notice,
.client-body .notice,
.editor-body .notice {
  background: #e9fff5;
  border-color: #86efac;
  color: #065f46;
}
.admin-body .notice.error,
.client-body .notice.error,
.editor-body .notice.error {
  background: #fff1f2;
  border-color: #fda4af;
  color: #9f1239;
}
.auth-link {
  margin: 16px 0 0;
  text-align: center;
  color: #2563eb;
  font-weight: 900;
}
.auth-link a {
  color: #2563eb;
  text-decoration: underline;
}
.client-body {
  --editor-line: rgba(23,32,51,.12);
  --editor-text: #172033;
  --editor-muted: #697488;
  --editor-primary: #2563eb;
  --editor-secondary: #0f766e;
}
.client-body .design-preset {
  position: relative;
}
.client-body .design-preset input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.client-body .design-preset:has(input:checked) {
  border-color: #2563eb;
  box-shadow: 0 14px 32px rgba(37,99,235,.14);
}
.client-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.client-profile-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(23,32,51,.09);
  box-shadow: 0 16px 36px rgba(23,32,51,.07);
}
.client-profile-card h3 {
  margin: 0 0 6px;
  color: #172033;
  font-size: 21px;
}
.client-profile-card p {
  margin: 0 0 14px;
  color: #697488;
  line-height: 1.45;
}
.qr-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(23,32,51,.08);
}
.qr-card.compact {
  grid-template-columns: 76px 1fr;
  margin: 0;
}
.qr-card img {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(23,32,51,.08);
}
.qr-card.compact img {
  width: 76px;
  height: 76px;
}
.qr-card strong,
.qr-card span {
  display: block;
}
.qr-card span {
  margin-top: 4px;
  color: #697488;
  font-size: 13px;
  line-height: 1.35;
}
.qr-card div {
  min-width: 0;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}
.mini-stats span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 62px;
  padding: 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(23,32,51,.08);
  color: #697488;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  overflow: hidden;
}
.mini-stats b {
  display: block;
  color: #172033;
  font-size: 22px;
  line-height: 1;
  margin: 0;
}
.mini-stats em {
  display: block;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-profile-card .cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: auto 0 0;
}
.client-profile-card .cta .btn:first-child {
  grid-column: 1 / -1;
}
.profile-admin-row .cta {
  margin: 0;
  display: grid;
  gap: 8px;
}
.profile-admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(250px, 1.2fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(23,32,51,.08);
}
.profile-admin-row:first-of-type {
  border-top: 0;
}
.client-links {
  display: grid;
  gap: 4px;
  margin: 12px 0 14px;
  padding: 12px;
  border-radius: 16px;
  background: #f1f5f9;
  color: #334155;
  overflow: hidden;
}
.client-links span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.client-links a {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.remove-profile-form {
  margin-top: 12px;
}
.client-design-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 16px;
}
.admin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 18px 0; }
.admin-card {
  padding: 20px;
  border-radius: 22px;
}
.admin-card b { display: block; font-size: 34px; letter-spacing: -.05em; color: #172033; }
.admin-card span { color: #697488; font-size: 13px; font-weight: 800; }
.table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(23,32,51,.09);
  box-shadow: 0 18px 45px rgba(23,32,51,.08);
  background: #fff;
}
.pagination {
  min-width: 860px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
}
.pagination span {
  color: #697488;
  font-weight: 850;
}
.bulk-bar {
  min-width: 860px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(23,32,51,.08);
}
.bulk-bar strong {
  display: block;
  color: #172033;
  font-size: 16px;
}
.bulk-bar span {
  display: block;
  margin-top: 4px;
  color: #697488;
  font-size: 13px;
  font-weight: 750;
}
.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.bulk-actions .btn {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 13px;
}
.bulk-check {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
}
table { width: 100%; border-collapse: collapse; min-width: 860px; background: #fff; }
th, td { padding: 15px 16px; text-align: left; border-bottom: 1px solid rgba(23,32,51,.08); vertical-align: top; }
th { color: #172033; background: #eaf0f8; font-size: 12px; text-transform: uppercase; letter-spacing: .10em; }
td { color: #263247; }
td .muted { color: #7a8495; }
.status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  background: #fff4d8;
  color: #8a5b00;
  border: 1px solid #f1cf78;
}
.status.confirmed { background: #e9f9f0; color: #0a6b37; border-color: #a9e1bf; }
.status.cancelled { background: #fff0f3; color: #b4002e; border-color: #f1a6b8; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kv { padding: 14px 0; border-bottom: 1px solid rgba(23,32,51,.08); }
.kv span { display: block; color: #7a8495; font-size: 13px; margin-bottom: 4px; font-weight: 800; }
.kv strong { font-size: 16px; color: #172033; }
.login-box { width: min(440px, calc(100% - 32px)); margin: 9vh auto; }

@media (max-width: 920px) {
  .links { display: none; }
  .hero { padding-top: 52px; }
  .hero-grid, .order-shell, .banner, .edit-card-grid, .preview-grid, .detail-grid { grid-template-columns: 1fr; }
  .design-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-body .phone-preview { position: static; }
  .stage { min-height: 720px; }
  .physical-card { right: 5px; width: 330px; }
  .phone { left: 8px; }
  .float-badge { right: 10px; bottom: 24px; }
  .grid-3, .products, .stats, .summary, .admin-grid { grid-template-columns: 1fr; }
  .client-profile-grid, .client-design-form, .profile-admin-row { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .team-stack { height: 320px; }
  .team-card.one { right: 42px; }
  .team-card.two { right: 0; }
  .team-card.three { right: 48px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1180px); }
  .navin { height: 64px; gap: 10px; }
  .navbtn { display: none; }
  .nav-actions .navbtn.ghost { display: inline-flex; padding: 9px 10px; font-size: 12px; white-space: nowrap; }
  .brand { font-size: 21px; }
  .brand-logo-img { height: 38px; max-width: 126px; }
  .form-grid, .fields-grid, .public-actions { grid-template-columns: 1fr; }
  .challenge-row { grid-template-columns: 1fr; }
  .design-presets { grid-template-columns: 1fr; }
  .industry-templates { grid-template-columns: 1fr; }
  .profile-kind-options { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-card { grid-template-columns: 76px 1fr; }
  .qr-card img { width: 76px; height: 76px; }
  .editor-body .edit-page { width: min(100% - 20px, 1120px); }
  .editor-body .browser { height: auto; min-height: 62px; border-radius: 22px; align-items: flex-start; padding: 12px; gap: 10px; }
  .editor-body .browser .domain { display: none; }
  .editor-body .edit-hero { padding: 22px; }
  .editor-body .edit-top { grid-template-columns: 62px 1fr; gap: 16px; }
  .editor-body .starbox { width: 62px; height: 62px; border-radius: 18px; }
  .editor-body .starbox img { width: 38px; max-height: 48px; }
  .stage { min-height: 660px; }
  .phone { width: 285px; height: 570px; left: -6px; }
  .physical-card { width: 300px; height: 190px; top: 20px; right: -26px; }
  .float-badge { width: 220px; }
  .panel, .banner, .edit-hero, .edit-card, .profile-fields { padding: 22px; border-radius: 24px; }
  .edit-top { grid-template-columns: 1fr; }
  .starbox { width: 74px; height: 74px; border-radius: 22px; font-size: 34px; }
  .progress-card { grid-template-columns: 1fr; }
  .percent { font-size: 42px; }
  .upload-row { grid-template-columns: 1fr; }
  .file-btn { width: 100%; }
  .crop-controls label,
  .crop-actions { grid-template-columns: 1fr; }
  .browser { height: 54px; padding: 0 12px; }
  .browser .domain { font-size: 17px; }
  .vcard-shell { padding: 0; }
  .nexo-vcard { border-radius: 0; min-height: 100vh; }
  .vcard-hero { min-height: 330px; padding: 26px 22px 22px; }
  .vcard-logo-wrap { min-height: 54px; margin-bottom: 12px; }
  .vcard-logo-wrap img { max-width: min(245px, 74vw); max-height: 54px; }
  .vcard-logo-wrap img.vcard-brand-logo { max-width: min(245px, 74vw); max-height: 70px; }
  .vcard-avatar { width: 112px; height: 112px; margin-bottom: 16px; }
  .nexo-vcard.kind-company .vcard-logo-wrap img { max-width: min(235px, 70vw); max-height: 54px; }
  .nexo-vcard.kind-company .vcard-avatar { width: 88px; height: 88px; }
  .vcard-hours, .vcard-action-grid, .demo-hours, .toggle-grid, .color-grid { grid-template-columns: 1fr; }
  .vcard-quick-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .vcard-quick-links a { min-height: 94px; font-size: 12px; }
  .vcard-quick-links span { width: 48px; height: 48px; }
  .vcard-section { margin-left: 16px; margin-right: 16px; padding: 16px; }
  .vcard-actions, .vcard-hours { padding-left: 16px; padding-right: 16px; }
  .vcard-contact-modal { padding: 0; place-items: end center; }
  .vcard-modal-panel {
    width: 100%;
    max-height: min(640px, calc(100dvh - 18px));
    padding: 22px 18px 0;
    border-radius: 28px 28px 0 0;
  }
  .vcard-modal-close { right: 16px; top: 16px; width: 38px; height: 38px; font-size: 26px; }
  .vcard-modal-panel h2 { max-width: none; margin: 8px 48px 8px 0; font-size: 25px; line-height: 1.08; }
  .vcard-modal-panel p { margin-bottom: 16px; font-size: 14px; }
  .vcard-modal-panel .vcard-message-form input,
  .vcard-modal-panel .vcard-message-form textarea { min-height: 48px; border-radius: 15px; }
  .vcard-modal-panel .vcard-message-form textarea { min-height: 78px; }
  .vcard-consent { gap: 10px; font-size: 12px; line-height: 1.35; color: #45556f; }
  .vcard-consent input { width: 20px; min-height: 20px; }
  .vcard-modal-actions { grid-template-columns: 1fr 1fr; }
  .vcard-modal-actions {
    position: sticky;
    bottom: 0;
    margin: 2px -18px 0;
    padding: 12px 18px 16px;
    background: linear-gradient(180deg,rgba(255,255,255,.82),#fff 32%);
  }
  .vcard-modal-actions a,
  .vcard-modal-actions button { min-height: 54px; border-radius: 15px; }
}
