.pkp-ebc-wrap{max-width:1180px;margin:28px auto;color:#172033;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pkp-ebc-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.pkp-ebc-head h2{font-size:28px;line-height:1.2;margin:5px 0;color:#14213d}.pkp-ebc-head p{margin:0;color:#718096}.pkp-ebc-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#6477a5}.pkp-ebc-count{background:#edf2ff;color:#3856a6;border-radius:30px;padding:9px 15px;font-size:12px;font-weight:700}.pkp-ebc-grid{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr);gap:20px}.pkp-ebc-panel{background:#fff;border:1px solid #e7ebf2;border-radius:18px;padding:22px;box-shadow:0 8px 28px rgba(26,42,75,.05)}.pkp-ebc-panel h3{font-size:17px;margin:0 0 18px;color:#17233d}.pkp-ebc-form-panel label{display:block;font-size:12px;font-weight:700;color:#526078;margin:0 0 13px}.pkp-ebc-form-panel input,.pkp-ebc-form-panel select,.pkp-ebc-form-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #dfe5ef;border-radius:9px;padding:11px 12px;background:#fbfcfe;color:#172033;font-size:13px;min-height:42px}.pkp-ebc-form-panel input:focus,.pkp-ebc-form-panel select:focus,.pkp-ebc-form-panel textarea:focus{outline:0;border-color:#7189d5;box-shadow:0 0 0 3px #eaf0ff}.pkp-ebc-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pkp-ebc-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:linear-gradient(135deg,#3459b8,#647fe0);color:#fff!important;text-decoration:none!important;padding:12px 20px;font-weight:700;font-size:13px;cursor:pointer}.pkp-ebc-cancel{margin-left:12px;color:#68758d;text-decoration:none}.pkp-ebc-list-head{display:flex;justify-content:space-between;align-items:center}.pkp-ebc-list-head span{font-size:11px;color:#8490a4}.pkp-ebc-card-row{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-top:1px solid #edf0f5}.pkp-ebc-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:linear-gradient(135deg,#dfe8ff,#f1eaff);display:grid;place-items:center;color:#3857ac;font-size:16px;font-weight:800}.pkp-ebc-card-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.pkp-ebc-card-info strong{font-size:13px;color:#1e2a42}.pkp-ebc-card-info small{font-size:11px;color:#8290a5}.pkp-ebc-card-info>a{font-size:11px;color:#4969c4;text-decoration:none}.pkp-ebc-status{width:max-content;border-radius:20px;padding:3px 8px;font-size:10px;font-weight:700;background:#fff4dc;color:#9a6a12}.pkp-ebc-status.status-published{background:#e6f8ef;color:#218052}.pkp-ebc-status.status-rejected{background:#ffebeb;color:#b44343}.pkp-ebc-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-end}.pkp-ebc-actions a,.pkp-ebc-actions button{font-size:11px;color:#526cc0;text-decoration:none;background:none;border:0;padding:0;cursor:pointer}.pkp-ebc-empty{text-align:center;padding:45px 15px;color:#7e8ba0}.pkp-ebc-empty span{font-size:28px;color:#8297df}.pkp-ebc-empty strong{display:block;color:#273653;margin:10px 0 4px}.pkp-ebc-empty p{font-size:12px;margin:0}.pkp-ebc-admin-stats{display:flex;gap:14px;margin:18px 0}.pkp-ebc-admin-stats>div{background:#fff;border:1px solid #e5eaf2;border-radius:12px;padding:15px 22px;min-width:115px}.pkp-ebc-admin-stats strong{display:block;font-size:23px;color:#233d81}.pkp-ebc-admin-stats span{font-size:11px;color:#77839a}.pkp-ebc-public-body{background:#f3f6fc!important;margin:0!important;padding:30px 15px!important}.pkp-ebc-public{max-width:520px;margin:20px auto;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 20px 60px rgba(25,43,82,.12);position:relative;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17233d}.pkp-ebc-public-cover{height:135px;background:linear-gradient(120deg,#233d7a,#5b78d4 60%,#b5c7fa)}.pkp-ebc-public-avatar{width:88px;height:88px;border-radius:24px;background:#fff;border:5px solid white;box-shadow:0 5px 18px #1b326222;margin:-48px auto 12px;display:grid;place-items:center;font-size:34px;font-weight:800;color:#4565bd;position:relative}.pkp-ebc-public-content{text-align:center;padding:0 28px 28px}.pkp-ebc-public-content h1{font-size:25px;margin:8px 0 4px;color:#17233d}.pkp-ebc-designation{margin:0;color:#71809b;font-size:13px}.pkp-ebc-public-content h2{font-size:15px;margin:12px 0;color:#3d5cae}.pkp-ebc-about{font-size:13px;line-height:1.7;color:#65738a}.pkp-ebc-public-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:22px 0}.pkp-ebc-public-actions a{background:#edf2ff;color:#3458b5;text-decoration:none;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:700}.pkp-ebc-public-actions a.whatsapp{background:#e6f8ef;color:#16824e}.pkp-ebc-public-detail{text-align:left;background:#f7f9fd;border-radius:12px;padding:13px;margin:14px 0}.pkp-ebc-public-detail strong{font-size:11px;color:#52638a}.pkp-ebc-public-detail p{font-size:12px;color:#64728a;margin:5px 0 0;line-height:1.5}.pkp-ebc-save-contact{background:#263f86;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-weight:700;cursor:pointer}.pkp-ebc-powered{font-size:10px;color:#a0aabd;margin:22px 0 0}.pkp-ebc-public-body #wpadminbar{display:none}@media(max-width:760px){.pkp-ebc-grid{grid-template-columns:1fr}.pkp-ebc-head{align-items:flex-start}.pkp-ebc-head h2{font-size:23px}.pkp-ebc-panel{padding:17px}.pkp-ebc-two{grid-template-columns:1fr;gap:0}.pkp-ebc-actions{gap:10px}.pkp-ebc-admin-stats{flex-wrap:wrap}.pkp-ebc-public-body{padding:10px!important}}

.pkp-ebc-notice{background:#eaf8f0;border:1px solid #c9ecd8;color:#176b43;border-radius:10px;padding:12px 15px;margin:0 0 18px;font-size:13px;font-weight:600}.pkp-ebc-admin-form .form-table th{width:190px}.pkp-ebc-admin-form .form-table input,.pkp-ebc-admin-form .form-table select,.pkp-ebc-admin-form .form-table textarea{max-width:520px;width:100%}

.pkp-ebc-upload-preview{display:block;max-width:150px;max-height:90px;object-fit:cover;border-radius:10px;margin:8px 0}.pkp-ebc-help{display:block;margin-top:5px;color:#8994a8;font-size:10px;font-weight:500}.pkp-ebc-public-cover{background-size:cover;background-position:center}.pkp-ebc-public-avatar{overflow:hidden}.pkp-ebc-public-avatar img{width:100%;height:100%;object-fit:cover;border-radius:19px}.pkp-ebc-public-logo{display:block;max-width:125px;max-height:65px;object-fit:contain;margin:0 auto 12px}
.pkp-ebc-avatar{overflow:hidden}.pkp-ebc-avatar img{width:100%;height:100%;object-fit:cover;border-radius:12px}

/* Live card builder preview */
.pkp-ebc-live-preview{max-width:420px;margin:22px auto;padding:0 0 20px;background:#fff;border:1px solid #e4e9f2;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(26,42,75,.09);text-align:center;color:#17233d}.pkp-ebc-preview-cover{height:105px;background:linear-gradient(120deg,#233d7a,#5b78d4 60%,#b5c7fa);overflow:hidden}.pkp-ebc-preview-cover img{display:none;width:100%;height:100%;object-fit:cover}.pkp-ebc-preview-avatar{width:76px;height:76px;margin:-39px auto 10px;border:4px solid #fff;border-radius:21px;background:#edf2ff;position:relative;display:grid;place-items:center;color:#4565bd;font-size:27px;font-weight:800;overflow:hidden;box-shadow:0 4px 14px #1b326222}.pkp-ebc-preview-avatar img{display:none;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.pkp-ebc-preview-avatar span{position:relative}.pkp-ebc-preview-body{padding:0 22px}.pkp-ebc-preview-logo{display:none;max-width:100px;max-height:48px;object-fit:contain;margin:0 auto 8px}.pkp-ebc-preview-body>span{font-size:9px;letter-spacing:1.3px;font-weight:800;color:#6477a5}.pkp-ebc-preview-body h2{font-size:21px;margin:7px 0 3px;color:#17233d}.pkp-ebc-preview-body p{font-size:12px;color:#71809b;margin:5px 0;line-height:1.5}.pkp-ebc-preview-body strong{display:block;font-size:13px;color:#3d5cae;margin:8px 0}.pkp-ebc-admin-form .pkp-ebc-live-preview{margin:18px 0 24px}.pkp-ebc-form-panel .pkp-ebc-live-preview{width:100%;box-sizing:border-box}

/* v1.0.4 template gallery, responsive preview and card sides */
.pkp-ebc-preview-tools{display:flex;align-items:center;gap:7px;margin:18px 0 8px;color:#596780;font-size:12px;font-weight:700}.pkp-ebc-preview-tools span{margin-right:auto}.pkp-ebc-preview-tools button{border:1px solid #dce3ef;background:#fff;border-radius:7px;padding:6px 10px;color:#596780;font-size:11px;cursor:pointer}.pkp-ebc-preview-tools button.is-active{background:#263f86;color:#fff;border-color:#263f86}.pkp-ebc-live-preview.is-mobile{max-width:320px;border-radius:28px;border:7px solid #202b42}.pkp-ebc-live-preview.is-mobile .pkp-ebc-preview-cover{height:92px}.pkp-ebc-live-preview.is-mobile .pkp-ebc-preview-body{padding-left:17px;padding-right:17px}.pkp-ebc-live-preview.is-back .pkp-ebc-preview-front{display:none}.pkp-ebc-preview-back{display:none;padding:34px 24px;min-height:230px;text-align:left}.pkp-ebc-live-preview.is-back .pkp-ebc-preview-back{display:block}.pkp-ebc-preview-back h3{margin:0 0 12px;font-size:17px}.pkp-ebc-preview-back p{font-size:12px;line-height:1.6;color:#65738a}.pkp-ebc-preview-sides{display:flex;justify-content:center;gap:8px;margin:0 auto 14px}.pkp-ebc-preview-sides button{border:1px solid #dce3ef;border-radius:7px;background:#fff;padding:6px 12px;font-size:11px;cursor:pointer}.pkp-ebc-preview-sides button.is-active{background:#263f86;color:#fff}
.pkp-ebc-live-preview.template-modern,.pkp-ebc-public.template-modern{background:linear-gradient(145deg,#f4f8ff,#eaf0ff);border-color:#cbd8fb}.template-modern .pkp-ebc-preview-cover,.pkp-ebc-public.template-modern .pkp-ebc-public-cover{background:linear-gradient(120deg,#087eaa,#536be8 55%,#9d65df)}.template-modern .pkp-ebc-preview-body>span,.pkp-ebc-public.template-modern .pkp-ebc-eyebrow{color:#536be8}.template-modern .pkp-ebc-preview-body h2,.pkp-ebc-public.template-modern .pkp-ebc-public-content h1{color:#153d70}
.pkp-ebc-live-preview.template-luxury,.pkp-ebc-public.template-luxury{background:#171923;color:#f7e7bd;border-color:#5f4b27}.template-luxury .pkp-ebc-preview-cover,.pkp-ebc-public.template-luxury .pkp-ebc-public-cover{background:linear-gradient(120deg,#08090d,#493719,#9b7737)}.template-luxury .pkp-ebc-preview-body h2,.pkp-ebc-public.template-luxury .pkp-ebc-public-content h1{color:#f5dfaa}.template-luxury .pkp-ebc-preview-body p,.pkp-ebc-public.template-luxury .pkp-ebc-designation,.pkp-ebc-public.template-luxury .pkp-ebc-about{color:#d0c4a8}.template-luxury .pkp-ebc-preview-body strong,.pkp-ebc-public.template-luxury .pkp-ebc-public-content h2{color:#d7b56c}.pkp-ebc-public.template-luxury .pkp-ebc-public-actions a{background:#39301f;color:#f3d99e}.pkp-ebc-public.template-luxury .pkp-ebc-public-detail{background:#242630}.pkp-ebc-public.template-luxury .pkp-ebc-save-contact{background:#a47d36;color:#171923}
.pkp-ebc-live-preview.template-corporate,.pkp-ebc-public.template-corporate{border-radius:8px;background:#f7f9fb}.template-corporate .pkp-ebc-preview-cover,.pkp-ebc-public.template-corporate .pkp-ebc-public-cover{background:linear-gradient(90deg,#122b45,#28718b)}.template-corporate .pkp-ebc-preview-avatar,.pkp-ebc-public.template-corporate .pkp-ebc-public-avatar{border-radius:8px}.template-corporate .pkp-ebc-preview-body h2,.pkp-ebc-public.template-corporate .pkp-ebc-public-content h1{color:#153a55}.template-corporate .pkp-ebc-preview-body strong,.pkp-ebc-public.template-corporate .pkp-ebc-public-content h2{color:#28718b}
.pkp-ebc-live-preview.template-minimal,.pkp-ebc-public.template-minimal{border-radius:4px;box-shadow:none;background:#fff;border-color:#d9dee5}.template-minimal .pkp-ebc-preview-cover,.pkp-ebc-public.template-minimal .pkp-ebc-public-cover{height:70px;background:#e9edf1}.template-minimal .pkp-ebc-preview-avatar,.pkp-ebc-public.template-minimal .pkp-ebc-public-avatar{border-radius:50%;box-shadow:none}.template-minimal .pkp-ebc-preview-body h2,.pkp-ebc-public.template-minimal .pkp-ebc-public-content h1{font-weight:600;color:#202b38}.template-minimal .pkp-ebc-preview-body>span,.pkp-ebc-public.template-minimal .pkp-ebc-eyebrow{color:#7c8794}
.pkp-ebc-public .pkp-ebc-public-cover{background-size:cover;background-position:center}.pkp-ebc-public.template-luxury .pkp-ebc-public-avatar{background:#28231b;color:#e8cc8e}.pkp-ebc-public.template-corporate .pkp-ebc-public-actions a{border-radius:5px}.pkp-ebc-public.template-minimal .pkp-ebc-public-actions a{background:#f1f3f5;color:#394553;border-radius:4px}
.pkp-ebc-live-preview.is-back>.pkp-ebc-preview-cover,.pkp-ebc-live-preview.is-back>.pkp-ebc-preview-avatar,.pkp-ebc-live-preview.is-back>.pkp-ebc-preview-body{display:none}.pkp-ebc-public-back{display:none;padding:30px 28px 25px;text-align:left;min-height:220px}.pkp-ebc-public-back h2{margin:0 0 16px;font-size:20px}.pkp-ebc-public-back p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.pkp-ebc-public.is-back .pkp-ebc-public-cover,.pkp-ebc-public.is-back .pkp-ebc-public-avatar,.pkp-ebc-public.is-back .pkp-ebc-public-content{display:none}.pkp-ebc-public.is-back .pkp-ebc-public-back{display:block}.pkp-ebc-flip-button{display:block;margin:0 auto 22px;border:1px solid #dce4f2;background:#f2f5fc;color:#3458a9;border-radius:9px;padding:10px 16px;font-size:12px;font-weight:700;cursor:pointer}.pkp-ebc-public.template-luxury .pkp-ebc-public-back{color:#f1dfb6}.pkp-ebc-public.template-luxury .pkp-ebc-public-back p{color:#d8c9a8}.pkp-ebc-public.template-luxury .pkp-ebc-flip-button{background:#3c321f;border-color:#6e572d;color:#f0d69b}

/* v1.0.8 public card sharing tools and responsive refinements */
.pkp-ebc-share-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:14px 0 4px}.pkp-ebc-share-tools a,.pkp-ebc-share-tools button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 12px;border:1px solid #dce4f2;border-radius:9px;background:#f5f7fc;color:#3458a9;text-decoration:none;font:600 11px/1.2 inherit;cursor:pointer}.pkp-ebc-share-tools .pkp-ebc-share-whatsapp{background:#e6f8ef;border-color:#d0efdf;color:#16824e}.pkp-ebc-copy-feedback{flex-basis:100%;min-height:14px;text-align:center;color:#43815f;font-size:11px}.pkp-ebc-public-content,.pkp-ebc-public-back{overflow-wrap:anywhere}.pkp-ebc-public.template-luxury .pkp-ebc-share-tools a,.pkp-ebc-public.template-luxury .pkp-ebc-share-tools button{background:#39301f;border-color:#6e572d;color:#f3d99e}.pkp-ebc-public.template-corporate .pkp-ebc-share-tools a,.pkp-ebc-public.template-corporate .pkp-ebc-share-tools button{border-radius:5px}.pkp-ebc-public.template-minimal .pkp-ebc-share-tools a,.pkp-ebc-public.template-minimal .pkp-ebc-share-tools button{border-radius:4px}
@media(max-width:480px){.pkp-ebc-public{margin:8px auto;border-radius:18px}.pkp-ebc-public-content{padding-left:18px;padding-right:18px}.pkp-ebc-share-tools a,.pkp-ebc-share-tools button{flex:1 1 calc(50% - 8px);box-sizing:border-box}}

/* v1.1.0 responsive and admin action polish */
.pkp-ebc-public img{max-width:100%;height:auto}.pkp-ebc-public-actions a,.pkp-ebc-share-tools a,.pkp-ebc-share-tools button{min-width:0;overflow-wrap:anywhere}.pkp-ebc-admin-form input[type=file]{max-width:100%}@media(max-width:600px){.pkp-ebc-card-row{flex-wrap:wrap}.pkp-ebc-card-info{flex-basis:calc(100% - 60px)}.pkp-ebc-actions{width:100%;flex-direction:row;justify-content:flex-end;align-items:center;padding-left:52px}.pkp-ebc-user-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pkp-ebc-public-actions a{flex:1 1 calc(50% - 8px);text-align:center;box-sizing:border-box}}

/* v1.1.1 individual image removal controls */
.pkp-ebc-remove-image{display:flex!important;align-items:center;gap:7px;margin:7px 0 9px!important;color:#9b4141!important;font-size:11px!important;font-weight:600!important}.pkp-ebc-remove-image input[type=checkbox],.pkp-ebc-admin-form input[type=checkbox]{display:inline-block!important;width:16px!important;min-height:16px!important;height:16px;margin:0 4px 0 0!important;padding:0!important;vertical-align:middle}.pkp-ebc-admin-form label input[type=checkbox]{width:16px!important;min-height:16px!important;height:16px}

/* v1.1.2 builder preview synchronization and scoped asset layout */
.pkp-ebc-live-preview img[hidden]{display:none!important}
.pkp-ebc-live-preview .pkp-ebc-preview-cover img[data-preview-cover]:not([src]),
.pkp-ebc-live-preview .pkp-ebc-preview-avatar img[data-preview-profile]:not([src]),
.pkp-ebc-live-preview .pkp-ebc-preview-logo:not([src]){display:none!important}
.pkp-ebc-preview-tools button:focus-visible,.pkp-ebc-preview-sides button:focus-visible{outline:2px solid #5474cf;outline-offset:2px}
.pkp-ebc-admin-form .description{max-width:560px}
@media(max-width:600px){.pkp-ebc-preview-tools{flex-wrap:wrap;gap:6px}.pkp-ebc-preview-tools span{flex-basis:100%}.pkp-ebc-preview-sides{display:flex;gap:8px}.pkp-ebc-preview-sides button{flex:1}.pkp-ebc-live-preview{max-width:100%;margin-left:auto;margin-right:auto}}


/* v1.1.3 public card flip and template parity polish */
.pkp-ebc-public.is-back>.pkp-ebc-flip-front{display:none}
.pkp-ebc-public-back{box-sizing:border-box;background:#fff;color:#17233d}
.pkp-ebc-public-back h2{color:#263f86}
.pkp-ebc-preview-back{box-sizing:border-box;background:#f8faff;color:#17233d;border-top:1px solid #e9edf5}
.pkp-ebc-preview-back p{overflow-wrap:anywhere;margin:9px 0}
.pkp-ebc-live-preview.template-modern .pkp-ebc-preview-back,.pkp-ebc-public.template-modern .pkp-ebc-public-back{background:#edf3ff;color:#153d70}
.pkp-ebc-live-preview.template-modern .pkp-ebc-preview-back h3,.pkp-ebc-public.template-modern .pkp-ebc-public-back h2{color:#2458a4}
.pkp-ebc-live-preview.template-luxury .pkp-ebc-preview-back,.pkp-ebc-public.template-luxury .pkp-ebc-public-back{background:#242630;color:#f1dfb6;border-color:#493c27}
.pkp-ebc-live-preview.template-luxury .pkp-ebc-preview-back h3,.pkp-ebc-public.template-luxury .pkp-ebc-public-back h2{color:#e2c27d}
.pkp-ebc-live-preview.template-corporate .pkp-ebc-preview-back,.pkp-ebc-public.template-corporate .pkp-ebc-public-back{background:#f1f5f7;color:#153a55;border-radius:8px}
.pkp-ebc-live-preview.template-corporate .pkp-ebc-preview-back h3,.pkp-ebc-public.template-corporate .pkp-ebc-public-back h2{color:#28718b}
.pkp-ebc-live-preview.template-minimal .pkp-ebc-preview-back,.pkp-ebc-public.template-minimal .pkp-ebc-public-back{background:#fff;color:#394553;border-top:1px solid #e5e9ed}
.pkp-ebc-live-preview.template-minimal .pkp-ebc-preview-back h3,.pkp-ebc-public.template-minimal .pkp-ebc-public-back h2{color:#202b38}
.pkp-ebc-public h1,.pkp-ebc-public h2,.pkp-ebc-public p{overflow-wrap:anywhere}
.pkp-ebc-public button:focus-visible,.pkp-ebc-public a:focus-visible{outline:3px solid #7895ec;outline-offset:3px}
.pkp-ebc-flip-button{transition:background-color .18s ease,border-color .18s ease}
@media(prefers-reduced-motion:reduce){.pkp-ebc-flip-button{transition:none}}

/* Ensure the public Save Contact anchor behaves and reads like a primary action. */
.pkp-ebc-public a.pkp-ebc-save-contact{display:inline-flex;align-items:center;justify-content:center;color:#fff!important;text-decoration:none!important;line-height:1.3}
.pkp-ebc-public.template-luxury a.pkp-ebc-save-contact{color:#171923!important}

/* v1.2.0 Premium Admin + User Dashboard UI */
.pkp-ebc-admin{max-width:1500px;padding:8px 18px 28px 0;color:#17152f}.pkp-ebc-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 22px;padding:28px 32px;border-radius:20px;background:linear-gradient(115deg,#24105f 0%,#5522b8 55%,#7950e8 100%);color:#fff;box-shadow:0 14px 34px rgba(62,31,137,.18)}.pkp-ebc-admin-hero h1{margin:5px 0 6px!important;padding:0!important;color:#fff!important;font-size:28px!important;font-weight:800!important;line-height:1.2}.pkp-ebc-admin-hero p{margin:0;color:#e7ddff;font-size:13px}.pkp-ebc-admin-kicker,.pkp-ebc-section-kicker{font-size:10px;font-weight:800;letter-spacing:1.6px;color:#cbb8ff}.pkp-ebc-admin-hero .button{border:0!important;border-radius:10px!important;padding:7px 18px!important;height:auto!important;background:#fff!important;color:#4e22a7!important;font-weight:800!important}.pkp-ebc-admin-stats{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:14px;margin:0 0 26px}.pkp-ebc-admin-stats>div{position:relative;min-width:0;padding:18px 18px 16px 64px;background:#fff;border:1px solid #eeeaf7;border-radius:15px;box-shadow:0 6px 20px rgba(31,23,65,.045)}.pkp-ebc-admin-stats strong{display:block;font-size:27px;line-height:1.2;color:#211744;font-weight:800}.pkp-ebc-admin-stats span:not(.stat-icon){display:block;margin-top:5px;color:#77728b;font-size:11px;font-weight:600}.pkp-ebc-admin-stats .stat-icon{position:absolute;left:16px;top:20px;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#f0e9ff;color:#672dd0;font-size:19px;font-weight:800}.pkp-ebc-admin-stats .stat-blue .stat-icon{background:#e8f1ff;color:#2874d8}.pkp-ebc-admin-stats .stat-orange .stat-icon{background:#fff2df;color:#d98917}.pkp-ebc-admin-stats .stat-red .stat-icon{background:#ffebed;color:#d54a5a}.pkp-ebc-admin-stats .stat-green .stat-icon{background:#e7f8ef;color:#239b62}.pkp-ebc-admin-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.pkp-ebc-admin-section-title h2{margin:0;font-size:18px;color:#211744}.pkp-ebc-admin-section-title p{margin:4px 0 0;color:#817b93;font-size:12px}.pkp-ebc-admin>p{color:#77728b}.pkp-ebc-admin>form[method=get]{padding:14px;background:#fff;border:1px solid #eeeaf7;border-radius:14px;box-shadow:0 5px 18px rgba(31,23,65,.035)}.pkp-ebc-admin input[type=search],.pkp-ebc-admin select{min-height:36px;border:1px solid #e3deef;border-radius:8px;padding:0 11px}.pkp-ebc-admin .widefat{border:1px solid #eeeaf7;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 5px 18px rgba(31,23,65,.035)}.pkp-ebc-admin .widefat thead th{padding:13px 12px;background:#f7f4fc;color:#5a4c78;font-size:11px;font-weight:800;border-bottom:1px solid #ece6f7}.pkp-ebc-admin .widefat td{padding:13px 12px;vertical-align:middle;color:#48425b}.pkp-ebc-admin .widefat tr:nth-child(even){background:#fcfbfe}.pkp-ebc-admin .widefat .button{border-radius:7px;margin:2px}.pkp-ebc-admin .widefat .button-primary{background:#642cc5;border-color:#642cc5}.pkp-ebc-admin .notice{border-radius:9px}.pkp-ebc-admin .form-table th{color:#3b3157}.pkp-ebc-admin .pkp-ebc-admin-form{max-width:1100px;background:#fff;border:1px solid #eeeaf7;border-radius:16px;padding:22px}.pkp-ebc-user-dashboard{max-width:1320px;margin:32px auto;padding:0 18px}.pkp-ebc-user-dashboard .pkp-ebc-head{padding:27px 30px;border-radius:19px;background:linear-gradient(115deg,#24105f 0%,#5522b8 58%,#7950e8 100%);color:#fff;box-shadow:0 14px 34px rgba(62,31,137,.15)}.pkp-ebc-user-dashboard .pkp-ebc-head h2{color:#fff;margin:6px 0;font-size:27px;font-weight:800}.pkp-ebc-user-dashboard .pkp-ebc-head p{color:#e8ddff}.pkp-ebc-user-dashboard .pkp-ebc-eyebrow{color:#d2c0ff}.pkp-ebc-head-cta{background:#fff;color:#5422b0!important;white-space:nowrap}.pkp-ebc-user-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}.pkp-ebc-user-stats>div{position:relative;padding:19px 20px 17px 66px;background:#fff;border:1px solid #eeeaf7;border-radius:15px;box-shadow:0 6px 20px rgba(31,23,65,.045)}.pkp-ebc-user-stats>div:before{content:'▣';position:absolute;left:18px;top:19px;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f0e9ff;color:#682fc9;font-size:17px}.pkp-ebc-user-stats>div:nth-child(2):before{content:'✓';background:#e7f8ef;color:#21965c}.pkp-ebc-user-stats>div:nth-child(3):before{content:'◷';background:#fff2df;color:#d98917}.pkp-ebc-user-stats>div:nth-child(4):before{content:'!';background:#ffebed;color:#d54a5a}.pkp-ebc-user-stats strong{display:block;color:#211744;font-size:25px;font-weight:800;line-height:1.2}.pkp-ebc-user-stats span{display:block;margin-top:5px;color:#77728b;font-size:11px;font-weight:600}.pkp-ebc-user-dashboard .pkp-ebc-grid{grid-template-columns:minmax(320px,.92fr) minmax(360px,1.08fr);gap:18px}.pkp-ebc-user-dashboard .pkp-ebc-panel{border-color:#eeeaf7;border-radius:17px;box-shadow:0 7px 24px rgba(31,23,65,.045)}.pkp-ebc-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.pkp-ebc-panel-heading h3{margin:5px 0 0}.pkp-ebc-section-kicker{color:#8052d3}.pkp-ebc-step-pill{padding:7px 10px;border-radius:30px;background:#f3edff;color:#6330bb;font-size:10px;font-weight:800}.pkp-ebc-user-dashboard .pkp-ebc-btn{background:linear-gradient(135deg,#6328c4,#8654eb);box-shadow:0 6px 14px rgba(100,43,194,.17)}.pkp-ebc-user-dashboard .pkp-ebc-card-row{padding:16px 0}.pkp-ebc-user-dashboard .pkp-ebc-card-row:first-of-type{border-top:0}.pkp-ebc-user-dashboard .pkp-ebc-status{padding:5px 10px}.pkp-ebc-user-dashboard .pkp-ebc-actions a,.pkp-ebc-user-dashboard .pkp-ebc-actions button{padding:7px 10px;border-radius:7px;background:#f2edff;color:#6130b8;font-weight:700}.pkp-ebc-user-dashboard .pkp-ebc-actions button{background:#fff0f0;color:#bd4545}.pkp-ebc-user-dashboard .pkp-ebc-count{background:#f1eaff;color:#5d2db2}.pkp-ebc-notice{margin:0 0 18px;padding:13px 16px;border:1px solid #bfe8d0;border-radius:10px;background:#edfff4;color:#176b42;font-size:13px;font-weight:700}
@media(max-width:1100px){.pkp-ebc-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.pkp-ebc-user-dashboard .pkp-ebc-grid{grid-template-columns:1fr}}
@media(max-width:760px){.pkp-ebc-admin{padding-right:10px}.pkp-ebc-admin-hero{align-items:flex-start;flex-direction:column;padding:22px}.pkp-ebc-admin-hero h1{font-size:23px!important}.pkp-ebc-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pkp-ebc-admin-stats>div{padding:14px 10px 13px 54px}.pkp-ebc-admin-stats .stat-icon{left:10px;top:17px}.pkp-ebc-admin .widefat{display:block;overflow-x:auto;white-space:nowrap}.pkp-ebc-user-dashboard{margin:18px auto;padding:0 10px}.pkp-ebc-user-dashboard .pkp-ebc-head{padding:22px;align-items:flex-start;flex-direction:column}.pkp-ebc-user-dashboard .pkp-ebc-head h2{font-size:23px}.pkp-ebc-user-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pkp-ebc-user-stats>div{padding:15px 10px 14px 55px}.pkp-ebc-user-stats>div:before{left:10px;top:16px}.pkp-ebc-user-dashboard .pkp-ebc-grid{grid-template-columns:1fr}.pkp-ebc-panel-heading{align-items:flex-start;flex-direction:column}.pkp-ebc-admin>form[method=get]{flex-wrap:wrap!important}.pkp-ebc-admin>form[method=get] input[type=search]{width:100%;max-width:none}}

/* v1.2.1 Premium dashboard navigation and responsive polish */
.pkp-ebc-admin-nav,.pkp-ebc-user-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 20px;padding:9px;background:#fff;border:1px solid #e9e5f5;border-radius:14px;box-shadow:0 5px 18px rgba(40,20,90,.045)}
.pkp-ebc-admin-nav a,.pkp-ebc-user-nav a{display:inline-flex;align-items:center;min-height:38px;padding:0 15px;border-radius:9px;text-decoration:none!important;color:#51456f;font-size:12px;font-weight:700;transition:background .18s ease,color .18s ease}
.pkp-ebc-admin-nav a:hover,.pkp-ebc-user-nav a:hover,.pkp-ebc-admin-nav a.is-active,.pkp-ebc-user-nav a.is-active{background:#f0eaff;color:#5b2bb8}
.pkp-ebc-admin .pkp-ebc-admin-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.pkp-ebc-admin .pkp-ebc-admin-stats>div{min-width:0;box-sizing:border-box;border-radius:15px;box-shadow:0 7px 22px rgba(35,20,80,.045);padding:17px}
.pkp-ebc-admin .pkp-ebc-admin-stats strong{font-size:25px;line-height:1.25;margin:5px 0}
.pkp-ebc-admin table.widefat{border:1px solid #e9e5f2;border-radius:13px;overflow:hidden;box-shadow:0 5px 20px rgba(35,20,80,.035)}
.pkp-ebc-admin table.widefat th{background:#f7f4ff;color:#51436f;font-weight:700}
.pkp-ebc-admin table.widefat td,.pkp-ebc-admin table.widefat th{padding:12px 10px;vertical-align:middle}
.pkp-ebc-user-dashboard .pkp-ebc-head{padding:24px 26px;border-radius:18px;background:linear-gradient(115deg,#f6f1ff,#fff 62%,#f0f5ff);border:1px solid #e8e1f6}
.pkp-ebc-user-dashboard .pkp-ebc-head h2{font-size:27px;font-weight:800;letter-spacing:-.5px}
.pkp-ebc-user-dashboard .pkp-ebc-user-stats>div{border:1px solid #e9e5f2;border-radius:15px;box-shadow:0 7px 22px rgba(35,20,80,.045);padding:17px;background:#fff}
.pkp-ebc-user-dashboard .pkp-ebc-user-stats strong{color:#5124a5;font-size:25px}
.pkp-ebc-user-dashboard .pkp-ebc-panel{box-shadow:0 8px 26px rgba(35,20,80,.045);border-color:#ebe7f3}
.pkp-ebc-user-dashboard .pkp-ebc-panel h3{font-weight:800}
.pkp-ebc-user-dashboard .pkp-ebc-card-row{padding:16px 0}
.pkp-ebc-user-dashboard .pkp-ebc-card-row:last-child{padding-bottom:2px}
.pkp-ebc-user-dashboard a:focus-visible,.pkp-ebc-user-dashboard button:focus-visible,.pkp-ebc-admin a:focus-visible,.pkp-ebc-admin button:focus-visible{outline:3px solid #a78bfa!important;outline-offset:2px!important}
@media(max-width:1100px){.pkp-ebc-admin .pkp-ebc-admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:782px){.pkp-ebc-admin{padding-right:10px}.pkp-ebc-admin-hero{align-items:flex-start;flex-direction:column;padding:22px}.pkp-ebc-admin .pkp-ebc-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pkp-ebc-admin form[method=get]{flex-wrap:wrap!important}.pkp-ebc-admin form[method=get] input[type=search]{width:100%;max-width:none}.pkp-ebc-admin table.widefat{display:block;overflow-x:auto;white-space:nowrap}.pkp-ebc-user-dashboard .pkp-ebc-head{align-items:flex-start;flex-direction:column;padding:20px}.pkp-ebc-user-dashboard .pkp-ebc-head-cta{width:100%;box-sizing:border-box}}
@media(max-width:420px){.pkp-ebc-admin .pkp-ebc-admin-stats{grid-template-columns:1fr 1fr;gap:8px}.pkp-ebc-admin .pkp-ebc-admin-stats>div{padding:12px}.pkp-ebc-admin .pkp-ebc-admin-stats strong{font-size:21px}.pkp-ebc-admin-nav a,.pkp-ebc-user-nav a{padding:0 10px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.pkp-ebc-admin-nav a,.pkp-ebc-user-nav a{transition:none}}

/* v1.2.2 — reference-matched full SaaS dashboard shells */
.pkp-ebc-admin-shell{display:flex;gap:0;margin:18px 20px 0 0!important;padding:0!important;max-width:none;background:#f7f6fb;border:1px solid #ebe7f3;border-radius:18px;overflow:hidden;min-height:calc(100vh - 90px);box-shadow:0 12px 38px rgba(34,20,75,.07)}
.pkp-ebc-admin-shell .pkp-ebc-sidebar,.pkp-ebc-user-sidebar{width:218px;flex:0 0 218px;background:linear-gradient(180deg,#20104f 0%,#170b3d 100%);color:#fff;padding:20px 12px;box-sizing:border-box;display:flex;flex-direction:column;gap:5px}
.pkp-ebc-brand{display:flex;align-items:center;gap:10px;padding:8px 8px 24px;color:#fff}.pkp-ebc-brand-mark{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#8b52f5,#5a25c4);font-size:21px;color:#fff;box-shadow:0 6px 15px #0c062e55}.pkp-ebc-brand b{display:block;font-size:14px;line-height:1.2;color:#fff}.pkp-ebc-brand small{display:block;font-size:9px;color:#d6c8fa;margin-top:3px}.pkp-ebc-side-label{padding:8px 11px;color:#a999d0;font-size:9px;font-weight:800;letter-spacing:1.4px}.pkp-ebc-sidebar>a,.pkp-ebc-user-sidebar>a{display:flex;align-items:center;gap:11px;min-height:41px;padding:0 11px;border-radius:9px;color:#e8e0f8!important;text-decoration:none!important;font-size:11px;font-weight:650;transition:background .18s ease}.pkp-ebc-sidebar>a span,.pkp-ebc-user-sidebar>a span{width:18px;text-align:center;font-size:15px;color:#d5c2ff}.pkp-ebc-sidebar>a:hover,.pkp-ebc-user-sidebar>a:hover,.pkp-ebc-sidebar>a.is-active,.pkp-ebc-user-sidebar>a.is-active{background:linear-gradient(90deg,#6730c9,#4c20a7);color:#fff!important}.pkp-ebc-sidebar>a em{margin-left:auto;background:#e83d55;color:#fff;border-radius:20px;padding:2px 7px;font-style:normal;font-size:9px}.pkp-ebc-sidebar-foot{margin-top:auto;padding:16px 12px;border-radius:13px;background:linear-gradient(145deg,#5524b4,#351477);display:flex;flex-direction:column;gap:7px}.pkp-ebc-sidebar-foot strong{font-size:11px;color:#fff}.pkp-ebc-sidebar-foot small{font-size:9px;line-height:1.5;color:#e1d4ff}.pkp-ebc-sidebar-foot b{align-self:flex-start;background:#f6c94d;color:#39236c;padding:4px 9px;border-radius:20px;font-size:9px}
.pkp-ebc-admin-main,.pkp-ebc-user-main{min-width:0;flex:1;padding:0 22px 26px;box-sizing:border-box}.pkp-ebc-topbar{height:65px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eeeaf4;margin:0 0 22px;padding:0 3px}.pkp-ebc-topbar-kicker{display:block;color:#8a7ca7;font-size:8px;letter-spacing:1.4px;font-weight:800}.pkp-ebc-topbar strong{display:block;color:#211744;font-size:16px;margin-top:3px}.pkp-ebc-admin-user{display:flex;align-items:center;gap:9px}.pkp-ebc-admin-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#e9ddff;color:#5726ae;font-weight:800}.pkp-ebc-admin-user b,.pkp-ebc-admin-user small{display:block}.pkp-ebc-admin-user b{font-size:10px;color:#2b2340}.pkp-ebc-admin-user small{font-size:9px;color:#9289a1;margin-top:2px}
.pkp-ebc-admin-welcome{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 20px;padding:4px 2px}.pkp-ebc-admin-kicker{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#8050d1}.pkp-ebc-admin-welcome h1{margin:5px 0 4px;font-size:25px;line-height:1.2;color:#211744;font-weight:850}.pkp-ebc-admin-welcome p{margin:0;color:#817991;font-size:11px}.pkp-ebc-primary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 16px;border-radius:9px;background:linear-gradient(135deg,#7136d4,#5720b8);color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:800;box-shadow:0 6px 15px #642bc52b;white-space:nowrap}.pkp-ebc-admin-stats-v2{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-bottom:18px!important}.pkp-ebc-admin-stats-v2>div{position:relative;min-height:76px;padding:15px 14px 12px 57px!important;background:#fff;border:1px solid #eeeaf5;border-radius:13px;box-shadow:0 5px 18px rgba(39,23,79,.035)}.pkp-ebc-admin-stats-v2>div>i{position:absolute;left:13px;top:17px;width:32px;height:32px;border-radius:10px;background:#f0e9ff;color:#7135d0;display:grid;place-items:center;font-style:normal;font-size:16px}.pkp-ebc-admin-stats-v2 .stat-blue>i{background:#e8f1ff;color:#2874d8}.pkp-ebc-admin-stats-v2 .stat-orange>i{background:#fff2df;color:#d98917}.pkp-ebc-admin-stats-v2 .stat-green>i{background:#e7f8ef;color:#239b62}.pkp-ebc-admin-stats-v2 .stat-red>i{background:#ffebed;color:#d54a5a}.pkp-ebc-admin-stats-v2 .stat-violet>i{background:#e8eaff;color:#5965c9}.pkp-ebc-admin-stats-v2 strong{font-size:22px!important;color:#241844!important}.pkp-ebc-admin-stats-v2 span{font-size:10px!important;color:#817991!important}.pkp-ebc-admin-content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(210px,.75fr);gap:15px;align-items:start}.pkp-ebc-admin-card{background:#fff;border:1px solid #eeeaf5;border-radius:14px;padding:16px;box-shadow:0 5px 20px rgba(39,23,79,.035);min-width:0}.pkp-ebc-admin-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.pkp-ebc-admin-card h2{font-size:14px;margin:0;color:#241844;font-weight:800}.pkp-ebc-admin-card-head p,.pkp-ebc-quick-panel>p{font-size:10px;color:#8a8298;margin:4px 0 0}.pkp-ebc-count-pill{background:#f2ecff;color:#6732bd;padding:6px 9px;border-radius:20px;font-size:9px;font-weight:800;white-space:nowrap}.pkp-ebc-admin-filter{display:flex;align-items:center;gap:7px;margin:0 0 12px}.pkp-ebc-admin-filter input,.pkp-ebc-admin-filter select{height:34px;min-width:0;border:1px solid #e6e0ef;border-radius:7px;padding:0 9px;font-size:10px;background:#fff}.pkp-ebc-admin-filter input{flex:1}.pkp-ebc-filter-btn{height:34px;border:0;border-radius:7px;background:#642cc5;color:#fff;padding:0 12px;font-size:10px;font-weight:800}.pkp-ebc-admin-filter>a{font-size:10px;color:#7250a6;text-decoration:none}.pkp-ebc-table-scroll{overflow-x:auto}.pkp-ebc-admin-table{border:0!important;box-shadow:none!important;border-radius:0!important;min-width:650px}.pkp-ebc-admin-table th{padding:10px 8px!important;background:#f7f4fc!important;font-size:9px!important}.pkp-ebc-admin-table td{padding:10px 8px!important;font-size:10px!important}.pkp-ebc-table-sub{display:block;color:#9189a0;font-size:9px;margin-top:3px}.pkp-ebc-table-actions{white-space:normal;min-width:120px}.pkp-ebc-table-actions .button{font-size:9px!important;min-height:24px!important;line-height:22px!important;padding:0 6px!important;margin:2px!important}.pkp-ebc-no-results{text-align:center;padding:25px!important;color:#8a8298!important}.pkp-ebc-quick-panel h2{margin-bottom:3px}.pkp-ebc-status-line{display:flex;justify-content:space-between;margin:18px 0 7px;font-size:10px;color:#625a73}.pkp-ebc-status-line b{color:#241844}.pkp-ebc-status-track{height:7px;background:#edf7f1;border-radius:10px;overflow:hidden}.pkp-ebc-status-track i{display:block;height:100%;background:#25a76a;border-radius:10px}.pkp-ebc-status-track.orange{background:#fff4e4}.pkp-ebc-status-track.orange i{background:#e8a13c}.pkp-ebc-status-track.red{background:#ffeded}.pkp-ebc-status-track.red i{background:#df5b65}.pkp-ebc-full-btn{width:100%;box-sizing:border-box;margin-top:22px}.pkp-ebc-secondary-link{display:block;text-align:center;margin-top:12px;color:#7651ad;text-decoration:none;font-size:10px}
.pkp-ebc-user-shell{max-width:1500px;margin:24px auto;display:flex;min-height:780px;background:#f8f7fb;border:1px solid #ebe7f3;border-radius:18px;overflow:hidden;box-shadow:0 12px 38px rgba(34,20,75,.07);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pkp-ebc-user-sidebar{width:218px;flex-basis:218px}.pkp-ebc-user-main{padding:0 24px 28px}.pkp-ebc-user-main .pkp-ebc-wrap{max-width:none;margin:0;padding:0}.pkp-ebc-user-main .pkp-ebc-head{margin:20px 0 18px;padding:22px 24px;min-height:95px;box-sizing:border-box}.pkp-ebc-user-main .pkp-ebc-head h2{font-size:23px}.pkp-ebc-user-main .pkp-ebc-user-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.pkp-ebc-user-main .pkp-ebc-user-stats>div{padding:15px 12px 14px 55px;min-height:66px;box-sizing:border-box}.pkp-ebc-user-main .pkp-ebc-grid{grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:14px}.pkp-ebc-user-main .pkp-ebc-panel{padding:17px}.pkp-ebc-user-main .pkp-ebc-form-panel{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);column-gap:20px;align-items:start}.pkp-ebc-user-main .pkp-ebc-form-panel>.pkp-ebc-panel-heading,.pkp-ebc-user-main .pkp-ebc-form-panel>form{min-width:0}.pkp-ebc-user-main .pkp-ebc-form-panel>form{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.pkp-ebc-user-main .pkp-ebc-form-panel>form>label:nth-of-type(1),.pkp-ebc-user-main .pkp-ebc-form-panel>form>label:nth-of-type(2),.pkp-ebc-user-main .pkp-ebc-form-panel>form>label:nth-of-type(3),.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-preview-tools,.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-preview-sides,.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-live-preview,.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-btn{grid-column:1/-1}.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-live-preview{margin:8px auto 15px;width:100%;max-width:380px}.pkp-ebc-user-main .pkp-ebc-my-card-preview{border:1px solid #eee8f5;border-radius:14px;padding:15px;background:#fff}.pkp-ebc-user-main .pkp-ebc-card-row{gap:10px}.pkp-ebc-user-main .pkp-ebc-user-nav{display:none}
@media(max-width:1100px){.pkp-ebc-admin-content-grid{grid-template-columns:1fr}.pkp-ebc-user-shell{margin:12px}.pkp-ebc-user-main .pkp-ebc-form-panel{grid-template-columns:1fr}.pkp-ebc-user-main .pkp-ebc-form-panel>form{grid-template-columns:1fr 1fr}}
@media(max-width:782px){.pkp-ebc-admin-shell{margin:8px 8px 0 0!important;display:block;overflow:visible}.pkp-ebc-admin-shell .pkp-ebc-sidebar{width:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px}.pkp-ebc-admin-shell .pkp-ebc-brand{grid-column:1/-1;padding:4px 6px 10px}.pkp-ebc-sidebar .pkp-ebc-side-label,.pkp-ebc-sidebar-foot{display:none}.pkp-ebc-sidebar>a{justify-content:center;min-height:38px;padding:4px;font-size:9px;gap:4px;flex-direction:column}.pkp-ebc-sidebar>a span{font-size:13px}.pkp-ebc-sidebar>a em{display:none}.pkp-ebc-admin-main{padding:0 12px 18px}.pkp-ebc-topbar{height:54px;margin-bottom:14px}.pkp-ebc-admin-welcome{align-items:flex-start;flex-direction:column}.pkp-ebc-admin-stats-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pkp-ebc-admin-filter{flex-wrap:wrap}.pkp-ebc-admin-filter input{flex-basis:100%;height:38px}.pkp-ebc-admin-filter select{flex:1}.pkp-ebc-user-shell{display:block;margin:10px;border-radius:13px;min-height:0}.pkp-ebc-user-sidebar{width:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px}.pkp-ebc-user-sidebar .pkp-ebc-brand{grid-column:1/-1;padding:4px 6px 10px}.pkp-ebc-user-sidebar .pkp-ebc-side-label{display:none}.pkp-ebc-user-sidebar>a{justify-content:center;min-height:42px;padding:4px;font-size:9px;gap:4px;flex-direction:column}.pkp-ebc-user-sidebar>a span{font-size:13px}.pkp-ebc-user-main{padding:0 12px 18px}.pkp-ebc-user-main .pkp-ebc-head{margin:12px 0;padding:17px}.pkp-ebc-user-main .pkp-ebc-user-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.pkp-ebc-user-main .pkp-ebc-form-panel>form{grid-template-columns:1fr}.pkp-ebc-user-main .pkp-ebc-form-panel>form>label{grid-column:1/-1}.pkp-ebc-user-main .pkp-ebc-grid{grid-template-columns:1fr}}
@media(max-width:420px){.pkp-ebc-admin-stats-v2{gap:8px!important}.pkp-ebc-admin-stats-v2>div{padding:12px 8px 10px 48px!important}.pkp-ebc-admin-stats-v2>div>i{left:9px;top:14px;width:29px;height:29px}.pkp-ebc-admin-stats-v2 strong{font-size:19px!important}.pkp-ebc-admin-welcome h1{font-size:22px}.pkp-ebc-user-sidebar>a,.pkp-ebc-sidebar>a{font-size:8px}}

/* v1.2.3 reference-alignment corrections */
.pkp-ebc-user-shell{max-width:1600px;width:calc(100% - 32px);margin:18px auto;min-height:calc(100vh - 36px);}
.pkp-ebc-user-main .pkp-ebc-head,.pkp-ebc-user-dashboard .pkp-ebc-head{background:linear-gradient(115deg,#24105f 0%,#5522b8 58%,#7950e8 100%)!important;border:1px solid #e8e1f6;color:#fff!important;box-shadow:0 14px 34px rgba(62,31,137,.15)!important;}
.pkp-ebc-user-main .pkp-ebc-head h2,.pkp-ebc-user-dashboard .pkp-ebc-head h2{color:#fff!important;}
.pkp-ebc-user-main .pkp-ebc-head p,.pkp-ebc-user-dashboard .pkp-ebc-head p{color:#eee5ff!important;}
.pkp-ebc-user-main .pkp-ebc-head .pkp-ebc-eyebrow,.pkp-ebc-user-dashboard .pkp-ebc-head .pkp-ebc-eyebrow{color:#d8c7ff!important;}
.pkp-ebc-user-main .pkp-ebc-head-cta{background:#fff!important;color:#5522b8!important;}
.pkp-ebc-user-main .pkp-ebc-user-nav{display:none!important;}
.pkp-ebc-overview-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.8fr);gap:16px;align-items:stretch;margin:16px 0 20px;}
.pkp-ebc-my-card-preview,.pkp-ebc-performance-panel{min-width:0;background:#fff;border:1px solid #eeeaf7;border-radius:17px;padding:18px;box-shadow:0 7px 24px rgba(31,23,65,.045);}
.pkp-ebc-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.pkp-ebc-preview-heading h3{margin:4px 0 0;color:#211744;font-size:17px;}
.pkp-ebc-dashboard-card{position:relative;overflow:hidden;border-radius:16px;min-height:280px;background:linear-gradient(135deg,#21104e,#4f24a4 58%,#6b4bd0);color:#fff;box-shadow:0 12px 28px rgba(45,22,99,.18);}
.pkp-ebc-dashboard-card-cover{position:absolute;inset:0 0 auto;height:100px;background:linear-gradient(90deg,rgba(32,14,78,.72),rgba(32,14,78,.08));background-size:cover;background-position:center;}
.pkp-ebc-dashboard-card-content{position:relative;display:flex;align-items:flex-start;gap:15px;padding:78px 20px 20px;}
.pkp-ebc-dashboard-card-avatar{width:76px;height:76px;flex:0 0 76px;border:4px solid #fff;border-radius:50%;overflow:hidden;background:#eee5ff;color:#5726ae;display:grid;place-items:center;font-size:28px;font-weight:800;box-shadow:0 4px 16px #14072c55;}
.pkp-ebc-dashboard-card-avatar img{width:100%;height:100%;object-fit:cover;}
.pkp-ebc-dashboard-card-copy{min-width:0;flex:1;}
.pkp-ebc-dashboard-card-copy>span{font-size:9px;letter-spacing:1.5px;color:#d8c7ff;font-weight:800;}
.pkp-ebc-dashboard-card-copy h2{margin:5px 0 2px;color:#fff;font-size:22px;line-height:1.2;}
.pkp-ebc-dashboard-card-copy p{margin:0 0 4px;color:#eee5ff;font-size:12px;}
.pkp-ebc-dashboard-card-copy strong{font-size:12px;color:#fff;}
.pkp-ebc-dashboard-contact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-top:16px;color:#f4efff;font-size:10px;overflow-wrap:anywhere;}
.pkp-ebc-dashboard-logo{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:10px;padding:5px;}
.pkp-ebc-dashboard-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;}
.pkp-ebc-dashboard-actions a,.pkp-ebc-dashboard-actions button{display:flex;align-items:center;justify-content:center;min-height:38px;padding:7px 9px;border:0;border-radius:9px;color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:800;cursor:pointer;box-sizing:border-box;}
.pkp-ebc-dashboard-actions .action-purple{background:#642cc5}.pkp-ebc-dashboard-actions .action-blue{background:#2874d8}.pkp-ebc-dashboard-actions .action-green{background:#239b62}.pkp-ebc-dashboard-actions .action-orange{background:#d98917}.pkp-ebc-dashboard-actions .action-pink{background:#c34f91}.pkp-ebc-dashboard-actions .action-red{background:#d54a5a}
.pkp-ebc-pending-note{grid-column:1/-1;margin:3px 0;color:#8b6a28;font-size:11px;}
.pkp-ebc-performance-panel .pkp-ebc-panel-heading{align-items:center;}
.pkp-ebc-performance-panel .pkp-ebc-panel-heading h3{margin:4px 0 0;color:#211744;}
.pkp-ebc-performance-empty{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #e4dcef;border-radius:12px;background:#fcfaff;padding:14px;}
.pkp-ebc-performance-empty>span{font-size:28px;color:#8050d1;}
.pkp-ebc-performance-empty strong{margin:8px 0 4px;color:#30204f;font-size:12px;}
.pkp-ebc-performance-empty p{max-width:250px;margin:0;color:#8a8298;font-size:10px;line-height:1.5;}
.pkp-ebc-performance-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;}
.pkp-ebc-performance-metrics>div{padding:10px 5px;text-align:center;background:#f8f5ff;border-radius:9px;}
.pkp-ebc-performance-metrics b,.pkp-ebc-performance-metrics span{display:block;}.pkp-ebc-performance-metrics b{color:#5422b0;font-size:18px;}.pkp-ebc-performance-metrics span{color:#817991;font-size:9px;}
.pkp-ebc-user-main .pkp-ebc-form-panel{display:block;}
.pkp-ebc-user-main .pkp-ebc-form-panel>form{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;}
.pkp-ebc-user-main .pkp-ebc-form-panel>form>label:nth-of-type(1),.pkp-ebc-user-main .pkp-ebc-form-panel>form>label:nth-of-type(2),.pkp-ebc-user-main .pkp-ebc-form-panel>form>label:nth-of-type(3),.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-preview-tools,.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-preview-sides,.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-live-preview,.pkp-ebc-user-main .pkp-ebc-form-panel>form>.pkp-ebc-btn{grid-column:1/-1;}
.pkp-ebc-admin-shell{width:calc(100% - 20px);max-width:none;margin:8px 10px 0 0!important;min-height:calc(100vh - 24px);border-radius:0 16px 16px 0;}
.pkp-ebc-admin-main{padding-left:24px;padding-right:24px;}
/* Hide WordPress chrome only on this plugin's own admin screens. */
body[class*="pkp-ebc"] #wpadminbar,body[class*="pkp-ebc"] #adminmenuback,body[class*="pkp-ebc"] #adminmenuwrap,body[class*="pkp-ebc"] #wpfooter{display:none!important;}
body[class*="pkp-ebc"] #wpcontent{margin-left:0!important;padding-left:0!important;}
body[class*="pkp-ebc"] #wpbody{padding-top:0!important;}
body[class*="pkp-ebc"] #wpbody-content{padding-bottom:0!important;}
body[class*="pkp-ebc"] #wpbody-content>.wrap{margin:0!important;}
body[class*="pkp-ebc"] .update-nag,body[class*="pkp-ebc"] .notice:not(.pkp-ebc-notice){display:none!important;}
@media(max-width:1100px){.pkp-ebc-overview-workspace{grid-template-columns:1fr;}.pkp-ebc-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:782px){.pkp-ebc-user-shell{width:calc(100% - 16px);margin:8px auto;}.pkp-ebc-overview-workspace{grid-template-columns:1fr;}.pkp-ebc-dashboard-card-content{padding:72px 14px 16px;gap:10px;}.pkp-ebc-dashboard-card-avatar{width:60px;height:60px;flex-basis:60px;}.pkp-ebc-dashboard-card-copy h2{font-size:18px;}.pkp-ebc-dashboard-contact{grid-template-columns:1fr;}.pkp-ebc-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr));}.pkp-ebc-user-main .pkp-ebc-form-panel>form{grid-template-columns:1fr;}.pkp-ebc-user-main .pkp-ebc-form-panel>form>label{grid-column:1/-1;}.pkp-ebc-admin-shell{width:100%;margin:0!important;border-radius:0;}.pkp-ebc-admin-main{padding:0 12px 18px;}}


/* v1.2.9 — single physical card frame with animated front/back faces */
.pkp-ebc-public{
  width:min(calc(100% - 28px),520px);
  min-height:780px;
  margin:28px auto;
  position:relative;
  overflow:hidden;
  perspective:1400px;
  transform-style:preserve-3d;
  box-sizing:border-box;
  background:#f7f9fd;
  border-radius:20px;
  box-shadow:0 22px 58px rgba(25,43,82,.14);
}
.pkp-ebc-public-cover,
.pkp-ebc-public-avatar,
.pkp-ebc-public-content,
.pkp-ebc-public>.pkp-ebc-flip-front{
  transition:transform .62s cubic-bezier(.2,.75,.25,1),opacity .35s ease,filter .35s ease;
  backface-visibility:hidden;
}
.pkp-ebc-public-cover{height:155px;background-color:#09265d;background-size:cover;background-position:center;}
.pkp-ebc-public-content{padding:0 30px 92px;box-sizing:border-box;}
.pkp-ebc-public-content h1{font-size:clamp(23px,4vw,30px);line-height:1.25;overflow-wrap:anywhere;}
.pkp-ebc-public-content h2{overflow-wrap:anywhere;}
.pkp-ebc-public-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;box-sizing:border-box;}
.pkp-ebc-public>.pkp-ebc-flip-front{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:22px;
  margin:0;
  transform:translateX(-50%);
  min-height:46px;
  padding:12px 22px;
  white-space:nowrap;
  box-shadow:0 4px 12px rgba(25,43,82,.08);
}
.pkp-ebc-public-back{
  display:block!important;
  position:absolute;
  z-index:4;
  inset:0;
  min-height:100%;
  box-sizing:border-box;
  padding:62px 38px 92px;
  text-align:left;
  background:linear-gradient(155deg,#f9fbff 0%,#edf2fb 100%);
  border-radius:20px;
  visibility:hidden;
  opacity:0;
  transform:rotateY(90deg);
  transform-origin:center;
  transition:transform .62s cubic-bezier(.2,.75,.25,1),opacity .35s ease,visibility .35s;
  backface-visibility:hidden;
}
.pkp-ebc-public-back h2{font-size:25px!important;color:#245b86;margin:0 0 24px!important;}
.pkp-ebc-public-back p{font-size:15px;line-height:1.65;margin:0 0 19px;color:#203b59;}
.pkp-ebc-public-back p strong{color:#172f4c;}
.pkp-ebc-card-qr{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
  margin:20px auto 0;
  color:#687994;
  font-size:11px;
  text-align:center;
}
.pkp-ebc-card-qr img{
  display:block;
  width:112px!important;
  height:112px!important;
  object-fit:contain;
  padding:7px;
  background:#fff;
  border:1px solid #e0e7f2;
  border-radius:12px;
  box-shadow:0 5px 16px rgba(28,48,82,.08);
}
.pkp-ebc-public-back .pkp-ebc-flip-back{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  margin:0;
  min-height:46px;
  padding:12px 22px;
  white-space:nowrap;
  background:#1768bd;
  color:#fff;
  border:0;
}
.pkp-ebc-public.is-back .pkp-ebc-public-cover,
.pkp-ebc-public.is-back .pkp-ebc-public-avatar,
.pkp-ebc-public.is-back .pkp-ebc-public-content,
.pkp-ebc-public.is-back>.pkp-ebc-flip-front{
  display:block!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:rotateY(-90deg);
}
.pkp-ebc-public.is-back .pkp-ebc-public-back{
  visibility:visible;
  opacity:1;
  transform:rotateY(0deg);
  pointer-events:auto;
}
.pkp-ebc-public.template-luxury .pkp-ebc-public-back{background:linear-gradient(145deg,#211c16,#3b3020);}
.pkp-ebc-public.template-luxury .pkp-ebc-card-qr{color:#e4d4ad;}
.pkp-ebc-public.template-luxury .pkp-ebc-public-back h2,
.pkp-ebc-public.template-luxury .pkp-ebc-public-back p{color:#f1dfb6;}
@media(max-width:600px){
  .pkp-ebc-public{width:calc(100% - 20px);min-height:790px;margin:12px auto;border-radius:16px;}
  .pkp-ebc-public-cover{height:132px;}
  .pkp-ebc-public-content{padding:0 18px 88px;}
  .pkp-ebc-public-back{padding:42px 22px 86px;}
  .pkp-ebc-public-back h2{font-size:22px!important;margin-bottom:18px!important;}
  .pkp-ebc-public-back p{font-size:14px;margin-bottom:14px;}
  .pkp-ebc-card-qr{margin-top:15px;}
  .pkp-ebc-card-qr img{width:96px!important;height:96px!important;}
}
@media(prefers-reduced-motion:reduce){
  .pkp-ebc-public-cover,.pkp-ebc-public-avatar,.pkp-ebc-public-content,
  .pkp-ebc-public-back,.pkp-ebc-public>.pkp-ebc-flip-front{transition:none!important;}
}


/* v1.3.0 — visual reference match: unified 3D two-sided business card */
.pkp-ebc-public{
  width:min(calc(100% - 28px),520px);
  max-width:520px;
  min-height:0;
  height:860px;
  margin:28px auto;
  padding:0;
  overflow:visible;
  perspective:1600px;
  background:transparent;
  border-radius:24px;
  box-shadow:none;
}
.pkp-ebc-card-rotator{
  position:relative;
  width:100%;
  height:100%;
  min-height:860px;
  transform-style:preserve-3d;
  transition:transform .8s cubic-bezier(.2,.72,.2,1);
}
.pkp-ebc-public.is-back .pkp-ebc-card-rotator{transform:rotateY(180deg);}
.pkp-ebc-card-face{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:860px;
  box-sizing:border-box;
  overflow:hidden;
  border:1px solid #e7dcff;
  border-radius:24px;
  background:linear-gradient(180deg,#fff 0%,#f7f8ff 100%);
  box-shadow:0 22px 60px rgba(35,13,91,.18);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.pkp-ebc-card-front{z-index:2;transform:rotateY(0deg);}
.pkp-ebc-card-rear{
  z-index:1;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  transform:rotateY(180deg);
  transform-origin:center;
  inset:0;
  min-height:860px;
  height:100%;
  padding:42px 34px 86px;
  border-color:#dfc8ff;
  background:linear-gradient(155deg,#fff 0%,#f5f1ff 55%,#fff 100%);
  text-align:left;
}
.pkp-ebc-card-front .pkp-ebc-public-cover{
  height:190px;
  background:linear-gradient(125deg,#170052 0%,#4d0da8 58%,#a33ee5 100%);
  position:relative;
}
.pkp-ebc-card-front .pkp-ebc-public-cover:after{
  content:"";
  position:absolute;
  left:-8%;right:-8%;bottom:-66px;height:115px;
  border-radius:50% 50% 0 0;
  background:linear-gradient(120deg,rgba(255,255,255,.05),rgba(255,255,255,.96) 42%,#fff);
  transform:rotate(-5deg);
}
.pkp-ebc-card-front .pkp-ebc-public-avatar{
  width:112px;height:112px;
  border-radius:50%;
  border:6px solid #fff;
  margin:-70px auto 14px;
  z-index:3;
  box-shadow:0 8px 24px rgba(30,12,75,.18);
  overflow:hidden;
}
.pkp-ebc-card-front .pkp-ebc-public-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
.pkp-ebc-card-front .pkp-ebc-public-content{
  position:relative;
  z-index:2;
  height:calc(100% - 190px);
  overflow-y:auto;
  padding:0 30px 94px;
  text-align:center;
}
.pkp-ebc-card-front .pkp-ebc-public-logo{
  display:block;
  max-width:190px;
  max-height:70px;
  width:auto;height:auto;
  object-fit:contain;
  margin:0 auto 18px;
}
.pkp-ebc-card-front .pkp-ebc-eyebrow{
  display:block;
  margin:8px 0 18px;
  color:#7047b7;
  font-size:12px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
}
.pkp-ebc-card-front .pkp-ebc-public-content h1{
  color:#26105f;
  font-size:29px;
  font-weight:800;
  line-height:1.22;
  margin:8px 0 6px;
}
.pkp-ebc-card-front .pkp-ebc-designation{font-size:16px;color:#6c6b80;}
.pkp-ebc-card-front .pkp-ebc-public-content h2{font-size:19px;color:#3c168a;margin:13px 0 7px;}
.pkp-ebc-card-front .pkp-ebc-about{font-size:14px;color:#54536a;line-height:1.55;margin:8px 0 14px;}
.pkp-ebc-card-front .pkp-ebc-public-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin:20px 0 17px;
}
.pkp-ebc-card-front .pkp-ebc-public-actions a{
  min-height:58px;
  display:flex;align-items:center;justify-content:center;
  padding:9px 5px;
  border-radius:12px;
  background:#f0ebff;
  color:#4e1bb0;
  font-size:12px;
  font-weight:800;
  box-shadow:0 5px 14px rgba(75,31,155,.08);
}
.pkp-ebc-card-front .pkp-ebc-public-actions a.whatsapp{background:#e5f8ed;color:#13834c;}
.pkp-ebc-card-front .pkp-ebc-public-detail{
  margin:15px 0 18px;
  padding:13px 15px;
  text-align:left;
  background:#f6f3ff;
  border:1px solid #ece4ff;
}
.pkp-ebc-card-front .pkp-ebc-save-contact{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;
  padding:12px 25px;
  background:linear-gradient(120deg,#4c0ca8,#7b28d2);
  box-shadow:0 8px 18px rgba(81,25,162,.18);
}
.pkp-ebc-card-front .pkp-ebc-share-tools{margin:13px 0 4px;}
.pkp-ebc-card-front .pkp-ebc-powered{margin:13px 0 0;}
.pkp-ebc-card-front>.pkp-ebc-flip-front{
  position:absolute;
  z-index:5;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  margin:0;
  min-height:46px;
  padding:12px 22px;
  color:#fff;
  border:0;
  background:linear-gradient(120deg,#310078,#7625c6);
  box-shadow:0 8px 18px rgba(65,17,139,.2);
  white-space:nowrap;
}
.pkp-ebc-card-rear h2{
  font-size:26px!important;
  font-weight:800;
  color:#321075!important;
  margin:0 0 25px!important;
  padding-bottom:14px;
  border-bottom:1px solid #e5d8fb;
}
.pkp-ebc-card-rear p{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:flex-start;
  font-size:15px!important;
  line-height:1.55!important;
  color:#233858!important;
  margin:0 0 21px!important;
  padding:0 0 13px;
  border-bottom:1px solid #ece6f6;
}
.pkp-ebc-card-rear p strong{min-width:92px;color:#321075!important;}
.pkp-ebc-card-qr{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin:32px auto 0;
  padding:14px;
  max-width:360px;
  border:1px solid #e8def8;
  border-radius:16px;
  background:#fff;
}
.pkp-ebc-card-qr img{
  width:124px!important;height:124px!important;
  padding:7px;background:#fff;
  border:1px solid #e6def3;border-radius:12px;
}
.pkp-ebc-card-qr span{max-width:125px;color:#4c3b70;font-size:13px;font-weight:700;line-height:1.45;}
.pkp-ebc-card-rear .pkp-ebc-flip-back{
  position:absolute;
  left:50%;bottom:20px;
  transform:translateX(-50%);
  margin:0;
  min-height:46px;
  padding:12px 24px;
  border:0;
  color:#fff;
  background:linear-gradient(120deg,#310078,#7625c6);
  box-shadow:0 8px 18px rgba(65,17,139,.2);
}
.pkp-ebc-public.is-back .pkp-ebc-card-front,
.pkp-ebc-public.is-back .pkp-ebc-card-rear{pointer-events:auto;}
.pkp-ebc-public.is-back .pkp-ebc-card-front{pointer-events:none;}
.pkp-ebc-public.is-back .pkp-ebc-card-rear{pointer-events:auto;}
.pkp-ebc-public.is-back .pkp-ebc-card-front .pkp-ebc-public-cover,
.pkp-ebc-public.is-back .pkp-ebc-card-front .pkp-ebc-public-avatar,
.pkp-ebc-public.is-back .pkp-ebc-card-front .pkp-ebc-public-content,
.pkp-ebc-public.is-back .pkp-ebc-card-front>.pkp-ebc-flip-front{
  display:block!important;visibility:visible!important;opacity:1!important;
  transform:none!important;
}
@media(max-width:600px){
  .pkp-ebc-public{width:calc(100% - 20px);height:820px;margin:12px auto;}
  .pkp-ebc-card-rotator,.pkp-ebc-card-face,.pkp-ebc-card-rear{min-height:820px;}
  .pkp-ebc-card-front .pkp-ebc-public-cover{height:155px;}
  .pkp-ebc-card-front .pkp-ebc-public-avatar{width:96px;height:96px;margin-top:-60px;}
  .pkp-ebc-card-front .pkp-ebc-public-content{height:calc(100% - 155px);padding:0 18px 90px;}
  .pkp-ebc-card-front .pkp-ebc-public-content h1{font-size:24px;}
  .pkp-ebc-card-front .pkp-ebc-public-actions{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pkp-ebc-card-rear{padding:34px 19px 82px;}
  .pkp-ebc-card-rear h2{font-size:22px!important;}
  .pkp-ebc-card-rear p{font-size:13px!important;margin-bottom:16px!important;}
  .pkp-ebc-card-rear p strong{min-width:78px;}
  .pkp-ebc-card-qr{gap:10px;margin-top:20px;padding:10px;}
  .pkp-ebc-card-qr img{width:100px!important;height:100px!important;}
  .pkp-ebc-card-qr span{font-size:11px;}
}

.pkp-ebc-public.is-back .pkp-ebc-card-rear{transform:rotateY(180deg)!important;visibility:visible!important;opacity:1!important;display:block!important;}
.pkp-ebc-public:not(.is-back) .pkp-ebc-card-rear{visibility:hidden!important;opacity:0!important;}


/* v1.3.1 — Front face fit fix: no inner scrollbar and no overlapping flip CTA */
.pkp-ebc-public{
  height:auto!important;
  min-height:860px!important;
  overflow:visible!important;
}
.pkp-ebc-card-rotator{
  height:auto!important;
  min-height:860px!important;
}
.pkp-ebc-card-front{
  position:relative!important;
  inset:auto!important;
  height:auto!important;
  min-height:860px!important;
  overflow:hidden!important;
}
.pkp-ebc-card-front .pkp-ebc-public-content{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  padding-bottom:24px!important;
}
.pkp-ebc-card-front>.pkp-ebc-flip-front{
  position:relative!important;
  left:auto!important;
  bottom:auto!important;
  transform:none!important;
  display:flex!important;
  width:max-content;
  max-width:calc(100% - 36px);
  margin:18px auto 24px!important;
}
.pkp-ebc-card-front .pkp-ebc-share-tools{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px;
  margin:14px 0 8px!important;
}
.pkp-ebc-card-front .pkp-ebc-share-tools a,
.pkp-ebc-card-front .pkp-ebc-share-tools button{
  margin:0!important;
  max-width:100%;
}
.pkp-ebc-card-front .pkp-ebc-powered{
  margin:12px 0 4px!important;
}
.pkp-ebc-card-rear{
  position:absolute!important;
  inset:0!important;
  height:100%!important;
  min-height:860px!important;
}
.pkp-ebc-public.is-back .pkp-ebc-card-front{
  position:absolute!important;
  inset:0!important;
  height:100%!important;
  min-height:860px!important;
}
@media(max-width:600px){
  .pkp-ebc-public{
    height:auto!important;
    min-height:820px!important;
  }
  .pkp-ebc-card-rotator{min-height:820px!important;}
  .pkp-ebc-card-front{min-height:820px!important;}
  .pkp-ebc-card-front .pkp-ebc-public-content{
    height:auto!important;
    overflow:visible!important;
    padding:0 18px 20px!important;
  }
  .pkp-ebc-card-front .pkp-ebc-public-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:16px 0!important;
  }
  .pkp-ebc-card-front .pkp-ebc-public-actions a{min-height:48px!important;}
  .pkp-ebc-card-front .pkp-ebc-public-detail{margin:12px 0!important;}
  .pkp-ebc-card-front .pkp-ebc-save-contact{margin:8px auto 4px!important;}
  .pkp-ebc-card-front .pkp-ebc-share-tools{gap:7px!important;}
  .pkp-ebc-card-front .pkp-ebc-share-tools a,
  .pkp-ebc-card-front .pkp-ebc-share-tools button{
    min-height:40px!important;
    padding:8px 11px!important;
    font-size:12px!important;
  }
  .pkp-ebc-card-front>.pkp-ebc-flip-front{
    margin:14px auto 22px!important;
    min-height:44px!important;
  }
  .pkp-ebc-card-rear,
  .pkp-ebc-public.is-back .pkp-ebc-card-front{min-height:820px!important;}
}


/* v1.3.2 — viewport-fit card, icon contact actions on both sides */
.pkp-ebc-public{
  width:min(calc(100% - 24px),520px)!important;
  height:clamp(620px,calc(100svh - 24px),820px)!important;
  min-height:0!important;
  max-height:calc(100svh - 24px)!important;
  margin:12px auto!important;
  overflow:visible!important;
}
.pkp-ebc-card-rotator,
.pkp-ebc-card-face,
.pkp-ebc-card-front,
.pkp-ebc-card-rear{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
}
.pkp-ebc-card-front{overflow:hidden!important;}
.pkp-ebc-card-front .pkp-ebc-public-cover{height:clamp(105px,17svh,150px)!important;}
.pkp-ebc-card-front .pkp-ebc-public-avatar{
  width:clamp(76px,11svh,96px)!important;
  height:clamp(76px,11svh,96px)!important;
  margin-top:calc(clamp(76px,11svh,96px) / -2)!important;
  margin-bottom:8px!important;
}
.pkp-ebc-card-front .pkp-ebc-public-content{
  height:auto!important;
  max-height:calc(100% - clamp(105px,17svh,150px) - 72px)!important;
  overflow:hidden!important;
  padding:0 22px 8px!important;
  text-align:center!important;
}
.pkp-ebc-card-front .pkp-ebc-public-logo{
  max-width:150px!important;
  max-height:48px!important;
  margin:0 auto 8px!important;
}
.pkp-ebc-card-front .pkp-ebc-eyebrow{font-size:10px!important;margin:4px 0 8px!important;letter-spacing:1.5px!important;}
.pkp-ebc-card-front .pkp-ebc-public-content h1{font-size:clamp(19px,3.5svh,26px)!important;margin:5px 0!important;line-height:1.15!important;}
.pkp-ebc-card-front .pkp-ebc-designation{font-size:13px!important;margin:4px 0!important;}
.pkp-ebc-card-front .pkp-ebc-public-content h2{font-size:16px!important;margin:6px 0!important;}
.pkp-ebc-card-front .pkp-ebc-about{
  font-size:12px!important;line-height:1.3!important;margin:5px 0!important;
  display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
}
.pkp-ebc-card-front .pkp-ebc-public-actions{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;margin:10px 0!important;
}
.pkp-ebc-card-front .pkp-ebc-public-actions a.pkp-ebc-contact-icon{
  min-height:58px!important;height:58px!important;padding:6px 2px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  border-radius:11px!important;text-decoration:none!important;font-size:10px!important;font-weight:800!important;
}
.pkp-ebc-contact-icon svg{
  width:21px!important;height:21px!important;display:block!important;fill:currentColor!important;flex:0 0 auto!important;
}
.pkp-ebc-card-front .pkp-ebc-call{background:#e9f0ff!important;color:#2861c5!important;}
.pkp-ebc-card-front .pkp-ebc-whatsapp{background:#e4f8ec!important;color:#159653!important;}
.pkp-ebc-card-front .pkp-ebc-email{background:#f1eafe!important;color:#7139c9!important;}
.pkp-ebc-card-front .pkp-ebc-website{background:#fff0e3!important;color:#d87920!important;}
.pkp-ebc-card-front .pkp-ebc-public-detail{margin:8px 0!important;padding:8px 11px!important;font-size:11px!important;text-align:left!important;}
.pkp-ebc-card-front .pkp-ebc-public-detail p{font-size:11px!important;margin:3px 0 0!important;line-height:1.3!important;}
.pkp-ebc-card-front .pkp-ebc-save-contact{min-height:40px!important;padding:8px 18px!important;margin:5px auto!important;font-size:13px!important;}
.pkp-ebc-card-front .pkp-ebc-share-tools{display:flex!important;justify-content:center!important;gap:6px!important;flex-wrap:wrap!important;margin:7px 0 2px!important;}
.pkp-ebc-card-front .pkp-ebc-share-tools a,
.pkp-ebc-card-front .pkp-ebc-share-tools button{min-height:30px!important;padding:5px 9px!important;font-size:10px!important;}
.pkp-ebc-card-front .pkp-ebc-powered{font-size:9px!important;margin:5px 0!important;}
.pkp-ebc-card-front>.pkp-ebc-flip-front{
  bottom:10px!important;min-height:38px!important;padding:8px 17px!important;font-size:11px!important;
}
.pkp-ebc-card-rear{
  padding:clamp(22px,4svh,38px) clamp(18px,4vw,32px) 64px!important;
  overflow:hidden!important;
}
.pkp-ebc-card-rear h2{font-size:clamp(20px,3svh,25px)!important;margin:0 0 12px!important;padding-bottom:10px!important;}
.pkp-ebc-back-contacts{display:flex!important;flex-direction:column!important;gap:0!important;}
.pkp-ebc-back-contact{
  display:flex!important;align-items:center!important;gap:12px!important;
  min-height:53px!important;padding:6px 2px!important;
  border-bottom:1px solid #e8e1f2!important;text-decoration:none!important;
  color:#263b5b!important;box-sizing:border-box!important;
}
.pkp-ebc-back-icon{
  width:34px!important;height:34px!important;min-width:34px!important;
  border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  background:#eee8ff!important;color:#6731bf!important;
}
.pkp-ebc-back-icon svg{width:18px!important;height:18px!important;fill:currentColor!important;}
.pkp-ebc-back-whatsapp .pkp-ebc-back-icon{background:#e4f8ec!important;color:#159653!important;}
.pkp-ebc-back-phone .pkp-ebc-back-icon{background:#e9f0ff!important;color:#2861c5!important;}
.pkp-ebc-back-email .pkp-ebc-back-icon{background:#f1eafe!important;color:#7139c9!important;}
.pkp-ebc-back-website .pkp-ebc-back-icon{background:#fff0e3!important;color:#d87920!important;}
.pkp-ebc-back-address .pkp-ebc-back-icon{background:#e9f0ff!important;color:#2861c5!important;}
.pkp-ebc-back-contact>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px;}
.pkp-ebc-back-contact strong{font-size:11px!important;color:#321075!important;}
.pkp-ebc-back-contact small{font-size:12px!important;line-height:1.25!important;color:#334b6c!important;overflow-wrap:anywhere!important;}
.pkp-ebc-card-rear .pkp-ebc-card-qr{
  margin:clamp(12px,2.5svh,22px) auto 0!important;padding:8px!important;gap:12px!important;
  max-width:300px!important;border-radius:13px!important;
}
.pkp-ebc-card-rear .pkp-ebc-card-qr img{width:clamp(76px,12svh,104px)!important;height:clamp(76px,12svh,104px)!important;}
.pkp-ebc-card-rear .pkp-ebc-card-qr span{font-size:11px!important;}
.pkp-ebc-card-rear .pkp-ebc-flip-back{bottom:10px!important;min-height:38px!important;padding:8px 18px!important;font-size:11px!important;}
@media(max-width:600px){
  .pkp-ebc-public{width:calc(100% - 20px)!important;height:calc(100svh - 16px)!important;max-height:calc(100svh - 16px)!important;min-height:600px!important;margin:8px auto!important;}
  .pkp-ebc-card-rotator,.pkp-ebc-card-face,.pkp-ebc-card-front,.pkp-ebc-card-rear{min-height:0!important;}
  .pkp-ebc-card-front .pkp-ebc-public-content{padding-left:15px!important;padding-right:15px!important;}
  .pkp-ebc-card-front .pkp-ebc-public-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;}
  .pkp-ebc-card-front .pkp-ebc-public-actions a.pkp-ebc-contact-icon{height:52px!important;min-height:52px!important;font-size:9px!important;}
  .pkp-ebc-contact-icon svg{width:18px!important;height:18px!important;}
  .pkp-ebc-card-rear{padding:22px 16px 58px!important;}
  .pkp-ebc-back-contact{min-height:48px!important;gap:9px!important;}
  .pkp-ebc-back-icon{width:30px!important;height:30px!important;min-width:30px!important;}
  .pkp-ebc-back-contact small{font-size:11px!important;}
}
@media(max-height:700px){
  .pkp-ebc-public{height:calc(100svh - 12px)!important;max-height:calc(100svh - 12px)!important;min-height:560px!important;}
  .pkp-ebc-card-front .pkp-ebc-public-cover{height:95px!important;}
  .pkp-ebc-card-front .pkp-ebc-public-logo{max-height:38px!important;}
  .pkp-ebc-card-front .pkp-ebc-public-detail{margin:5px 0!important;}
  .pkp-ebc-back-contact{min-height:43px!important;}
}

/* Add Contact action is intentionally placed on the rear face. */
.pkp-ebc-back-save-contact{display:flex;flex-direction:column;align-items:center;gap:7px;margin:18px auto 12px;text-align:center}.pkp-ebc-public-back .pkp-ebc-save-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 24px;background:#263f86;color:#fff!important;border-radius:11px;text-decoration:none!important;font-weight:800;font-size:14px;box-shadow:0 7px 18px rgba(38,63,134,.18)}.pkp-ebc-contact-feedback{display:block;min-height:16px;font-size:11px;color:#43815f}.pkp-ebc-public.template-luxury .pkp-ebc-public-back .pkp-ebc-save-contact{background:#a47d36;color:#171923!important}

/* v1.3.6 — complete selectable card template themes (front, back and builder preview) */
.pkp-ebc-public.template-classic .pkp-ebc-card-front,.pkp-ebc-live-preview.template-classic{border-color:#d8e2f2;background:linear-gradient(180deg,#fff 0%,#f7f9fd 100%)}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-cover,.pkp-ebc-live-preview.template-classic .pkp-ebc-preview-cover{background-color:#071f50;background-image:linear-gradient(155deg,#061943 0%,#123b78 72%,#315d99 100%)}
.pkp-ebc-public.template-classic .pkp-ebc-card-rear{background:linear-gradient(155deg,#fff 0%,#f2f6fc 100%);border-color:#d5e1f1}
.pkp-ebc-public.template-classic .pkp-ebc-public-content h1,.pkp-ebc-live-preview.template-classic [data-preview-name]{color:#142d59}
.pkp-ebc-public.template-classic .pkp-ebc-eyebrow{color:#3568a8}
.pkp-ebc-public.template-classic .pkp-ebc-card-rear h2{color:#173766}

.pkp-ebc-public.template-modern .pkp-ebc-card-front,.pkp-ebc-live-preview.template-modern{border-color:#d9c8ff;background:linear-gradient(145deg,#fff 0%,#f4edff 55%,#fff 100%)}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-cover,.pkp-ebc-live-preview.template-modern .pkp-ebc-preview-cover{background-color:#3c0b91;background-image:linear-gradient(125deg,#26006f 0%,#7026d5 55%,#c04ee8 100%)}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear{background:linear-gradient(145deg,#26006f,#5b20b3 60%,#8d35d2);border-color:#8c55d4}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear h2,.pkp-ebc-public.template-modern .pkp-ebc-card-rear p,.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact,.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact strong,.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact small{color:#fff}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2)}
.pkp-ebc-public.template-modern .pkp-ebc-public-content h1,.pkp-ebc-live-preview.template-modern [data-preview-name]{color:#48139a}
.pkp-ebc-public.template-modern .pkp-ebc-eyebrow{color:#8a35d2}

.pkp-ebc-public.template-luxury .pkp-ebc-card-front,.pkp-ebc-live-preview.template-luxury{background:linear-gradient(155deg,#171717,#29251f 70%,#151515);border-color:#b89a58;color:#f4e7c3}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-cover,.pkp-ebc-live-preview.template-luxury .pkp-ebc-preview-cover{background-color:#171717;background-image:linear-gradient(130deg,#090909,#302719 58%,#8a6b35)}
.pkp-ebc-public.template-luxury .pkp-ebc-public-content h1,.pkp-ebc-public.template-luxury .pkp-ebc-public-content h2,.pkp-ebc-public.template-luxury .pkp-ebc-public-content p,.pkp-ebc-public.template-luxury .pkp-ebc-public-content .pkp-ebc-designation,.pkp-ebc-live-preview.template-luxury [data-preview-name]{color:#f3e4bd}
.pkp-ebc-public.template-luxury .pkp-ebc-eyebrow{color:#d8b86d}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear{background:linear-gradient(145deg,#171411,#30271b);border-color:#9e8248}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear h2,.pkp-ebc-public.template-luxury .pkp-ebc-card-rear p,.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact,.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact strong,.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact small{color:#f3e4bd}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact{background:rgba(255,255,255,.07);border-color:rgba(215,184,109,.3)}

.pkp-ebc-public.template-corporate .pkp-ebc-card-front,.pkp-ebc-live-preview.template-corporate{background:#fff;border-color:#cbdced}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-cover,.pkp-ebc-live-preview.template-corporate .pkp-ebc-preview-cover{background-color:#075b91;background-image:linear-gradient(125deg,#073b67,#087eb4 70%,#4aa5c9)}
.pkp-ebc-public.template-corporate .pkp-ebc-public-content h1,.pkp-ebc-live-preview.template-corporate [data-preview-name]{color:#124d78}
.pkp-ebc-public.template-corporate .pkp-ebc-eyebrow{color:#0879a9}
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear{background:linear-gradient(160deg,#fff,#edf5fb);border-color:#c5dceb}
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear h2{color:#124d78}

.pkp-ebc-public.template-minimal .pkp-ebc-card-front,.pkp-ebc-live-preview.template-minimal{background:#fff;border-color:#e3e6eb;box-shadow:0 12px 34px rgba(35,42,54,.09)}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-cover,.pkp-ebc-live-preview.template-minimal .pkp-ebc-preview-cover{background-color:#dfe4eb;background-image:linear-gradient(125deg,#d6dce5,#f0f2f5 70%,#c8d0da)}
.pkp-ebc-public.template-minimal .pkp-ebc-public-content h1,.pkp-ebc-live-preview.template-minimal [data-preview-name]{color:#303945}
.pkp-ebc-public.template-minimal .pkp-ebc-eyebrow{color:#697586}
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear{background:#fff;border-color:#e1e5eb}
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear h2{color:#303945}
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear .pkp-ebc-back-contact{background:#f7f8fa;border-color:#e8ebef}


/* v1.3.7 — theme contrast, spacing and logo readability */
.pkp-ebc-public.template-modern .pkp-ebc-card-rear h2,
.pkp-ebc-public.template-modern .pkp-ebc-card-rear h2 *,
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact,
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact strong,
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact small{
  color:#fff!important;
}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear h2{border-bottom-color:rgba(255,255,255,.55)!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-contact{
  background:rgba(255,255,255,.14)!important;
  border-bottom-color:rgba(255,255,255,.28)!important;
  border-radius:9px!important;
  padding:8px!important;
  margin:5px 0!important;
}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-card-qr{background:#fff!important;color:#34205d!important}

/* Luxury Dark: keep the logo legible and avoid blending into the dark card body */
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-logo{
  background:rgba(255,255,255,.96)!important;
  border-radius:10px!important;
  padding:5px 10px!important;
  box-sizing:content-box!important;
  max-height:62px!important;
  margin:2px auto 14px!important;
  box-shadow:0 3px 12px rgba(0,0,0,.16)!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-content h1,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-content h2,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-content p,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-card-powered,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-eyebrow,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-designation{
  text-shadow:0 1px 2px rgba(0,0,0,.25)!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-detail{
  background:#302a25!important;border:1px solid rgba(222,190,119,.48)!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-detail strong,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-detail p{color:#f4e7c3!important}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-actions a{box-shadow:none!important}

/* Luxury back: consistent gold/ivory text, readable rows and buttons */
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear h2,
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear p,
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact,
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact strong,
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact small{
  color:#f6e9c9!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear h2{border-bottom-color:rgba(226,194,126,.6)!important}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-contact{
  background:rgba(255,255,255,.09)!important;
  border-bottom-color:rgba(226,194,126,.35)!important;
  border-radius:9px!important;padding:8px!important;margin:5px 0!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-card-qr{background:#fff!important;color:#30251a!important}

/* Corporate and Minimal: clear back-side text and balanced contact rows */
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear h2,
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear .pkp-ebc-back-contact strong{color:#124d78!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear .pkp-ebc-back-contact small,
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear .pkp-ebc-back-contact{color:#304a62!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear .pkp-ebc-back-contact{background:#f4f8fc!important;border-bottom-color:#d6e3ef!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear h2,
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear .pkp-ebc-back-contact strong{color:#303945!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear .pkp-ebc-back-contact small,
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear .pkp-ebc-back-contact{color:#4b5563!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear .pkp-ebc-back-contact{background:#f7f8fa!important;border-bottom-color:#e4e7ec!important}

/* All templates: consistent spacing, legibility and accessible focus */
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear .pkp-ebc-back-contact strong{font-weight:800!important}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear .pkp-ebc-back-contact small{font-weight:500!important}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear .pkp-ebc-back-icon{flex:0 0 42px!important;width:42px!important;height:42px!important}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear .pkp-ebc-back-contact{gap:12px!important;min-height:58px!important}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear .pkp-ebc-save-contact{min-height:52px!important;font-size:16px!important}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-face button:focus-visible,
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-face a:focus-visible{outline:3px solid #f0b84b!important;outline-offset:3px!important}

@media(max-width:600px){
 .pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-logo{max-width:160px!important}
 .pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear{padding-left:20px!important;padding-right:20px!important}
 .pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear .pkp-ebc-back-contact small{overflow-wrap:anywhere!important}
}


/* v1.3.8 — compact Add Contact action aligned with Contact Details heading */
.pkp-ebc-public .pkp-ebc-back-heading{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;margin:0 0 16px!important;padding:0 0 12px!important;
  border-bottom:1px solid rgba(100,75,145,.28)!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-heading h2{
  flex:1 1 auto!important;min-width:0!important;margin:0!important;padding:0!important;
  border:0!important;font-size:clamp(19px,2.5vw,26px)!important;line-height:1.2!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{
  flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;min-height:36px!important;padding:7px 11px!important;
  border-radius:9px!important;font-size:12px!important;line-height:1!important;
  text-decoration:none!important;white-space:nowrap!important;box-shadow:0 3px 9px rgba(20,25,45,.12)!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-save-contact-compact svg{
  display:block!important;width:17px!important;height:17px!important;fill:currentColor!important;flex:0 0 17px!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-save-contact-compact span{display:inline!important}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-save-contact{display:none!important}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-contact-feedback{min-height:0!important;margin:2px 0 6px!important;text-align:center!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-back-heading{border-bottom-color:rgba(255,255,255,.45)!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{background:#fff!important;color:#4b1594!important}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-back-heading{border-bottom-color:rgba(226,194,126,.55)!important}
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{background:#a47d36!important;color:#171923!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{background:#145d8c!important;color:#fff!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{background:#303945!important;color:#fff!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{background:#173766!important;color:#fff!important}
@media(max-width:480px){
 .pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-heading{gap:8px!important}
 .pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-heading h2{font-size:19px!important}
 .pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{min-height:34px!important;padding:6px 8px!important;font-size:11px!important}
 .pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-save-contact-compact svg{width:15px!important;height:15px!important;flex-basis:15px!important}
}


/* v1.3.9 — apply selected theme to the complete front header/cover composition */
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(7,31,80,.12),rgba(255,255,255,.94) 48%,#f7f9fd)!important;
}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(67,13,145,.16),rgba(245,237,255,.96) 48%,#f4edff)!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(10,10,10,.28),rgba(45,37,29,.98) 48%,#29251f)!important;
}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(7,59,103,.12),rgba(255,255,255,.97) 48%,#fff)!important;
}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(214,220,229,.3),rgba(255,255,255,.98) 48%,#fff)!important;
}

/* The logo plate is part of the theme, not a fixed white sticker */
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-logo{
 display:block!important;max-width:190px!important;max-height:70px!important;
 width:auto!important;height:auto!important;object-fit:contain!important;
 padding:6px 10px!important;border-radius:14px!important;box-sizing:content-box!important;
 background:rgba(255,255,255,.94)!important;
 box-shadow:0 5px 18px rgba(20,24,40,.10)!important;
 margin:0 auto 16px!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-logo{
 background:#fff!important;border:1px solid rgba(220,190,125,.55)!important;
 box-shadow:0 5px 18px rgba(0,0,0,.24)!important;
}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-logo{
 border:1px solid rgba(125,65,205,.18)!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-logo{
 border:1px solid rgba(30,68,125,.14)!important;
}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-logo{
 border:1px solid rgba(20,93,140,.14)!important;
}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-logo{
 border:1px solid #e5e8ed!important;box-shadow:0 3px 12px rgba(35,42,54,.07)!important;
}

/* Full front typography and detail blocks follow the chosen palette */
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content h1{color:#142d59!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content h2{color:#244f88!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-designation,
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-about{color:#536782!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-eyebrow{color:#3568a8!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-content h1{color:#48139a!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-content h2{color:#6826b7!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-designation,
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-about{color:#66517f!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-eyebrow{color:#8a35d2!important}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-content h1,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-content h2,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-designation,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-about{color:#f3e4bd!important}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-eyebrow{color:#d8b86d!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-content h1{color:#124d78!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-content h2{color:#08709f!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-designation,
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-about{color:#526b7d!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-eyebrow{color:#0879a9!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-content h1{color:#303945!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-content h2{color:#4b5563!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-designation,
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-about{color:#697586!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-eyebrow{color:#697586!important}

.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-detail{background:#f0e8ff!important;border-color:#ddc9fa!important}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-detail strong,
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-detail p{color:#4c267e!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-detail{background:#edf3fb!important;border-color:#d7e3f2!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-detail strong,
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-detail p{color:#344e70!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-detail{background:#edf5fa!important;border-color:#cfe1ed!important}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-detail strong,
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-detail p{color:#30536b!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-detail{background:#f7f8fa!important;border-color:#e4e7ec!important}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-detail strong,
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-detail p{color:#4b5563!important}


/* v1.4.0 — theme-colored cover overlay (also works when a custom cover photo is set) */
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-cover{
 position:relative!important;isolation:isolate!important;overflow:visible!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-cover:before{
 content:""!important;position:absolute!important;inset:0!important;z-index:0!important;
 pointer-events:none!important;opacity:1!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-cover:before{
 background:linear-gradient(125deg,rgba(4,22,61,.96) 0%,rgba(12,48,101,.91) 58%,rgba(48,91,151,.84) 100%)!important;
}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-cover:before{
 background:linear-gradient(125deg,rgba(38,0,111,.97) 0%,rgba(112,38,213,.93) 56%,rgba(192,78,232,.87) 100%)!important;
}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-cover:before{
 background:linear-gradient(125deg,rgba(8,8,8,.98) 0%,rgba(35,29,22,.96) 58%,rgba(126,94,42,.90) 100%)!important;
}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-cover:before{
 background:linear-gradient(125deg,rgba(5,45,79,.97) 0%,rgba(7,103,151,.93) 62%,rgba(74,165,201,.88) 100%)!important;
}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-cover:before{
 background:linear-gradient(125deg,rgba(202,210,221,.98) 0%,rgba(231,235,241,.96) 58%,rgba(247,248,250,.92) 100%)!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 z-index:1!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-avatar{z-index:3!important}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-content{z-index:2!important}
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(20,18,15,.94),rgba(39,32,25,.99) 48%,#29251f)!important;
}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(62,20,125,.92),rgba(83,29,153,.98) 48%,#4a1b83)!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(8,29,68,.90),rgba(17,48,91,.97) 48%,#102e59)!important;
}
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(7,59,103,.90),rgba(8,91,137,.97) 48%,#075b91)!important;
}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-cover:after{
 background:linear-gradient(120deg,rgba(218,224,232,.96),rgba(235,238,243,.99) 48%,#e9edf2)!important;
}
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-cover:before{opacity:.98!important}


/* v1.4.3 — compact business-card presentation and slim contact action row */
.pkp-ebc-public .pkp-ebc-card-front{
  min-height:760px!important;
  border-radius:26px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-cover{
  height:118px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-avatar{
  width:82px!important;height:82px!important;
  margin-top:-48px!important;margin-bottom:5px!important;
  border-width:4px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-content{
  padding:0 26px 14px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-logo{
  width:auto!important;max-width:158px!important;max-height:46px!important;
  padding:4px 8px!important;margin:0 auto 6px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-eyebrow{
  margin:3px 0 5px!important;font-size:9px!important;letter-spacing:1.25px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-content h1{
  font-size:clamp(18px,2.8svh,23px)!important;margin:4px 0!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-designation{font-size:12px!important;margin:3px 0!important}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-content h2{font-size:15px!important;margin:4px 0!important}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-about{font-size:11px!important;line-height:1.25!important;margin:3px 0!important}

/* Four contact actions: short, slim, one-line icon + label buttons */
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-actions{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;margin:12px 0 10px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-actions a.pkp-ebc-contact-icon{
  display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;width:100%!important;min-width:0!important;
  height:42px!important;min-height:42px!important;padding:5px 7px!important;
  border-radius:9px!important;font-size:10px!important;font-weight:800!important;
  line-height:1!important;white-space:nowrap!important;box-shadow:none!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-contact-icon svg{
  width:16px!important;height:16px!important;flex:0 0 16px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-detail{
  margin:8px 0!important;padding:8px 12px!important;border-radius:10px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-share-tools{
  gap:6px!important;margin:9px 0!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-share-tools a,
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-share-tools button{
  min-height:34px!important;padding:6px 10px!important;font-size:10px!important;border-radius:8px!important;
}
.pkp-ebc-public .pkp-ebc-card-front>.pkp-ebc-flip-front{
  min-height:38px!important;margin:8px auto 12px!important;padding:8px 18px!important;font-size:12px!important;
}
@media(max-width:600px){
 .pkp-ebc-public .pkp-ebc-card-front{min-height:700px!important}
 .pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-content{padding-left:14px!important;padding-right:14px!important}
 .pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-actions{gap:5px!important}
 .pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-actions a.pkp-ebc-contact-icon{
   height:38px!important;min-height:38px!important;padding:4px 3px!important;gap:4px!important;font-size:9px!important
 }
 .pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-contact-icon svg{width:14px!important;height:14px!important;flex-basis:14px!important}
}


/* v1.4.5 — first production layout: Classic Premium horizontal business-card composition */
.pkp-ebc-public.template-classic .pkp-ebc-card-front{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  min-height:540px!important;height:auto!important;
  padding:0 0 14px!important;border:2px solid #c99b37!important;
  border-radius:22px!important;
  background:
    linear-gradient(135deg,transparent 0 8%,rgba(211,166,64,.95) 8.1% 9.4%,transparent 9.5% 100%),
    linear-gradient(315deg,transparent 0 6%,rgba(211,166,64,.82) 6.1% 7.2%,transparent 7.3% 100%),
    radial-gradient(ellipse at 50% 0%,#123b78 0%,#061d49 48%,#03132f 100%)!important;
  box-shadow:0 18px 42px rgba(3,19,47,.22)!important;
  color:#fff!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front:before{
  content:""!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;
  background:
    linear-gradient(135deg,transparent 0 7%,rgba(255,220,125,.92) 7.1% 8.2%,transparent 8.3% 100%),
    linear-gradient(315deg,transparent 0 5%,rgba(255,220,125,.72) 5.1% 6.1%,transparent 6.2% 100%);
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-cover{
  position:absolute!important;top:0!important;left:0!important;right:0!important;height:0!important;
  opacity:0!important;pointer-events:none!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-avatar{
  position:absolute!important;z-index:4!important;top:158px!important;left:7%!important;
  width:142px!important;height:142px!important;margin:0!important;
  border:4px solid #e6bd59!important;border-radius:50%!important;
  background:#fff!important;box-shadow:0 5px 18px rgba(0,0,0,.35)!important;
  overflow:hidden!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-avatar img{
  width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content{
  position:relative!important;z-index:2!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  padding:16px 34px 8px!important;text-align:center!important;
  color:#fff!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-logo{
  display:block!important;width:auto!important;max-width:190px!important;max-height:62px!important;
  margin:0 auto 8px!important;padding:5px 10px!important;object-fit:contain!important;
  background:#fff!important;border:1px solid rgba(230,189,89,.65)!important;border-radius:13px!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-eyebrow{
  color:#f1ca68!important;font-size:10px!important;letter-spacing:3px!important;
  font-weight:800!important;margin:2px 0 8px!important;text-align:center!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content h1{
  color:#fff!important;font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(19px,2.4vw,25px)!important;line-height:1.2!important;
  text-align:left!important;margin:4px 0 8px 190px!important;min-height:32px!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-designation{
  color:#f0dca8!important;font-size:13px!important;text-align:left!important;
  margin:-2px 0 8px 190px!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content h2{
  color:#f7d77f!important;font-size:17px!important;text-align:left!important;
  margin:0 0 5px 190px!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-about{
  color:#f5edda!important;font-size:12px!important;text-align:left!important;
  margin:0 0 10px 190px!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-actions{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;margin:18px 0 10px!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-actions a.pkp-ebc-contact-icon{
  height:48px!important;min-height:48px!important;padding:5px 8px!important;
  display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;
  gap:7px!important;border:1px solid #d8e5ff!important;border-radius:10px!important;
  background:#fff!important;color:#0754b8!important;font-size:11px!important;font-weight:800!important;
  box-shadow:0 4px 10px rgba(0,0,0,.14)!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-contact-icon svg{
  width:17px!important;height:17px!important;flex:0 0 17px!important;color:currentColor!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-detail{
  background:rgba(255,255,255,.08)!important;border:1px solid rgba(226,190,105,.55)!important;
  border-radius:9px!important;padding:8px 12px!important;margin:7px 0!important;text-align:left!important;
  color:#fff!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-detail strong{color:#f4cf75!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-detail p{color:#fff!important}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-share-tools{
  display:flex!important;justify-content:center!important;gap:0!important;
  margin:8px 0!important;padding:7px 0!important;border-top:1px solid rgba(237,205,133,.35)!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-share-tools a,
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-share-tools button{
  min-height:30px!important;padding:5px 12px!important;background:transparent!important;
  border:0!important;border-right:1px solid rgba(237,205,133,.35)!important;
  border-radius:0!important;color:#f4e5c0!important;font-size:10px!important;
}
.pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-flip-front{
  display:block!important;margin:8px auto 0!important;padding:9px 24px!important;
  min-height:36px!important;border:1px solid #f2cf77!important;border-radius:22px!important;
  background:linear-gradient(120deg,#f9e39a,#d5a638)!important;color:#17213b!important;
  font-size:12px!important;font-weight:900!important;
}
@media(max-width:600px){
 .pkp-ebc-public.template-classic .pkp-ebc-card-front{min-height:500px!important;border-radius:17px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content{padding:12px 13px 8px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-logo{max-width:150px!important;max-height:48px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-avatar{top:140px!important;left:5%!important;width:94px!important;height:94px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content h1{margin-left:112px!important;font-size:16px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-designation{margin-left:112px!important;font-size:11px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-content h2{margin-left:112px!important;font-size:14px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-about{margin-left:112px!important;font-size:10px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-actions{gap:5px!important;margin-top:14px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-public-actions a.pkp-ebc-contact-icon{height:40px!important;min-height:40px!important;gap:4px!important;padding:4px 3px!important;font-size:9px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-contact-icon svg{width:14px!important;height:14px!important;flex-basis:14px!important}
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-share-tools a,
 .pkp-ebc-public.template-classic .pkp-ebc-card-front .pkp-ebc-share-tools button{padding:5px 7px!important;font-size:9px!important}
}


/* v1.5.1 — remove legacy header/cover artwork from every public card.
   The selected full-card background image/color is now the only background design. */
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-cover{
  display:none!important;
  height:0!important;min-height:0!important;max-height:0!important;
  opacity:0!important;visibility:hidden!important;
  background:none!important;background-image:none!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-cover:before,
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-cover:after{
  content:none!important;display:none!important;background:none!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front:before,
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front:after{
  content:none!important;display:none!important;background:none!important;
}
/* Non-Classic templates no longer need the old avatar overlap with the header. */
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-avatar,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-avatar,
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-avatar,
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-avatar{
  position:relative!important;top:auto!important;left:auto!important;
  margin:14px auto 10px!important;transform:none!important;
}


/* v1.5.2 — full-bleed card background and no legacy outer theme strip */
.pkp-ebc-public[class*="template-"]{
  background:transparent!important;
  background-image:none!important;
  border-color:transparent!important;
  overflow:hidden!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rotator{
  width:100%!important;max-width:100%!important;
  background:transparent!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front,
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear{
  width:100%!important;max-width:100%!important;
  margin:0!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:cover!important;
  background-clip:border-box!important;
  border:0!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front{
  border-radius:24px!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front:before,
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front:after{
  display:none!important;content:none!important;
}


/* v1.5.3 — force exact edge-to-edge background fit (no empty top/left bands) */
.pkp-ebc-public[class*="template-"],
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rotator{
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
}
/* Keep card-face background-image available for the selected per-template image. */
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-face{
  background-color:transparent!important;
  border:0!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front,
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear{
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-height:860px!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
  background-origin:border-box!important;
  background-clip:border-box!important;
  background-position:0 0!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front{
  border-radius:24px!important;
  overflow:hidden!important;
}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-rear{
  border-radius:24px!important;
  overflow:hidden!important;
}


/* v1.5.4 — template-specific background image must win over legacy template fills */
.pkp-ebc-public.template-modern .pkp-ebc-card-front,
.pkp-ebc-public.template-modern .pkp-ebc-card-rear,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front,
.pkp-ebc-public.template-luxury .pkp-ebc-card-rear,
.pkp-ebc-public.template-corporate .pkp-ebc-card-front,
.pkp-ebc-public.template-corporate .pkp-ebc-card-rear,
.pkp-ebc-public.template-minimal .pkp-ebc-card-front,
.pkp-ebc-public.template-minimal .pkp-ebc-card-rear{
  background-color:transparent!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:100% 100%!important;
}


/* v1.5.6 — compact rear contact rows, visible return action, and adjustable shape */
.pkp-ebc-public .pkp-ebc-card-rear{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  min-height:860px!important;
  height:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  padding:28px 28px 92px!important;
  display:block!important;
}
.pkp-ebc-public.is-back .pkp-ebc-card-rear{
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  transform:rotateY(180deg)!important;
  z-index:5!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-heading{
  width:100%!important;
  box-sizing:border-box!important;
  margin:0 0 14px!important;
  padding:0 0 12px!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-heading h2{
  overflow-wrap:anywhere!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-contacts{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-contact{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  overflow:hidden!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-contact>span:last-child{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow-wrap:anywhere!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-card-qr{
  display:flex!important;
  width:min(100%,460px)!important;
  margin:18px auto 0!important;
  position:relative!important;
  z-index:2!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-flip-back{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:absolute!important;
  left:50%!important;
  bottom:18px!important;
  transform:translateX(-50%)!important;
  z-index:20!important;
  min-height:44px!important;
  margin:0!important;
  cursor:pointer!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
@media(max-width:600px){
  .pkp-ebc-public .pkp-ebc-card-rear{padding:22px 16px 84px!important}
  .pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-heading{gap:8px!important}
  .pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-save-contact-compact{min-height:34px!important;padding:6px 9px!important}
  .pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-card-qr{margin-top:14px!important}
}

/* v1.5.7 — keep the rear face oriented toward the viewer after the parent rotator flips */
.pkp-ebc-public .pkp-ebc-card-rotator .pkp-ebc-card-rear,
.pkp-ebc-public.is-back .pkp-ebc-card-rotator .pkp-ebc-card-rear{
  transform:rotateY(180deg)!important;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
}


/* v1.5.9 — prevent front/back content clipping; let the complete card define its height */
.pkp-ebc-public{
  height:auto!important;
  min-height:860px!important;
  max-height:none!important;
  overflow:visible!important;
}
.pkp-ebc-public .pkp-ebc-card-rotator{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:max-content!important;
  position:relative!important;
  height:auto!important;
  min-height:860px!important;
  max-height:none!important;
  transform-style:preserve-3d!important;
  overflow:visible!important;
}
.pkp-ebc-public .pkp-ebc-card-rotator>.pkp-ebc-card-front,
.pkp-ebc-public .pkp-ebc-card-rotator>.pkp-ebc-card-rear{
  position:relative!important;
  inset:auto!important;
  grid-column:1!important;
  grid-row:1!important;
  width:100%!important;
  height:auto!important;
  min-height:860px!important;
  max-height:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  align-self:stretch!important;
}
.pkp-ebc-public .pkp-ebc-card-rotator>.pkp-ebc-card-front{
  z-index:2!important;
  transform:rotateY(0deg)!important;
}
.pkp-ebc-public .pkp-ebc-card-rotator>.pkp-ebc-card-rear{
  z-index:1!important;
  transform:rotateY(180deg)!important;
  padding:28px 28px 92px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-content{
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
  padding-bottom:92px!important;
}
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-actions,
.pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-share-tools{
  flex-shrink:0!important;
  overflow:visible!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-back-contacts{
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
.pkp-ebc-public .pkp-ebc-card-rear .pkp-ebc-card-qr{
  margin-bottom:76px!important;
}
@media(max-width:600px){
  .pkp-ebc-public{min-height:860px!important;}
  .pkp-ebc-public .pkp-ebc-card-rotator,
  .pkp-ebc-public .pkp-ebc-card-rotator>.pkp-ebc-card-front,
  .pkp-ebc-public .pkp-ebc-card-rotator>.pkp-ebc-card-rear{
    min-height:860px!important;
  }
  .pkp-ebc-public .pkp-ebc-card-front .pkp-ebc-public-content{
    padding-left:15px!important;
    padding-right:15px!important;
    padding-bottom:84px!important;
  }
  .pkp-ebc-public .pkp-ebc-card-rotator>.pkp-ebc-card-rear{
    padding:22px 16px 84px!important;
  }
}

/* v1.6.2 — consistent side-by-side profile layout across all five card templates */
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-content{ text-align:left!important; }
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-logo{ margin:0 auto 12px!important; }
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-eyebrow{ display:block!important;text-align:center!important;margin:0 0 14px!important; }
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;width:100%!important;margin:0 0 12px!important;text-align:left!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-row .pkp-ebc-public-avatar{position:relative!important;inset:auto!important;float:none!important;transform:none!important;flex:0 0 104px!important;width:104px!important;height:104px!important;min-width:104px!important;min-height:104px!important;margin:0!important;border-radius:50%!important;overflow:hidden!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-row .pkp-ebc-public-avatar img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-info{flex:1 1 auto!important;min-width:0!important;text-align:left!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-info h1{font-size:clamp(17px,4.4vw,25px)!important;line-height:1.2!important;margin:0 0 7px!important;overflow-wrap:anywhere!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-info .pkp-ebc-designation{margin:0 0 6px!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-info h2{margin:5px 0!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-info .pkp-ebc-about{margin:5px 0 0!important;}
.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-actions{margin-top:12px!important;margin-bottom:14px!important;}
@media(max-width:600px){.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-row{gap:12px!important}.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-row .pkp-ebc-public-avatar{flex-basis:88px!important;width:88px!important;height:88px!important;min-width:88px!important;min-height:88px!important}.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-profile-info h1{font-size:clamp(16px,4.2vw,21px)!important}.pkp-ebc-public[class*="template-"] .pkp-ebc-card-front .pkp-ebc-public-actions{margin-top:9px!important}}


/* v1.6.3 — give non-Classic templates the same clear top breathing room as Classic Premium. */
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-content,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-content,
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-content,
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-content{
  padding-top:34px!important;
}
.pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-logo,
.pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-logo,
.pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-logo,
.pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-logo{
  margin-top:0!important;margin-bottom:12px!important;
}
@media(max-width:600px){
  .pkp-ebc-public.template-modern .pkp-ebc-card-front .pkp-ebc-public-content,
  .pkp-ebc-public.template-luxury .pkp-ebc-card-front .pkp-ebc-public-content,
  .pkp-ebc-public.template-corporate .pkp-ebc-card-front .pkp-ebc-public-content,
  .pkp-ebc-public.template-minimal .pkp-ebc-card-front .pkp-ebc-public-content{padding-top:28px!important;}
}

/* v1.6.6: compact inline icons for all four front-card share actions */
.pkp-ebc-card-front .pkp-ebc-share-tools a svg,
.pkp-ebc-card-front .pkp-ebc-share-tools button svg{width:16px;height:16px;display:inline-block;flex:0 0 16px;margin-right:7px;fill:currentColor;vertical-align:middle}
.pkp-ebc-card-front .pkp-ebc-share-tools a span,
.pkp-ebc-card-front .pkp-ebc-share-tools button span{display:inline-block}
.pkp-ebc-card-front .pkp-ebc-share-tools a,.pkp-ebc-card-front .pkp-ebc-share-tools button{gap:0}


/* v1.7.1 — direct multi-image upload for Business Home Page gallery */
.pkp-ebc-gallery-manager{margin:18px 0 22px;padding:18px;border:1px solid #dfe5f2;border-radius:14px;background:#f8faff}
.pkp-ebc-gallery-manager>label{display:block;font-weight:700;margin-bottom:6px}
.pkp-ebc-gallery-manager .description,.pkp-ebc-gallery-manager .pkp-ebc-help{display:block;color:#66738c;font-size:13px;margin:5px 0 12px}
.pkp-ebc-gallery-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px;margin:12px 0}
.pkp-ebc-gallery-thumb{position:relative;aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#e8edf7;border:1px solid #d9e1f0}
.pkp-ebc-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pkp-ebc-gallery-thumb button{position:absolute;top:5px;right:5px;width:26px;height:26px;border:0;border-radius:50%;background:#b42318;color:#fff;font-size:20px;line-height:22px;cursor:pointer;box-shadow:0 2px 8px #0003}
#pkp-ebc-add-gallery-images{margin-top:4px}


/* v1.7.2 — accessible responsive Business Home Page gallery lightbox */
.gallery .pkp-ebc-lightbox-trigger{display:block;width:100%;padding:0;border:0;background:transparent;border-radius:14px;cursor:zoom-in;text-align:inherit}
.gallery .pkp-ebc-lightbox-trigger:focus-visible{outline:3px solid #6b8cff;outline-offset:3px}
.gallery .pkp-ebc-lightbox-trigger img{transition:transform .2s ease}
.gallery .pkp-ebc-lightbox-trigger:hover img{transform:scale(1.025)}
.pkp-ebc-lightbox[hidden]{display:none!important}
.pkp-ebc-lightbox{position:fixed;inset:0;z-index:999999;background:rgba(7,10,20,.94);display:flex;align-items:center;justify-content:center;padding:64px 70px 76px}
.pkp-ebc-lightbox-image{display:block;width:900px;height:600px;max-width:min(90vw,900px);max-height:min(72vh,600px);object-fit:contain;object-position:center;border-radius:10px;background:rgba(0,0,0,.18);box-shadow:0 18px 70px #0008}
.pkp-ebc-lightbox button{position:absolute;border:1px solid #ffffff55;background:#ffffff18;color:#fff;width:46px;height:46px;border-radius:50%;font-size:32px;line-height:1;cursor:pointer;display:grid;place-items:center}
.pkp-ebc-lightbox button:hover{background:#ffffff33}
.pkp-ebc-lightbox-close{top:18px;right:20px}.pkp-ebc-lightbox-prev{left:18px;top:50%;transform:translateY(-50%)}.pkp-ebc-lightbox-next{right:18px;top:50%;transform:translateY(-50%)}
.pkp-ebc-lightbox-count{position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#fff;font:600 14px/1.4 Arial,sans-serif}
body.pkp-ebc-lightbox-open{overflow:hidden}
@media(max-width:600px){.pkp-ebc-lightbox{padding:60px 12px 70px}.pkp-ebc-lightbox-image{width:900px;height:600px;max-width:100%;max-height:65vh}.pkp-ebc-lightbox button{width:40px;height:40px;font-size:28px}.pkp-ebc-lightbox-prev{left:8px}.pkp-ebc-lightbox-next{right:8px}.pkp-ebc-lightbox-close{top:10px;right:10px}}

/* Product / service manager */
.pkp-ebc-products-manager{margin:14px 0 22px}.pkp-ebc-product-rows{display:grid;gap:14px;margin:12px 0}.pkp-ebc-product-row{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:16px;padding:16px;background:#fff;border:1px solid #dce3ef;border-radius:14px;box-shadow:0 4px 16px rgba(25,42,75,.05)}.pkp-ebc-product-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pkp-ebc-product-fields label{display:grid;gap:5px;font-weight:600}.pkp-ebc-product-fields input,.pkp-ebc-product-fields textarea{width:100%;max-width:100%;padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px}.pkp-ebc-product-actions{display:flex;flex-direction:column;align-items:flex-start;gap:9px}.pkp-ebc-product-preview{width:100%;height:125px;object-fit:cover;border-radius:9px;background:#f1f5f9}.pkp-ebc-product-preview[hidden]{display:none}.pkp-ebc-product-remove{color:#b42318!important}@media(max-width:700px){.pkp-ebc-product-row{grid-template-columns:1fr}.pkp-ebc-product-fields{grid-template-columns:1fr}.pkp-ebc-product-actions{flex-direction:row;flex-wrap:wrap;align-items:center}.pkp-ebc-product-preview{width:100%;height:150px}}

/* v1.7.5: Business Page menu-wise editor */
.pkp-ebc-business-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:12px;margin:16px 0 18px;background:#f4f3fb;border:1px solid #e6e2f3;border-radius:14px}
.pkp-ebc-business-tab{appearance:none;border:1px solid #ded9ed;background:#fff;color:#39334f;border-radius:9px;padding:10px 14px;font:600 13px/1.2 inherit;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.pkp-ebc-business-tab:hover,.pkp-ebc-business-tab.is-active{background:#5b3cc4;border-color:#5b3cc4;color:#fff}
.pkp-ebc-business-tab-panel{padding:18px;background:#fff;border:1px solid #eceaf2;border-radius:14px;margin-bottom:14px}
.pkp-ebc-business-tab-panel[hidden]{display:none!important}
.pkp-ebc-business-tab-panel>label{display:block;margin:0 0 16px}
.pkp-ebc-business-tab-panel input:not([type=hidden]),.pkp-ebc-business-tab-panel textarea,.pkp-ebc-business-tab-panel select{width:100%;max-width:100%;margin-top:6px}
.pkp-ebc-business-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.pkp-ebc-business-actions .pkp-ebc-btn{min-width:190px}
@media(max-width:640px){.pkp-ebc-business-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:9px}.pkp-ebc-business-tab{padding:11px 7px;font-size:12px}.pkp-ebc-business-tab-panel{padding:13px}}

/* v1.7.6 Dashboard sidebar menu navigation */
.pkp-ebc-user-sidebar a[data-user-menu]{cursor:pointer;transition:background .18s ease,color .18s ease}
.pkp-ebc-user-sidebar a[data-user-menu].is-active{background:rgba(255,255,255,.13);color:#fff;font-weight:800}
#pkp-ebc-overview,#pkp-ebc-my-cards,#pkp-ebc-builder,#pkp-ebc-home-builder,#pkp-ebc-performance-panel{scroll-margin-top:24px}
@media(max-width:760px){.pkp-ebc-user-sidebar a[data-user-menu]{min-height:42px}}

.pkp-ebc-name-status{display:block;margin-top:6px;font-size:12px;line-height:1.4;color:#64748b}.pkp-ebc-name-status.is-checking{color:#64748b}.pkp-ebc-name-status.is-available{color:#15803d;font-weight:600}.pkp-ebc-name-status.is-taken,.pkp-ebc-name-status.is-error{color:#dc2626;font-weight:600}.pkp-ebc-name-status.is-neutral{color:#64748b}

/* Business page image upload controls */
.pkp-ebc-home-image-field{margin:18px 0;padding:14px;border:1px solid #e2e7f0;border-radius:12px;background:#fbfcff}
.pkp-ebc-home-image-field>label{display:block;font-weight:700;margin-bottom:8px}
.pkp-ebc-home-image-preview{margin:8px 0}
.pkp-ebc-home-image-preview img{display:block;max-width:100%;width:auto;max-height:190px;object-fit:cover;border-radius:10px;border:1px solid #dce2ec}
.pkp-ebc-home-image-field .pkp-ebc-help{display:block;margin-top:8px;color:#667085}
.about-content{display:grid;grid-template-columns:minmax(180px,.8fr) 1.2fr;gap:24px;align-items:center}
.about-image{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:16px}
@media(max-width:640px){.about-content{grid-template-columns:1fr}.about-image{max-height:260px}}
