:root{--blue:#2457db;--ink:#17272d;--muted:#6e7b7f;--paper:#f7f8f5;--line:#dfe4df;--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:'Segoe UI',system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;font-size:15px;line-height:1.6}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select{touch-action:manipulation}
button{cursor:pointer}
a:hover{color:var(--blue)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #6286e6;outline-offset:4px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:1.12;letter-spacing:-.045em}
h1{font-size:48px;font-weight:600}
h2{font-size:30px;font-weight:600}
h3{font-size:28px;font-weight:500}
em{font-family:Georgia,serif;font-weight:400;color:var(--blue)}
.shell{width:min(1200px,calc(100% - 80px));margin:auto}
.header{width:min(1320px,calc(100% - 80px));margin:auto;height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:9px;font-size:26px;font-weight:700;letter-spacing:-1px}
.brand-icon{display:grid;place-items:center;background:var(--blue);color:white;border-radius:10px;width:37px;height:37px;font-size:27px}
.brand-dot{color:var(--blue);font-size:9px;margin-left:-4px;margin-top:13px}
.header nav{display:flex;align-items:center;gap:32px;font-size:14px}
.header nav form{margin:0}
.button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:30px;background:var(--blue);color:#fff;border-radius:9px;padding:17px 23px;font-size:14px;font-weight:600;line-height:1.4;text-align:center}
.button:hover{background:#1b45b5;color:white}
.button:disabled{background:#b9c3d0;cursor:not-allowed}
.button.small{padding:12px 18px}
.text-button{border:0;background:none;color:var(--blue);padding:0;font-size:14px}
.quiet-link{font-size:14px}
.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:50px;min-height:730px;padding-top:45px;padding-bottom:65px}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;display:flex;gap:10px;align-items:center;margin-bottom:26px}
.tiny-dot{width:7px;height:7px;background:var(--blue);border-radius:50%;display:inline-block;flex-shrink:0}
.hero h1{font-size:76px;line-height:1.04;letter-spacing:-4.5px;margin-bottom:28px}
.lead{font-size:17px;line-height:1.8;max-width:490px;color:#647174}
.hero-actions{display:flex;align-items:center;gap:25px;margin:30px 0 14px}
.muted{color:var(--muted)}
.micro{font-size:12px;line-height:1.65}
.hero-proof{display:flex;align-items:center;gap:15px;margin-top:45px;font-size:12px;color:var(--muted)}
.hero-proof strong{color:var(--ink);font-weight:500}
.proof-symbol{font-size:30px;color:var(--blue);width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}
.hero-art{position:relative;display:grid;place-items:center;min-height:590px}
.orb{position:absolute;width:490px;height:490px;border:1px solid #d6dfd9;border-radius:50%;background:#eaf0e8}
.orb:after{content:'';position:absolute;inset:28px;border:1px solid #d7e0d6;border-radius:50%}
.sample-card{position:relative;background:white;width:310px;border-radius:22px;box-shadow:0 28px 60px #263e2c19;transform:rotate(-5deg);overflow:hidden;border:7px solid white}
.sample-cover{height:106px;background:#2457db;color:#b7caff;display:flex;justify-content:space-between;padding:20px;font-size:9px;letter-spacing:1.4px;background-image:radial-gradient(ellipse at 120% 110%,#7797f9 0,transparent 65%)}
.sample-cover span:last-child{font-size:25px}
.sample-avatar{width:76px;height:76px;border:5px solid white;border-radius:50%;background:#e5eacd;display:grid;place-items:center;font-family:Georgia,serif;color:#354523;font-size:26px;margin:-35px 0 18px 22px;position:relative}
.sample-body{padding:0 22px 24px}
.sample-body .eyebrow{font-size:7px;letter-spacing:1px;margin-bottom:10px;color:var(--blue)}
.sample-body h2{font-size:25px;letter-spacing:-1px;margin-bottom:8px}
.sample-body>p:not(.eyebrow){font-size:10px;color:var(--muted)}
.sample-bio{margin:20px 0}
.sample-action{font-size:10px;width:100%;padding:13px}
.sample-links{display:flex;justify-content:space-between;font-size:10px;padding-top:19px}
.floating-note{position:absolute;right:-4px;bottom:95px;background:white;display:flex;gap:12px;align-items:center;padding:15px 20px;box-shadow:0 8px 32px #283d2612;transform:rotate(4deg);border-radius:12px;font-size:10px;color:var(--muted)}
.floating-note strong{color:var(--ink);font-size:11px;font-weight:500}
.note-icon{background:#eef4e7;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#61804a;font-size:18px}
.art-label{position:absolute;font-size:8px;letter-spacing:1.8px;color:#6d7c70}
.top-label{top:22px;right:10px}
.bottom-label{bottom:25px;left:45px}
.features{padding:55px 0 65px;border-top:1px solid var(--line)}
.section-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:42px}
.section-intro .eyebrow{margin:0}
.section-intro h2{font-size:34px;margin:0}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px}
.feature-grid article{border-top:1px solid var(--line);padding-top:24px}
.step{font-size:10px;color:var(--blue);letter-spacing:1.2px}
.feature-grid h3{margin:25px 0 18px}
.feature-grid p{color:var(--muted);font-size:14px;max-width:290px}
.bottom-cta{display:flex;justify-content:space-between;align-items:center;background:#eaf0e8;padding:45px;border-radius:20px;margin-bottom:75px;gap:30px}
.bottom-cta h2{font-size:37px;margin:0}
.bottom-cta .eyebrow{margin-bottom:18px}
.footer{width:min(1320px,calc(100% - 80px));margin:auto;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:32px 0;color:var(--muted);font-size:11px;gap:20px}
.footer .brand{color:var(--ink);font-size:22px}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:start;padding:90px 0}
.page-title{font-size:59px}
.panel{padding:32px;background:white;border:1px solid var(--line);border-radius:var(--radius)}
.panel h2{font-size:25px}
.stack{display:flex;flex-direction:column;gap:20px}
.stack>div{display:flex;flex-direction:column;gap:6px}
.stack label{font-size:13px;font-weight:600}
.stack input:not([type=checkbox]),.stack select,.stack textarea,input[readonly]{width:100%;border:1px solid #cbd4cd;border-radius:8px;padding:12px 14px;background:#fcfdfa;color:var(--ink);min-width:0}
.stack input[type=color]{height:48px;padding:5px}
.stack input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue);vertical-align:middle;flex-shrink:0}
.stack textarea{resize:vertical}
.stack .helptext{font-size:11px;color:#637074}
.stack .helptext ul{padding-left:18px;margin:4px 0}
.errorlist{margin:0;padding:10px 14px;color:#a52b2b;background:#fff1ee;border-radius:6px;font-size:12px;list-style:none}
.stack>div:has(input[type=checkbox]){display:block}
.messages{width:min(1200px,calc(100% - 40px));margin:20px auto}
.message,.notice{padding:15px 19px;background:#edf1fc;border:1px solid #d6dff9;border-radius:10px;font-size:13px}
.message.error{background:#fff0eb;border-color:#eed3cc}
.notice{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:20px}
.notice form{flex-shrink:0}
.narrow{max-width:600px;margin:80px auto;min-height:220px}
.pricing{padding:65px 0 90px;text-align:center}
.pricing>.eyebrow{justify-content:center}
.price-card{max-width:510px;margin:40px auto;text-align:left}
.price-header{display:flex;align-items:center;justify-content:space-between;gap:15px}
.price-header h2{margin:0}
.badge{font-size:8px;letter-spacing:1px;color:var(--blue);background:#edf1fc;padding:6px 10px;border-radius:5px}
.price{font-size:72px;letter-spacing:-4px;margin:25px 0 0;line-height:1.2}
.price span{font-size:17px;letter-spacing:0}
.price-features{list-style:none;padding:15px 0;margin:0 0 20px;border-top:1px solid var(--line)}
.price-features li{padding:8px 0;font-size:14px}
.price-features li:before{content:'✓';margin-right:12px;color:var(--blue)}
.price-card>.button{width:100%;margin-bottom:20px}
.dashboard,.editor{padding:48px 0 85px;min-height:70vh}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}
.page-heading h1{margin-bottom:12px;font-size:42px}
.blue{color:var(--blue)}
.page-heading p{margin-bottom:0}
.subscription-bar{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;display:flex;justify-content:space-between;gap:20px;margin:25px 0 32px;font-size:12px}
.subscription-bar strong{margin-right:10px;font-size:14px}
.status{display:inline-block;background:#ecefe9;color:#64715e;border-radius:5px;padding:5px 9px;font-size:10px;line-height:1.5}
.status.success{background:#e8f2e5;color:#416232}
.status.danger{background:#f9e6e3;color:#9d3427}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.dashboard-card{border:1px solid var(--line);background:white;padding:27px;border-radius:16px}
.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}
.initial{width:48px;height:48px;display:grid;place-items:center;background:var(--accent,var(--blue));color:white;border-radius:50%;font:25px Georgia,serif}
.dashboard-card h2{font-size:25px;overflow-wrap:anywhere}
.dashboard-card p{font-size:12px}
.card-edit{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;margin-top:30px;font-size:13px}
.empty-state{grid-column:1/-1;text-align:center;border:1px dashed #c8d3c7;padding:65px 30px;border-radius:18px}
.empty-state h2{font-size:28px;margin-top:22px}
.empty-icon{font-size:35px;color:var(--blue)}
.back-link{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:32px}
.editor .eyebrow{margin-bottom:14px}
.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:45px;align-items:start}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}
.panel-heading h2{margin:0}
.preview-sticky{position:sticky;top:25px}
.preview-label{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.5px;padding:0 20px 16px}
.preview-label>span:last-child{margin-left:auto;color:var(--muted)}
.phone-preview{max-width:360px;margin:auto;background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 15px 40px #17272d0b}
.contact-card{background:white;overflow:hidden;--accent:var(--blue)}
.contact-cover{background:var(--accent);height:130px;display:flex;justify-content:space-between;padding:24px;color:white;font-size:9px;letter-spacing:1.4px}
.contact-cover>span:last-child{font-size:28px}
.contact-avatar{width:88px;height:88px;background:#e6ebde;color:#45533d;display:grid;place-items:center;border:6px solid white;border-radius:50%;margin:-45px 0 22px 28px;position:relative;font:38px Georgia,serif}
.contact-body{padding:0 28px 32px}
.contact-body h1{font-size:31px;letter-spacing:-1px;overflow-wrap:anywhere;margin-bottom:12px}
.contact-role{font-size:14px;margin:0 0 3px;overflow-wrap:anywhere}
.contact-company{font-size:12px;color:var(--muted);margin-bottom:22px;overflow-wrap:anywhere}
.contact-bio{font-size:13px;white-space:pre-wrap;margin:20px 0 28px;color:#5b686c;overflow-wrap:anywhere}
.contact-save{width:100%;background:var(--accent);font-size:13px;gap:10px}
.contact-save:hover{background:var(--accent);filter:brightness(.93)}
.contact-actions{display:flex;flex-direction:column;margin-top:20px}
.contact-actions a{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:16px 0;font-size:12px;overflow-wrap:anywhere}
.contact-actions a span{color:var(--muted);font-size:10px;max-width:65%;overflow-wrap:anywhere}
.preview-hint{text-align:center;margin:20px 0 25px}
.publish-panel{margin-top:24px}
.publish-panel>form+form{margin-top:20px}
.check-label{display:flex;gap:10px;align-items:flex-start;font-size:12px!important;font-weight:400!important}
.danger-zone{margin:28px 0;color:#a14233;font-size:12px}
.danger-zone summary{cursor:pointer}
.danger-zone p{margin-top:15px}
.danger-button{background:#a14233}
.share-panel h2{font-size:21px}
.share-row{display:flex;gap:18px;align-items:center;margin-bottom:20px;font-size:12px}
.share-row img{flex-shrink:0;max-width:40%;height:auto}
.share-buttons{display:flex;justify-content:space-between;gap:10px;margin:14px 0}
.share-buttons button{font-size:11px}
.share-panel>label{display:block;margin-bottom:5px}
.share-panel>a{font-size:12px}
.share-panel [role=status]{display:block;color:var(--blue)}
.public-page{background:#eef1eb;min-height:100vh;display:grid;place-items:start center;padding:40px 20px}
.public-page main{width:100%;max-width:420px;border-radius:24px;overflow:hidden;box-shadow:0 20px 60px #17272d12}
.skip{position:fixed;top:-100px;left:10px;background:white;padding:12px;z-index:10}
.skip:focus{top:10px}

@media(min-width:1200px){.preview-column{align-self:stretch}
}
@media(max-width:1050px){.hero h1{font-size:61px}
.hero{gap:20px;min-height:650px}
.orb{width:390px;height:390px}
.hero-art{min-height:560px}
.floating-note{right:-15px}
.hero-actions{align-items:flex-start;flex-direction:column;gap:15px}
.editor-grid{grid-template-columns:minmax(0,1fr) 360px;gap:25px}
.auth-layout{gap:45px}
.panel{padding:25px}
.feature-grid{gap:30px}
}
@media(max-width:780px){.shell,.header,.footer{width:calc(100% - 40px)}
.header{height:85px}
.header nav{gap:18px}
.header .brand{font-size:23px}
.header nav>.button{display:none}
.hero{grid-template-columns:1fr;padding-top:55px;padding-bottom:35px;gap:15px}
.hero-copy{max-width:540px}
.hero h1{font-size:64px}
.hero-actions{flex-direction:row;align-items:center;gap:22px}
.hero-art{min-height:560px;max-width:490px;width:100%;margin:auto}
.hero-proof{margin-top:30px}
.orb{width:440px;height:440px}
.floating-note{right:0;bottom:65px}
.top-label{top:15px;right:15px}
.bottom-label{bottom:10px;left:25px}
.section-intro{display:block}
.section-intro .eyebrow{margin-bottom:20px}
.section-intro h2{font-size:30px}
.feature-grid{gap:24px}
.feature-grid h3{font-size:23px}
.bottom-cta{padding:30px;align-items:flex-start;flex-direction:column}
.bottom-cta h2{font-size:33px}
.footer{flex-wrap:wrap;gap:18px}
.footer>span:last-child{margin-left:auto}
.auth-layout{grid-template-columns:1fr;padding:50px 0;gap:25px}
.page-title{font-size:48px}
.auth-layout>div>.lead{font-size:15px}
.cards-grid{grid-template-columns:1fr 1fr}
.page-heading{flex-wrap:wrap}
.page-heading h1{font-size:35px}
.subscription-bar{flex-direction:column;gap:8px}
.editor-grid{grid-template-columns:1fr}
.preview-column{order:-1}
.preview-column .share-panel{margin-bottom:20px}
.phone-preview{max-height:450px;overflow:auto}
.preview-hint{margin:15px 0}
.editor-grid{gap:20px}
.preview-label{max-width:360px;margin:auto}
.notice{align-items:flex-start;flex-direction:column;gap:8px}
.panel-heading{align-items:flex-start;flex-direction:column}
.public-page{padding:20px 12px}
}
@media(max-width:480px){.hero h1{font-size:51px;letter-spacing:-3px}
.hero .lead{font-size:15px}
.hero-actions{align-items:flex-start;flex-direction:column;gap:18px}
.hero-art{min-height:530px}
.orb{width:calc(100% + 10px);height:auto;aspect-ratio:1}
.sample-card{width:280px}
.floating-note{right:-6px;font-size:9px;padding:12px;bottom:50px}
.top-label{font-size:7px;right:0}
.bottom-label{font-size:7px;left:0;bottom:0}
.feature-grid{grid-template-columns:1fr;gap:28px}
.feature-grid h3 br{display:none}
.feature-grid h3{margin:15px 0 12px;font-size:26px}
.feature-grid p{max-width:none}
.features{padding:40px 0}
.bottom-cta{margin-bottom:45px}
.bottom-cta h2{font-size:29px}
.eyebrow{font-size:9px;letter-spacing:1.3px}
.footer{flex-direction:column;align-items:flex-start}
.footer>span:last-child{margin-left:0}
.cards-grid{grid-template-columns:1fr}
.panel{padding:22px}
.dashboard,.editor{padding-top:30px}
.price-header{align-items:flex-start;flex-direction:column}
.price{font-size:65px}
.page-title{font-size:43px}
.notice{font-size:12px}
.public-page{padding:0;background:white}
.public-page main{border-radius:0;box-shadow:none;max-width:460px}
.header .brand-icon{width:31px;height:31px;font-size:24px}
.header nav{gap:15px;font-size:12px}
.page-heading h1{font-size:32px}
.contact-actions a{flex-wrap:wrap}
.contact-actions a span{max-width:100%}
}

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


/* Shared card markup: published snapshots and owner preview use the same themes. */
.avatar-photo { object-fit: cover; display: block; }
.avatar-panel { margin-top: 24px; }
.avatar-remove, .auth-back { margin-top: 22px; margin-bottom: 0; font-size: 13px; }
.editor-view-controls { display: none; }
.template-minimal .contact-cover { height: 75px; background: white; color: var(--accent); border-top: 5px solid var(--accent); }
.template-minimal .contact-avatar { margin-top: 8px; width: 68px; height: 68px; border: 0; border-radius: 14px; font-size: 29px; }
.template-minimal .contact-body h1 { font-family: Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.15; }
.template-minimal .contact-save { border-radius: 0; }
.template-minimal .contact-actions a { border-color: #e9ebe6; }
.template-profile { background: #f4f5f1; text-align: center; }
.template-profile .contact-cover { height: 150px; background: var(--accent); }
.template-profile .contact-avatar { margin: -65px auto 24px; width: 130px; height: 130px; font-size: 48px; border-width: 7px; border-color: #f4f5f1; }
.template-profile .contact-body { padding-right: 24px; padding-left: 24px; }
.template-profile .contact-body h1 { font-size: 33px; }
.template-profile .contact-company { font-size: 13px; }
.template-profile .contact-save { border-radius: 30px; }
.template-profile .contact-actions { gap: 10px; }
.template-profile .contact-actions a { border: 1px solid #d8ddd4; border-radius: 12px; padding: 15px; background: white; text-align: left; }
@media (max-width: 780px) {
  .editor.has-view-toggle .editor-view-controls { display: flex; gap: 8px; padding: 5px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 12px; }
  .view-button { flex: 1; border: 0; background: transparent; padding: 12px 8px; color: var(--muted); border-radius: 8px; font-size: 12px; }
  .view-button[aria-pressed="true"] { background: var(--blue); color: white; }
  .editor.has-view-toggle[data-view="edit"] .preview-column { display: none; }
  .editor.has-view-toggle[data-view="preview"] .editor-form-column { display: none; }
  .editor.has-view-toggle .phone-preview { max-height: none; overflow: visible; }
}

/* Social links keep their own logos and labels in every template. */
.social-fields { margin: 8px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.social-fields legend { font-size: 22px; font-weight: 600; padding: 0 12px 0 0; letter-spacing: -.5px; }
.social-fields .social-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.social-field label { display: flex; align-items: center; gap: 10px; }
.social-field label img { object-fit: contain; flex-shrink: 0; }
.social-section { margin-top: 28px; text-align: left; }
.social-section[hidden] { display: none; }
.social-section h2 { font-family: Arial, 'Segoe UI', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #566268; margin-bottom: 14px; }
.social-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 9px; }
.social-link { display: flex; align-items: center; gap: 8px; padding: 10px 9px; background: white; border: 1px solid #dce1db; border-radius: 11px; font-size: 11px; font-weight: 600; color: var(--ink); min-width: 0; }
.social-link:hover { border-color: var(--accent); box-shadow: 0 3px 12px #17272d0b; }
.social-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #f0f3ee; flex-shrink: 0; }
.social-icon img { display: block; width: 21px; height: 21px; object-fit: contain; }
.social-arrow { margin-left: auto; color: #6e7b7f; font-size: 12px; }
.social-instagram .social-icon { background: linear-gradient(35deg, #ffb941, #e62d78 50%, #7949c9); }
.social-threads .social-icon { background: #101010; }
.social-instagram .social-icon img, .social-threads .social-icon img { filter: invert(1); }
.social-max .social-icon { background: #f4f0ff; }
.social-max .social-icon img { width: 27px; height: 27px; }
.contact-card { position: relative; isolation: isolate; }
.card-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; }
.contact-card.has-background { background: transparent; padding-bottom: 12px; }
.contact-card.has-background .contact-cover { background: #0009; color: white; border-top: 0; }
.contact-card.has-background .contact-avatar { border-color: white; }
.contact-card.has-background .contact-body { background: #fffffff2; border-radius: 16px; margin: 0 12px; padding: 24px 18px 28px; backdrop-filter: blur(8px); }
.contact-card.has-background .contact-company, .contact-card.has-background .contact-bio { color: #465459; }
.contact-card.has-background .contact-body h1 { color: var(--ink); }
.contact-card.has-background .contact-role { color: var(--ink); }
@media (prefers-reduced-transparency: reduce) {
  .contact-card.has-background .contact-body { background: white; backdrop-filter: none; }
}

/* Independent styling images: full background, profile photo and header. */
.styling-section { margin-top: 32px; }
.styling-title { font-size: 25px; margin-bottom: 12px; }
.styling-thumbnail { display: block; width: 100%; max-height: 160px; object-fit: cover; border-radius: 12px; margin: 0 0 20px; border: 1px solid var(--line); }
.styling-avatar { width: 88px; height: 88px; border-radius: 50%; }
.styling-header { aspect-ratio: 3 / 1; }
.contact-card.has-header .contact-cover { position: relative; overflow: hidden; isolation: isolate; height: 150px; border-top: 0; color: white; }
.contact-card.has-header .cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.contact-card.has-header .contact-cover::after { content: ''; position: absolute; inset: 0; background: #0009; z-index: 1; }
.contact-card.has-header .contact-cover > span { position: relative; z-index: 2; }
.contact-card.has-header.template-minimal .contact-avatar { margin-top: -34px; border: 5px solid white; }

/* Tap the profile photo to share the permanent card URL as a QR. */
.avatar-toggle { padding: 0; cursor: pointer; overflow: hidden; appearance: none; box-sizing: content-box; transition: width .15s, height .15s; }
.avatar-toggle .avatar-photo-face { display: grid; place-items: center; width: 100%; height: 100%; }
.avatar-toggle .contact-avatar.avatar-photo { display: block; width: 100%; height: 100%; margin: 0; border: 0; border-radius: inherit; object-fit: cover; }
.avatar-toggle .avatar-qr-face { display: block; width: 100%; height: 100%; background: white; }
.avatar-toggle .avatar-qr-face img { display: block; width: 100%; height: 100%; object-fit: contain; }
.avatar-toggle [hidden] { display: none !important; }
.contact-card .avatar-toggle[data-qr-visible="true"] { width: 180px; height: 180px; border-radius: 14px; background: white; }
.avatar-toggle-hint { font-size: 10px; color: #536067; padding: 5px 10px; width: fit-content; border-radius: 6px; background: #fffffff2; margin: -12px 20px 20px 28px; position: relative; }
.template-profile .avatar-toggle-hint { margin-left: auto; margin-right: auto; }
.physical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-top: 30px; }
.physical-list { display: grid; gap: 20px; }
.physical-qr { display: block; max-width: 100%; height: auto; margin: 10px auto; }
.physical-link { margin-left: 24px; color: var(--blue); }
.nfc-panel { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.nfc-panel h3 { font-size: 23px; }
.nfc-panel .button { width: 100%; margin: 18px 0 10px; }
@media(max-width:780px) { .physical-grid { grid-template-columns: 1fr; } .physical-link { margin-left: 0; display: block; } }
@media(prefers-reduced-motion:reduce) { .avatar-toggle { transition: none; } }
.contact-card .avatar-toggle > .avatar-photo-face > .contact-avatar.avatar-photo { width: 100%; height: 100%; margin: 0; border: 0; border-radius: inherit; }
.domain-add { margin-left: 0; margin-top: 30px; }
.domain-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.domain-help { padding-left: 20px; font-size: 12px; line-height: 1.8; }
.domain-help li { margin-bottom: 14px; }
.domain-status-panel h2 { overflow-wrap: anywhere; }
.domain-status-panel .panel-heading { flex-wrap: wrap; }
.footer-documents { display: flex; flex-wrap: wrap; gap: 10px 22px; max-width: 550px; }
.footer-documents a { text-decoration: underline; text-underline-offset: 3px; }
.billing-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 45px; }
.billing-plans .check-label a,.publication-conditions a { color: var(--blue); text-decoration: underline; }
.billing-plans .check-label { line-height: 1.7; }
.billing-price { font-size: 46px; margin: 0; line-height: 1.2; }
.payment-history { display: grid; gap: 16px; margin-bottom: 26px; }
.payment-history article { display: flex; gap: 20px; justify-content: space-between; align-items: center; }
.payment-history p { margin: 8px 0 0; font-size: 12px; }
.publication-conditions { padding: 15px; border: 1px solid #dce2d9; border-radius: 8px; margin-bottom: 22px; font-size: 11px; overflow-wrap: anywhere; }
.publication-conditions p { white-space: normal; margin: 8px 0 0; }
.public-legal { width: min(420px,100%); margin: 20px auto 0; font-size: 11px; text-align: center; color: #53636a; }
@media(max-width:600px) { .billing-plans { grid-template-columns: 1fr; } .payment-history article { flex-direction: column; align-items: start; } .header nav { gap: 10px; font-size: 11px; } .header .brand { font-size: 21px; } .header nav .text-button { font-size: 11px; } }
@media(max-width:600px) { .header { gap: 12px; } .header .brand { flex-shrink: 0; } .header nav { min-width: 0; flex-wrap: wrap; justify-content: flex-end; } }
