:root{--dc-bg:#f4f6f9;--dc-card:#fff;--dc-text:#1f2937;--dc-muted:#64748b;--dc-line:#e5e7eb;--dc-dark:#111827;--dc-dark2:#1f2937;--dc-primary:#2563eb;--dc-danger:#dc2626;--dc-success:#16a34a;--dc-warning:#f59e0b}
*{box-sizing:border-box}body{margin:0;font-family:'Segoe UI',Tahoma,sans-serif;background:var(--dc-bg);display:flex;min-height:100vh;color:var(--dc-text)}
.sidebar{width:286px;background:var(--dc-dark);color:#fff;display:flex;flex-direction:column;flex-shrink:0;height:100vh;position:sticky;top:0;z-index:30}
.sidebar-header{padding:16px 18px;font-size:17px;font-weight:800;border-bottom:1px solid #263244;letter-spacing:.4px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.sidebar-header small{display:block;color:#94a3b8;font-size:11px;margin-top:3px;font-weight:600}.sidebar-close{display:none;background:transparent;color:#fff;border:0;font-size:28px;cursor:pointer}
.sidebar-tools{padding:12px;border-bottom:1px solid #1f2937}.sidebar-tools input{width:100%;border:1px solid #334155;background:#0f172a;color:#e5e7eb;border-radius:10px;padding:10px 12px;outline:none}
.nav-groups{overflow:auto;padding:8px 8px 14px;flex:1}.nav-group{margin:4px 0;border-radius:12px;overflow:hidden}
.nav-group summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;color:#dbeafe;padding:11px 10px;border-radius:10px;font-size:13px;font-weight:800;user-select:none}
.nav-group summary::-webkit-details-marker{display:none}.nav-group summary:hover,.nav-group[open] summary{background:#172033;color:#fff}.nav-group summary b{margin-left:auto;min-width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#0f172a;color:#94a3b8;font-size:11px}.nav-icon{width:20px;text-align:center;color:#93c5fd}
.nav-links{list-style:none;padding:4px 0 8px 28px;margin:0}.nav-links li a{display:flex;align-items:center;gap:8px;padding:9px 12px;color:#cbd5e1;text-decoration:none;border-radius:9px;font-size:13px;line-height:1.25}.nav-links li a:hover,.nav-links li a.active{background:#263244;color:#fff;box-shadow:inset 3px 0 0 var(--dc-primary)}
.sidebar-footer{border-top:1px solid #263244;padding:10px 14px;font-size:12px;color:#94a3b8}.sidebar-footer a{color:#93c5fd;text-decoration:none;font-size:12px;font-weight:700}
.mobile-sidebar-toggle{display:none;position:fixed;top:12px;left:12px;z-index:45;border:0;border-radius:999px;padding:10px 13px;background:var(--dc-dark);color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18)}.sidebar-backdrop{display:none}
.main-content{flex-grow:1;padding:28px;overflow-x:hidden;min-width:0;width:100%}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;border-bottom:1px solid #ddd;padding-bottom:15px;gap:15px;flex-wrap:wrap}.header h2{margin:0;color:#111827;font-size:22px;font-weight:700}
.box{background:#fff;padding:20px;border-radius:12px;border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(15,23,42,.04);margin-bottom:20px}.box h3{margin-top:0;font-size:16px;border-bottom:1px solid #eee;padding-bottom:10px;margin-bottom:15px}
.btn{padding:10px 15px;background:#111827;color:#fff;border:none;border-radius:8px;cursor:pointer;text-decoration:none;font-size:14px;display:inline-block;line-height:1.2}.btn:hover{background:#374151}.btn-primary{background:#2563eb}.btn-danger{background:#dc2626}.btn-warning{background:#f59e0b;color:#111827}.btn-success{background:#16a34a}.btn-light{background:#f8fafc;color:#111827;border:1px solid #cbd5e1}
.form-control{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box;font-size:14px;background:#fff;margin-top:6px}label{display:block;margin-bottom:12px;font-size:13px;color:#475569;font-weight:700}
table{width:100%;border-collapse:collapse}th,td{padding:12px 14px;border-bottom:1px solid #eee;text-align:left;font-size:14px;vertical-align:middle}th{background:#f8fafc;color:#334155;font-weight:700}.table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.badge{display:inline-block;padding:4px 8px;border-radius:999px;font-size:12px;font-weight:700;color:#fff}.bg-success{background:#16a34a}.bg-danger{background:#dc2626}.bg-warning{background:#f59e0b;color:#111827}.bg-info{background:#2563eb}
.alert{padding:12px 14px;border-radius:8px;font-size:14px;margin-bottom:15px}.alert-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.muted{color:#64748b;font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin-bottom:18px;box-shadow:0 1px 3px rgba(15,23,42,.04)}.stat-card span{display:block;color:#64748b;font-size:13px}.stat-card strong{display:block;font-size:26px;margin-top:5px;color:#111827}
.nfc-link{font-family:monospace;background:#f8fafc;padding:5px 8px;border-radius:6px;border:1px solid #e2e8f0;color:#be123c;display:inline-block;max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filter-bar{display:flex;gap:10px;margin-bottom:15px;align-items:center}.filter-btn{padding:8px 14px;border:1px solid #cbd5e1;background:#fff;color:#111827;text-decoration:none;border-radius:6px;font-size:13px}.filter-btn.active{background:#111827;color:#fff}
.public-body{display:block;background:#e5e7eb;min-height:100vh;padding:28px}.public-card{max-width:520px;margin:0 auto;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 25px 80px rgba(15,23,42,.18);text-align:center;padding:0 24px 24px}.public-cover{height:145px;margin:0 -24px 0}.public-avatar{width:104px;height:104px;background:#111827;color:#fff;border-radius:50%;margin:-52px auto 12px;display:flex;align-items:center;justify-content:center;font-size:46px;font-weight:900;border:6px solid #fff}.public-card h1{margin:0;font-size:28px}.public-card h2{font-size:16px;color:#64748b;margin:6px 0}.public-company{font-weight:700}.public-actions{display:grid;gap:10px;margin-top:20px}.public-action{display:flex;justify-content:space-between;gap:10px;text-decoration:none;color:#111827;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:13px}.public-action span{color:#64748b}.public-footer{display:flex;gap:10px;justify-content:center;margin-top:18px}.public-footer a{color:#2563eb;font-weight:800}
.customer-body{display:block;background:#f4f6f9}.customer-shell{max-width:1100px;margin:0 auto;padding:32px}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.customer-card{background:white;border:1px solid #e5e7eb;border-radius:14px;padding:16px;display:grid;gap:6px}.customer-card a{color:#2563eb;font-weight:800;text-decoration:none}
@media(max-width:1180px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body{display:block}.mobile-sidebar-toggle{display:block}.sidebar{position:fixed;left:-310px;top:0;bottom:0;transition:left .22s ease;box-shadow:18px 0 45px rgba(0,0,0,.25)}body.sidebar-open .sidebar{left:0}body.sidebar-open .sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:25}.sidebar-close{display:block}.main-content{padding:72px 14px 22px}.header{align-items:flex-start}.grid-2,.grid-3,.grid-4,.customer-grid{grid-template-columns:1fr}table{min-width:720px}.box{padding:16px;border-radius:12px}.btn{width:auto;min-height:42px}.form-control{min-height:42px}}
@media(max-width:520px){.header h2{font-size:19px}.actions{flex-direction:column}.actions .btn{width:100%;text-align:center}.box{padding:14px}th,td{padding:10px}}


.original-form h3{margin-top:24px;background:#f8fafc;border:1px solid #e2e8f0;padding:12px 14px;border-radius:10px;color:#111827}
.repeat-row{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:12px;margin-bottom:10px}
.bulk-bar{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding-top:14px;border-top:1px solid #e5e7eb;margin-top:12px}
.bulk-bar .form-control{max-width:240px}
.app-card{text-decoration:none;color:#111827;display:block;min-height:120px}
.app-card:hover{border-color:#2563eb;box-shadow:0 10px 28px rgba(37,99,235,.12)}
pre{white-space:pre-wrap;word-break:break-word;background:#0f172a;color:#e2e8f0;border-radius:12px;padding:14px;overflow:auto}


.customer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.customer-actions a{background:#111827;color:white;text-decoration:none;border-radius:8px;padding:8px 10px;font-size:13px}
.public-meta{color:#64748b;font-size:13px}.public-loyalty{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px;margin:14px 0;text-align:left}.public-loyalty b{grid-column:1/-1}.public-loyalty span{font-weight:800}.public-consent{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:12px;margin-top:14px;text-align:left}.public-custom-footer{margin-top:16px;padding-top:12px;border-top:1px solid #e5e7eb;color:#475569}


.table-wrap code{white-space:nowrap}.badge{white-space:nowrap}.final-note{background:#ecfeff;border:1px solid #a5f3fc;border-radius:12px;padding:12px;margin-bottom:16px}

/* v16 measured original parity stage 1 */
.qr-mini{width:68px;height:68px;border:1px solid #e2e8f0;border-radius:6px;padding:3px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;color:#64748b}
.filter-bar{display:flex;gap:10px;margin-bottom:15px;align-items:center;flex-wrap:wrap}.filter-btn{padding:8px 14px;border:1px solid #cbd5e1;background:#fff;color:#111827;text-decoration:none;border-radius:6px;font-size:13px}.filter-btn.active{background:#111827;color:#fff}
.note-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#2563eb;margin-right:5px}.bulkbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;background:#fff7ed;border:1px solid #fed7aa;padding:12px;border-radius:8px;margin-bottom:14px}.bulkbar input[type=text]{max-width:160px}
.filter-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filter-form input,.filter-form select{width:auto}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dynamic-row{display:flex;gap:10px;margin-bottom:10px;align-items:center;background:#f8fafc;padding:10px;border:1px solid #e2e8f0;border-radius:6px}.textarea{min-height:90px}.form-group{margin-bottom:14px}.help{font-size:12px;color:#64748b;margin-top:6px}
@media(max-width:900px){.two-col{grid-template-columns:1fr}.dynamic-row{flex-direction:column;align-items:stretch}}


.warnbox{background:#fff7ed;border-color:#fed7aa}.qr-box{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px}.mini-stat{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.mini-stat b{display:block;font-size:12px;color:#64748b}.mini-stat span{font-weight:800;color:#111827}.parity-edit-form .box h3{margin-top:0}.small-table{width:100%;border-collapse:collapse}.small-table td,.small-table th{border-bottom:1px solid #e5e7eb;padding:8px}.textarea{min-height:92px}.nfc-link{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.dynamic-row{margin-bottom:10px}


.settings-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.settings-accordion{border-left:4px solid #111827}.section-title{display:flex;gap:8px;align-items:center}.drag-handle{cursor:grab;color:#64748b}.section-state{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px}.color-preview{min-height:38px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.type-badge{display:inline-block;border:1px solid #cbd5e1;border-radius:999px;padding:3px 8px;background:#f8fafc}.content-grid{display:grid;gap:12px}.color-circle{display:inline-block;width:14px;height:14px;border-radius:50%;background:#222}.group-logo-img{max-width:40px;max-height:40px}


.public-body{background:#f8fafc;color:#111827}.container{max-width:980px;margin:0 auto;padding:24px}.top-nav,.navbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;background:#fff;border-bottom:1px solid #e5e7eb}.nav-left,.nav-center,.nav-right{display:flex;gap:8px;align-items:center}.profile-img{width:96px;height:96px;border-radius:999px;object-fit:cover;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-size:42px;margin:auto}.name{font-size:30px;text-align:center;margin:10px 0 4px}.title{text-align:center;color:#64748b}.info-badges{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:12px 0}.pill,.badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;background:#f1f5f9;padding:5px 10px;font-size:12px}.pill-primary{background:#111827;color:#fff}.contact-info h2{margin-top:0}.contact-list{display:grid;gap:10px}.contact-item{display:flex;justify-content:space-between;gap:10px;text-decoration:none;color:#111827;border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#fff}.contact-label{font-weight:700}.contact-value{color:#475569}.actions{display:flex;gap:10px;flex-wrap:wrap}.btn-icon,.btn-save,.btn-whatsapp,.btn-outline,.btn-logout{display:inline-block;border-radius:8px;padding:9px 12px;text-decoration:none;border:1px solid #cbd5e1}.btn-whatsapp{background:#16a34a;color:#fff}.visible-note,.customer-note{background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:12px;margin-top:12px}.public-footer{margin:24px auto;text-align:center;color:#64748b}.dc-consent{position:fixed;left:0;right:0;bottom:0;padding:16px;z-index:50}.dc-consent-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px;max-width:720px;margin:0 auto;box-shadow:0 10px 30px rgba(15,23,42,.15)}.dc-consent-title{margin:0 0 8px}.dc-consent-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.dc-consent-primary,.dc-consent-secondary{border:0;border-radius:8px;padding:9px 12px}.dc-consent-primary{background:#111827;color:#fff}.dc-consent-secondary{background:#f1f5f9}.dc-consent-check{display:block;margin-top:8px}.expired-overlay{position:absolute;inset:0;background:rgba(220,38,38,.15)}.customer-body{background:#f8fafc}.customer-shell{max-width:1180px;margin:0 auto}.customer-card{border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:14px;margin-bottom:12px}.profile-preview{min-height:100px}.qr-box{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.login-box{max-width:420px;margin:80px auto;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px}.error{background:#fee2e2;color:#991b1b;border-radius:8px;padding:10px;margin:10px 0}.success{background:#dcfce7;color:#166534;border-radius:8px;padding:10px;margin:10px 0}.lang{text-align:right;color:#64748b}.field-grid{display:grid;gap:6px;margin-bottom:10px}.batch-head{font-weight:800;border-bottom:1px solid #e2e8f0;margin-bottom:12px;padding-bottom:8px}.qr{border:1px dashed #cbd5e1;border-radius:12px;padding:20px;text-align:center}.perm{font-size:12px;color:#64748b}.dark{background:#0f172a;color:#e5e7eb}.dark .box,.dark .customer-card,.dark .login-box,.dark .contact-item,.dark .navbar,.dark .top-nav{background:#111827;color:#e5e7eb;border-color:#334155}


.inline-edit{border-left:4px solid #2563eb}.quick-time{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.small{font-size:12px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.vars{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:8px;margin-top:8px;color:#64748b}.perm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.perm{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#fff}.perm .head{font-weight:800;margin-bottom:8px}.perm label{display:block;margin:5px 0}.badge.ok{background:#dcfce7;color:#166534}.badge.warning{background:#fef3c7;color:#92400e}.badge.error{background:#fee2e2;color:#991b1b}.mini{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}.mini b{display:block;color:#64748b}.mini span{font-size:22px;font-weight:800}.alert-success{background:#dcfce7;color:#166534}.alert-error{background:#fee2e2;color:#991b1b}.main-content .header{display:flex;align-items:center;justify-content:space-between;gap:10px}


.color-dot{display:inline-block;width:12px;height:12px;border-radius:999px;margin-right:6px;vertical-align:middle}.warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.payroll-positive{color:#16a34a;font-weight:700}.payroll-negative{color:#dc2626;font-weight:700}.shift-plan{border-left:4px solid #2563eb}.trash-danger{border-left:4px solid #dc2626}.employee-card{border:1px solid #e2e8f0;border-radius:12px;padding:12px;background:#fff}.pdks-exception{background:#fef2f2}.pdks-adjustment{background:#eff6ff}


.business-public{max-width:980px;margin:0 auto;padding:24px}.business-hero{border-radius:20px;padding:28px;background:#111827;color:#fff;margin-bottom:16px}.campaign-card{border:1px solid #e2e8f0;border-radius:12px;padding:12px;margin:8px 0;display:flex;justify-content:space-between;gap:10px;align-items:center}.print-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.print-card{border:1px dashed #94a3b8;border-radius:14px;padding:16px;background:#fff}.qr-preview,.qr-large{display:flex;align-items:center;justify-content:center;border:1px dashed #94a3b8;border-radius:12px;background:#f8fafc;color:#64748b}.qr-preview{height:80px}.qr-large{height:260px;font-size:42px}.check-row{display:block;border:1px solid #e2e8f0;border-radius:8px;padding:8px;margin:4px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}


/* v17.5.10 UI/layout/asset stabilization */
html{min-height:100%;background:var(--dc-bg)}
body.dc-admin-body{display:flex;align-items:stretch;width:100%;min-height:100vh;overflow-x:hidden;background:var(--dc-bg)}
body.dc-admin-body .sidebar{min-height:100vh;max-height:100vh;overflow:hidden}
body.dc-admin-body .nav-groups{min-height:0;overflow-y:auto}
body.dc-admin-body .main-content{display:block;min-width:0;max-width:calc(100vw - 286px);overflow-x:hidden}
body.dc-admin-body .box{max-width:100%}
body.dc-admin-body .table-wrap, body.dc-admin-body .box.table-wrap{overflow-x:auto;max-width:100%}
body.dc-admin-body table{max-width:100%}
body.dc-admin-body td,body.dc-admin-body th{word-break:normal}
body.dc-admin-body .nfc-link,body.dc-admin-body .mono,body.dc-admin-body code{max-width:100%;word-break:break-all;white-space:normal}
body.dc-admin-body form.parity-edit-form{display:block;width:100%;padding:0;margin:0;min-height:0;background:transparent}
body.dc-admin-body .settings-form{display:block;width:100%}
body.dc-admin-body .settings-accordion{overflow:hidden}
body.dc-admin-body input[type=color].form-control{height:42px;padding:3px}
body.dc-admin-body textarea.form-control{min-height:92px}
body.dc-admin-body .header .actions a + a, body.dc-admin-body .header .actions .btn + .btn{margin-left:0}
body.dc-admin-body .filter-form label{margin-bottom:0}
@media(max-width:900px){body.dc-admin-body{display:block}.sidebar{max-height:100vh}.main-content,body.dc-admin-body .main-content{max-width:100%;overflow-x:hidden}.filter-form input,.filter-form select{width:100%}.filter-form label{width:100%}.filter-form .btn{width:100%;text-align:center}.two-col{grid-template-columns:1fr}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr!important}}
@media print{.sidebar,.mobile-sidebar-toggle,.sidebar-backdrop{display:none!important}.main-content{max-width:none!important;padding:0!important}.box{box-shadow:none!important}}

/* v17.6.7 public profile/contact refinements */
.public-body .top-nav{gap:8px}.public-body .top-nav .btn{white-space:nowrap}
.contact-list.style-icon{display:flex;flex-wrap:wrap;gap:10px}.contact-icon-only{width:auto;min-width:48px;justify-content:center}.contact-icon-only .contact-label,.contact-icon-only .contact-value{display:none}.contact-ico{font-weight:800;margin-right:8px}.contact-text-only{background:transparent;border-color:transparent;box-shadow:none}.qr-mini img{max-width:160px;border-radius:12px}

.btn-row{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.btn-sm{padding:5px 8px;font-size:12px;line-height:1.1}.btn-warning{background:#f59e0b;color:#111827}

/* v17.6.11 final public profile/vCard/QR polish */
:root{--primary-color:#222222}.profile-shell{min-height:100vh;background:#f8fafc;background-attachment:fixed;padding:0}.public-profile-card{max-width:480px;margin:0 auto;min-height:100vh;background:var(--card-bg,#fff);box-shadow:0 0 22px rgba(15,23,42,.07);padding:0 0 36px;position:relative}.public-profile-card .top-nav{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:16px 18px;border-bottom:1px solid var(--border-color,#e2e8f0);background:var(--card-bg,#fff)}.public-profile-card .nav-left,.public-profile-card .nav-center,.public-profile-card .nav-right{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.public-profile-card .nav-center{justify-content:center;flex:1}.public-profile-card .nav-right{justify-content:flex-end}.public-profile-card .pill{display:inline-flex;align-items:center;padding:7px 13px;border-radius:999px;font-size:12px;font-weight:800;text-decoration:none;border:1px solid var(--border-color,#e2e8f0);color:var(--text-main,#0f172a);background:var(--card-bg,#fff)}.public-profile-card .pill-primary{background:var(--primary-color,#111827);color:#fff;border-color:var(--primary-color,#111827)}.public-profile-card .theme-toggle{background:none;border:0;font-size:20px;cursor:pointer;color:var(--text-main,#0f172a);padding:5px}.public-profile-card .header{text-align:center;padding:28px 20px 20px;border:0;background:transparent}.public-profile-card .group-logo{height:45px;margin:0 auto 18px;object-fit:contain;display:block}.public-profile-card .group-logo-inline{height:16px;vertical-align:middle;margin-right:5px}.public-profile-card .profile-img{width:110px;height:110px;border-radius:50%;object-fit:cover;border:4px solid var(--card-bg,#fff);box-shadow:0 4px 8px rgba(0,0,0,.12);margin:0 auto 14px}.public-profile-card .profile-initial{background:var(--primary-color,#111827);color:#fff;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:900}.public-profile-card .name{font-size:24px;font-weight:900;text-align:center;margin:0}.public-profile-card .title{font-size:14px;text-align:center;color:var(--primary-color,#222);margin:6px 0 14px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}.public-profile-card .info-badges{display:flex;flex-direction:column;gap:8px;align-items:center;margin-top:14px}.public-profile-card .badge{background:var(--item-bg,#f1f5f9);border:1px solid var(--border-color,#e2e8f0);padding:7px 12px;border-radius:20px;font-size:12px;color:var(--text-muted,#64748b)}.public-profile-card .badge-status{background:var(--primary-color,#111827);color:#fff;border:0;font-weight:800}.public-profile-card .visible-note{margin:0 20px 18px;background:var(--item-bg,#f1f5f9);border:1px solid var(--border-color,#e2e8f0);border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.5}.public-profile-card .contact-list{padding:0 20px;display:flex;flex-direction:column;gap:10px}.public-profile-card .contact-item{display:flex;align-items:center;gap:12px;background:var(--item-bg,#f1f5f9);padding:14px 18px;border-radius:12px;text-decoration:none;color:var(--text-main,#0f172a);border:1px solid transparent;transition:.2s}.public-profile-card .contact-item:hover{background:var(--item-hover,#e2e8f0);transform:translateY(-1px)}.public-profile-card .contact-ico{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--card-bg,#fff);font-weight:900}.public-profile-card .contact-info{flex:1}.public-profile-card .contact-label{display:block;font-size:11px;color:var(--text-muted,#64748b);text-transform:uppercase;letter-spacing:.5px;font-weight:800;margin-bottom:3px}.public-profile-card .contact-value{font-size:15px;font-weight:700}.public-profile-card .contact-icon-only .contact-value{display:none}.public-profile-card .contact-icon-only{justify-content:center}.public-profile-card .contact-text-only .contact-ico{display:none}.public-profile-card .actions{display:flex;gap:12px;padding:24px 20px 16px;align-items:stretch}.public-profile-card .btn-save{flex:1;background:var(--primary-color,#111827);color:#fff;text-align:center;padding:16px;border-radius:12px;text-decoration:none;font-weight:800;font-size:15px}.public-profile-card .btn-icon{width:54px;min-width:54px;height:54px;background:var(--item-bg,#f1f5f9);color:var(--text-main,#0f172a);display:flex;align-items:center;justify-content:center;border-radius:12px;text-decoration:none;font-size:20px;border:1px solid var(--border-color,#e2e8f0);padding:0}.public-profile-card .btn-whatsapp{background:#25d366;color:#fff}.public-profile-card .qr-mini{text-align:center;padding:0 20px 20px;color:var(--text-muted,#64748b);font-size:12px}.public-profile-card .qr-mini img{width:120px;border:1px solid var(--border-color,#e2e8f0);border-radius:12px;padding:5px;background:white}.public-profile-card .public-footer{padding:18px 20px 30px;text-align:center;color:var(--text-muted,#64748b);font-size:13px}.public-profile-card .public-footer a{color:var(--primary-color,#111827);font-weight:800}[data-theme="dark"] .public-body,[data-theme="dark"] .profile-shell{background:#0f172a;color:#e5e7eb}[data-theme="dark"] .public-profile-card{--card-bg:#111827;--text-main:#f8fafc;--text-muted:#cbd5e1;--border-color:#334155;--item-bg:#0f172a;--item-hover:#1f2937}.public-profile-card .dc-consent{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:rgba(15,23,42,.45);padding:8px 10px}.public-profile-card .dc-consent-card{max-width:520px;max-height:260px;overflow:auto;margin:0 auto;background:#fff;color:#0f172a;border-radius:14px;box-shadow:0 12px 45px rgba(0,0,0,.22);padding:16px;border:1px solid #e2e8f0}@media(max-width:520px){.public-profile-card{max-width:none}.public-profile-card .top-nav{padding:14px 12px}.public-profile-card .pill{font-size:11px;padding:6px 10px}.public-profile-card .actions{gap:8px}.public-profile-card .btn-icon{width:48px;min-width:48px;height:48px}}


/* v17.6.12 PDKS detay + profil görünürlük final */
.public-profile-card{background-color:var(--card-bg,var(--profile-card-bg,#fff));overflow:hidden}.public-profile-card .header{display:flex;flex-direction:column;align-items:center;gap:8px}.public-profile-card .group-logo{max-width:180px;max-height:58px;height:auto;margin:0 auto 8px}.public-profile-card .profile-initial{font-size:38px;background:linear-gradient(135deg,var(--primary-color,#111827),#64748b)}.public-profile-card .info-badges{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center}.public-profile-card .visible-note,.public-profile-card .contact-list,.public-profile-card .actions,.public-profile-card .qr-mini,.public-profile-card .public-footer{box-sizing:border-box}.public-profile-card .qr-mini{margin:10px 20px 18px;padding:12px;border:1px solid var(--border-color,#e2e8f0);border-radius:16px;background:var(--item-bg,#f8fafc);display:flex;gap:12px;align-items:center;text-align:left;overflow:hidden}.public-profile-card .qr-mini img{width:96px;height:96px;min-width:96px;object-fit:contain}.public-profile-card .qr-mini small{display:block;word-break:break-all;overflow-wrap:anywhere}.blocked-card{min-height:auto;margin-top:40px;padding:34px 24px;text-align:center}.blocked-icon{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;background:#fee2e2;color:#991b1b;font-size:38px;font-weight:900}.badge{display:inline-flex;align-items:center;gap:4px}.table-wrap table td .badge{white-space:nowrap}.dc-detail-kpi{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dc-detail-kpi .stat-card{min-height:70px}@media(max-width:640px){.public-profile-card .qr-mini{margin:8px 12px 14px;flex-direction:column;text-align:center}.public-profile-card .qr-mini img{width:120px;height:120px}.public-profile-card .info-badges{flex-direction:column}.dc-detail-kpi{grid-template-columns:1fr 1fr}}


/* v18.0.0 final polish: centered public profile, color pickers, colored PDKS states */
body.dc-admin-body .color-picker-row{display:flex;align-items:center;gap:10px}
body.dc-admin-body input[type=color].color-picker{width:54px;min-width:54px;height:42px;padding:2px;border-radius:10px;cursor:pointer}
body.dc-admin-body .color-value{font-family:Consolas,monospace;font-weight:800;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:9px 10px}
body.dc-admin-body .pdks-row td{border-left:0}
body.dc-admin-body tr.pdks-ok{background:#f0fdf4}
body.dc-admin-body tr.pdks-warning{background:#fffbeb}
body.dc-admin-body tr.pdks-missing{background:#fff7ed}
body.dc-admin-body tr.pdks-absent{background:#fef2f2}
body.dc-admin-body tr.pdks-overtime{background:#eff6ff}
body.dc-admin-body tr.pdks-move-in{background:#ecfdf5}
body.dc-admin-body tr.pdks-move-out{background:#fef2f2}
body.dc-admin-body tr.pdks-move-break{background:#fff7ed}
body.dc-admin-body tr.pdks-move-outside{background:#eef2ff}
body.dc-admin-body tr.pdks-move-other{background:#f8fafc}
body.dc-admin-body .pdks-chip,.pdks-status-pill,.activity-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-weight:900;font-size:12px;white-space:nowrap}
body.dc-admin-body .pdks-chip-in{background:#dcfce7;color:#166534}
body.dc-admin-body .pdks-chip-out{background:#fee2e2;color:#991b1b}
body.dc-admin-body .pdks-status-pill{background:#e0f2fe;color:#075985}
body.dc-admin-body tr.pdks-warning .pdks-status-pill{background:#fef3c7;color:#92400e}
body.dc-admin-body tr.pdks-missing .pdks-status-pill{background:#ffedd5;color:#9a3412}
body.dc-admin-body tr.pdks-absent .pdks-status-pill{background:#fee2e2;color:#991b1b}
body.dc-admin-body tr.pdks-overtime .pdks-status-pill{background:#dbeafe;color:#1d4ed8}
body.dc-admin-body tr.pdks-move-in .activity-badge{background:#16a34a;color:#fff}
body.dc-admin-body tr.pdks-move-out .activity-badge{background:#dc2626;color:#fff}
body.dc-admin-body tr.pdks-move-break .activity-badge{background:#f59e0b;color:#111827}
body.dc-admin-body tr.pdks-move-outside .activity-badge{background:#4f46e5;color:#fff}
.public-body{display:block!important;margin:0;background:#f8fafc;color:#0f172a;min-height:100vh}
.profile-shell{display:flex;justify-content:center;align-items:stretch;min-height:100vh;padding:0;background-color:#f8fafc}
.public-profile-card{width:100%;max-width:480px;margin:0 auto!important;min-height:100vh;text-align:center;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--card-bg,#fff)}
.public-profile-card .top-nav{display:flex;flex-wrap:wrap;justify-content:center!important;align-items:center;text-align:center;gap:8px;padding:14px 14px 10px;border-bottom:0;background:transparent}
.public-profile-card .nav-left,.public-profile-card .nav-center,.public-profile-card .nav-right{display:flex;flex:0 1 auto;width:auto;justify-content:center!important;align-items:center;gap:7px;flex-wrap:wrap;text-align:center}
.public-profile-card .nav-right{order:3}.public-profile-card .nav-left{order:1}.public-profile-card .nav-center{order:2}
.public-profile-card .pill{min-height:32px}.public-profile-card .theme-toggle{width:34px;height:34px;border-radius:999px;background:var(--item-bg,#f1f5f9);border:1px solid var(--border-color,#e2e8f0)}
.public-profile-card .header{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:8px;padding:26px 20px 18px;background:transparent;border:0}
.public-profile-card .group-logo{display:block;max-width:190px;max-height:72px;width:auto;height:auto;margin:0 auto 8px;object-fit:contain}
.public-profile-card .profile-img{display:flex!important;align-items:center;justify-content:center;width:112px;height:112px;border-radius:50%;margin:4px auto 10px;object-fit:cover}
.public-profile-card .name,.public-profile-card .title{width:100%;text-align:center!important;margin-left:auto;margin-right:auto}.public-profile-card .name{font-size:25px;line-height:1.2}.public-profile-card .title{font-size:14px;line-height:1.35;color:var(--primary-color,#111827);text-transform:none;letter-spacing:.2px}
.public-profile-card .info-badges{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px;text-align:center;margin:12px auto 0;width:100%}
.public-profile-card .badge{display:inline-flex;justify-content:center;text-align:center;max-width:92%;white-space:normal;line-height:1.35}.public-profile-card .group-logo-inline{display:inline-block;height:18px;margin:0 5px 0 0;vertical-align:middle}
.public-profile-card .visible-note{margin:4px 20px 16px;text-align:center}.public-profile-card .contact-list{align-items:center;text-align:center;padding:0 20px}.public-profile-card .contact-item{width:100%;max-width:420px;justify-content:center;text-align:center}.public-profile-card .contact-info{text-align:center;flex:0 1 auto}.public-profile-card .contact-ico{margin:0}
.public-profile-card .actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;padding:20px 20px 14px}.public-profile-card .btn-save{flex:1 1 100%;max-width:420px}.public-profile-card .btn-icon{flex:0 0 52px}
.public-profile-card .qr-mini{margin:8px auto 20px!important;width:calc(100% - 40px);max-width:420px;padding:14px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:8px;overflow:hidden}.public-profile-card .qr-mini img{display:block;margin:0 auto;width:132px!important;height:132px!important;min-width:132px!important;object-fit:contain}.public-profile-card .qr-mini-text{max-width:100%;text-align:center}.public-profile-card .qr-mini small{display:block;text-align:center;word-break:break-all;overflow-wrap:anywhere}
.public-profile-card .public-footer{margin-top:auto;text-align:center}.blocked-card{margin-left:auto!important;margin-right:auto!important}
@media(max-width:520px){.profile-shell{padding:0}.public-profile-card{max-width:none}.public-profile-card .top-nav{gap:6px;padding:12px 10px}.public-profile-card .nav-left,.public-profile-card .nav-center,.public-profile-card .nav-right{width:100%}.public-profile-card .pill{font-size:11px;padding:6px 10px}.public-profile-card .header{padding-top:20px}.public-profile-card .group-logo{max-height:60px}.public-profile-card .profile-img{width:104px;height:104px}.public-profile-card .contact-list{padding:0 12px}.public-profile-card .actions{padding-left:12px;padding-right:12px}.public-profile-card .qr-mini{width:calc(100% - 24px)!important}.public-profile-card .qr-mini img{width:126px!important;height:126px!important}}


/* v18.0.1 Customer panel final */
.customer-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;background:rgba(255,255,255,.96);border-bottom:1px solid #e5e7eb;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.customer-topbar strong{display:block;font-size:17px}.customer-topbar small{display:block;color:#64748b}.customer-topbar nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.customer-panel-wrap{max-width:1180px;margin:0 auto;padding:22px}.customer-hero{border-radius:24px;background:linear-gradient(135deg,#111827,#334155);color:#fff;padding:26px;margin-bottom:18px;text-align:center}.customer-hero code{display:inline-block;background:rgba(255,255,255,.14);padding:8px 12px;border-radius:12px;margin-top:8px;word-break:break-all}.customer-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:18px;align-items:start}.customer-card-detail .link-copy{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:8px;align-items:center;margin:8px 0}.customer-card-detail .link-copy input{width:100%;border:1px solid #e5e7eb;border-radius:10px;padding:9px;background:#f8fafc}.customer-card-title{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.customer-card-title strong{font-size:20px}.customer-card-title span{color:#64748b}.qr-mini{display:flex;gap:12px;align-items:center;justify-content:center;border:1px dashed #cbd5e1;border-radius:16px;padding:12px;margin:14px 0;background:#f8fafc}.qr-mini img{width:94px;height:94px;object-fit:contain}.customer-empty{max-width:680px;margin:60px auto;padding:32px;border-radius:24px;background:#fff;text-align:center;box-shadow:0 18px 50px rgba(15,23,42,.08)}.customer-login{max-width:460px}.customer-stats .stat{min-width:140px}.a4-panel-sheet{min-height:100vh;background:#f1f5f9;padding:30px}.a4-panel-sheet section{max-width:760px;margin:0 auto;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:42px;text-align:center}.a4-link{font-size:22px;font-weight:800;border:2px solid #111827;border-radius:14px;padding:16px;margin:20px 0;word-break:break-all}.a4-qr img{width:150px;height:150px;object-fit:contain;margin:12px auto}.btn-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.btn-sm{padding:6px 10px;font-size:12px}.color-picker{min-height:42px;padding:4px!important}
@media(max-width:820px){.customer-topbar{align-items:flex-start;flex-direction:column}.customer-topbar nav{justify-content:flex-start}.customer-panel-wrap{padding:14px}.customer-grid{grid-template-columns:1fr}.customer-card-detail .link-copy{grid-template-columns:1fr}.qr-mini{flex-direction:column;text-align:center}.customer-hero{padding:20px}.a4-panel-sheet{padding:12px}.a4-panel-sheet section{padding:22px}.a4-link{font-size:16px}}
@media print{.customer-topbar,.a4-panel-sheet .btn{display:none!important}.a4-panel-sheet{background:#fff;padding:0}.a4-panel-sheet section{border:0;box-shadow:none;max-width:none}.a4-link{font-size:20px}}


/* DemirCard v18.0.2 Phase A Panel Foundation A1 */
.dc-section-main-toolbar,.dc-contact-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0 14px;padding:10px 12px;border:1px solid #dbeafe;background:#f8fbff;border-radius:14px}.dc-section-main-toolbar b,.dc-contact-toolbar b{color:#0f172a}.dc-section-main-toolbar .muted,.dc-contact-toolbar .muted{font-size:12px}.dc-section-box>h3{display:flex;align-items:center;gap:8px;cursor:default}.dc-section-box>h3:before{content:'▾';color:#64748b;font-size:13px}.dc-section-box.dc-section-closed>h3:before{content:'▸'}.dc-section-box.dc-section-closed>*:not(h3){display:none!important}.dc-section-controls{margin-left:auto;display:flex;gap:5px;flex-wrap:wrap}.dc-section-controls button,.dc-contact-actions button{border:1px solid #cbd5e1;background:#fff;color:#111827;border-radius:8px;padding:6px 8px;font-size:12px;font-weight:700;cursor:pointer}.dc-section-controls button:hover,.dc-contact-actions button:hover{border-color:#2563eb;color:#1d4ed8}.dc-contact-row{position:relative;border:1px solid #dbeafe!important;background:#f8fbff!important;border-radius:14px!important;padding:12px!important;margin-bottom:10px}.dc-contact-row.dc-contact-empty{background:#f8fafc!important;border-style:dashed!important}.dc-contact-actions{grid-column:1/-1;display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap;border-top:1px dashed #cbd5e1;margin-top:4px;padding-top:8px}.dc-row-handle{cursor:grab;font-weight:900;color:#475569;background:#e2e8f0;border-radius:7px;padding:4px 8px}.dc-dragging{opacity:.55;outline:2px dashed #2563eb}.dc-action-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px}.dc-action-group{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:12px;display:flex;align-items:flex-start;align-content:flex-start;gap:8px;flex-wrap:wrap}.dc-action-group b{display:block;width:100%;color:#334155;margin-bottom:2px}.dc-action-danger{border-color:#fecaca;background:#fff7f7}.dc-primary-save-box{position:sticky;bottom:10px;z-index:10;box-shadow:0 16px 44px rgba(15,23,42,.12);border-color:#bbf7d0!important;background:rgba(255,255,255,.96)!important}.dc-company-form .form-group,.dc-group-form .form-group{min-width:0}.color-picker-row{display:flex!important;align-items:center!important;gap:10px!important}.color-picker-row input[type=color],input[type=color].color-picker{width:58px!important;min-width:58px!important;height:42px!important;padding:3px!important;border-radius:10px!important;cursor:pointer}.color-value{display:inline-flex;align-items:center;min-height:34px;padding:5px 9px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:9px;font-family:Consolas,monospace;font-weight:800;color:#334155}@media(max-width:900px){#contactRows .dynamic-row,.dc-contact-row{display:grid!important;grid-template-columns:1fr!important}.dc-action-groups{grid-template-columns:1fr}.dc-section-controls{width:100%;margin-left:0}.dc-primary-save-box{position:static}.dc-section-main-toolbar,.dc-contact-toolbar{align-items:stretch}.dc-section-main-toolbar .btn,.dc-contact-toolbar .btn{width:100%}}

/* DemirCard v18.0.2 Phase B Media + Visual Hierarchy B1 */
.dc-media-control{margin-top:8px;border:1px solid #dbeafe;background:#f8fbff;border-radius:14px;padding:10px;display:grid;gap:8px}.dc-media-bar{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.dc-media-status{font-size:12px}.dc-media-preview{min-height:54px;border:1px dashed #cbd5e1;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:8px}.dc-media-preview-img{max-width:160px;max-height:90px;object-fit:contain;border-radius:10px;box-shadow:0 4px 18px rgba(15,23,42,.10)}.dc-media-library{border-top:1px dashed #cbd5e1;padding-top:8px;display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;max-height:360px;overflow:auto}.dc-media-choice{border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:8px;cursor:pointer;display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;color:#111827;font-size:12px}.dc-media-choice:hover{border-color:#2563eb;background:#eff6ff}.dc-media-choice img{width:88px;height:70px;object-fit:contain;border-radius:8px;background:#f8fafc}.dc-media-thumb{width:54px;height:54px;object-fit:contain;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:4px}.dc-color-dot{display:inline-block;width:14px;height:14px;border-radius:999px;border:1px solid rgba(0,0,0,.15);vertical-align:middle}.form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.dc-media-scope .grid-3,.dc-media-scope .grid-2{align-items:start}@media(max-width:900px){.dc-media-bar .btn,.dc-media-open{width:100%;justify-content:center}.dc-media-library{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* DemirCard v18.0.2 Phase B2 Media Privacy + Visual Hierarchy */
.dc-media-choice small{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#eef2ff;color:#3730a3;padding:2px 7px;font-size:10px;font-weight:800}.dc-media-privacy{grid-column:1/-1;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;padding:7px 9px}.profile-initial{font-weight:900;font-size:34px;background:var(--primary-color,#111827);color:#fff;text-transform:uppercase}.profile-initial.dc-no-photo{font-size:28px;opacity:.96}.dc-visual-help{grid-column:1/-1;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;color:#475569;font-size:13px;line-height:1.45}

/* v18.0.2 Phase B3: media library builtin avatars and scoped diagnostics */
.dc-media-library-title{grid-column:1/-1;font-weight:900;color:#0f172a;background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;padding:8px 10px}
.dc-media-choice-builtin img{border-radius:50%;width:76px;height:76px;object-fit:cover;background:#111827}
.dc-media-choice-builtin{border-color:#bfdbfe;background:#f8fbff}
.dc-media-library .error{grid-column:1/-1;background:#fee2e2;border:1px solid #fecaca;color:#991b1b;border-radius:10px;padding:8px 10px}
.public-profile-card .profile-initial[style]{background:inherit;color:inherit}

/* v18.0.2 Phase B5: popup media depot and avatar pool preview */
.dc-media-modal{position:fixed;inset:0;background:rgba(15,23,42,.58);display:none;align-items:center;justify-content:center;z-index:99999;padding:18px}.dc-media-modal.open{display:flex}.dc-media-dialog{width:min(1120px,96vw);max-height:92vh;overflow:hidden;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.35);display:flex;flex-direction:column}.dc-media-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e5e7eb}.dc-media-modal-head strong{display:block;font-size:20px}.dc-media-modal-head small{display:block;color:#64748b;margin-top:2px}.dc-media-modal-tools{display:flex;gap:10px;align-items:center;padding:12px 18px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.dc-media-modal-tools .dc-media-search{max-width:380px}.dc-media-modal-body{padding:16px 18px;overflow:auto}.dc-media-section-title{margin:12px 0 8px;font-weight:900;color:#0f172a;background:#eef2ff;border:1px solid #c7d2fe;border-radius:12px;padding:8px 12px}.dc-media-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;margin-bottom:14px}.dc-media-tile{appearance:none;border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:10px;text-align:left;cursor:pointer;box-shadow:0 8px 22px rgba(15,23,42,.07);transition:.15s transform,.15s border-color}.dc-media-tile:hover{transform:translateY(-2px);border-color:#2563eb}.dc-media-tile-img{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;background:#f1f5f9;border-radius:13px;overflow:hidden;margin-bottom:8px}.dc-media-tile img{width:100%;height:100%;object-fit:cover}.dc-media-tile strong{display:block;font-size:13px;line-height:1.2;color:#111827}.dc-media-tile small{display:block;margin-top:5px;color:#64748b;font-size:11px}.dc-media-preview img.dc-media-preview-img{max-width:96px;max-height:96px;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc;object-fit:cover}.dc-media-bar select.dc-media-visibility{min-width:190px}.dc-user-visual-strip{display:flex;gap:6px;align-items:center;margin-top:5px}.dc-user-visual-strip img{width:28px;height:28px;border-radius:8px;object-fit:cover;border:1px solid #e2e8f0;background:#f8fafc}.dc-user-visual-strip .dc-chip{font-size:11px;border:1px solid #e2e8f0;border-radius:999px;padding:2px 7px;background:#f8fafc;color:#475569}
@media(max-width:720px){.dc-media-modal{padding:8px}.dc-media-dialog{max-height:96vh;border-radius:16px}.dc-media-modal-tools{flex-direction:column;align-items:stretch}.dc-media-modal-tools .dc-media-search{max-width:none}.dc-media-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-media-bar{align-items:stretch}.dc-media-bar select.dc-media-visibility{min-width:0;width:100%}}


/* v18.0.2 Phase B6: media depot management, visual thumbs, robust section fallback */
.dc-section-controls-b6{outline:1px dashed #bfdbfe;border-radius:10px;padding:3px;background:#eff6ff}.dc-section-b6-toolbar{border-color:#bfdbfe;background:#eff6ff}.dc-section-box.dc-section-closed>*:not(h3){display:none!important}.dc-media-tile{display:block}.dc-media-tile-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.dc-media-tile-actions .btn{font-size:11px;padding:5px 7px}.dc-media-tile-actions .btn-danger{background:#fee2e2;color:#991b1b;border-color:#fecaca}.dc-visual-triplet{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:170px}.dc-visual-triplet span{display:flex;flex-direction:column;gap:3px;align-items:center;font-size:10px;color:#64748b}.dc-visual-triplet b{font-size:10px;color:#334155}.dc-visual-empty,.dc-visual-avatar,.dc-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;border-radius:999px;padding:3px 8px;font-size:11px}.dc-visual-avatar{background:#eef2ff;color:#3730a3}.table-wrap .dc-media-thumb{width:42px;height:42px;object-fit:cover;border-radius:10px;background:#fff;border:1px solid #e2e8f0;padding:2px}.dc-media-modal .error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;border-radius:12px;padding:12px}.dc-media-modal .success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0;border-radius:12px;padding:12px}


/* DemirCard v18.0.2 Phase B7 */
.dc-b7-toolbar{border-color:#c7d2fe!important;background:#f8fafc!important;box-shadow:0 4px 18px rgba(15,23,42,.04)}
.dc-b7-section-controls{outline:none!important;background:transparent!important;padding:0!important;border-radius:0!important}
.dc-b7-section-controls button[data-b7-sec="pin"]{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.dc-b7-section>h3{min-height:46px}.dc-b7-section.dc-section-closed{background:#fff!important}
.dc-visual-header-box .grid-3,.dc-visual-header-box .grid-2{align-items:start}.dc-visual-help{margin:0 0 14px;padding:12px 14px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:12px;color:#1e3a8a;font-size:13px;line-height:1.45}.dc-visual-subtitle{grid-column:1/-1;margin:16px 0 8px;padding:8px 10px;border-left:4px solid #2563eb;background:#f8fafc;border-radius:8px;font-weight:800;color:#1f2937}.dc-visual-header-box .form-group small{display:block;margin-top:6px;line-height:1.35}.dc-visual-triplet-b7{display:grid;grid-template-columns:repeat(3,minmax(56px,1fr));gap:8px;max-width:260px}.dc-visual-triplet-b7 span{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:6px;min-height:78px;display:flex;align-items:center;justify-content:center;gap:5px}.dc-visual-triplet-b7 b{font-size:11px;color:#475569}.dc-visual-thumb-empty{width:42px;height:42px;border:1px dashed #cbd5e1;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#94a3b8;background:#f8fafc}.dc-avatar-thumb{background:#f8fafc!important}
@media(max-width:900px){.dc-b7-toolbar{display:grid!important;grid-template-columns:1fr}.dc-b7-section-controls{width:100%;justify-content:flex-start}.dc-visual-triplet-b7{max-width:none}}

/* v18.0.4 B8.1 media depot completion */
.dc-media-modal-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dc-media-modal-tools .dc-media-search{min-width:260px;flex:1}.dc-media-modal-upload-target{max-width:250px}.dc-media-modal-upload-title{max-width:240px}.dc-media-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.dc-media-section-title .dc-media-section-rename{font-size:12px;padding:5px 9px}.dc-media-tile-actions{display:flex;gap:6px;flex-wrap:wrap}


/* DemirCard v18.0.6 B9.1 - Admin list status coloring, filters and sorting */
body.dc-admin-body .dc-admin-badge,
.main-content .dc-admin-badge{
  display:inline-flex!important;align-items:center!important;gap:4px!important;border-radius:999px!important;
  padding:5px 10px!important;font-size:12px!important;font-weight:900!important;line-height:1.15!important;
  border:1px solid transparent!important;white-space:nowrap!important;background:#f1f5f9!important;color:#334155!important;
}
body.dc-admin-body .dc-badge-success,.main-content .dc-badge-success{background:#dcfce7!important;color:#166534!important;border-color:#bbf7d0!important}
body.dc-admin-body .dc-badge-danger,.main-content .dc-badge-danger{background:#fee2e2!important;color:#991b1b!important;border-color:#fecaca!important}
body.dc-admin-body .dc-badge-warning,.main-content .dc-badge-warning{background:#fef3c7!important;color:#92400e!important;border-color:#fde68a!important}
body.dc-admin-body .dc-badge-info,.main-content .dc-badge-info{background:#dbeafe!important;color:#1d4ed8!important;border-color:#bfdbfe!important}
body.dc-admin-body .dc-badge-purple,.main-content .dc-badge-purple{background:#ede9fe!important;color:#6d28d9!important;border-color:#ddd6fe!important}
body.dc-admin-body .dc-badge-orange,.main-content .dc-badge-orange{background:#ffedd5!important;color:#c2410c!important;border-color:#fed7aa!important}
body.dc-admin-body .dc-badge-muted,.main-content .dc-badge-muted{background:#f1f5f9!important;color:#475569!important;border-color:#e2e8f0!important}
.dc-users-filter-panel{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:12px;margin-bottom:14px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.dc-quick-filter-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.dc-users-filter-form{display:grid;grid-template-columns:1.4fr repeat(4,minmax(150px,1fr)) auto;gap:10px;align-items:end}
.dc-users-filter-form label{font-size:12px;font-weight:800;color:#475569;display:flex;flex-direction:column;gap:4px}
.dc-users-filter-form .form-control{min-height:38px}
@media(max-width:1100px){.dc-users-filter-form{grid-template-columns:1fr 1fr}.dc-users-filter-form button{grid-column:1/-1}}
@media(max-width:640px){.dc-users-filter-form{grid-template-columns:1fr}}


/* v18.0.9 B9.4: compact linked production queue + user-add order suggestions */
body.dc-admin-body .dc-production-board-wrap{overflow-x:auto}
body.dc-admin-body .dc-compact-production-table{min-width:1180px}
body.dc-admin-body .dc-compact-production-table th,body.dc-admin-body .dc-compact-production-table td{vertical-align:top;padding:10px 9px}
body.dc-admin-body .dc-compact-order-row{background:#fff}
body.dc-admin-body .dc-order-main{display:flex;flex-direction:column;gap:3px;max-width:270px}
body.dc-admin-body .dc-order-main code{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:3px 6px}
body.dc-admin-body .dc-badge-stack{display:flex;flex-direction:column;gap:5px;align-items:flex-start}
body.dc-admin-body .dc-order-note{max-width:180px;max-height:54px;overflow:auto;font-size:12px;line-height:1.35;color:#475569}
body.dc-admin-body .dc-order-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;min-width:220px}
body.dc-admin-body .dc-row-edit{width:100%;margin-top:4px}
body.dc-admin-body .dc-row-edit>summary{cursor:pointer;display:inline-flex;align-items:center;gap:6px;border:1px solid #cbd5e1;background:#f8fafc;color:#0f172a;border-radius:8px;padding:7px 10px;font-weight:900;font-size:12px}
body.dc-admin-body .dc-row-edit[open]>summary{background:#0f172a;color:#fff;border-color:#0f172a;margin-bottom:8px}
body.dc-admin-body .dc-compact-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(135px,1fr));gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;min-width:760px}
body.dc-admin-body .dc-compact-edit-grid label{font-size:11px;font-weight:900;color:#475569;display:flex;flex-direction:column;gap:3px}
body.dc-admin-body .dc-compact-edit-grid .form-control{min-height:34px;font-size:12px}
body.dc-admin-body .dc-compact-edit-grid .dc-edit-wide{grid-column:span 2}
body.dc-admin-body .dc-order-suggestions-box{border-left:5px solid #2563eb}
body.dc-admin-body .dc-order-suggestion{display:grid;grid-template-columns:1.5fr 1fr auto;gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:12px;padding:10px;margin:8px 0;background:#fff}
body.dc-admin-body .dc-order-suggestion.is-selected{border-color:#2563eb;background:#eff6ff}
body.dc-admin-body .dc-order-suggestion .actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}
@media(max-width:900px){body.dc-admin-body .dc-order-suggestion{grid-template-columns:1fr}body.dc-admin-body .dc-order-suggestion .actions{justify-content:flex-start}}

/* B10 PDKS payroll polish */
body.dc-admin-body .pdks-ok td{background:#f8fafc}
body.dc-admin-body .pdks-warning td{background:#fffbeb}
body.dc-admin-body .pdks-missing td{background:#fff7ed}
body.dc-admin-body .pdks-absent td{background:#fef2f2}
body.dc-admin-body .pdks-overtime td{background:#eff6ff}
body.dc-admin-body .app-card h3{margin-top:0}
body.dc-admin-body .app-card{text-decoration:none;color:inherit;transition:.15s}
body.dc-admin-body .app-card:hover{transform:translateY(-1px);box-shadow:0 8px 25px rgba(15,23,42,.08)}
body.dc-admin-body .color-dot{display:inline-block;width:12px;height:12px;border-radius:999px;border:1px solid #cbd5e1;vertical-align:middle;margin-right:5px}


/* DemirCard v18.3.2 B12.2 - admin legacy pages color hardening */
body.dc-admin-body .badge.bg-success,.main-content .badge.bg-success{background:#16a34a!important;color:#fff!important;border:1px solid #15803d!important}
body.dc-admin-body .badge.bg-danger,.main-content .badge.bg-danger{background:#dc2626!important;color:#fff!important;border:1px solid #b91c1c!important}
body.dc-admin-body .badge.bg-warning,.main-content .badge.bg-warning{background:#f59e0b!important;color:#111827!important;border:1px solid #d97706!important}
body.dc-admin-body .badge.bg-info,.main-content .badge.bg-info{background:#2563eb!important;color:#fff!important;border:1px solid #1d4ed8!important}
body.dc-admin-body .dc-inline-status-form{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:210px}
body.dc-admin-body .dc-inline-status-form .form-control{min-width:118px;margin-top:0;min-height:34px;padding:6px 8px;font-size:12px}
body.dc-admin-body .btn-sm{padding:6px 9px;font-size:12px;border-radius:7px}
body.dc-admin-body .box.table-wrap table tr:hover td{background:#f8fafc}
body.dc-admin-body .stat-card strong{word-break:break-word}


/* DemirCard v18.4.0 B13 - Public profile + customer panel luxury layer; button/visual hierarchy is not changed. */
.public-body .dc-public-lux-card{position:relative;overflow:hidden;border:1px solid rgba(148,163,184,.25)!important;box-shadow:0 30px 90px rgba(15,23,42,.18),0 0 0 1px rgba(255,255,255,.28) inset!important;backdrop-filter:blur(10px)}
.public-body .dc-public-lux-card:before{content:"";position:absolute;inset:-1px;pointer-events:none;background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.34),transparent 32%),linear-gradient(135deg,rgba(255,255,255,.12),transparent 45%);z-index:0}
.public-body .dc-public-lux-card>*{position:relative;z-index:1}.public-body .dc-public-lux-card .header{padding-top:28px}.public-body .dc-public-lux-card .name{letter-spacing:-.035em}.public-body .dc-public-lux-card .profile-img{box-shadow:0 18px 45px rgba(15,23,42,.25),0 0 0 5px rgba(255,255,255,.82)!important}.public-body .dc-public-lux-card .group-logo{filter:drop-shadow(0 12px 22px rgba(15,23,42,.20))}.dc-public-trust-bar{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:-6px 18px 14px}.dc-public-trust-bar span{display:inline-flex;align-items:center;border:1px solid rgba(148,163,184,.35);background:rgba(248,250,252,.82);color:#334155;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;letter-spacing:.02em}.public-body .dc-public-lux-card .contact-item{border-color:rgba(148,163,184,.28)!important;box-shadow:0 10px 26px rgba(15,23,42,.06)}.public-body .dc-public-lux-card .btn-save,.public-body .dc-public-lux-card .pill-primary{box-shadow:0 12px 28px rgba(37,99,235,.22)}
.customer-body.dc-customer-lux{background:radial-gradient(circle at 10% 0%,#dbeafe 0,#f8fafc 28%,#eef2ff 100%)}.customer-body.dc-customer-lux .customer-topbar{background:rgba(255,255,255,.82);backdrop-filter:blur(14px);border-bottom:1px solid rgba(148,163,184,.28)}.customer-body.dc-customer-lux .customer-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0f172a,#1e3a8a 58%,#111827);box-shadow:0 24px 70px rgba(15,23,42,.22)}.customer-body.dc-customer-lux .customer-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:220px;height:220px;border-radius:999px;background:rgba(255,255,255,.12)}.dc-customer-policy-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}.dc-customer-policy-row>div{border:1px solid rgba(148,163,184,.32);background:rgba(255,255,255,.82);box-shadow:0 12px 30px rgba(15,23,42,.06);border-radius:16px;padding:13px}.dc-customer-policy-row b{display:block;color:#0f172a}.dc-customer-policy-row span{display:block;color:#64748b;font-size:12px;margin-top:3px}.dc-customer-trust-strip{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.dc-customer-trust-strip span{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:900}.customer-body.dc-customer-lux .box{border-color:rgba(148,163,184,.24);box-shadow:0 16px 44px rgba(15,23,42,.07)}
.dc-b13-governance-form textarea{min-height:110px}.dc-b13-rule{border:1px solid #e2e8f0;border-radius:14px;padding:12px;margin:8px 0;background:#fff}.dc-b13-rule p{margin:8px 0 0;color:#475569;line-height:1.45}.dc-b13-preview-card{position:relative;overflow:hidden;border-radius:26px;padding:22px;background:linear-gradient(145deg,#0f172a,#1e3a8a);color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.24);min-height:360px}.dc-b13-preview-glow{position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:999px;background:rgba(255,255,255,.14)}.dc-b13-preview-card>*:not(.dc-b13-preview-glow){position:relative;z-index:1}.dc-b13-preview-top{display:flex;gap:8px;justify-content:space-between}.dc-b13-preview-avatar{width:104px;height:104px;border-radius:32px;margin:40px auto 16px;display:flex;align-items:center;justify-content:center;background:#fff;color:#1e3a8a;font-size:34px;font-weight:1000;box-shadow:0 18px 48px rgba(0,0,0,.25)}.dc-b13-preview-card h3{text-align:center;margin:0;font-size:25px}.dc-b13-preview-card p{text-align:center;color:#dbeafe}.dc-b13-preview-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.dc-b13-preview-actions span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:8px 10px;font-size:12px;font-weight:900}.dc-b13-link-grid{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:900px){.dc-customer-policy-row{grid-template-columns:1fr 1fr}.dc-b13-preview-card{min-height:300px}}@media(max-width:560px){.dc-customer-policy-row{grid-template-columns:1fr}.dc-public-trust-bar span{font-size:10px;padding:5px 8px}}

/* v18.4.1 B13.1 profile template system + customer panel luxury cleanup */
.dc-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:18px 0}.dc-template-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:14px;box-shadow:0 18px 48px rgba(15,23,42,.08)}.dc-template-preview{min-height:190px;border-radius:20px;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;overflow:hidden;position:relative;background:#f8fafc;color:#0f172a}.dc-template-preview .mini-nav{position:absolute;top:14px;left:14px;right:14px;height:12px;border-radius:999px;background:rgba(255,255,255,.55);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}.dc-template-preview .mini-avatar{width:64px;height:64px;border-radius:22px;background:rgba(255,255,255,.9);box-shadow:0 18px 38px rgba(15,23,42,.18)}.dc-template-preview strong{text-align:center;font-size:16px}.dc-template-preview span{font-size:12px;opacity:.76}.dc-template-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.dc-template-meta p{width:100%;margin:4px 0 0;color:#64748b;font-size:13px}.dc-check{display:flex;gap:10px;align-items:center;background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:12px;color:#334155}.dc-template-preview.tpl-lux-aurora{background:radial-gradient(circle at 18% 10%,#f0abfc 0,transparent 32%),radial-gradient(circle at 85% 20%,#38bdf8 0,transparent 31%),linear-gradient(135deg,#0f172a,#312e81 52%,#020617);color:#fff}.dc-template-preview.tpl-executive-black{background:linear-gradient(135deg,#020617,#111827 58%,#334155);color:#f8fafc}.dc-template-preview.tpl-royal-gold{background:linear-gradient(135deg,#111827,#78350f 52%,#f59e0b);color:#fff7ed}.dc-template-preview.tpl-minimal-glass{background:linear-gradient(135deg,#ecfeff,#f8fafc 58%,#e0f2fe);color:#0f172a}.dc-template-preview[class*=tpl-custom-]{background:linear-gradient(135deg,#312e81,#0f172a);color:#fff}
.dc-profile-template .public-profile-card{transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease}.dc-profile-template.tpl-lux-aurora{background:radial-gradient(circle at 20% 0%,rgba(217,70,239,.55),transparent 32%),radial-gradient(circle at 82% 8%,rgba(56,189,248,.48),transparent 30%),linear-gradient(135deg,#020617,#312e81 58%,#111827)!important}.dc-profile-template.tpl-lux-aurora .public-profile-card{border:1px solid rgba(255,255,255,.28);box-shadow:0 42px 120px rgba(15,23,42,.42);backdrop-filter:blur(18px)}.dc-profile-template.tpl-lux-aurora .profile-img{box-shadow:0 24px 70px rgba(56,189,248,.28),0 0 0 8px rgba(255,255,255,.16)}.dc-profile-template.tpl-executive-black{background:linear-gradient(135deg,#020617,#111827 45%,#334155)!important}.dc-profile-template.tpl-executive-black .public-profile-card{background:linear-gradient(160deg,rgba(2,6,23,.96),rgba(15,23,42,.92))!important;color:#f8fafc;border:1px solid rgba(148,163,184,.22);box-shadow:0 40px 110px rgba(0,0,0,.5)}.dc-profile-template.tpl-executive-black .name,.dc-profile-template.tpl-executive-black .title,.dc-profile-template.tpl-executive-black .contact-value{color:#f8fafc}.dc-profile-template.tpl-executive-black .contact-item,.dc-profile-template.tpl-executive-black .badge,.dc-profile-template.tpl-executive-black .qr-mini{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#e2e8f0}.dc-profile-template.tpl-royal-gold{background:radial-gradient(circle at 50% -10%,rgba(245,158,11,.65),transparent 30%),linear-gradient(135deg,#111827,#3b1f05 60%,#020617)!important}.dc-profile-template.tpl-royal-gold .public-profile-card{border:1px solid rgba(245,158,11,.38);box-shadow:0 42px 120px rgba(120,53,15,.38)}.dc-profile-template.tpl-royal-gold .pill-primary,.dc-profile-template.tpl-royal-gold .btn-save{background:linear-gradient(135deg,#f59e0b,#facc15);color:#111827}.dc-profile-template.tpl-minimal-glass{background:linear-gradient(135deg,#ecfeff,#f8fafc 48%,#e0f2fe)!important}.dc-profile-template.tpl-minimal-glass .public-profile-card{border:1px solid rgba(14,165,233,.18);box-shadow:0 30px 80px rgba(14,116,144,.18);backdrop-filter:blur(14px)}
.customer-body.dc-customer-lux{background:radial-gradient(circle at 16% 0%,rgba(59,130,246,.18),transparent 32%),radial-gradient(circle at 90% 12%,rgba(245,158,11,.16),transparent 34%),#f8fafc}.customer-panel-wrap{max-width:1220px;margin:0 auto;padding:22px}.customer-hero{border:1px solid rgba(15,23,42,.08);background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;border-radius:28px;padding:28px;box-shadow:0 24px 80px rgba(15,23,42,.18)}.customer-hero h1{font-size:clamp(28px,4vw,48px);margin:0 0 8px;letter-spacing:-.04em}.customer-grid{align-items:start}.customer-edit,.customer-card-detail{border:1px solid rgba(15,23,42,.08);border-radius:24px;box-shadow:0 18px 56px rgba(15,23,42,.08)}.dc-contact-edit-row{background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:16px;margin:10px 0;padding:12px}.dc-contact-delete{margin-top:8px}.dc-template-select-panel{background:linear-gradient(135deg,#fff7ed,#f8fafc);border:1px solid rgba(245,158,11,.22);border-radius:16px;padding:12px}.customer-card-detail .link-copy{background:#f8fafc;border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:10px;margin:10px 0}.customer-card-detail .link-copy input{background:transparent;border:0;width:100%;font-family:monospace;color:#334155}.customer-topbar{position:sticky;top:0;z-index:20;backdrop-filter:blur(16px);background:rgba(255,255,255,.86);border-bottom:1px solid rgba(15,23,42,.08)}
@media(max-width:760px){.customer-panel-wrap{padding:14px}.customer-hero{border-radius:22px;padding:20px}.dc-template-grid{grid-template-columns:1fr}.dc-contact-edit-row{grid-template-columns:1fr!important}}


/* v18.4.2 B13.2: profile template live previews, real mobile-card theming, compact top nav and customer panel luxury polish */
.public-profile-card .top-nav{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"left right";align-items:center;gap:8px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.public-profile-card .nav-left{grid-area:left;display:flex!important;flex-wrap:nowrap!important;gap:7px;overflow-x:auto;min-width:0}.public-profile-card .nav-center{display:none!important}.public-profile-card .nav-right{grid-area:right;display:flex!important;flex-wrap:nowrap!important;gap:7px;align-items:center;justify-content:flex-end}.public-profile-card .pill{white-space:nowrap;min-height:32px}.public-profile-card .theme-toggle{min-width:34px;height:34px;border-radius:999px;background:rgba(15,23,42,.06)!important}.public-profile-card .actions{display:grid!important;grid-template-columns:minmax(0,1.35fr) repeat(3,54px);gap:10px;align-items:center}.public-profile-card .btn-save{min-height:54px;display:flex!important;align-items:center;justify-content:center;line-height:1.1;white-space:nowrap}.public-profile-card .btn-icon{font-size:15px;font-weight:1000;letter-spacing:.02em}.public-profile-card .qr-mini{display:flex!important;align-items:center!important;gap:10px!important}.public-profile-card .qr-mini-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--primary-color,#111827);color:#fff;font-weight:1000;letter-spacing:.04em;box-shadow:0 12px 26px rgba(15,23,42,.14)}.public-profile-card .qr-mini img{display:none!important}.public-profile-card .qr-mini-text b{font-size:13px}.public-profile-card .qr-mini-text small{font-size:11px;opacity:.78}
.dc-profile-template.tpl-lux-aurora .public-profile-card{--card-bg:rgba(255,255,255,.78);--item-bg:rgba(255,255,255,.62);--item-hover:rgba(255,255,255,.82);--border-color:rgba(255,255,255,.36);background:linear-gradient(155deg,rgba(255,255,255,.84),rgba(226,232,240,.54))!important;color:#0f172a;border-radius:36px}.dc-profile-template.tpl-lux-aurora .public-profile-card .header{background:radial-gradient(circle at 18% 0%,rgba(217,70,239,.18),transparent 38%),radial-gradient(circle at 82% 12%,rgba(56,189,248,.16),transparent 34%);border-bottom:1px solid rgba(255,255,255,.32)}.dc-profile-template.tpl-lux-aurora .contact-item,.dc-profile-template.tpl-lux-aurora .visible-note,.dc-profile-template.tpl-lux-aurora .qr-mini{background:rgba(255,255,255,.64)!important;backdrop-filter:blur(16px);box-shadow:0 16px 42px rgba(15,23,42,.08)}
.dc-profile-template.tpl-executive-black .public-profile-card{--card-bg:#070b16;--item-bg:rgba(255,255,255,.07);--item-hover:rgba(255,255,255,.11);--border-color:rgba(148,163,184,.24);--text-main:#f8fafc;--text-muted:#cbd5e1;border-radius:30px}.dc-profile-template.tpl-executive-black .public-profile-card .top-nav{background:rgba(2,6,23,.74)!important}.dc-profile-template.tpl-executive-black .dc-public-trust-bar span{background:rgba(255,255,255,.08);color:#e5e7eb;border-color:rgba(255,255,255,.12)}.dc-profile-template.tpl-executive-black .contact-label{color:#94a3b8}.dc-profile-template.tpl-executive-black .qr-mini-icon{background:#f8fafc;color:#020617}
.dc-profile-template.tpl-royal-gold .public-profile-card{--card-bg:#17110a;--item-bg:rgba(251,191,36,.10);--item-hover:rgba(251,191,36,.16);--border-color:rgba(245,158,11,.34);--text-main:#fff7ed;--text-muted:#fde68a;background:linear-gradient(155deg,#201307,#3b1f05 48%,#0f172a)!important;color:#fff7ed;border-radius:32px}.dc-profile-template.tpl-royal-gold .public-profile-card .top-nav{background:rgba(17,24,39,.54)!important}.dc-profile-template.tpl-royal-gold .contact-item,.dc-profile-template.tpl-royal-gold .visible-note,.dc-profile-template.tpl-royal-gold .qr-mini{background:rgba(245,158,11,.12)!important;border-color:rgba(245,158,11,.28)!important}.dc-profile-template.tpl-royal-gold .qr-mini-icon{background:linear-gradient(135deg,#f59e0b,#fde68a);color:#111827}
.dc-profile-template.tpl-minimal-glass .public-profile-card{--card-bg:rgba(255,255,255,.72);--item-bg:rgba(255,255,255,.56);--item-hover:rgba(224,242,254,.84);--border-color:rgba(14,165,233,.22);background:linear-gradient(155deg,rgba(255,255,255,.82),rgba(236,254,255,.62))!important;border-radius:34px;color:#0f172a}.dc-profile-template.tpl-minimal-glass .contact-item,.dc-profile-template.tpl-minimal-glass .visible-note,.dc-profile-template.tpl-minimal-glass .qr-mini{backdrop-filter:blur(14px);box-shadow:0 14px 34px rgba(14,116,144,.08)}
.dc-profile-template[class*=tpl-custom-] .public-profile-card{border-radius:32px;box-shadow:0 42px 120px rgba(15,23,42,.30)}
.dc-template-grid-v2{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.dc-template-card-v2{overflow:hidden}.dc-template-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.dc-template-live-preview{height:420px;overflow:hidden;border-radius:22px;background:#0f172a;padding:12px}.dc-template-preview-shell{min-height:auto!important;padding:0!important;background:transparent!important}.dc-template-preview-shell .public-profile-card{max-width:300px!important;min-height:395px!important;transform:scale(.82);transform-origin:top center;margin:0 auto!important}.dc-template-phone-full{background:transparent!important}.dc-template-phone-full .public-profile-card{max-width:390px!important;min-height:700px!important;margin:0 auto!important}.dc-template-preview-stage{background:linear-gradient(135deg,#0f172a,#1e293b);border-radius:28px;padding:18px;overflow:auto;display:flex;justify-content:center}.dc-template-edit summary{cursor:pointer;list-style:none}.dc-template-edit summary::-webkit-details-marker{display:none}
.customer-body.dc-customer-lux{background:radial-gradient(circle at 10% -10%,rgba(59,130,246,.25),transparent 32%),radial-gradient(circle at 90% 0%,rgba(245,158,11,.20),transparent 30%),linear-gradient(135deg,#f8fafc,#eef2ff)!important}.customer-body.dc-customer-lux .customer-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 22px;background:rgba(255,255,255,.78)!important;backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(15,23,42,.08)}.customer-body.dc-customer-lux .customer-topbar nav{display:flex;flex-wrap:wrap;gap:8px}.customer-body.dc-customer-lux .customer-hero{background:radial-gradient(circle at 80% 0%,rgba(255,255,255,.15),transparent 28%),linear-gradient(135deg,#020617,#1e3a8a 55%,#312e81)!important;border:1px solid rgba(255,255,255,.18);box-shadow:0 30px 100px rgba(15,23,42,.22)}.customer-body.dc-customer-lux .customer-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:18px}.customer-body.dc-customer-lux .customer-edit,.customer-body.dc-customer-lux .customer-card-detail,.customer-body.dc-customer-lux .stat,.customer-body.dc-customer-lux .dc-customer-policy-row>div{background:rgba(255,255,255,.82)!important;backdrop-filter:blur(14px);border:1px solid rgba(148,163,184,.24)!important;border-radius:24px;box-shadow:0 18px 60px rgba(15,23,42,.08)}.customer-body.dc-customer-lux .form-control{border-radius:14px;border-color:rgba(148,163,184,.35);min-height:42px}.customer-body.dc-customer-lux .dc-contact-edit-row{background:linear-gradient(135deg,rgba(248,250,252,.94),rgba(239,246,255,.76));border-color:rgba(59,130,246,.16);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.customer-body.dc-customer-lux .link-copy{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:8px;align-items:center}.customer-body.dc-customer-lux .qr-mini{border-radius:18px;background:rgba(15,23,42,.04);border:1px solid rgba(148,163,184,.22);padding:14px}.customer-body.dc-customer-lux .qr-mini img{display:block!important;width:86px;height:86px}.customer-body.dc-customer-lux .btn{border-radius:14px}
@media(max-width:900px){.customer-body.dc-customer-lux .customer-grid{grid-template-columns:1fr}.public-profile-card .top-nav{grid-template-columns:minmax(0,1fr) auto}.dc-template-live-preview{height:390px}}@media(max-width:520px){.public-profile-card .actions{grid-template-columns:minmax(0,1.15fr) repeat(3,48px);gap:8px}.public-profile-card .btn-save{font-size:13px;min-height:48px}.public-profile-card .nav-left .pill{font-size:10.5px;padding:6px 9px}.customer-body.dc-customer-lux .customer-topbar{align-items:flex-start;flex-direction:column}.customer-body.dc-customer-lux .link-copy{grid-template-columns:1fr}.dc-template-preview-shell .public-profile-card{transform:scale(.78)}}

/* v18.4.3 B13.3: customer panel QR/link cleanup + configurable profile trust chips */
.public-profile-card .dc-public-trust-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:0 18px 16px}.public-profile-card .dc-public-trust-bar .dc-trust-chip{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border-radius:999px;border:1px solid var(--border-color,#e2e8f0);background:var(--item-bg,#f8fafc);color:var(--text-main,#0f172a);font-weight:900;font-size:11px;padding:6px 10px;text-decoration:none;white-space:nowrap}.public-profile-card .dc-public-trust-bar a.dc-trust-chip:hover{transform:translateY(-1px);filter:brightness(1.02)}
.customer-body.dc-customer-lux .customer-card-detail .link-copy{display:grid!important;grid-template-columns:118px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;box-sizing:border-box}.customer-body.dc-customer-lux .customer-card-detail .link-copy label{font-size:12px;font-weight:900;color:#475569;margin:0}.customer-body.dc-customer-lux .customer-card-detail .link-copy input{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgba(248,250,252,.94)!important;border:1px solid rgba(148,163,184,.28)!important;border-radius:12px;padding:10px 12px;color:#334155}.customer-body.dc-customer-lux .customer-card-detail .link-copy .btn{min-width:54px;text-align:center;white-space:nowrap}
.customer-body.dc-customer-lux .customer-card-detail .qr-mini.dc-customer-qr-tile{width:auto!important;height:auto!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px;margin:14px 0!important;padding:13px!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(15,23,42,.045),rgba(59,130,246,.08))!important;border:1px solid rgba(148,163,184,.24)!important;text-align:left!important;color:#0f172a!important}.customer-body.dc-customer-lux .dc-customer-qr-mark{width:52px;height:52px;min-width:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#0f172a;color:#fff;font-weight:1000;letter-spacing:.06em;box-shadow:0 14px 30px rgba(15,23,42,.16)}.customer-body.dc-customer-lux .dc-customer-qr-tile small{display:block;color:#64748b;line-height:1.35;word-break:break-word}
.customer-body.dc-customer-lux .customer-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0}.customer-body.dc-customer-lux .customer-stats .stat{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;padding:14px!important}.customer-body.dc-customer-lux .customer-stats .stat span{display:block!important;color:#64748b;font-size:12px;font-weight:900;line-height:1.2}.customer-body.dc-customer-lux .customer-stats .stat b{display:block!important;color:#0f172a;font-size:24px;line-height:1;font-weight:1000;letter-spacing:-.03em}.customer-body.dc-customer-lux .dc-customer-policy-row>div{min-height:76px}.customer-body.dc-customer-lux .dc-customer-policy-row b{font-size:14px}.customer-body.dc-customer-lux .dc-customer-policy-row span{line-height:1.35}
@media(max-width:640px){.customer-body.dc-customer-lux .customer-card-detail .link-copy{grid-template-columns:1fr!important}.customer-body.dc-customer-lux .customer-card-detail .link-copy .btn{width:100%}.customer-body.dc-customer-lux .customer-card-detail .qr-mini.dc-customer-qr-tile{align-items:flex-start!important}.customer-body.dc-customer-lux .customer-stats{grid-template-columns:1fr 1fr!important}.public-profile-card .dc-public-trust-bar{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.public-profile-card .dc-public-trust-bar .dc-trust-chip{font-size:10.5px}}

/* v18.4.4 B13.4: profile inline QR panel + customer panel visible QR placement */
.public-profile-card .actions{display:grid!important;grid-template-columns:minmax(0,1.12fr) repeat(3,54px);gap:10px!important;align-items:stretch!important;padding:22px 20px 12px!important}
.public-profile-card .actions .btn-save{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.public-profile-card .actions button.btn-icon{appearance:none;-webkit-appearance:none;cursor:pointer;font-family:inherit;font-weight:1000;line-height:1}
.public-profile-card .dc-qr-inline-btn{font-size:15px!important;letter-spacing:.03em}
.dc-profile-qr-panel{margin:4px 20px 18px;padding:16px;border-radius:22px;background:var(--item-bg,#f8fafc);border:1px solid var(--border-color,#e2e8f0);box-shadow:0 18px 48px rgba(15,23,42,.10);text-align:center;color:var(--text-main,#0f172a)}
.dc-profile-qr-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:14px;font-weight:1000}.dc-profile-qr-head button{border:1px solid var(--border-color,#e2e8f0);background:var(--card-bg,#fff);color:var(--text-main,#0f172a);border-radius:999px;width:32px;height:32px;cursor:pointer;font-size:19px;line-height:1}
.dc-profile-qr-img{width:190px;max-width:78vw;height:auto;border-radius:18px;background:#fff;padding:10px;border:1px solid rgba(148,163,184,.25);box-shadow:0 14px 34px rgba(15,23,42,.10)}.dc-profile-qr-link{margin:10px auto 12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted,#64748b);font-size:12px;font-weight:800}.dc-profile-qr-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.dc-profile-qr-actions .btn-outline{border-radius:14px;padding:10px 12px;text-decoration:none;font-weight:900;background:var(--card-bg,#fff);color:var(--text-main,#0f172a);border:1px solid var(--border-color,#e2e8f0)}
.customer-body.dc-customer-lux .customer-card-detail .qr-mini.dc-customer-qr-tile.dc-customer-qr-open{width:auto!important;height:auto!important;min-height:118px!important;display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;margin:14px 0!important;padding:14px!important;overflow:hidden!important;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(239,246,255,.78))!important;border:1px solid rgba(59,130,246,.18)!important;box-shadow:0 16px 45px rgba(15,23,42,.08)!important}.customer-body.dc-customer-lux .dc-customer-qr-image-link{display:block;width:108px;height:108px;min-width:108px;border-radius:18px;overflow:hidden;background:#fff;border:1px solid rgba(148,163,184,.28);box-shadow:0 12px 26px rgba(15,23,42,.10)}.customer-body.dc-customer-lux .dc-customer-qr-img{display:block!important;width:100%!important;height:100%!important;object-fit:contain;padding:7px}.customer-body.dc-customer-lux .dc-customer-qr-meta{min-width:0;color:#0f172a}.customer-body.dc-customer-lux .dc-customer-qr-meta strong{font-size:14px;font-weight:1000}.customer-body.dc-customer-lux .dc-customer-qr-meta small{display:block;margin-top:4px;color:#64748b;line-height:1.35;word-break:break-word}.customer-body.dc-customer-lux .dc-customer-qr-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.customer-body.dc-customer-lux .dc-customer-qr-actions .btn{padding:8px 10px;min-height:36px;font-size:12px}.customer-body.dc-customer-lux .dc-customer-qr-mark{display:none!important}
@media(max-width:640px){.public-profile-card .actions{grid-template-columns:minmax(0,1fr) repeat(3,46px)!important;gap:8px!important}.public-profile-card .btn-icon{width:46px!important;min-width:46px!important;height:46px!important}.dc-profile-qr-panel{margin-left:16px;margin-right:16px}.customer-body.dc-customer-lux .customer-card-detail .qr-mini.dc-customer-qr-tile.dc-customer-qr-open{grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important}.customer-body.dc-customer-lux .dc-customer-qr-image-link{width:92px;height:92px;min-width:92px}.customer-body.dc-customer-lux .dc-customer-qr-actions .btn{flex:1;text-align:center}}
/* v18.4.6 B13.6 contact icons + document template polish */
.public-profile-card .contact-ico-img{width:22px;height:22px;object-fit:contain;display:block;border-radius:6px}.dc-contact-edit-row input[name='contact_icon_url[]']{font-size:12px}.dc-icon-card{display:flex;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:14px;padding:12px;background:#fff}.dc-icon-card img{width:38px;height:38px;object-fit:contain;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}.dc-doc-preview{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.08)}.dc-doc-print{font-family:Arial,sans-serif;color:#111827}.dc-doc-print .doc-sheet{max-width:820px;margin:0 auto;padding:32px;border:1px solid #e5e7eb}.dc-doc-print .doc-logo{max-height:80px;max-width:220px;object-fit:contain}.dc-doc-print .doc-title{font-size:24px;font-weight:900;margin:18px 0 8px}.dc-doc-print .doc-row{display:flex;justify-content:space-between;border-bottom:1px solid #e5e7eb;padding:9px 0}.dc-doc-print .doc-qr{max-width:130px}.dc-envelope{width:720px;height:310px;border:1px dashed #94a3b8;padding:34px;margin:0 auto}.dc-envelope h1{font-size:28px;margin:0 0 12px}.dc-envelope .muted{color:#64748b}@media print{.admin-sidebar,.topbar,.btn,.actions{display:none!important}.dc-doc-print .doc-sheet{border:0;box-shadow:none}.dc-envelope{border:0}}

/* B13.7 contact icon governance + document designer */
.dc-icon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.dc-icon-card-manage{border:1px solid rgba(148,163,184,.24);border-radius:18px;padding:14px;background:rgba(255,255,255,.92);box-shadow:0 14px 35px rgba(15,23,42,.08)}.dc-icon-card-manage summary{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;cursor:pointer}.dc-icon-card-manage img{width:48px;height:48px;object-fit:contain;border-radius:14px;background:#f8fafc;border:1px solid #e5e7eb}.dc-icon-card-manage.is-deleted{opacity:.65;background:#f8fafc}.dc-icon-edit-form{margin-top:12px}.dc-contact-icon-select{min-width:160px}.dc-doc-toolbox{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.dc-doc-live-preview{background:#eef2f7;border-radius:20px;padding:20px;overflow:auto;max-height:780px}.doc-sheet{width:210mm;min-height:297mm;max-width:100%;margin:auto;background:#fff;color:#111827;padding:18mm;box-sizing:border-box;border-radius:2px;box-shadow:0 18px 60px rgba(15,23,42,.16);font-family:Arial,Helvetica,sans-serif}.doc-sheet .doc-logo{max-width:140px;max-height:70px;object-fit:contain}.doc-sheet .doc-logo.wide{max-width:260px}.doc-title{font-size:24pt;font-weight:800;margin:10mm 0}.doc-row{display:flex;border-bottom:1px solid #e5e7eb;padding:7px 0;gap:18px}.doc-row b{min-width:35mm}.doc-qr{width:38mm;height:38mm;object-fit:contain}.doc-qr.small{width:24mm;height:24mm}.doc-qr-row{display:flex;gap:18mm;align-items:flex-start;margin-top:10mm}.doc-sign{margin-top:10mm}.dc-envelope{width:220mm;height:110mm;max-width:100%;background:#fff;color:#111827;margin:auto;padding:12mm;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border-radius:2px;box-shadow:0 18px 60px rgba(15,23,42,.16)}.dc-envelope.vertical{width:110mm;height:220mm}.dc-envelope h1{font-size:26pt;margin:4mm 0}.dc-envelope h2{font-size:14pt;margin:4mm 0}.env-logo img,.env-logo{max-width:70mm;max-height:35mm}.dc-doc-preview summary{cursor:pointer}.dc-doc-edit-mini{margin-top:14px}.dc-doc-print{background:#edf2f7;padding:20px;min-height:100vh}.dc-doc-designer-form textarea{font-size:13px;line-height:1.35}.grid-4{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}@media(max-width:900px){.doc-sheet,.dc-envelope{width:100%!important;height:auto!important;min-height:480px}.dc-doc-live-preview{padding:10px}}

/* v18.4.8 B13.8 - visual icon picker + print center */
.dc-icon-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:8px;max-height:220px;overflow:auto;padding:8px;border:1px solid #dbe4f0;border-radius:14px;background:#f8fafc}
.dc-contact-icon-cell .dc-icon-picker{min-width:260px}.dc-contact-row{align-items:start}.dc-icon-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:78px;border:1px solid #d8e1ee;background:#fff;border-radius:13px;cursor:pointer;padding:7px;text-align:center;color:#243244;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.dc-icon-choice:hover{border-color:#b08545;box-shadow:0 8px 22px rgba(176,133,69,.16)}.dc-icon-choice.is-active{border-color:#9b6a2d;background:linear-gradient(135deg,#fff8eb,#eef4ff);box-shadow:0 0 0 2px rgba(176,133,69,.24)}
.dc-icon-thumb{width:34px;height:34px;border-radius:12px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px;overflow:hidden}.dc-icon-thumb img{width:100%;height:100%;object-fit:contain}.dc-icon-choice span:not(.dc-icon-thumb){font-weight:700;font-size:12px}.dc-icon-choice small{font-size:10px;color:#64748b}.dc-customer-icon-picker{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));max-height:170px}.dc-customer-icon-picker .dc-icon-choice{min-height:66px}.dc-inline-print{display:flex;gap:8px;align-items:center;min-width:330px}.dc-inline-print select{min-width:210px}.demircard-delivery-a4{width:210mm;min-height:297mm;padding:18mm 17mm!important;background:#fff;color:#111;font-family:Georgia,'Times New Roman',serif;box-shadow:0 16px 50px rgba(15,23,42,.13)}.demircard-delivery-a4 p{font-size:11.5pt;line-height:1.38;margin:0 0 8px}.demircard-delivery-a4 ul{margin:5px 0 10px 28px;font-size:11pt;line-height:1.32}.doc-top-logos{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.doc-top-logos .doc-logo{max-height:54px;object-fit:contain}.doc-top-logos .wide{max-width:270px}.doc-delivery-block{display:grid;grid-template-columns:1fr 82mm;gap:14px;align-items:start;margin-top:12px}.doc-card-placeholder{border:1.5px solid #111;height:33mm;display:flex;align-items:center;justify-content:center;font-size:13pt}.doc-qr-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px;text-align:center;font-size:10pt}.doc-qr.small{width:34mm;height:34mm;object-fit:contain}.dc-envelope.vertical{width:110mm;min-height:220mm;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:10mm;background:#fff}.smmmo-envelope h2{font-size:14pt;margin:10px 0}.smmmo-envelope h1,.dc-envelope.vertical h1{font-size:18pt;margin:10px 0 4px}.dc-envelope.vertical strong{font-size:14pt;letter-spacing:.04em}.doc-sheet .doc-logo.wide{max-height:55px;max-width:260px;object-fit:contain}
@media print{.demircard-delivery-a4{box-shadow:none!important;margin:0!important}.dc-inline-print,.dc-icon-picker{break-inside:avoid}}

/* v18.4.9 B13.9 - compact icon picker, print stock center and safer customer panel */
.dc-icon-picker-compact{display:inline-block;position:relative;overflow:visible;max-height:none;padding:0;border:0;background:transparent;min-width:135px}
.dc-icon-current-btn{display:flex;align-items:center;gap:8px;border:1px solid #d8e1ee;border-radius:13px;background:#fff;padding:7px 10px;cursor:pointer;box-shadow:0 4px 14px rgba(15,23,42,.05);font-weight:700;color:#243244}
.dc-icon-current{width:34px;height:34px;border-radius:12px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:0 0 34px}
.dc-icon-current img{width:100%;height:100%;object-fit:contain;background:#fff}
.dc-icon-popover{display:none;position:absolute;z-index:70;left:0;top:calc(100% + 8px);width:min(520px,88vw);max-height:310px;overflow:auto;background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:10px;box-shadow:0 24px 70px rgba(15,23,42,.22);grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.dc-icon-picker.is-open .dc-icon-popover{display:grid}
.dc-icon-picker-compact .dc-icon-choice{min-height:72px;padding:7px}.dc-customer-icon-picker.dc-icon-picker-compact{min-width:120px}.dc-contact-icon-cell .dc-icon-picker-compact{min-width:135px}.dc-contact-row{position:relative;z-index:1}.dc-contact-row:focus-within{z-index:80}.dc-stock-cards .stat-card strong{font-size:24px}.dc-stock-panel{background:linear-gradient(135deg,#fff,#f8fafc)}.dc-print-material-box{border:1px solid rgba(180,132,67,.28);background:linear-gradient(135deg,#fffaf0,#fff)}.dc-doc-word-toolbar{gap:6px}.dc-doc-word-toolbar hr{width:100%;border:0;border-top:1px solid #e5e7eb}.dc-doc-mini-preview{border:1px dashed #cbd5e1;border-radius:14px;background:#f8fafc;padding:10px;margin:10px 0}.dc-doc-source-hint{color:#64748b;font-size:12px;margin-top:4px}.dc-inline-print{flex-wrap:wrap}.dc-inline-print select{max-width:260px}@media(max-width:760px){.dc-icon-popover{position:fixed;left:12px;right:12px;top:20vh;width:auto}.dc-inline-print{min-width:0}.dc-inline-print select{min-width:180px}}


/* v18.4.12 production workflow */
.dc-production-workflow-box{border:2px solid #2563eb;background:linear-gradient(180deg,#eff6ff 0,#fff 100%)}
.dc-production-workflow-box .dc-section-main-toolbar{margin:10px 0;border:1px solid #bfdbfe;background:#fff}
.dc-production-order-check{padding:12px;border:1px solid #93c5fd;border-radius:10px;background:#fff;font-weight:700}
.dc-priority-select.dc-priority-low{background:#f1f5f9}.dc-priority-select.dc-priority-normal{background:#dbeafe}.dc-priority-select.dc-priority-high{background:#ffedd5}.dc-priority-select.dc-priority-urgent{background:#fee2e2;color:#991b1b;font-weight:800}
.dc-due-date{border:2px solid #f59e0b!important;font-weight:700}


/* v20.4.9 repair: admin mobile, NFC terminal and non-link contact rows */
.dc-contact-iban,.dc-contact-text,.dc-contact-copy{cursor:default;text-decoration:none}
.dc-copy-btn{border:1px solid rgba(15,23,42,.18);border-radius:10px;padding:5px 8px;background:#fff;margin-left:6px;min-height:32px}
.dc-nfc-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.dc-nfc-log{white-space:pre-wrap;background:#0f172a;color:#e5e7eb;border-radius:12px;padding:12px;min-height:90px}.dc-inline-field{display:flex;gap:8px;align-items:center}.dc-inline-field .form-control{min-width:0}
@media(max-width:900px){.grid-2,.grid-3,.grid-4,.grid-5,.customer-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-wrap table{min-width:760px}.btn,.btn-light,.btn-primary,.btn-success,.btn-danger,button{min-height:44px}.form-control,input,select,textarea{font-size:16px}.customer-topbar,.customer-topbar nav{display:grid!important;grid-template-columns:1fr!important;gap:8px}.dc-contact-row,.dc-contact-edit-row{border:1px solid rgba(15,23,42,.12);border-radius:14px;padding:10px}.dc-primary-save-box{position:sticky;bottom:0;z-index:20;background:#fff;border-top:1px solid rgba(15,23,42,.12)}}

/* v20.4.12 Avatar & Profile Template Studio + distinct public profile themes */
.dc-profile-template.tpl-corporate-blueprint{background:radial-gradient(circle at 10% 5%,rgba(37,99,235,.26),transparent 28%),linear-gradient(135deg,#eaf2ff,#f8fafc 48%,#dbeafe)!important}.dc-profile-template.tpl-corporate-blueprint .public-profile-card{--card-bg:rgba(255,255,255,.92);--item-bg:#f8fafc;--item-hover:#eef6ff;--border-color:#bfdbfe;background:linear-gradient(180deg,#ffffff,#f8fbff)!important;border:1px solid #bfdbfe;border-radius:28px;box-shadow:0 30px 90px rgba(30,64,175,.16)}.dc-profile-template.tpl-corporate-blueprint .header{border-bottom:4px solid #2563eb}.dc-profile-template.tpl-corporate-blueprint .profile-img{border-radius:18px;background:linear-gradient(135deg,#1d4ed8,#38bdf8)}.dc-profile-template.tpl-corporate-blueprint .pill-primary,.dc-profile-template.tpl-corporate-blueprint .btn-save{background:#1d4ed8;color:#fff}.dc-profile-template.tpl-corporate-blueprint .contact-item{border-left:4px solid #3b82f6}
.dc-profile-template.tpl-founder-spotlight{background:radial-gradient(circle at 20% -5%,rgba(236,72,153,.65),transparent 36%),radial-gradient(circle at 80% 0%,rgba(249,115,22,.48),transparent 34%),linear-gradient(135deg,#2e1065,#111827)!important}.dc-profile-template.tpl-founder-spotlight .public-profile-card{--card-bg:rgba(255,255,255,.86);--item-bg:rgba(255,255,255,.68);--item-hover:rgba(255,255,255,.86);--border-color:rgba(255,255,255,.36);background:linear-gradient(155deg,rgba(255,255,255,.9),rgba(255,237,213,.68))!important;border-radius:40px;border:1px solid rgba(255,255,255,.45);box-shadow:0 46px 130px rgba(88,28,135,.38)}.dc-profile-template.tpl-founder-spotlight .profile-img{box-shadow:0 0 0 9px rgba(236,72,153,.16),0 22px 70px rgba(249,115,22,.24);transform:rotate(-2deg)}.dc-profile-template.tpl-founder-spotlight .pill-primary,.dc-profile-template.tpl-founder-spotlight .btn-save{background:linear-gradient(135deg,#ec4899,#f97316);color:#fff}.dc-profile-template.tpl-founder-spotlight .dc-public-trust-bar span{background:rgba(236,72,153,.12);border-color:rgba(236,72,153,.2)}
.dc-profile-template.tpl-tech-neon{background:radial-gradient(circle at 18% 5%,rgba(34,211,238,.32),transparent 30%),radial-gradient(circle at 84% 18%,rgba(168,85,247,.26),transparent 30%),linear-gradient(135deg,#020617,#0f172a 55%,#111827)!important}.dc-profile-template.tpl-tech-neon .public-profile-card{--card-bg:#050816;--item-bg:rgba(34,211,238,.07);--item-hover:rgba(34,211,238,.12);--border-color:rgba(103,232,249,.25);--text-main:#ecfeff;--text-muted:#a5f3fc;background:linear-gradient(180deg,rgba(2,6,23,.96),rgba(8,13,30,.98))!important;color:#ecfeff;border-radius:26px;border:1px solid rgba(34,211,238,.3);box-shadow:0 0 0 1px rgba(34,211,238,.14),0 38px 110px rgba(0,0,0,.55)}.dc-profile-template.tpl-tech-neon .contact-item,.dc-profile-template.tpl-tech-neon .qr-mini{background:rgba(34,211,238,.07)!important;border-color:rgba(34,211,238,.22)!important}.dc-profile-template.tpl-tech-neon .contact-value,.dc-profile-template.tpl-tech-neon .name,.dc-profile-template.tpl-tech-neon .title{color:#ecfeff}.dc-profile-template.tpl-tech-neon .pill-primary,.dc-profile-template.tpl-tech-neon .btn-save{background:linear-gradient(135deg,#06b6d4,#a855f7);color:#fff}.dc-profile-template.tpl-tech-neon .profile-img{box-shadow:0 0 36px rgba(34,211,238,.36)}
.dc-profile-template.tpl-finance-emerald{background:radial-gradient(circle at 50% -10%,rgba(16,185,129,.38),transparent 30%),linear-gradient(135deg,#052e16,#0f172a 64%,#020617)!important}.dc-profile-template.tpl-finance-emerald .public-profile-card{--card-bg:#071a12;--item-bg:rgba(16,185,129,.1);--item-hover:rgba(16,185,129,.16);--border-color:rgba(16,185,129,.32);--text-main:#ecfdf5;--text-muted:#bbf7d0;background:linear-gradient(155deg,#071a12,#052e16 52%,#111827)!important;color:#ecfdf5;border-radius:30px;border:1px solid rgba(16,185,129,.34);box-shadow:0 42px 120px rgba(5,46,22,.38)}.dc-profile-template.tpl-finance-emerald .contact-value,.dc-profile-template.tpl-finance-emerald .name,.dc-profile-template.tpl-finance-emerald .title{color:#ecfdf5}.dc-profile-template.tpl-finance-emerald .pill-primary,.dc-profile-template.tpl-finance-emerald .btn-save{background:linear-gradient(135deg,#10b981,#fbbf24);color:#062e16}.dc-profile-template.tpl-finance-emerald .qr-mini-icon{background:#fbbf24;color:#052e16}
.dc-profile-template.tpl-legal-slate{background:linear-gradient(135deg,#e2e8f0,#f8fafc 45%,#cbd5e1)!important}.dc-profile-template.tpl-legal-slate .public-profile-card{--card-bg:#ffffff;--item-bg:#f8fafc;--item-hover:#f1f5f9;--border-color:#cbd5e1;background:#fff!important;border:1px solid #cbd5e1;border-radius:18px;box-shadow:0 26px 80px rgba(51,65,85,.18)}.dc-profile-template.tpl-legal-slate .header{border-top:8px solid #334155;border-bottom:1px solid #cbd5e1}.dc-profile-template.tpl-legal-slate .profile-img{border-radius:50%;background:linear-gradient(135deg,#334155,#0f172a)}.dc-profile-template.tpl-legal-slate .pill-primary,.dc-profile-template.tpl-legal-slate .btn-save{background:#334155;color:#fff}.dc-profile-template.tpl-legal-slate .contact-item{border-radius:12px}
.dc-profile-template.tpl-healthcare-clean{background:linear-gradient(135deg,#ecfdf5,#f8fafc 52%,#cffafe)!important}.dc-profile-template.tpl-healthcare-clean .public-profile-card{--card-bg:#ffffff;--item-bg:#f0fdfa;--item-hover:#ecfdf5;--border-color:#a7f3d0;background:linear-gradient(180deg,#fff,#f0fdfa)!important;border:1px solid #a7f3d0;border-radius:34px;box-shadow:0 28px 80px rgba(5,150,105,.14)}.dc-profile-template.tpl-healthcare-clean .profile-img{background:linear-gradient(135deg,#059669,#14b8a6);box-shadow:0 18px 46px rgba(20,184,166,.22)}.dc-profile-template.tpl-healthcare-clean .pill-primary,.dc-profile-template.tpl-healthcare-clean .btn-save{background:#059669;color:#fff}.dc-profile-template.tpl-healthcare-clean .contact-ico{background:#d1fae5;color:#047857}
.dc-profile-template.tpl-hospitality-warm{background:radial-gradient(circle at 20% 0%,rgba(251,113,133,.34),transparent 32%),linear-gradient(135deg,#fff7ed,#fffbeb 52%,#fed7aa)!important}.dc-profile-template.tpl-hospitality-warm .public-profile-card{--card-bg:rgba(255,251,235,.92);--item-bg:#fff7ed;--item-hover:#ffedd5;--border-color:#fed7aa;background:linear-gradient(155deg,#fffbeb,#fff7ed)!important;border:1px solid #fed7aa;border-radius:38px;box-shadow:0 34px 96px rgba(194,65,12,.18)}.dc-profile-template.tpl-hospitality-warm .profile-img{background:linear-gradient(135deg,#fb7185,#f97316);border-radius:30px}.dc-profile-template.tpl-hospitality-warm .pill-primary,.dc-profile-template.tpl-hospitality-warm .btn-save{background:linear-gradient(135deg,#fb7185,#f97316);color:#fff}.dc-profile-template.tpl-hospitality-warm .dc-public-trust-bar span{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.dc-profile-template.tpl-creative-pop{background:radial-gradient(circle at 15% 10%,rgba(168,85,247,.58),transparent 34%),radial-gradient(circle at 82% 12%,rgba(34,211,238,.46),transparent 32%),linear-gradient(135deg,#fdf2f8,#eef2ff)!important}.dc-profile-template.tpl-creative-pop .public-profile-card{--card-bg:rgba(255,255,255,.88);--item-bg:rgba(255,255,255,.66);--item-hover:#fdf2f8;--border-color:rgba(168,85,247,.24);background:linear-gradient(155deg,#fff,#fdf2f8)!important;border:1px solid rgba(168,85,247,.26);border-radius:44px;box-shadow:0 36px 110px rgba(168,85,247,.2)}.dc-profile-template.tpl-creative-pop .profile-img{background:linear-gradient(135deg,#a855f7,#22d3ee);border-radius:36% 64% 44% 56%;animation:dcCreativeFloat 5s ease-in-out infinite}.dc-profile-template.tpl-creative-pop .pill-primary,.dc-profile-template.tpl-creative-pop .btn-save{background:linear-gradient(135deg,#a855f7,#22d3ee);color:#fff}@keyframes dcCreativeFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-3px) rotate(2deg)}}
.dc-profile-template.tpl-field-operator{background:linear-gradient(135deg,#431407,#111827 62%,#020617)!important}.dc-profile-template.tpl-field-operator .public-profile-card{--card-bg:#111827;--item-bg:rgba(249,115,22,.1);--item-hover:rgba(249,115,22,.16);--border-color:rgba(249,115,22,.32);--text-main:#ffedd5;--text-muted:#fed7aa;background:linear-gradient(180deg,#111827,#1c1917)!important;color:#ffedd5;border:1px solid rgba(249,115,22,.35);border-radius:20px;box-shadow:0 38px 100px rgba(0,0,0,.48)}.dc-profile-template.tpl-field-operator .name,.dc-profile-template.tpl-field-operator .title,.dc-profile-template.tpl-field-operator .contact-value{color:#ffedd5}.dc-profile-template.tpl-field-operator .profile-img{border-radius:14px;background:linear-gradient(135deg,#f97316,#fbbf24);color:#111827}.dc-profile-template.tpl-field-operator .pill-primary,.dc-profile-template.tpl-field-operator .btn-save{background:#f97316;color:#111827}.dc-profile-template.tpl-field-operator .contact-item{border-style:dashed}
@media(max-width:560px){.dc-profile-template.tpl-corporate-blueprint .public-profile-card,.dc-profile-template.tpl-founder-spotlight .public-profile-card,.dc-profile-template.tpl-tech-neon .public-profile-card,.dc-profile-template.tpl-finance-emerald .public-profile-card,.dc-profile-template.tpl-legal-slate .public-profile-card,.dc-profile-template.tpl-healthcare-clean .public-profile-card,.dc-profile-template.tpl-hospitality-warm .public-profile-card,.dc-profile-template.tpl-creative-pop .public-profile-card,.dc-profile-template.tpl-field-operator .public-profile-card{border-radius:24px}.dc-profile-template.tpl-creative-pop .profile-img{animation:none}}

/* v20.4.14 R3 - distinct profile template layout personalities and Studio safety badges */
.dc-profile-template.tpl-editorial .public-profile-card{border-radius:10px!important;box-shadow:0 20px 60px rgba(15,23,42,.10)!important;max-width:420px!important}.dc-profile-template.tpl-editorial .header{text-align:left!important;padding-left:28px!important}.dc-profile-template.tpl-editorial .profile-img{border-radius:12px!important;margin-left:0!important}.dc-profile-template.tpl-editorial .contact-list{border-left:4px solid #0f172a;margin-left:18px!important}.dc-profile-template.tpl-editorial .actions{grid-template-columns:1fr!important}.dc-profile-template.tpl-editorial .btn-icon{display:none!important}
.dc-profile-template.tpl-executive-command .public-profile-card,.dc-profile-template.tpl-executive-black .public-profile-card{border-radius:0 34px 0 34px!important}.dc-profile-template.tpl-executive-command .header,.dc-profile-template.tpl-executive-black .header{background:linear-gradient(135deg,#020617,#111827)!important}.dc-profile-template.tpl-executive-command .contact-list,.dc-profile-template.tpl-executive-black .contact-list{padding-top:20px!important}.dc-profile-template.tpl-executive-command .profile-img,.dc-profile-template.tpl-executive-black .profile-img{border-radius:18px!important}
.dc-profile-template.tpl-maison .public-profile-card,.dc-profile-template.tpl-royal-gold .public-profile-card{border-radius:40px!important;border-width:2px!important}.dc-profile-template.tpl-maison .profile-img,.dc-profile-template.tpl-royal-gold .profile-img{border-radius:999px!important;box-shadow:0 0 0 7px rgba(245,158,11,.20)!important}.dc-profile-template.tpl-maison .contact-item,.dc-profile-template.tpl-royal-gold .contact-item{border-radius:999px!important}.dc-profile-template.tpl-maison .actions,.dc-profile-template.tpl-royal-gold .actions{grid-template-columns:1fr 1fr!important}.dc-profile-template.tpl-maison .btn-icon,.dc-profile-template.tpl-royal-gold .btn-icon{border-radius:999px!important;width:auto!important}
.dc-profile-template.tpl-aurora-launch .public-profile-card,.dc-profile-template.tpl-lux-aurora .public-profile-card{border-radius:30px!important;transform:rotate(-.25deg);overflow:hidden}.dc-profile-template.tpl-aurora-launch .header,.dc-profile-template.tpl-lux-aurora .header{padding-bottom:28px!important}.dc-profile-template.tpl-aurora-launch .contact-list,.dc-profile-template.tpl-lux-aurora .contact-list{display:grid!important;grid-template-columns:1fr 1fr!important}.dc-profile-template.tpl-aurora-launch .contact-item,.dc-profile-template.tpl-lux-aurora .contact-item{min-height:70px!important;align-items:flex-start!important}
@media(max-width:640px){.dc-profile-template.tpl-aurora-launch .contact-list,.dc-profile-template.tpl-lux-aurora .contact-list{grid-template-columns:1fr!important}.dc-profile-template.tpl-maison .actions,.dc-profile-template.tpl-royal-gold .actions{grid-template-columns:1fr repeat(3,46px)!important}}

/* v21.1.0 Dynamic contact fields */
.dc-contact-dynamic{align-items:flex-start!important}
.dc-contact-dynamic .contact-info{min-width:0;flex:1}
.dc-contact-subfield{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(0,1.35fr);gap:6px 10px;padding:9px 0;border-top:1px solid rgba(148,163,184,.24)}
.dc-contact-subfield:first-child{border-top:0}
.dc-contact-sub-label{font-size:12px;font-weight:800;opacity:.72}
.dc-contact-sub-value{overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.dc-contact-direct-link{color:inherit;text-decoration:none;border-bottom:1px dashed currentColor;overflow-wrap:anywhere;word-break:break-word}.dc-contact-direct-link:hover{text-decoration:none;opacity:.82}
.dc-contact-sub-actions{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}
.dc-contact-action-btn,.dc-copy-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid rgba(148,163,184,.45);border-radius:10px;padding:7px 10px;background:#fff;color:#0f172a;text-decoration:none;font-size:12px;font-weight:700;cursor:pointer}
.dc-contact-action-btn:hover,.dc-copy-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(15,23,42,.10)}
.dc-contact-image-field{display:block}
.dc-contact-image-field img{display:block;width:auto;max-width:min(100%,240px);max-height:240px;border-radius:14px;object-fit:contain;border:1px solid rgba(148,163,184,.30)}
@media(max-width:640px){.dc-contact-subfield{grid-template-columns:1fr}.dc-contact-sub-actions{grid-column:auto}.dc-contact-action-btn,.dc-copy-btn{width:100%}.dc-contact-image-field img{max-width:100%;height:auto}}
