/* V55 — shared public/preview composition. Custom colors remain CSS variables. */
.ecard-card{width:min(100%,480px);margin:32px auto;border-radius:26px;--card-pad:26px;--hairline:color-mix(in srgb,var(--ink) 14%,transparent);--wash:color-mix(in srgb,var(--ink) 5%,var(--surface));line-height:1.6;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;isolation:isolate}
.ecard-card *{min-width:0}
.ecard-card h1,.ecard-card h2,.ecard-card h3{letter-spacing:-.025em;text-wrap:balance;word-break:normal;overflow-wrap:anywhere}
.ecard-card h1{font-weight:750;line-height:1.14;margin:0}
.ecard-card h2{font-size:1.125em;line-height:1.3;font-weight:700;margin:0 0 10px}
.ecard-card h3{line-height:1.35}.ecard-card p{margin:0 0 12px}.ecard-card p:last-child{margin-bottom:0}
.ecard-card .ecard-cover{position:relative;overflow:hidden;background:var(--wash)}
.ecard-card .cover{width:100%;display:block;object-fit:cover}
.ecard-card .cover-placeholder{height:112px;background:radial-gradient(ellipse at 15% 10%,color-mix(in srgb,var(--accent) 25%,transparent),transparent 65%),linear-gradient(130deg,var(--wash),var(--surface))}
.ecard-card .profile-head{position:relative;padding:0 var(--card-pad) 22px;text-align:center}
.ecard-card .profile-media{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:16px;margin-top:-48px;margin-bottom:18px;min-height:80px}
.ecard-card .avatar{flex:none;display:block;object-fit:cover;border:5px solid var(--surface);box-shadow:0 8px 24px #0002;background:var(--wash)}
.ecard-card .avatar-initials{display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:32px;font-weight:700;line-height:1}
.ecard-card .brand-logo{position:absolute;right:0;bottom:0;max-width:90px;min-height:40px;padding:7px 10px;background:#fff;border:1px solid #dce1e6;border-radius:10px;display:flex;align-items:center}
.ecard-card .logo{display:block;width:auto;height:auto;max-width:68px;max-height:34px;margin:0;object-fit:contain}
.ecard-card .profile-identity{display:grid;gap:7px}.ecard-card .profile-identity p{margin:0}
.ecard-card .job{font-size:.93em;font-weight:450;line-height:1.45;color:var(--muted)}
.ecard-card .profile-identity .label{font-size:.76em;line-height:1.5;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.ecard-card .tagline{font-size:.94em;line-height:1.5;font-weight:500;margin-top:4px!important}
.ecard-card .card-content{padding:0 var(--card-pad) 22px}
.ecard-card .contact-actions{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px;margin-bottom:14px}
.ecard-card .contact-actions>*{min-height:48px;margin:0;padding:12px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px;line-height:1.25;font-weight:650;border-radius:var(--round,12px)}
.ecard-card .contact-actions svg{width:20px;height:20px;flex:none}
.ecard-card .share-action{background:var(--wash);border:1px solid var(--hairline);color:var(--ink)}
.ecard-card .quick-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;margin:0 0 22px}
.ecard-card .quick-actions:empty{display:none}
.ecard-card .quick-action{padding:12px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:72px;border:1px solid var(--hairline);background:var(--wash);border-radius:var(--round,12px);text-decoration:none;color:var(--ink);font-size:12px;line-height:1.3;font-weight:550}
.ecard-card .quick-action svg{width:22px;height:22px;color:var(--accent)}
.ecard-card button:disabled{opacity:1;cursor:default}.ecard-card button:disabled:focus{outline:none}
.ecard-card .text{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.ecard-card .ecard-address{display:flex;gap:12px;margin-top:20px;padding:14px 0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);text-align:left}
.ecard-card .ecard-address svg{width:20px;height:20px;flex:none;margin-top:4px;color:var(--accent)}
.ecard-card .ecard-address span{display:block;color:var(--muted);font-size:12px}.ecard-card .ecard-address p{font-size:.9em;margin:3px 0 0}
.ecard-card .profile-links{margin-top:22px;gap:10px}
.ecard-card .profile-links:empty{display:none}
.ecard-card .profile-links a{position:relative;min-height:58px;padding:12px 14px;gap:12px;border:1px solid var(--hairline);font-size:.93em;line-height:1.4}
.ecard-card .profile-links.social-list a:after{content:'↗';margin-left:auto;font-size:18px;opacity:.55;flex:none}
.ecard-card .social-icon{width:36px;height:36px;border:0;border-radius:10px;background:var(--wash);color:inherit}
.ecard-card .social-icon svg{width:var(--icon,22px);height:var(--icon,22px);max-width:28px;max-height:28px}
.ecard-card .profile-links.social-icons{gap:10px;justify-content:center}
.ecard-card .profile-links.social-icons a{width:48px;min-height:48px;padding:6px;border-radius:50%;justify-content:center}
.ecard-card .social-icons .social-icon{background:transparent}
.ecard-card .profile-links.social-grid a{padding:16px 10px;gap:9px}
.ecard-card .ecard-product{border:1px solid var(--hairline);border-radius:var(--round);padding:14px}
.ecard-card .ecard-product img{display:block;aspect-ratio:4/3;object-fit:contain;background:var(--wash);margin:0 0 14px}
.ecard-card .ecard-product h3{margin:0 0 8px}.ecard-card .ecard-product strong{font-size:.94em;color:var(--accent)}
.ecard-card details{border-color:var(--hairline);padding:14px;margin:20px 0 0}.ecard-card summary{font-size:.92em;line-height:1.5}
.ecard-card input,.ecard-card select,.ecard-card textarea{border-color:var(--hairline);font-size:16px;line-height:1.4}
.ecard-card label{font-size:13px;text-align:left}.ecard-card label input,.ecard-card label textarea,.ecard-card label select{margin-top:6px}
.ecard-card fieldset{padding:0;margin:0;border:0;min-width:0}
.ecard-card .check{font-size:12px;line-height:1.55}.ecard-card .check input{margin-top:2px}
.ecard-card footer{margin-top:28px;padding-top:18px;flex-wrap:wrap;font-size:11px;line-height:1.5;border-color:var(--hairline)}
.ecard-card footer a{text-decoration:none}.ecard-card #card-status:empty{display:none}
.ecard-card.layout-business .profile-head{text-align:left}.ecard-card.layout-business .profile-media{justify-content:flex-start;margin-top:-36px;margin-bottom:16px}
.ecard-card.layout-business .brand-logo{max-width:130px}.ecard-card.layout-business .logo{max-width:108px;max-height:40px}
.ecard-card.layout-business .profile-links.social-icons{justify-content:flex-start}
.ecard-card.layout-minimal .ecard-cover.no-cover{display:none}.ecard-card.layout-minimal .profile-head{padding-top:24px;text-align:left}
.ecard-card.layout-minimal .profile-media{margin-top:0;justify-content:flex-start;margin-bottom:18px;min-height:72px}
.ecard-card.layout-minimal .ecard-cover.has-cover+.profile-head{padding-top:22px}
.ecard-card.layout-minimal .avatar{border-width:0;box-shadow:none}.ecard-card.layout-minimal .brand-logo{background:var(--surface);border-color:var(--hairline)}
.ecard-card.layout-minimal .quick-action{min-height:56px;flex-direction:row;flex-wrap:wrap;background:transparent}
.ecard-card.layout-minimal .profile-links a{border-width:0 0 1px;border-radius:0;padding-inline:0}
/* The guide must not create an implicit third grid row across the form/preview. */
.ecard-editor-layout>.ecard-guide{grid-column:1/-1;grid-row:1}
@media(min-width:1100px){.ecard-editor-layout>form{grid-row:2}.ecard-editor-layout>.ecard-tools{grid-row:2}.ecard-expanded-preview>.ecard-tools{grid-column:1/-1;grid-row:2;position:static}.ecard-expanded-preview>form{grid-column:1/-1;grid-row:3}}
.ecard-tools .ecard-preview-sizes{flex-wrap:wrap}.ecard-tools iframe{width:100%;max-width:430px;height:660px}.ecard-tools .ecard-preview-mobile{max-width:360px}
.ecard-presets button{flex:1 1 120px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;min-height:92px;border-color:#526070}
.ecard-presets button small{font-size:11px;font-weight:400;line-height:1.4}.ecard-presets button[data-preset=night]{background:#17212b;color:#fff;border-top:4px solid #f4c542}.ecard-presets button[data-preset=graphite]{background:#202d3b;color:#fff;border-top:4px solid #83c5ff}.ecard-presets button[data-preset=light]{background:#fafafa;color:#17212b;border-top:4px solid #005a91}.ecard-presets button[data-preset=classic]{background:#17212b;color:#fff;border-top:4px solid #c4a879}
@media(max-width:600px){.ecard-card{margin:0 auto;border-radius:0;min-height:100dvh;--card-pad:22px}.ecard-card .brand-logo{position:static;max-width:92px;align-self:flex-end;margin-bottom:3px}.ecard-card .profile-media{flex-wrap:wrap}.ecard-tools iframe{height:600px}.ecard-guide-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:350px){.ecard-card{--card-pad:18px}.ecard-card .contact-actions>*{font-size:13px;gap:7px}.ecard-card .contact-actions{gap:8px;grid-template-columns:minmax(0,1fr) 44px}.ecard-card .quick-actions{gap:8px}}
/* V56 — progressive editor, every original field remains in the same form. */
.ecard-flow-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:12px}
.ecard-flow-nav button{padding:10px 5px;font-size:13px;min-height:48px}
.ecard-flow-nav [aria-current=step]{background:#f4c542;color:#0e1621;border-color:#f4c542;font-weight:750}
.ecard-flow-panel>details{margin-top:12px}.ecard-flow-panel details details{background:#ffffff04}
.ecard-flow-pager{display:flex;justify-content:space-between;gap:12px;margin:18px 0}
.ecard-flow-pager button:last-child{margin-left:auto}
.ecard-flow-panel input[type=range]{padding:4px 0;accent-color:#f4c542;border:0;background:transparent;min-height:32px}
.ecard-flow-panel small{display:block;font-weight:400;line-height:1.5;color:#b8c4ce;margin-top:8px}
.ecard-review{padding:18px;border:1px solid #526070;border-radius:12px;line-height:1.8}
#ecard-profile-form>.ecard-editor-actions{position:sticky;bottom:0;padding:12px 0;background:#0e1621;z-index:3;border-top:1px solid #526070}
@media(max-width:420px){.ecard-flow-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.ecard-flow-panel .ecard-grid{grid-template-columns:1fr}}

/* V58 — compact contact actions, consistent colors and readable wallpaper. */
.ecard-card{color:var(--ink)}
.ecard-card .quick-action{min-height:48px;padding:8px 6px;gap:5px;flex-direction:row;flex-wrap:wrap;background:transparent;border:0}
.ecard-card .quick-action svg,.ecard-card .ecard-address svg,.ecard-card .social-icon,.ecard-card .share-action svg{color:var(--icon-ink,var(--accent))}
.ecard-card .profile-links a{min-height:48px;padding:8px 12px}
.ecard-card .social-icon{background:transparent}
.ecard-card .ecard-product{padding:12px;margin:10px 0;border-width:0 0 1px;border-radius:0;background:transparent;text-align:left}
.ecard-card .ecard-product>img{max-height:180px;object-fit:contain;margin:0 auto 12px}
.ecard-card .ecard-product>h3{font-size:1em;margin:8px 0}.ecard-card .ecard-product>strong{color:var(--ink)}
.ecard-card details{padding:10px 12px;background:transparent}.ecard-card summary{font-size:.9em;min-height:28px}
#ecard-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);z-index:1000;width:min(90vw,560px);padding:14px 18px;border-radius:12px;background:#163d2d;color:#fff;box-shadow:0 6px 30px #0005;border:1px solid #68bd94;font:15px/1.5 system-ui}
#ecard-toast.error{background:#572326;border-color:#ffacac}

/* V59 — stable form/preview layout, concise guidance and discoverable link. */
.ecard-editor-layout{display:block}
.ecard-preview-toggle{margin:10px 0;width:100%}
.ecard-tools{position:static;max-height:none}
.ecard-permalink{margin:14px 0;padding:12px;border:1px solid #526070;border-radius:10px}.ecard-permalink input{font-size:12px}
.ecard-guide{padding:12px 16px;margin:12px 0}.ecard-guide h2{font-size:17px;margin-bottom:8px}.ecard-guide-grid>div{padding:8px}.ecard-guide p{font-size:13px;margin:6px 0}
.ecard-presets button{min-height:72px;flex-basis:110px}
@media(min-width:1000px){.ecard-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:18px}.ecard-editor-layout>.ecard-guide{grid-column:1/-1;grid-row:1}.ecard-editor-layout>form{grid-column:1;grid-row:2}.ecard-editor-layout>.ecard-tools{grid-column:2;grid-row:2;position:sticky;top:12px;max-height:calc(100dvh - 24px);overflow:auto}.ecard-preview-toggle{display:none}}
@media(max-width:999px){.ecard-editor-layout>.ecard-tools{display:none}.ecard-editor-layout.ecard-preview-open>.ecard-tools{display:block}.ecard-tools iframe{height:560px}.ecard-flow-nav{position:sticky;top:0;background:#0e1621;padding:8px 0;z-index:4}}

/* V60 — short, consistent public actions. */
.ecard-card summary{display:flex;align-items:center;gap:10px;list-style:none;text-align:left;padding:4px 0}
.ecard-card summary::-webkit-details-marker{display:none}
.ecard-card summary:after{content:'+';margin-left:auto;font-size:20px;line-height:1}
.ecard-card details[open]>summary:after{content:'−'}
.ecard-card summary svg{width:22px;height:22px;flex:none;color:var(--icon-ink,var(--accent))}
.ecard-card .profile-links.social-list a:after{display:none}
.ecard-card .ecard-contact-panel{margin-top:18px}
.ecard-card details[open]>summary{margin-bottom:12px}
.ecard-admin .ecard-tabs{margin:12px 0}

/* V61 — three opt-in compositions, legacy layouts retained. */
.ecard-card.layout-professional .profile-head{text-align:left;padding-bottom:20px}
.ecard-card.layout-professional .profile-media{justify-content:flex-start;margin-top:-30px;margin-bottom:16px}
.ecard-card.layout-professional .brand-logo{margin-left:auto;position:static}
.ecard-card.layout-professional .profile-links.social-icons{justify-content:flex-start}
.ecard-card.layout-professional .contact-actions{margin-top:2px}
.ecard-card.layout-signature .profile-head{padding-bottom:24px}
.ecard-card.layout-signature .profile-identity{gap:10px}
.ecard-card.layout-signature .profile-identity h1{color:var(--accent);font-weight:500;letter-spacing:-.035em}
.ecard-card.layout-signature .profile-identity .label{letter-spacing:.14em;font-size:.72em}
.ecard-card.layout-signature .profile-media{margin-top:-42px}
.ecard-card.layout-signature .avatar{border-color:var(--accent);border-width:3px}
.ecard-card.layout-signature .ecard-cover{border-bottom:1px solid var(--accent)}
.ecard-card.layout-signature .profile-links{padding:16px 0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline)}
.ecard-card .immersive-hero{position:relative;min-height:440px;display:flex;align-items:flex-end;background:#101318;isolation:isolate;overflow:hidden}
.ecard-card .immersive-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.ecard-card .immersive-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 15%,#0005 40%,#000e 100%);z-index:-1}
.ecard-card .immersive-identity{width:100%;padding:90px 26px 28px;color:#fff;text-align:left}
.ecard-card .immersive-identity h1{font-size:var(--hero-title,36px);line-height:1.1;max-width:100%;color:#fff;margin:0 0 12px}
.ecard-card .immersive-identity .job,.ecard-card .immersive-identity .label,.ecard-card .immersive-identity .tagline{color:#fff;margin:6px 0;font-size:.9em}
.ecard-card .immersive-identity .label{letter-spacing:.08em;text-transform:uppercase;font-size:.72em}
.ecard-card .immersive-logo{max-width:100px;max-height:42px;object-fit:contain;margin-bottom:20px;padding:6px;background:#fff;border-radius:8px}
.ecard-card.layout-immersive .card-content{padding-top:22px}
.ecard-card .immersive-hero.no-portrait{min-height:260px;background:linear-gradient(135deg,var(--surface),#283343)}
.ecard-template-mini{display:block;position:relative;height:115px;width:100%;max-width:150px;border:1px solid #ffffff35;border-radius:8px;overflow:hidden;background:#0e1621}
.ecard-template-mini i{position:absolute;display:block;background:#ced6e0;border-radius:3px}
.ecard-template-mini .mini-cover{top:0;left:0;right:0;height:35px;background:#304b64}
.ecard-template-mini .mini-avatar{top:23px;left:12px;width:27px;height:27px;background:#b8c5d2;border:2px solid #0e1621}
.ecard-template-mini .mini-name{top:60px;left:12px;width:65%;height:5px}.ecard-template-mini .mini-line{top:72px;left:12px;width:45%;height:3px;background:#8896a5}
.ecard-template-mini .mini-action{bottom:13px;left:12px;right:12px;height:12px;background:#83c5ff}
.ecard-template-mini.mini-immersive{background:linear-gradient(140deg,#758491,#151b25)}.mini-immersive .mini-cover{display:none}.mini-immersive .mini-avatar{top:10px;left:calc(50% - 18px);width:36px;height:44px;border-radius:50% 50% 20% 20%;border:0;background:#9eabb7}.mini-immersive .mini-action{background:#f4c542}
.mini-signature .mini-cover{background:#3d3428}.mini-signature .mini-avatar{left:calc(50% - 14px);border-radius:50%;border-color:#d7b579}.mini-signature .mini-name{left:20%;width:60%;background:#d7b579}.mini-signature .mini-line{left:30%;width:40%}.mini-signature .mini-action{background:#d7b579}
.ecard-presets button[data-preset]{background:#17212b;color:#fff;flex:1 1 130px;align-items:center;text-align:center;min-height:185px}
@media(max-width:380px){.ecard-card .immersive-hero{min-height:400px}.ecard-card .immersive-identity{padding-inline:20px}.ecard-presets button[data-preset]{flex-basis:100px}}

/* V64 — readable content and compact client management. */
.ecard-card .ecard-product>img{width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:12px}
.ecard-card h2{font-size:1.08em;line-height:1.35;font-weight:600;letter-spacing:-.015em;margin-bottom:10px}
.ecard-card .text{font-size:.94em;line-height:1.6;margin-top:8px}
.ecard-card .ecard-address{padding:12px 0;border-top:0;gap:10px;align-items:center}
.ecard-card .ecard-address svg{margin:0}.ecard-card .ecard-address p{margin:2px 0;font-size:.88em}
.ecard-card .quick-action{flex-direction:column;flex-wrap:nowrap;gap:7px;padding:10px 6px;min-height:60px;font-size:12px;font-weight:500}
.ecard-card .quick-action svg{flex:none}
.ecard-card .contact-actions>*{font-size:13px;font-weight:600;padding:10px;min-height:46px}
.ecard-card summary{font-size:.84em;font-weight:550;gap:10px}
.ecard-card summary svg{width:18px;height:18px}.ecard-card summary:after{font-size:17px;font-weight:400}
.ecard-admin .ecard-filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(150px,1fr)) auto;gap:12px;align-items:end;padding:16px;border:1px solid #ffffff20;border-radius:14px;background:#17212b;margin:20px 0 12px}
.ecard-filters label{font-size:13px}.ecard-filters input,.ecard-filters select,.ecard-filters button{min-height:44px;font-size:14px;padding:10px 12px}
#ecard-reset-filters{grid-column:1/-1;justify-self:start;padding:4px 0;min-height:32px;border:0;background:none;color:#bac9d4;text-decoration:underline}
#ecard-list-count{font-size:13px;color:#bac9d4}#ecard-pagination{display:flex;gap:14px;align-items:center;justify-content:center;margin:24px 0}#ecard-pagination[hidden]{display:none}
#ecard-card-list .ecard-item{padding:18px;border-color:#ffffff22;background:#17212b;border-radius:14px;min-width:0}
#ecard-card-list .ecard-mini-visual{background:none;min-height:0;padding:0 0 14px;border-bottom:1px solid #ffffff18;border-radius:0;text-align:left;align-items:flex-start}
#ecard-card-list .ecard-mini-visual img{width:44px;height:44px;object-fit:cover;border-radius:50%}#ecard-card-list .ecard-mini-visual strong{font-size:18px}#ecard-card-list .ecard-mini-visual span{font-size:13px}
#ecard-card-list p{font-size:13px;margin:10px 0;overflow-wrap:anywhere}#ecard-card-list button,#ecard-card-list .ecard-list-preview{font-size:13px;min-height:44px}#ecard-card-list button{margin-left:12px}#ecard-card-list .ecard-list-preview{display:inline-flex;align-items:center}
.ecard-org-toolbar{display:flex;gap:14px;align-items:end;max-width:800px;margin:24px 0}.ecard-org-toolbar label{flex:1}.ecard-org-toolbar button{min-height:44px;flex:none}
#business-org-editor:not(:empty){max-width:900px;background:#17212b;border:1px solid #ffffff22;border-radius:16px;padding:24px}#business-org-editor h2{font-size:23px;margin-top:0}#business-org-editor label{font-size:13px}#business-org-editor input,#business-org-editor select{font-size:14px;min-height:44px}#business-org-editor .ecard-help{font-size:13px;line-height:1.6;color:#bac9d4}#business-org-form details{margin:20px 0}.ecard-org-actions{display:flex;gap:12px;margin-top:20px}
@media(max-width:1000px){.ecard-admin .ecard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ecard-admin .ecard-filters{grid-template-columns:minmax(0,1fr)}.ecard-org-toolbar{align-items:stretch;flex-direction:column}#business-org-editor:not(:empty){padding:16px}#business-org-form .ecard-grid{grid-template-columns:minmax(0,1fr)}}

#business-org-editor input[type=checkbox]{min-height:0;width:18px;height:18px}.ecard-admin .ecard-org-toolbar label{font-size:13px}
#ecard-card-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}

/* V65 — natural image proportions and readable information panels. */
.ecard-card .ecard-product>img{width:100%;height:auto;aspect-ratio:auto;max-height:none;object-fit:contain;background:transparent}
.ecard-card .ecard-info-panel,.ecard-card .ecard-address{padding:16px;border:1px solid var(--hairline);border-radius:14px;background:color-mix(in srgb,var(--surface) 80%,transparent)}
.ecard-card .ecard-info-panel h2{display:flex;align-items:center;gap:9px;font-size:.94em;margin:0 0 9px;font-weight:600}.ecard-card .ecard-info-panel h2 svg{width:18px;height:18px;flex:none;color:var(--icon-ink,var(--accent))}
.ecard-card .ecard-info-panel .text{margin:0;font-size:.88em;line-height:1.65}.ecard-card .ecard-address p{font-size:.88em}
.ecard-card .quick-action{border:1px solid var(--hairline);border-radius:14px;background:color-mix(in srgb,var(--surface) 85%,transparent);font-size:11px;min-height:64px;gap:6px}
.ecard-card .contact-actions>*{min-height:48px;border-radius:14px;font-weight:550}.ecard-card .contact-actions .primary{box-shadow:0 4px 16px #0002}
.ecard-card .ecard-direct-links{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.ecard-card .ecard-direct-links a{display:inline-flex;align-items:center;padding:10px 14px;border-radius:12px;min-height:44px;border:1px solid var(--hairline);text-decoration:none;color:var(--ink);background:var(--wash)}
.ecard-card .ecard-direct-note{font-size:12px;line-height:1.5;color:var(--ink)}

/* V121 — appointment request: compact entry, guided slot and direct handoff. */
.ecard-card .ecard-appointment-panel{padding:0;margin:0;overflow:hidden;background:color-mix(in srgb,var(--surface) 18%,transparent);border-radius:var(--round)}
.ecard-card .ecard-appointment-panel>summary{padding:15px 16px;text-align:left;gap:12px;min-height:64px}
.ecard-card .ecard-appointment-panel>summary>svg{width:22px;height:22px}
.ecard-card .ecard-appointment-panel>summary>span{display:grid;gap:3px}
.ecard-card .ecard-appointment-panel>summary strong{font-weight:650;font-size:1em;line-height:1.35}
.ecard-card .ecard-appointment-panel>summary small{font-size:12px;line-height:1.4;font-weight:400;color:var(--muted)}
.ecard-card .ecard-appointment-content{padding:0 16px 16px;text-align:left;border-top:1px solid var(--hairline)}
.ecard-card .ecard-appointment-content>.text{margin-top:14px;font-size:.9em}
.ecard-card .ecard-appointment-hint{font-size:13px;line-height:1.5;margin:14px 0 18px}
.ecard-card .ecard-form-label{font-size:13px;font-weight:650;margin:18px 0 10px}
.ecard-card .ecard-appointment-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}
.ecard-card .ecard-appointment-dates:empty{display:none}
.ecard-card .ecard-appointment-dates button{font-size:12px;padding:9px 6px;min-height:44px;background:transparent;color:var(--ink);border:1px solid var(--hairline)}
.ecard-card .ecard-appointment-dates button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.ecard-card .ecard-appointment-help{font-size:11px;line-height:1.5;color:var(--muted)}
.ecard-card .ecard-appointment-date-error{font-size:12px;font-weight:600;line-height:1.5}
.ecard-card .ecard-appointment-date-error:empty{display:none}
.ecard-card .ecard-appointment-recap{font-size:13px;padding:10px 12px;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--surface) 50%,transparent);line-height:1.5;border-radius:0 8px 8px 0}
.ecard-card .ecard-appointment-options{padding:10px 0;border-width:0 0 1px;border-radius:0;margin:2px 0 12px}
.ecard-card .ecard-appointment-send{display:grid;gap:8px;margin-top:14px}
.ecard-card .ecard-appointment-send button{width:100%;min-height:46px;font-size:13px}
.ecard-card .ecard-appointment-send .ecard-appointment-secondary{background:transparent;border:1px solid var(--hairline);color:var(--ink)}
.ecard-card .ecard-appointment-send button:disabled{opacity:.45;cursor:default}
.ecard-card .ecard-appointment-content .ecard-direct-note{margin-top:12px;font-size:11px}
@media(max-width:350px){.ecard-card .ecard-appointment-content .ecard-grid{grid-template-columns:1fr}.ecard-card .ecard-appointment-content{padding:0 12px 12px}}
.ecard-admin .ecard-action-danger{background:#602f38;border-color:#e99ba8;color:#fff}.ecard-admin .ecard-action-success{background:#194c3e;border-color:#78c7ab;color:#fff}.ecard-admin .ecard-action-info{background:#23496e;border-color:#8eb9e5;color:#fff}
#business-detail{max-width:900px}#business-action{padding:18px;margin:20px 0;border:1px solid #ffffff25;border-radius:14px;background:#17212b;display:grid;gap:12px}#business-action label{font-size:13px}#business-action input,#business-action select{min-height:44px;font-size:14px}#business-action input[type=checkbox]{min-height:0}#business-action button{justify-self:start}#business-detail>details{margin:14px 0}
#ecard-publish,#business-create-doc{background:#194c3e;border-color:#78c7ab;color:#fff}#ecard-withdraw{background:#602f38;border-color:#e99ba8;color:#fff}
/* V70: remise des accès, séparée de la publication de la carte. */
.ecard-delivery{padding:20px;border:1px solid #ffffff25;border-radius:16px;background:#17212b;margin:16px 0;overflow-wrap:anywhere}.ecard-delivery label{display:grid;gap:8px}.ecard-delivery textarea,.ecard-delivery input{box-sizing:border-box;width:100%;max-width:100%}.ecard-delivery .ecard-editor-actions a{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:12px;text-decoration:none;font-weight:650}.ecard-delivery-whatsapp{background:#146c43;color:#fff}.ecard-delivery-email{background:#204f95;color:#fff}.ecard-delivery a[aria-disabled=true]{opacity:.5;cursor:not-allowed}.ecard-delivery small{display:block;margin-top:8px}.ecard-delivery :focus-visible{outline:3px solid #f4c542;outline-offset:3px}

/* V71 — Private phone access controls */
#ecard-phone-access:not(:empty){margin:24px 0;padding:20px;border:1px solid var(--line,#ffffff24);border-radius:14px;background:#ffffff05}#ecard-phone-access label{display:block;margin:16px 0}#ecard-phone-access input[type=checkbox]{display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:8px}#ecard-phone-access input[type=tel]{display:block;width:100%;margin-top:7px}#ecard-phone-access button{margin-bottom:16px;background:#23476a;color:white;border-color:#6bade5}#ecard-phone-access h3{margin-top:0}

/* V122 — contact compact et présentation près de l’identité. */
.ecard-card .contact-actions{display:flex;justify-content:center;gap:8px;margin:16px 0 12px}
.ecard-card .contact-actions>*{min-height:44px;padding:10px 14px;font-size:13px;border-radius:var(--round)}
.ecard-card .contact-actions .share-action{width:44px;padding:10px;flex:none}
.ecard-card .ecard-bio{margin-top:0;padding:12px 0;border-bottom:1px solid var(--hairline)}
.ecard-card .ecard-bio .text{font-size:.93em;line-height:1.55}
.ecard-card .ecard-bio h2{font-size:1em;margin-bottom:8px}

/* V123 — uniform panels and icon-only information with accessible disclosure. */
.ecard-card .ecard-bio{padding:14px;margin-top:12px}
.ecard-card .ecard-address{padding:14px;margin-top:12px}
.ecard-card .ecard-info-short{display:inline-block;vertical-align:top;width:auto;max-width:100%;padding:0;margin:12px 8px 0 0}
.ecard-card .ecard-info-short>summary{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:10px;box-sizing:border-box;border:1px solid var(--icon-border);border-radius:var(--round)}
.ecard-card .ecard-info-short>summary:after{display:none}
.ecard-card .ecard-info-short>summary svg{width:22px;height:22px;color:var(--icon-ink)}
.ecard-card .ecard-info-short[open]{display:block;width:auto;margin-right:0}
.ecard-card .ecard-info-content{padding:12px 14px;max-width:100%;overflow-wrap:anywhere}
.ecard-card .ecard-info-content .text{color:var(--panel-ink)}
.ecard-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ecard-card .contact-actions .save-contact svg{width:20px;height:20px;flex:none}
.ecard-card .profile-links.social-grid a{min-height:76px;padding:12px;gap:8px}
.ecard-card .profile-links.social-grid .social-label{font-size:.9em}

.ecard-card .ecard-block-panel,.ecard-card .ecard-contact-panel{padding:14px}

.ecard-card .card-content>details,.ecard-card .card-content>footer{padding:12px 14px}
