@font-face{font-family:CardSerif;src:url('fonts/serif.26630a11c7e5.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
/* These styles belong to the card; editor and Telegram controls keep their own palette. */
.template-fieldset{scroll-margin-top:130px;margin-top:24px}.template-fieldset legend{margin-bottom:14px}.template-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.template-option{display:block;position:relative;min-width:0;text-align:left;padding:7px 7px 11px;border:2px solid #e3e7de;border-radius:12px;background:white}.template-option[aria-pressed=true]{border-color:#292d26;box-shadow:0 0 0 1px #292d26}.template-option>strong{display:block;font-size:13px;line-height:1.4;margin-top:9px}.template-option>small{display:block;font-size:10px;line-height:1.5;color:#767c73;margin-top:3px}.template-check{display:none;position:absolute;right:12px;top:12px;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:#ffdf48;color:#171915;font-size:14px;font-weight:800}.template-option[aria-pressed=true] .template-check{display:flex}.template-mini{display:block;position:relative;aspect-ratio:3/5.5;background:#111213;border-radius:5px;overflow:hidden;color:#f5efe6}.template-mini>img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}.template-mini:after{content:'';position:absolute;top:36%;height:39%;left:0;right:0;background:linear-gradient(transparent,#111213 80%)}.mini-name{position:absolute;z-index:1;left:9%;right:4%;top:51%;font:400 clamp(12px,2vw,21px)/.97 CardSerif,Georgia,serif}.mini-lines{position:absolute;left:9%;right:22%;top:78%;height:2px;background:currentColor;opacity:.4;box-shadow:0 5px currentColor}.mini-action{position:absolute;bottom:7%;left:9%;right:9%;height:8%;border-radius:3px;background:#f5efe6}.template-option[data-template=light] .template-mini{background:#f5f2ec;color:#17191a}.template-option[data-template=light] .template-mini:after{background:linear-gradient(transparent,#f5f2ec 80%)}.template-option[data-template=light] .mini-name{font:800 clamp(12px,2vw,19px)/1 Card,Arial,sans-serif}.template-option[data-template=light] .mini-action{background:#17191a}.template-option[data-template=practice] .template-mini{background:#faf9f6;color:#17191a}.template-option[data-template=practice] .template-mini:after{display:none}.template-option[data-template=practice] .template-mini>img{height:56%;aspect-ratio:auto}.template-option[data-template=practice] .mini-name{top:59%;font:800 clamp(11px,1.8vw,18px)/1 Card,Arial,sans-serif}.template-option[data-template=practice] .mini-action{background:#ffcf42}.template-hint{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0 0}.template-shortcut{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 8px;max-width:430px;width:100%;margin:0 auto 14px;font-size:12px;min-height:44px;color:var(--muted)}.template-shortcut strong{color:var(--ink)}.template-shortcut>span{margin-left:auto;font-size:12px;text-decoration:underline;text-underline-offset:3px;color:var(--ink)}.visitor-preview .template-shortcut{display:none}.template-option:hover{border-color:#999e93}
.profile-page{--card-bg:#111213;--card-ink:#f6f0e7;--card-muted:#bcbab4;--card-line:#ffffff30;--card-tag:#ffffff0c;--card-action:#f2e9de;--card-action-ink:#17191a;--card-font:Card,Arial,sans-serif;container-type:inline-size;position:relative;padding:0;background:var(--card-bg);color:var(--card-ink);font-family:var(--card-font);border:0;border-radius:8px;box-shadow:0 12px 40px #14171214;isolation:isolate}
.profile-page[data-template=light]{--card-bg:#f5f2ec;--card-ink:#16191b;--card-muted:#60615f;--card-line:#17191a38;--card-tag:transparent;--card-action:#151819;--card-action-ink:#fff}
.profile-page[data-template=practice]{--card-bg:#faf9f6;--card-ink:#16191b;--card-muted:#62635f;--card-line:#17191a25;--card-tag:#e8e9e7;--card-action:#ffcf42;--card-action-ink:#151819}
.profile-page .hero-image{position:relative;margin:0;border-radius:0;background:var(--card-bg);overflow:hidden}.profile-page .hero-image>img{width:100%;aspect-ratio:3/4;max-height:none;object-fit:cover}.profile-page .hero-image:after{content:'';position:absolute;inset:60% 0 -1px;background:linear-gradient(transparent,var(--card-bg) 98%);pointer-events:none}.profile-page[data-template=practice] .hero-image:after{display:none}.profile-page .profile-topline{position:absolute;z-index:2;top:0;left:0;right:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0;padding:25px 24px;color:white;font-size:10px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;text-shadow:0 1px 8px #000b;background:linear-gradient(#0005,transparent)}.profile-page .demo-marker{border-color:#ffffff60;color:white;background:#0002;flex-shrink:0;font-size:8px;padding:3px 5px}.profile-page .profile-body{position:relative;z-index:1;margin-top:-102px;padding:0 24px 0}.profile-page .profile-name{font-family:CardSerif,Georgia,serif;font-size:48px;font-size:12cqi;font-weight:400;line-height:.98;letter-spacing:-.04em;color:var(--card-ink);margin:0 0 17px;overflow-wrap:anywhere;white-space:normal;text-transform:none}.profile-page[data-template=light] .profile-name,.profile-page[data-template=practice] .profile-name{font-family:Card,Arial,sans-serif;font-weight:800;font-size:39px;font-size:10.1cqi;line-height:1.04;letter-spacing:-.055em}.profile-page .profile-meta{font-size:10px;font-size:2.7cqi;line-height:1.6;letter-spacing:.1em;text-transform:uppercase;color:var(--card-muted);margin:0 0 20px}.profile-page .profile-about{font-size:14px;font-size:3.6cqi;line-height:1.65;color:var(--card-ink);margin:0 0 20px;white-space:pre-line;overflow-wrap:anywhere}.profile-page .profile-directions{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 21px}.profile-page .profile-directions:empty{display:none}.profile-page .profile-directions>span{padding:7px 13px;background:var(--card-tag);border:1px solid var(--card-line);border-radius:24px;font-size:11px;line-height:1.45;color:var(--card-ink);max-width:100%;overflow-wrap:anywhere}.profile-page[data-template=practice] .profile-directions>span{border-color:transparent}.profile-page .profile-links{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 18px}.profile-page .profile-links:empty{display:none}.profile-page .profile-links>a,.profile-page .profile-links>a.contact-telegram,.profile-page .profile-links>a.contact-website{display:flex;align-items:center;justify-content:center;flex:1 1 calc(50% - 5px);min-width:0;min-height:52px;padding:13px 12px;border:1px solid var(--card-line);border-radius:10px;background:var(--card-tag);color:var(--card-ink);font-size:13px;font-weight:800;line-height:1.45;text-align:center;text-decoration:none;overflow-wrap:anywhere;transition:background .15s,border-color .15s}.profile-page .profile-links>a.contact-telegram,.profile-page .profile-links>a.contact-website{flex-basis:100%}.profile-page[data-template=cinema] .profile-links>a{background:#242527;border-color:#414244}.profile-page[data-template=light] .profile-links>a{background:#eae6df;border-color:#d5d0c7}.profile-page[data-template=practice] .profile-links>a{background:#eeefec;border-color:#dcddd8}.profile-page .profile-links>a:hover{background:var(--card-bg);border-color:var(--card-muted)}.profile-page .profile-links>a:active{filter:brightness(.94)}.profile-page .portfolio-button{display:block;width:100%;padding:0;margin:0 0 14px;background:transparent;color:var(--card-ink);border:1px solid var(--card-line);border-radius:9px;overflow:hidden;text-align:left;min-height:64px;font-size:14px}.profile-page .portfolio-button:hover{background:var(--card-tag)}.profile-page .portfolio-strip{display:flex;height:69px;gap:3px;overflow:hidden}.profile-page .portfolio-strip:empty{display:none}.profile-page .portfolio-strip img{width:0;flex:1;min-width:0;height:100%;object-fit:cover}.profile-page .portfolio-label{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.profile-page .portfolio-label>span{min-width:0}.profile-page .portfolio-label strong{display:block;font-size:14px;line-height:1.4;font-weight:800}.profile-page .portfolio-label small{display:block;margin-top:3px;padding:0;background:transparent;border-radius:0;color:var(--card-muted);font-size:11px;font-weight:400}.profile-page .portfolio-label svg{flex-shrink:0;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}.profile-page .share-button{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;min-height:57px;margin:0;padding:15px 12px;background:var(--card-action);color:var(--card-action-ink);border:0;border-radius:9px;font-size:14px;font-weight:800}.profile-page .share-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6}.profile-page .profile-credit{display:flex;justify-content:center;margin:0;padding:20px 0;border:0}.profile-page .profile-credit a{display:inline-flex;flex-wrap:wrap;justify-content:center;gap:0 4px;align-items:center;min-height:44px;color:var(--card-muted);font-size:10px;line-height:1.6;font-weight:400;text-decoration:none}.profile-page .profile-credit a>span{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--card-line)}.profile-page .profile-credit a:hover>span{text-decoration-color:currentColor}.profile-page[data-template=practice] .profile-body{margin-top:0;padding-top:25px}.profile-page[data-template=practice] .profile-topline{display:none}.profile-page[data-template=light] .profile-body{margin-top:-105px}.profile-page:focus-within{outline-offset:4px}.profile-page a:focus-visible,.profile-page button:focus-visible{outline:3px solid #f1b738;outline-offset:-4px}
.visitor-preview .profile-page{padding:0;min-height:100dvh;border-radius:0}.visitor-preview .profile-page .profile-topline{margin:0;padding-top:calc(25px + env(safe-area-inset-top))}.visitor-preview .profile-page .profile-credit{padding-bottom:calc(20px + env(safe-area-inset-bottom))}
@media(max-width:350px){.template-options{gap:6px}.template-option{padding:5px 5px 9px}.template-option>small{font-size:9px}.template-option>strong{font-size:12px}.template-check{right:8px;top:8px;width:19px;height:19px;font-size:12px}.mini-name{font-size:15px}.template-option[data-template=light] .mini-name,.template-option[data-template=practice] .mini-name{font-size:13px}.profile-page .profile-body{padding-left:19px;padding-right:19px;margin-top:-80px}.profile-page[data-template=light] .profile-body{margin-top:-80px}.profile-page[data-template=practice] .profile-body{margin-top:0}.profile-page .profile-topline{padding:20px;font-size:9px}.profile-page .profile-directions>span{font-size:10px;padding:6px 10px}.profile-page .portfolio-label strong{font-size:13px}.profile-page .share-button{font-size:13px}.profile-page .profile-meta{margin-bottom:16px}.profile-page .profile-about{font-size:13px}}

.profile-page .profile-name>span{display:block}
