:root {
  color-scheme: light;
  --ink: #172c25;
  --green: #173c33;
  --gold: #b98f4a;
  --cream: #f7f5ef;
  --muted: #777b73;
  --line: #e7e5dc;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: #eeeee7;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(ellipse at 10% 0, #e0e5da, transparent 50%), radial-gradient(ellipse at 95% 100%, #e8e1d3, transparent 55%); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
[hidden] { display: none !important; }
.card-shell { max-width: 1136px; margin: 0 auto; padding: 37px 32px 24px; }
.page-header, .page-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-header { margin-bottom: 29px; }
.header-brand { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #173c330c; }
.header-subtitle { font-weight: 400; color: #72776d; }
.language-switch { display: flex; padding: 4px; border: 1px solid #d9dcd2; border-radius: 30px; gap: 2px; }
.language-switch a { display: grid; place-items: center; width: 40px; min-height: 33px; border-radius: 20px; font-size: 11px; font-weight: 700; transition: background .2s, color .2s; }
.language-switch a[aria-current] { color: white; background: var(--green); }
.language-switch a:hover:not([aria-current]) { background: #dedfd6; }
.business-card { display: grid; grid-template-columns: .91fr 1.09fr; border-radius: 18px; overflow: hidden; background: var(--cream); box-shadow: 0 24px 70px #25302114, 0 2px 7px #2530210b; }
.identity-panel { position: relative; display: flex; flex-direction: column; padding: 33px 38px 30px; color: white; background: linear-gradient(145deg, #214d40 0%, #173c33 45%, #0c2823 100%); overflow: hidden; isolation: isolate; }
.identity-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#ffffff12 1px, transparent 1px); background-size: 48px 48px; opacity: .2; }
.identity-panel::after { content: ""; position: absolute; width: 83px; height: 4px; background: var(--gold); top: 0; left: 38px; }
.orbital { position: absolute; border: 1px solid #e3d4aa0c; border-radius: 50%; z-index: -1; pointer-events: none; }
.orbital-one { width: 470px; height: 470px; top: -80px; left: 170px; }
.orbital-two { width: 600px; height: 600px; top: -145px; left: 105px; }
.identity-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.identity-label { color: #c1cbb9; font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.tiny-star { color: #d4b47a; font-size: 21px; line-height: 1; }
.brand-lockup { margin: 32px 0 30px; }
.company-logo { width: 210px; height: auto; margin: 0 0 12px -14px; object-fit: contain; }
.company-name { font-size: 25px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.company-subtitle { margin-top: 7px; color: #c2b694; font-size: 11px; letter-spacing: .48em; text-transform: uppercase; }
.identity-copy h1 { font-size: clamp(30px, 3.3vw, 42px); font-weight: 450; letter-spacing: -.04em; line-height: 1.19; margin: 0; }
.identity-copy h1 em { color: #dac18e; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.04em; }
html[lang="ru"] .identity-copy h1 { font-size: 32px; }
.identity-copy p { max-width: 305px; font-size: 13px; color: #c2cec5; line-height: 1.85; margin: 17px 0 0; }
.service-section { margin: 28px 0 30px; }
.section-label { font-size: 10px; letter-spacing: .14em; font-weight: 650; text-transform: uppercase; }
.service-section .section-label { margin: 0 0 12px; color: #b7c2b8; font-size: 9px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0; }
.service-tags li { border: 1px solid #ffffff29; background: #ffffff04; border-radius: 5px; padding: 7px 10px; color: #e3e8de; font-size: 11px; }
.identity-qr { display: flex; align-items: center; gap: 15px; border-top: 1px solid #ffffff24; padding-top: 22px; margin-top: auto; }
.identity-qr img { background: white; border: 4px solid white; border-radius: 5px; width: 82px; height: 82px; }
.identity-qr strong { display: block; font-size: 12px; font-weight: 550; line-height: 1.6; }
.identity-qr small { display: block; color: #b8c5bb; font-size: 10px; margin-top: 6px; line-height: 1.65; }
.identity-qr > .icon { margin-left: auto; width: 18px; color: #d5ba83; }
.contact-panel { padding: 37px 39px 22px; }
.contact-heading { display: flex; justify-content: space-between; align-items: center; color: #7c7e70; margin: 0 0 25px; }
.contact-heading .section-label { color: #8e7447; }
.edition-mark { font-size: 9px; letter-spacing: .11em; }
.contact-panel h2 { font-size: 30px; font-weight: 550; letter-spacing: -.055em; margin: 0 0 9px; }
.contact-intro { font-size: 12px; color: #73776e; line-height: 1.8; margin: 0; }
.quick-actions { display: flex; gap: 10px; margin: 25px 0 14px; }
.action { display: flex; align-items: center; justify-content: center; flex: 1; gap: 9px; border-radius: 7px; padding: 14px 13px; font-size: 13px; font-weight: 600; transition: transform .2s, background .2s; }
.action .icon { width: 18px; height: 18px; }
.action-call { background: var(--green); color: white; border: 1px solid var(--green); }
.action-whatsapp { background: #e7ebe1; color: #234e3c; border: 1px solid #d7ddcf; }
.action .action-arrow { margin-left: auto; width: 14px; }
.action:hover { transform: translateY(-2px); }
.action-call:hover { background: #255643; }
.action-whatsapp:hover { background: #dce4d5; }
.contact-item { display: flex; align-items: center; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-symbol { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e3e4d9; border-radius: 50%; flex-shrink: 0; color: #5d715b; }
.contact-symbol .icon { width: 18px; height: 18px; }
.contact-copy { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.detail-label { display: block; font-size: 8px; font-weight: 650; letter-spacing: .14em; color: #75796d; }
.phone-value { font-size: 22px; font-weight: 550; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.secondary-phone { font-size: 15px; }
.email-value { font-size: 14px; overflow-wrap: anywhere; }
.detail-arrow { width: 17px; height: 17px; color: #8d9484; margin-left: auto; flex-shrink: 0; }
a.detail-arrow { display: grid; place-items: center; width: 30px; height: 38px; }
.address-item { align-items: flex-start; }
.address-item .contact-symbol { margin-top: 6px; }
.address-item > .detail-arrow { margin-top: 20px; }
.address-value { font-size: 14px; line-height: 1.65; max-width: 300px; }
.map-label { font-size: 10px; font-weight: 650; color: #587148; margin-top: 2px; }
.map-label span { margin-left: 3px; }
a.contact-item:hover .contact-copy, .contact-copy a:hover { color: #557544; }
.online-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 0 22px; }
.social-section { display: flex; flex-direction: column; gap: 7px; }
.social-links { display: flex; gap: 7px; }
.social-links a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #dadfd1; border-radius: 50%; transition: background .2s; }
.social-links .icon { width: 17px; height: 17px; }
.social-links a:hover { background: #e5e8dd; }
.website-link { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 12px 0; }
.website-link .icon { width: 17px; height: 17px; }
.website-link .icon:last-child { width: 13px; margin-left: 5px; }
.save-contact { display: flex; align-items: center; gap: 12px; background: #ece5d5; border: 1px solid #ddd0b7; border-radius: 8px; padding: 16px 15px; transition: background .2s; }
.save-contact:hover { background: #e5d9c0; }
.save-symbol { display: grid; place-items: center; width: 31px; flex-shrink: 0; color: #78633d; }
.save-contact strong { display: block; font-size: 13px; font-weight: 650; }
.save-contact small { display: block; margin-top: 5px; color: #766e5d; font-size: 10px; }
.save-arrow { margin-left: auto; width: 19px; color: #8b7445; }
.card-tools { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 10px; }
.card-tools button, .card-tools a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 7px; border: 0; background: none; color: #747c6c; font-size: 11px; padding: 4px 0; }
.card-tools .icon { width: 15px; height: 15px; }
.card-tools button:hover, .card-tools a:hover { color: var(--green); }
.page-footer { font-size: 10px; color: #7a7e72; padding-top: 24px; }
.footer-star { color: #a28d5e; margin-left: 10px; }
.qr-dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 40px); border: 1px solid #d9d7ca; border-radius: 18px; padding: 39px 30px 30px; text-align: center; background: var(--cream); color: var(--ink); box-shadow: 0 30px 100px #0003; }
.qr-dialog::backdrop { background: #0b201bdd; backdrop-filter: blur(7px); }
.qr-dialog .section-label { color: #8b754a; font-size: 9px; }
.qr-dialog h2 { font-size: 26px; letter-spacing: -.04em; line-height: 1.25; margin: 16px 0 12px; font-weight: 550; }
.qr-dialog p { font-size: 13px; line-height: 1.7; color: #777b70; margin: 0; }
.dialog-close { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; }
.dialog-qr { width: 220px; height: 220px; margin: 22px auto; background: white; border: 10px solid white; border-radius: 10px; }
.qr-downloads { display: flex; gap: 8px; }
.qr-downloads a { display: flex; flex: 1; align-items: center; justify-content: center; gap: 7px; font-size: 12px; padding: 12px 8px; background: var(--green); color: white; border-radius: 6px; }
.qr-downloads .icon { width: 16px; height: 16px; }
.copy-row { display: flex; margin-top: 14px; border: 1px solid #dddccf; border-radius: 6px; }
.copy-row input { background: transparent; border: 0; padding: 12px 10px; flex: 1; min-width: 0; font-size: 11px; color: #737866; }
.copy-row button { width: 42px; border: 0; background: transparent; color: var(--green); }
.copy-row .icon { width: 17px; height: 17px; }
.toast { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translate(-50%, 16px); opacity: 0; visibility: hidden; padding: 13px 22px; background: #152f27; color: white; font-size: 13px; border-radius: 8px; box-shadow: 0 10px 30px #0002; max-width: calc(100% - 32px); text-align: center; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 10; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (min-width: 1200px) and (min-height: 880px) { .card-shell { padding-top: 65px; } }
@media (max-width: 960px) and (min-width: 721px) {
  .card-shell { padding-inline: 22px; }
  .identity-panel { padding-inline: 26px; }
  .contact-panel { padding-inline: 26px; }
  .identity-copy h1 { font-size: 33px; }
  html[lang="ru"] .identity-copy h1 { font-size: 27px; }
  .company-name { font-size: 21px; }
  .company-logo { width: 190px; }
  .contact-panel h2 { font-size: 26px; }
  .contact-item { gap: 10px; }
  .phone-value { font-size: 19px; }
  .action .action-arrow { display: none; }
  .identity-qr { gap: 10px; }
  .identity-qr > .icon { display: none; }
}
@media (max-width: 720px) {
  .card-shell { max-width: 520px; padding: 20px 16px 22px; }
  .page-header { margin-bottom: 18px; }
  .header-subtitle { display: none; }
  .header-brand { font-size: 11px; }
  .language-switch a { min-height: 32px; width: 35px; }
  .business-card { display: block; border-radius: 14px; }
  .identity-panel { padding: 24px 26px 26px; }
  .identity-panel::after { left: 26px; width: 63px; }
  .identity-label { font-size: 8px; letter-spacing: .16em; }
  .brand-lockup { margin: 23px 0 24px; }
  .company-logo { width: 166px; margin: 0 0 9px -10px; }
  .company-name { font-size: 22px; }
  .company-subtitle { font-size: 9px; margin-top: 5px; }
  .identity-copy h1, html[lang="ru"] .identity-copy h1 { font-size: 34px; }
  html[lang="ru"] .identity-copy h1 { font-size: 29px; }
  .identity-copy p { font-size: 12px; line-height: 1.75; margin-top: 13px; }
  .service-section { margin: 21px 0 0; }
  .service-tags { gap: 6px; }
  .service-tags li { font-size: 10px; padding: 6px 9px; }
  .identity-qr { display: none; }
  .orbital-one { top: -110px; left: 140px; }
  .orbital-two { top: -175px; left: 75px; }
  .contact-panel { padding: 27px 26px 15px; }
  .contact-heading { margin-bottom: 17px; }
  .contact-panel h2 { font-size: 27px; }
  .contact-intro { font-size: 12px; }
  .quick-actions { margin-top: 21px; }
  .action { font-size: 12px; padding: 13px 11px; gap: 8px; }
  .action .action-arrow { width: 12px; }
  .contact-item { gap: 12px; padding: 17px 0; }
  .contact-symbol { width: 34px; height: 34px; }
  .phone-value { font-size: 21px; }
  .email-value, .address-value { font-size: 13px; }
  .online-row { padding-block: 18px; }
  .save-contact { padding: 15px 12px; gap: 9px; }
  .save-contact strong { font-size: 12px; }
  .save-contact small { font-size: 9px; }
  .page-footer { align-items: center; flex-direction: column; gap: 9px; font-size: 9px; padding-top: 21px; }
  .footer-star { display: none; }
}
@media (max-width: 359px) {
  .card-shell { padding-inline: 10px; }
  .identity-panel, .contact-panel { padding-inline: 21px; }
  .identity-copy h1 { font-size: 31px; }
  html[lang="ru"] .identity-copy h1 { font-size: 26px; }
  .phone-value { font-size: 19px; }
  .action .action-arrow { display: none; }
  .contact-panel h2 { font-size: 24px; }
  .contact-item { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print {
  body { background: white; }
  .card-shell { max-width: none; padding: 0; }
  .page-header, .page-footer, .card-tools, .save-contact, .qr-dialog, .toast { display: none; }
  .business-card { display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: none; border: 1px solid #ddd; print-color-adjust: exact; -webkit-print-color-adjust: exact; break-inside: avoid; }
  .identity-qr { display: flex; }
}

/* Managed personal profiles and curated themes. */
.person-profile{display:flex;align-items:center;gap:18px;margin:0 0 16px;min-width:0}.person-profile>div{min-width:0}.person-photo{width:84px;height:84px;object-fit:cover;border-radius:50%;border:3px solid #e8dfca;box-shadow:0 6px 20px #173c3312;flex-shrink:0}.person-profile h2{overflow-wrap:anywhere;line-height:1.18}.person-job{margin:7px 0 0;color:#826b41;font-size:14px;line-height:1.5}.company-name{overflow-wrap:anywhere}.contact-panel,.identity-panel{min-width:0}.service-tags li{max-width:100%;overflow-wrap:anywhere}.social-links{flex-wrap:wrap}.social-section{min-width:0}.website-link{flex-shrink:0}.address-value,.identity-copy p{overflow-wrap:anywhere}.card-preview-banner{padding:12px 20px;background:#fff2cc;color:#63531c;text-align:center;font-size:12px}.theme-midnight{--green:#172c48;--gold:#a9c2dc;--ink:#1c2d43;--cream:#f1f4f7}.theme-midnight .identity-panel{background:linear-gradient(145deg,#294566,#172c48 55%,#101e34)}.theme-midnight .identity-copy h1 em,.theme-midnight .company-subtitle{color:#b9d1e8}.theme-midnight .save-contact{background:#e0e8f1;border-color:#c6d3e1}.theme-plum{--green:#49315f;--gold:#d9bc69;--ink:#34253b;--cream:#f8f4ef}.theme-plum .identity-panel{background:linear-gradient(145deg,#604176,#49315f 55%,#30223f)}.theme-plum .identity-copy h1 em,.theme-plum .company-subtitle{color:#e1c882}.theme-plum .save-contact{background:#eee3cb;border-color:#deccab}@media(max-width:720px){.personal-card .brand-lockup{margin-block:16px}.personal-card .identity-copy h1{font-size:28px}.personal-card .identity-copy p{display:none}.personal-card .company-logo{width:120px}.personal-card .company-name{font-size:18px}.personal-card .service-section{margin-top:15px}.person-photo{width:65px;height:65px}.person-profile{gap:13px}.person-profile h2{font-size:25px}.person-job{font-size:12px}}

/* Full artwork cover: preserve the supplied composition and its stars. */
.identity-panel.has-cover{padding:0;background:#102d43}.has-cover::before,.has-cover::after{display:none}.cover-art{position:relative;flex-shrink:0;overflow:hidden;isolation:isolate;background:#102d43}.cover-image{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.cover-stars{position:absolute;inset:0;pointer-events:none}.sky-spark{position:absolute;left:var(--x);top:var(--y);width:var(--spark-size);height:var(--spark-size);transform:translate(-50%,-50%);background:#fffefa;clip-path:polygon(50% 0,60% 39%,100% 50%,60% 61%,50% 100%,40% 61%,0 50%,40% 39%);opacity:.75;animation:cover-starlight 5s ease-in-out var(--spark-delay) infinite}.sky-spark:nth-child(3n){animation-duration:6.5s;background:#cdefff}.cover-caption{padding:22px 28px 25px;display:flex;flex-direction:column;flex:1;background:linear-gradient(160deg,#16394d,#102633)}.has-cover .identity-copy p{margin:0;max-width:none;color:#d0dce2;font-size:12px;line-height:1.75}.has-cover .service-section{margin:17px 0 20px}.has-cover .identity-qr{padding-top:17px;gap:12px}.has-cover .identity-qr img{width:68px;height:68px}.has-cover .identity-qr strong{font-size:11px}.has-cover+.contact-panel{display:flex;flex-direction:column;justify-content:center}.has-cover .service-tags li{font-size:10px;padding:6px 8px}.has-cover .service-section .section-label{color:#c3d0d8}.theme-midnight .identity-panel.has-cover,.theme-plum .identity-panel.has-cover{background:#102d43}@keyframes cover-starlight{0%,100%{opacity:.28;transform:translate(-50%,-50%) scale(.75)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.2)}}@media(max-width:720px){.cover-caption{padding:18px 25px 20px}.has-cover .identity-copy{display:none}.has-cover .service-section{margin:0}.has-cover .service-tags{gap:6px}.has-cover .service-tags li{font-size:10px;padding:6px 8px}.has-cover .identity-qr{display:none}.personal-card .has-cover .service-section{margin:0}}@media(prefers-reduced-motion:reduce){.sky-spark{animation:none;opacity:.8}}@media print{.sky-spark{animation:none}.has-cover .identity-qr{display:flex}.cover-image{max-height:120mm;object-fit:contain}}
