@font-face { font-family: Inter; src: url(/fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/inter-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(/fonts/serif-560.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/fonts/plex-lat-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/fonts/plex-lat-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/fonts/plex-ar-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/fonts/plex-ar-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/fonts/plex-ar-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --bg: #060a0f;
  --text: #e8eef6;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, .1);
  --cyan: #22d3ee;
  --danger: #fb7185;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  font-family: Inter, "IBM Plex Sans Arabic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
body[dir="rtl"] { font-family: "IBM Plex Sans Arabic", Inter, system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
.hp { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #cbd5e1; font-weight: 600; }
.brand svg { width: 22px; height: 22px; }
.brand em { font-style: normal; color: var(--cyan); font-weight: 500; }
.top-nav { display: flex; gap: 16px; align-items: center; }
.top-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--text); }
.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0 28px;
  color: #64748b;
  font-size: .82rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.hero { display: grid; gap: 36px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: rgba(34, 211, 238, .9); font-size: .82rem; font-weight: 600; letter-spacing: .01em; }
h1 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.35rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 700; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.lead { margin: 14px 0 0; color: #cbd5e1; font-size: 1.05rem; max-width: 38rem; }
.promise { margin: 16px 0 0; max-width: 36rem; color: var(--muted); }
.free-line { margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: #cbd5e1; }
.steps li { display: flex; align-items: center; gap: 8px; }
.steps li::before {
  content: counter(step);
  counter-increment: step;
  width: 1.4rem; height: 1.4rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, .12); color: var(--cyan);
  font-size: .75rem; font-weight: 700;
}
.steps { counter-reset: step; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  text-decoration: none; font-weight: 600; cursor: pointer;
}
.btn-primary { background: var(--cyan); color: #062028; border-color: transparent; }
.btn.danger { color: var(--danger); border-color: rgba(251, 113, 133, .4); }
.hero .btn-primary { margin-top: 22px; min-width: min(100%, 280px); }
.sample-wrap { display: grid; justify-items: center; gap: 8px; }
.sample-label { margin: 0; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.narrow, .account, .admin { width: min(720px, 100%); margin: 0 auto; }
.stack-form, .editor-form { display: grid; gap: 14px; }
fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 0; display: grid; gap: 12px; }
legend { padding: 0 6px; color: #cbd5e1; font-weight: 600; }
.field { display: grid; gap: 6px; }
.field label { font-size: .92rem; font-weight: 600; }
.field input, .field textarea, .field select, .search-form input, .slug-row input {
  width: 100%; background: #0c1219; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.hint { margin: 0; color: var(--muted); font-size: .85rem; }
.err { margin: 0; color: var(--danger); font-size: .9rem; }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--cyan); }
.slug-row { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.slug-row span { white-space: nowrap; font-size: .92rem; }
.color-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 32px; height: 32px; border-radius: 999px; border: 2px solid rgba(255,255,255,.35); padding: 0; cursor: pointer; }
input[type="color"] { width: 48px; height: 40px; padding: 0; background: transparent; border: 0; }
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pair { display: grid; gap: 12px; }
details.fold { border: 1px solid var(--line); border-radius: 16px; }
details.fold > summary {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 16px;
  cursor: pointer; font-weight: 600; color: #cbd5e1; list-style: none;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::marker { content: ""; }
details.fold > summary > span:first-child { margin-inline-end: auto; }
details.fold > summary::after {
  content: ""; width: 8px; height: 8px; flex: 0 0 auto;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .7;
}
details.fold[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
details.fold > summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.fold-note { color: var(--muted); font-size: .8rem; font-weight: 400; text-align: end; }
.fold-note:empty { display: none; }
.fold-body { display: grid; gap: 12px; padding: 0 16px 16px; }
.more-layouts { margin-top: 4px; }
.more-layouts > summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer;
  color: var(--muted); font-weight: 600; list-style: none;
}
.more-layouts > summary::-webkit-details-marker { display: none; }
.more-layouts > summary::marker { content: ""; }
.more-layouts > summary::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.more-layouts[open] > summary::after { transform: rotate(225deg) translateY(-1px); }
.more-layouts .themes { margin-top: 8px; }
.status-page .btn { margin-top: 18px; }
.account-layout { display: grid; gap: 28px; }
.account-actions { display: grid; align-content: start; gap: 16px; }
.qr-manage { display: grid; justify-items: start; gap: 8px; }
.qr-manage h2 { margin: 0; font-size: 1rem; }
.qr-manage img { width: 160px; height: 160px; background: #fff; border-radius: 12px; }
.qr-manage .qr-links { display: flex; gap: 14px; margin: 0; }
.qr-manage .qr-links a { color: var(--cyan); }
.theme-opt { position: relative; display: grid; gap: 6px; justify-items: center; font-size: .72rem; text-align: center; cursor: pointer; }
.theme-opt input { position: absolute; opacity: 0; }
.theme-swatch {
  width: 100%; height: 58px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16);
  overflow: hidden; display: block; position: relative; background: #f4f1ea;
}
.theme-swatch i { position: absolute; display: block; }
.theme-opt input:checked + .theme-swatch { outline: 2px solid var(--cyan); outline-offset: 2px; }
.theme-opt input:focus-visible + .theme-swatch { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sw-classic { background: #f7f4ee; }
.sw-classic i:nth-child(1) { inset-inline-start: 0; top: 0; bottom: 0; width: 7px; background: var(--accent); }
.sw-classic i:nth-child(2) { inset-inline-start: 18px; top: 16px; width: 42%; height: 7px; border-radius: 2px; background: #1c1917; box-shadow: 0 14px 0 #8a8178, 0 26px 0 #c9c1b8; }
.sw-classic i:nth-child(3) { inset-inline-end: 10px; bottom: 12px; width: 26%; height: 4px; background: #b7aea4; box-shadow: 0 -9px 0 #b7aea4; }
.sw-minimal { background: #fff; }
.sw-minimal i:nth-child(1) { inset-inline-start: 14px; top: 20px; width: 58%; height: 8px; background: #111; }
.sw-minimal i:nth-child(2) { inset-inline-start: 14px; top: 36px; width: 28%; height: 3px; background: #d4d4d8; }
.sw-minimal i:nth-child(3) { inset-inline-start: 14px; inset-inline-end: 14px; bottom: 16px; height: 1px; background: #e7e5e4; }
.sw-executive { background: #f3eee6; }
.sw-executive i:nth-child(1) { inset: 0 0 46% 0; background: var(--accent); }
.sw-executive i:nth-child(2) { inset-inline-start: 10px; top: 22px; width: 20px; height: 20px; border-radius: 50%; background: #efe8dc; box-shadow: 0 0 0 2px var(--accent); }
.sw-executive i:nth-child(3) { inset-inline-start: 38px; top: 16px; width: 36%; height: 6px; border-radius: 2px; background: #fff; }
.sw-modern { background: #fff; }
.sw-modern i:nth-child(1) { inset-inline-start: 0; top: 0; bottom: 0; width: 28%; background: var(--accent); }
.sw-modern i:nth-child(2) { inset-inline-start: 38%; top: 18px; width: 40%; height: 7px; background: #12211c; }
.sw-modern i:nth-child(3) { inset-inline-start: 38%; top: 32px; width: 24%; height: 4px; background: #9cb0a8; }
.sw-elegant { background: #fbf7f2; box-shadow: inset 0 0 0 5px rgba(138,106,59,.45); }
.sw-elegant i:nth-child(1) { left: 50%; top: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #e7dccb; }
.sw-elegant i:nth-child(2) { left: 50%; top: 38px; width: 42%; height: 6px; margin-left: -21%; background: #292117; }
.sw-elegant i:nth-child(3) { left: 50%; top: 54px; width: 22%; height: 3px; margin-left: -11%; background: var(--accent); }
.sw-dark { background: #12141a; }
.sw-dark i:nth-child(1) { inset-inline-start: 12px; top: 18px; width: 62%; height: 9px; background: #f5f5f4; }
.sw-dark i:nth-child(2) { inset-inline-start: 12px; top: 34px; width: 28%; height: 4px; background: var(--accent); }
.sw-dark i:nth-child(3) { inset-inline-start: 12px; bottom: 12px; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px #52525b, 18px 0 0 0 #27272a, 18px 0 0 1px #52525b; }
.sw-creative { background: #fff; }
.sw-creative i:nth-child(1) { inset-inline-start: 0; top: 0; width: 46%; height: 42%; background: var(--accent); }
.sw-creative i:nth-child(2) { inset-inline-start: 12px; top: 42px; width: 52%; height: 9px; background: #111; }
.sw-creative i:nth-child(3) { inset-inline-end: 8px; bottom: 8px; width: 22px; height: 30px; background: #ece7e4; }
.sw-split { background: #fff; }
.sw-split i:nth-child(1) { inset-inline-start: 0; top: 0; bottom: 0; width: 46%; background: var(--accent); }
.sw-split i:nth-child(2) { inset-inline-start: 10px; top: 14px; width: 28%; height: 6px; background: #fff; }
.sw-split i:nth-child(3) { inset-inline-end: 10px; top: 16px; width: 28%; height: 4px; background: #d6d3d1; box-shadow: 0 10px 0 #d6d3d1, 0 20px 0 #d6d3d1; }
.sw-cover { background: #fff; }
.sw-cover i:nth-child(1) { inset: 0 0 42% 0; background: var(--accent); }
.sw-cover i:nth-child(2) { left: 50%; top: 40px; width: 40%; height: 6px; margin-left: -20%; background: #111; }
.sw-cover i:nth-child(3) { left: 22%; bottom: 8px; width: 14px; height: 10px; border-radius: 8px; background: #e7e5e4; box-shadow: 20px 0 0 #e7e5e4, 40px 0 0 #e7e5e4; }
.sw-poster { background: #fff; }
.sw-poster i:nth-child(1) { inset-inline-start: 8px; top: 10px; width: 62%; height: 12px; background: #111; }
.sw-poster i:nth-child(2) { inset: 28px 0 auto 0; height: 8px; background: var(--accent); }
.sw-poster i:nth-child(3) { inset-inline-end: 8px; top: 8px; width: 14px; height: 14px; background: #e7e5e4; }
.sw-metro { background: #fff; }
.sw-metro i:nth-child(1) { inset-inline-start: 0; top: 0; width: 34%; height: 46%; background: #e7e5e4; box-shadow: 1px 0 0 #d6d3d1, 0 1px 0 #d6d3d1; }
.sw-metro i:nth-child(2) { inset-inline-start: 40%; top: 10px; width: 40%; height: 6px; background: #111; }
.sw-metro i:nth-child(3) { inset-inline-start: 0; bottom: 0; width: 50%; height: 28%; box-shadow: inset 0 1px 0 #d6d3d1, inset 1px 0 0 #d6d3d1; }
.sw-stripe { background: #fff; }
.sw-stripe i:nth-child(1) { inset: 0 0 62% 0; background: var(--accent); }
.sw-stripe i:nth-child(2) { inset-inline-start: 10px; top: 10px; width: 36%; height: 6px; background: #fff; }
.sw-stripe i:nth-child(3) { inset: auto 0 0 0; height: 22%; background: #111; }
.sw-folio { background: #fff; }
.sw-folio i:nth-child(1) { inset: 0 18% 38% 18%; background: #d6d3d1; }
.sw-folio i:nth-child(2) { left: 50%; bottom: 16px; width: 46%; height: 6px; margin-left: -23%; background: #111; }
.sw-folio i:nth-child(3) { left: 50%; bottom: 8px; width: 28%; height: 3px; margin-left: -14%; background: #a8a29e; }
.sw-horizon { background: #fff; border-radius: 999px; }
.sw-horizon i:nth-child(1) { inset-inline-start: 8px; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: #e7e5e4; }
.sw-horizon i:nth-child(2) { inset-inline-start: 38px; top: 18px; width: 28%; height: 6px; background: #111; box-shadow: 0 10px 0 #d6d3d1; }
.sw-horizon i:nth-child(3) { inset-inline-end: 8px; top: 16px; width: 18%; height: 4px; background: var(--accent); box-shadow: 0 8px 0 var(--accent), 0 16px 0 var(--accent); }
.sw-inverse { background: var(--accent); }
.sw-inverse i:nth-child(1) { left: 50%; top: 8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.sw-inverse i:nth-child(2) { left: 50%; top: 30px; width: 40%; height: 6px; margin-left: -20%; background: #fff; }
.sw-inverse i:nth-child(3) { left: 18%; bottom: 8px; width: 18%; height: 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px #fff; }
.sw-index { background: #f6f3ec; }
.sw-index i:nth-child(1) { inset: 8px; background: #e7e0d6; opacity: .8; }
.sw-index i:nth-child(2) { inset-inline-start: 10px; bottom: 12px; width: 48%; height: 8px; background: #111; z-index: 1; }
.sw-index i:nth-child(3) { inset-inline-end: 10px; top: 10px; width: 22%; height: 4px; background: #44403c; z-index: 1; }
.submit-bar { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 28%); }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
.mode-switch button { min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.mode-switch button[aria-pressed="true"] { background: #fff; color: #062028; }
.text-btn { background: none; border: 0; color: var(--cyan); cursor: pointer; padding: 0 4px; text-decoration: underline; }
.banner { padding: 12px 14px; border-radius: 12px; background: rgba(34, 211, 238, .1); }
.banner.warn { background: rgba(251, 191, 36, .12); color: #fde68a; }
.share-bar, .manage-row, .danger-zone { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.url-line { font-size: 1.05rem; color: var(--cyan); overflow-wrap: anywhere; }
.danger-zone { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); align-items: center; }
.danger-zone h2 { width: 100%; margin: 0 0 8px; font-size: 1rem; }
.account-preview, .preview-col { display: grid; justify-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stats p { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; display: grid; }
.stats span { color: var(--muted); font-size: .78rem; }
.stats strong { font-size: 1.4rem; }
.search-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; align-items: center; }
.search-form input { flex: 1; min-width: 180px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table td, .admin-table th { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }

@media (min-width: 960px) {
  .hero { grid-template-columns: 1.1fr .9fr; }
  .mode-switch { display: none; }
  .account-layout { grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); align-items: start; }
  .editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: 28px; align-items: start; }
  .pair { grid-template-columns: 1fr 1fr; align-items: start; }
  .preview-col { position: sticky; top: 16px; }
  .submit-bar { position: static; background: none; padding-bottom: 0; }
  .stats { grid-template-columns: repeat(5, 1fr); }
  .editor.mode-edit .preview-col { max-height: none; overflow: visible; mask-image: none; }
}
@media (max-width: 959px) {
  .editor { display: flex; flex-direction: column; }
  .editor.mode-edit .preview-col {
    display: block;
    order: -1;
    max-height: 280px;
    overflow: hidden;
    mask-image: linear-gradient(#000 72%, transparent);
  }
  .editor.mode-preview .editor-form { display: none; }
  .editor.mode-preview .preview-col { max-height: none; overflow: visible; mask-image: none; order: 0; }
}

.stage { min-height: 100dvh; display: grid; place-items: center; padding: 28px 16px 40px; }
body.page-public { background: #e8e2d8; color: #14181f; color-scheme: light; }
body.page-public.theme-classic { background: #e4ddd2; }
body.page-public.theme-minimal { background: #efefed; }
body.page-public.theme-executive { background: #d8d2c8; }
body.page-public.theme-modern { background: #e3eeea; }
body.page-public.theme-elegant { background: #efe6d8; }
body.page-public.theme-creative { background: #ece7e2; }
body.page-public.theme-dark { background: #07080c; color: #f5f5f4; color-scheme: dark; }
body.page-public.theme-split { background: #e7e5e4; }
body.page-public.theme-cover { background: #e4eeea; }
body.page-public.theme-poster { background: #f3f0e8; }
body.page-public.theme-metro { background: #f5f5f4; }
body.page-public.theme-stripe { background: #efe8e2; }
body.page-public.theme-folio { background: #e8e4de; }
body.page-public.theme-horizon { background: #e7eef6; }
body.page-public.theme-inverse { background: #12141a; color: #f8fafc; color-scheme: dark; }
body.page-public.theme-index { background: #efe8df; }
body.page-public :focus-visible { outline-color: var(--accent, #111); }

.vcard {
  --accent: #1c2333;
  --on-accent: #fff;
  --fg: #16181d;
  --muted: #5c656f;
  --card: #fff;
  --soft: #f3f4f6;
  --line: rgba(0, 0, 0, .08);
  width: min(100%, 440px);
  background: transparent;
  color: var(--fg);
  position: relative;
}
.vcard[dir="rtl"] { font-family: "IBM Plex Sans Arabic", Inter, sans-serif; }
.face { position: relative; background: var(--card); color: var(--fg); }
.mark { display: none; }
.photo {
  width: 84px; height: 84px; border-radius: 999px; overflow: hidden;
  background: var(--soft); display: grid; place-items: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.initials { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; }
.card-name { margin: 0; font-size: 1.7rem; line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.card-name.is-empty { color: var(--muted); font-weight: 600; }
.card-role, .card-company, .card-bio, .card-loc { margin: 4px 0 0; }
.card-role, .card-loc { color: var(--muted); }
.card-company { font-weight: 600; color: var(--fg); }
.logo { margin: 0 0 10px; line-height: 0; }
.logo img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  object-position: start center;
  background: #fff;
  border-radius: 6px;
  padding: 4px 7px;
}
.theme-classic .logo { order: -2; }
.theme-cover .logo, .theme-elegant .logo, .theme-inverse .logo, .theme-folio .logo { display: flex; justify-content: center; }
.theme-horizon .logo img { height: 22px; max-width: 96px; }
.theme-stripe .logo { margin: 4px 0 8px; }
.theme-poster .logo { margin-bottom: 12px; }
.card-bio { white-space: pre-wrap; }
.card-loc { display: flex; align-items: center; gap: 6px; }
.card-loc svg, .act svg, .save svg { width: 16px; height: 16px; flex: none; }
.contacts { margin-top: 14px; }
.actions-grid { display: grid; gap: 6px; }
.act {
  display: flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 4px 0; border: 0; border-radius: 0;
  background: transparent; color: var(--fg);
  text-decoration: none; font-weight: 600; cursor: pointer;
}
.dock { display: grid; gap: 10px; margin-top: 16px; }
.save, .tool {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px; font-weight: 700;
  text-decoration: none; cursor: pointer; border: 0; font: inherit;
}
.save { background: var(--accent); color: var(--on-accent); }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tool {
  min-height: 44px; background: #fff; color: #16181d;
  border: 1px solid rgba(0,0,0,.1);
}
.qr-block { display: grid; justify-items: center; gap: 6px; margin-top: 4px; }
.qr-block h2 { margin: 0; font-size: .82rem; font-weight: 600; color: var(--muted); }
.qr-block img { width: 148px; height: 148px; background: #fff; border-radius: 10px; }
.qr-links { display: flex; justify-content: center; gap: 14px; margin: 0; }
.qr-links a, .card-url, .credit, .report-link a { color: var(--muted); }
.card-url { margin: 0; font-size: .85rem; text-align: center; overflow-wrap: anywhere; }
.credit { justify-self: center; font-size: .75rem; text-decoration: none; }
.credit:hover { color: var(--fg); }
.report-link { margin: 0; font-size: .72rem; text-align: center; }
.hit { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.save:focus-visible, .tool:focus-visible, .act:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.vcard.theme-classic {
  --accent: #1c2333; --card: #fbfaf7; --fg: #1c1917; --muted: #6f675e; --soft: #ece7df;
  width: min(100%, 540px);
}
.theme-classic .face {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 2px;
  align-items: center;
  padding-block: 20px 16px;
  padding-inline: 28px 22px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(28, 24, 18, .14);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 34px rgba(48, 38, 22, .14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.45), transparent 42%),
    var(--card);
}
.theme-classic .face::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 0; bottom: 0;
  width: 8px;
  background: var(--accent);
}
.theme-classic .photo {
  width: 74px; height: 74px; margin: 0; border-radius: 4px;
  grid-row: 1 / span 2; align-self: center;
}
.theme-classic .who { display: flex; flex-direction: column; min-width: 0; }
.theme-classic .card-company { order: -1; margin: 0 0 4px; font-size: .72rem; font-weight: 600; color: var(--muted); }
.vcard[dir="ltr"].theme-classic .card-company { letter-spacing: .14em; text-transform: uppercase; }
.vcard[dir="ltr"].theme-classic .card-name { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; font-size: 1.7rem; }
.theme-classic .card-role { margin-top: 2px; }
.theme-classic .card-bio { grid-column: 1 / -1; margin: 8px 0 0; font-size: .84rem; color: var(--muted); }
.theme-classic .contacts {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(28, 24, 18, .1);
}
.theme-classic .contacts:not(:has(.act:not([hidden]), .card-loc:not([hidden]))) { display: none; }
.theme-classic .card-loc { justify-content: flex-start; margin: 0 0 6px; font-size: .82rem; }
.theme-classic .actions-grid { grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.theme-classic .act { min-height: 28px; font-size: .82rem; font-weight: 500; color: #3f3a34; }

.vcard.theme-minimal { --accent: #111827; --card: transparent; --fg: #18181b; --muted: #71717a; --soft: #e4e4e7; width: min(100%, 440px); }
.theme-minimal .face { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; padding: 8px 4px 0; background: transparent; box-shadow: none; }
.theme-minimal .photo { grid-row: 1 / span 2; width: 46px; height: 46px; margin: 4px 0 0; align-self: start; }
.theme-minimal .who { grid-column: 2; }
.theme-minimal .card-name { font-size: 2.15rem; font-weight: 600; }
.theme-minimal .card-name::after { content: ""; display: block; width: 2.2rem; height: 3px; margin-top: 8px; background: var(--accent); }
.theme-minimal .card-bio { grid-column: 1 / -1; margin-top: 14px; max-width: 36ch; }
.theme-minimal .contacts { grid-column: 1 / -1; margin-top: 12px; padding-top: 0; border: 0; }
.theme-minimal .actions-grid { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.theme-minimal .act { min-height: 32px; border: 0; padding: 0; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.theme-minimal .card-loc { justify-content: flex-start; }

.vcard.theme-executive { --accent: #1e3a5f; --card: #f6f1e8; --fg: #1c1915; --muted: #6b6258; --soft: #e7dfd2; width: min(100%, 420px); }
.theme-executive .face {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(30, 24, 16, .16);
}
.theme-executive .mark { display: block; grid-column: 1 / -1; grid-row: 1; min-height: 132px; background: var(--accent); }
.theme-executive .who {
  grid-column: 1; grid-row: 1; z-index: 1; align-self: end;
  padding-block: 22px 18px; padding-inline: 22px 12px; color: #fff;
}
.theme-executive .photo {
  grid-column: 2; grid-row: 1; z-index: 1; align-self: center;
  width: 78px; height: 78px; margin: 0; margin-inline-end: 18px;
  box-shadow: 0 0 0 3px var(--accent);
}
.theme-executive .card-name, .theme-executive .card-role, .theme-executive .card-company { color: #fff; }
.theme-executive .card-company { font-weight: 500; opacity: .86; }
.vcard[dir="ltr"].theme-executive .card-name,
.vcard[dir="ltr"].theme-elegant .card-name { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; }
.theme-executive .card-bio, .theme-executive .contacts { grid-column: 1 / -1; padding-inline: 22px; }
.theme-executive .card-bio { margin-top: 16px; }
.theme-executive .contacts { padding-bottom: 8px; }
.theme-executive .actions-grid { grid-template-columns: 1fr; gap: 0; }
.theme-executive .act { min-height: 42px; border-top: 1px solid rgba(28, 24, 18, .1); border-radius: 0; }
.theme-executive .card-loc { justify-content: flex-start; padding-top: 10px; }

.vcard.theme-modern { --accent: #0f766e; --card: #fff; --fg: #12211c; --muted: #4d625b; --soft: #e7f0ec; width: min(100%, 480px); }
.theme-modern .face {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 40, 32, .12);
}
.theme-modern .mark { display: block; grid-column: 1; grid-row: 1 / span 4; background: var(--accent); }
.theme-modern .photo {
  grid-column: 1; grid-row: 1; z-index: 1; align-self: start; justify-self: center;
  width: 72px; height: 72px; margin: 22px 0 0; border-radius: 16px;
}
.theme-modern .who { grid-column: 2; grid-row: 1; padding-block: 20px 0; padding-inline: 16px 18px; text-align: start; }
.theme-modern .card-bio { grid-column: 2; margin: 8px 0 0; padding-inline: 16px 18px; }
.theme-modern .contacts { grid-column: 2; padding-block: 10px 16px; padding-inline: 16px 14px; }
.theme-modern .actions-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
.theme-modern .act { justify-content: center; min-height: 36px; padding: 4px 8px; border-radius: 999px; background: #f2f7f5; font-size: .8rem; }
.theme-modern .card-loc { justify-content: flex-start; }

.vcard.theme-elegant { --accent: #8a6a3b; --card: #fbf7f2; --fg: #292117; --muted: #7a6d5d; --soft: #f0e6d8; width: min(100%, 400px); }
.theme-elegant .face {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  padding: 26px 28px 18px;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(138,106,59,.4), 0 0 0 9px var(--card), 0 0 0 10px rgba(138,106,59,.55);
}
.theme-elegant .mark { display: block; order: 2; width: 40px; height: 1px; margin: 12px auto; background: var(--accent); }
.theme-elegant .photo { order: 1; }
.theme-elegant .who { order: 3; }
.theme-elegant .card-bio { order: 4; }
.theme-elegant .contacts { order: 5; width: 100%; }
.theme-elegant .photo { width: 72px; height: 72px; margin: 0 auto 10px; }
.theme-elegant .card-bio { margin-top: 12px; }
.vcard[dir="ltr"].theme-elegant .card-role { letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.theme-elegant .contacts { margin-top: 16px; }
.theme-elegant .actions-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; }
.theme-elegant .act { min-height: 32px; font-weight: 500; }
.theme-elegant .card-loc { justify-content: center; }

.vcard.theme-dark {
  --accent: #5eead4; --on-accent: #111111; --card: #101114; --fg: #f5f5f4; --muted: #a1a1aa; --soft: #22252e;
  --line: rgba(255,255,255,.12);
  width: min(100%, 420px);
}
.theme-dark .face { padding: 28px 24px 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); }
.theme-dark .photo { width: 52px; height: 52px; margin: 0 0 16px; box-shadow: 0 0 0 2px var(--accent); }
.theme-dark .card-name { font-size: clamp(2rem, 8vw, 2.65rem); letter-spacing: -.045em; line-height: .98; }
.theme-dark .card-role { color: var(--accent); font-weight: 600; margin-top: 8px; }
.theme-dark .card-bio { margin-top: 12px; color: #d4d4d8; }
.theme-dark .contacts { margin-top: 18px; }
.theme-dark .actions-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-dark .act {
  min-height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16); color: #f5f5f4;
}
.theme-dark .card-loc { justify-content: flex-start; }
.theme-dark .tool { background: #1c1e26; color: #f5f5f4; border-color: rgba(255,255,255,.12); }
.theme-dark .qr-block img { background: #fff; }

.vcard.theme-creative { --accent: #e11d48; --card: #fff; --fg: #18181b; --muted: #52525b; --soft: #f4f4f5; width: min(100%, 460px); }
.theme-creative .face {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.theme-creative .mark { display: block; grid-column: 1 / -1; height: 16px; background: var(--accent); }
.theme-creative .who { grid-column: 1; grid-row: 2; align-self: center; padding-block: 16px 0; padding-inline: 22px 8px; }
.theme-creative .card-name { font-size: 2.2rem; letter-spacing: -.045em; line-height: .96; }
.theme-creative .card-role { color: var(--accent); font-weight: 700; }
.theme-creative .photo {
  grid-column: 2; grid-row: 2; align-self: center; justify-self: end;
  width: 76px; height: 76px; margin-block: 16px; margin-inline: 0 16px; border-radius: 10px;
}
.theme-creative .card-bio { grid-column: 1 / -1; margin: 8px 0 0; padding-inline: 22px; }
.theme-creative .contacts { grid-column: 1 / -1; padding-block: 6px 16px; padding-inline: 22px; }
.theme-creative .actions-grid { grid-template-columns: 1fr; }
.theme-creative .act { min-height: 32px; font-weight: 600; }
.theme-creative .card-loc { justify-content: flex-start; }

.vcard.theme-split { --accent: #1e3a5f; --card: #fff; --fg: #1c1917; --muted: #57534e; --soft: #e7e5e4; width: min(100%, 480px); }
.theme-split .face {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  grid-template-rows: auto auto;
  min-height: 250px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.theme-split .mark { display: block; grid-column: 1; grid-row: 1 / span 3; background: var(--accent); }
.theme-split .who { grid-column: 1; grid-row: 1; z-index: 1; align-self: end; color: #fff; padding: 26px 16px 8px 20px; }
.theme-split .card-name, .theme-split .card-role, .theme-split .card-company { color: #fff; }
.theme-split .card-company { font-weight: 500; opacity: .8; }
.theme-split .photo { grid-column: 1; grid-row: 2; z-index: 1; width: 64px; height: 64px; margin-block: 8px 20px; margin-inline: 20px 0; align-self: end; }
.theme-split .card-bio { grid-column: 2; grid-row: 1; margin: 0; padding: 26px 18px 0; align-self: end; }
.theme-split .contacts { grid-column: 2; grid-row: 2; margin: 0; padding: 8px 16px 18px; align-self: start; }
.theme-split .actions-grid { grid-template-columns: 1fr; }
.theme-split .act { min-height: 32px; font-weight: 600; }
.theme-split .card-loc { justify-content: flex-start; }

.vcard.theme-cover { --accent: #0f766e; --card: #fff; --fg: #14221e; --muted: #4d625b; --soft: #d7ebe4; width: min(100%, 420px); }
.theme-cover .face { border-radius: 22px; overflow: hidden; box-shadow: 0 16px 40px rgba(15,40,32,.12); }
.theme-cover .photo { width: 100%; height: 148px; margin: 0; border-radius: 0; background: var(--accent); color: var(--on-accent); }
.theme-cover .initials { font-size: 2.6rem; color: var(--on-accent); }
.theme-cover .who { padding: 18px 22px 0; text-align: center; }
.theme-cover .card-bio { padding-inline: 22px; text-align: center; }
.theme-cover .contacts { padding: 8px 16px 18px; }
.theme-cover .actions-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.theme-cover .act { justify-content: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); }
.theme-cover .card-loc { justify-content: center; }

.vcard.theme-poster { --accent: #111827; --card: #fffdf8; --fg: #18181b; --muted: #57534e; --soft: #f5f5f4; width: min(100%, 440px); }
.theme-poster .face { position: relative; border-radius: 2px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.08); padding-bottom: 8px; }
.theme-poster .photo { position: absolute; inset-inline-end: 16px; top: 16px; width: 58px; height: 72px; margin: 0; border-radius: 2px; }
.theme-poster .who { display: flex; flex-direction: column; padding-block: 22px 0; padding-inline: 20px 84px; }
.theme-poster .card-name { font-size: clamp(2.3rem, 9vw, 3.1rem); line-height: .9; letter-spacing: -.045em; }
.theme-poster .card-company { order: 3; margin-block: 14px 0; margin-inline: -20px -84px; padding: 9px 20px; background: var(--accent); color: var(--on-accent); }
.theme-poster .card-bio { padding: 12px 20px 0; }
.theme-poster .contacts { padding: 10px 20px 8px; }
.theme-poster .actions-grid { grid-template-columns: 1fr 1fr; }
.theme-poster .act { min-height: 32px; font-weight: 600; }
.theme-poster .card-loc { justify-content: flex-start; }

.vcard.theme-metro { --accent: #334155; --card: #fff; --fg: #18181b; --muted: #52525b; --soft: #f4f4f5; width: min(100%, 440px); }
.theme-metro .face {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  border: 1px solid #d6d3d1;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.theme-metro .photo { width: 104px; height: 104px; margin: 0; border-radius: 0; border-inline-end: 1px solid #d6d3d1; border-bottom: 1px solid #d6d3d1; }
.theme-metro .who { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border-bottom: 1px solid #d6d3d1; }
.theme-metro .card-name { font-size: 1.35rem; }
.theme-metro .card-bio { grid-column: 1 / -1; margin: 0; padding: 10px 14px; border-bottom: 1px solid #e7e5e4; }
.theme-metro .contacts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.theme-metro .card-loc { grid-column: 1 / -1; margin: 0; padding: 8px 12px; border-bottom: 1px solid #e7e5e4; justify-content: flex-start; }
.theme-metro .actions-grid { display: contents; }
.theme-metro .act { min-height: 46px; margin: 0; padding: 8px 12px; justify-content: flex-start; border-bottom: 1px solid #e7e5e4; border-inline-end: 1px solid #e7e5e4; border-radius: 0; }

.vcard.theme-stripe { --accent: #9a3412; --card: #fff; --fg: #1c1917; --muted: #57534e; --soft: #f5f0ea; width: min(100%, 440px); }
.theme-stripe .face { position: relative; border-radius: 0; overflow: hidden; box-shadow: 0 14px 36px rgba(80,40,20,.1); padding: 0; }
.theme-stripe .who { display: flex; flex-direction: column; padding: 20px 20px 4px; }
.theme-stripe .card-role { order: -1; margin: -20px -20px 12px; padding-block: 10px; padding-inline: 20px 64px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.theme-stripe .photo { position: absolute; inset-inline-end: 14px; top: 8px; z-index: 2; width: 40px; height: 40px; margin: 0; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.theme-stripe .card-bio { padding: 0 20px; }
.theme-stripe .contacts { margin: 14px 0 0; padding: 12px 18px 14px; background: #1c1917; color: #fafaf9; }
.theme-stripe .act, .theme-stripe .card-loc { color: #fafaf9; }
.theme-stripe .actions-grid { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.theme-stripe .act { min-height: 32px; font-weight: 600; }
.theme-stripe .card-loc { justify-content: flex-start; }

.vcard.theme-folio { --accent: #44403c; --card: #faf7f2; --fg: #1c1917; --muted: #57534e; --soft: #e7e0d6; width: min(100%, 320px); }
.theme-folio .face { border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px rgba(40,32,24,.12); }
.theme-folio .photo { width: 100%; height: 230px; margin: 0; border-radius: 0; }
.theme-folio .initials { font-size: 3rem; }
.theme-folio .who { padding: 16px 18px 0; }
.theme-folio .card-name { font-size: 1.7rem; }
.theme-folio .card-bio { padding: 8px 18px 0; }
.theme-folio .contacts { padding: 6px 18px 16px; }
.theme-folio .actions-grid { grid-template-columns: 1fr; }
.theme-folio .act { justify-content: flex-start; min-height: 34px; border-bottom: 1px solid rgba(0,0,0,.06); }
.theme-folio .card-loc { justify-content: flex-start; }

.vcard.theme-horizon { --accent: #1d4ed8; --card: #fff; --fg: #172033; --muted: #475569; --soft: #e8eef8; width: min(100%, 560px); }
.theme-horizon .face {
  display: grid;
  grid-template-columns: auto minmax(0, 1.15fr) minmax(108px, .85fr);
  align-items: center;
  gap: 6px 12px;
  padding: 12px 16px;
  border-radius: 22px;
  border: 1px solid rgba(29,78,216,.18);
  box-shadow: 0 10px 28px rgba(29,78,216,.08);
}
.theme-horizon .photo { grid-column: 1; grid-row: 1; width: 64px; height: 64px; margin: 0; }
.theme-horizon .who { grid-column: 2; grid-row: 1; }
.theme-horizon .contacts { grid-column: 3; grid-row: 1; margin: 0; align-self: center; }
.theme-horizon .card-name { font-size: 1.2rem; }
.theme-horizon .card-bio { grid-column: 2; grid-row: 2; margin: 0; font-size: .82rem; }
.theme-horizon .actions-grid { grid-template-columns: 1fr; gap: 0; }
.theme-horizon .act { min-height: 26px; font-size: .78rem; font-weight: 600; color: var(--accent); }
.theme-horizon .card-loc { justify-content: flex-start; font-size: .78rem; }

.vcard.theme-inverse { --accent: #1e1b4b; --on-accent: #fff; --card: #1e1b4b; --fg: #e0e7ff; --muted: #c7d2fe; --soft: rgba(255,255,255,.14); width: min(100%, 400px); }
.theme-inverse .face { background: var(--accent); color: var(--on-accent); border-radius: 28px; padding: 26px 20px 16px; text-align: center; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.theme-inverse .photo { width: 92px; height: 92px; margin: 0 auto 12px; box-shadow: 0 0 0 4px var(--on-accent); }
.theme-inverse .card-name, .theme-inverse .card-role, .theme-inverse .card-company, .theme-inverse .card-bio, .theme-inverse .card-loc, .theme-inverse .act { color: var(--on-accent); }
.theme-inverse .card-role, .theme-inverse .card-company { opacity: .82; }
.theme-inverse .contacts { margin-top: 14px; }
.theme-inverse .actions-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.theme-inverse .act { justify-content: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--on-accent) 50%, transparent); }
.theme-inverse .card-loc { justify-content: center; }
.theme-inverse .tool { background: #1c1e26; color: #f8fafc; border-color: rgba(255,255,255,.14); }

.vcard.theme-index { --accent: #7c2d12; --card: #f7f3ec; --fg: #1c1917; --muted: #57534e; --soft: #e7dfd4; width: min(100%, 420px); }
.theme-index .face { position: relative; min-height: 200px; padding: 56px 0 16px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(80,50,30,.16); box-shadow: none; }
.theme-index .photo { position: absolute; inset-inline-end: -16px; top: -20px; width: 150px; height: 96px; margin: 0; border-radius: 0; opacity: .2; background: transparent; }
.theme-index .initials { font-size: 5.5rem; letter-spacing: -.06em; color: var(--accent); }
.theme-index .who, .theme-index .card-bio, .theme-index .contacts { position: relative; z-index: 1; padding-inline: 20px; }
.theme-index .card-name { font-size: clamp(2rem, 8vw, 2.5rem); line-height: .95; }
.theme-index .card-bio { margin-top: 8px; }
.theme-index .contacts { margin-top: 10px; text-align: end; }
.theme-index .actions-grid { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
.theme-index .act { min-height: 30px; font-weight: 600; }
.theme-index .card-loc { justify-content: flex-end; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
