:root{--bfad-blue:#1266d6;--bfad-text:#172033;--bfad-muted:#6f7a8c;--bfad-border:#e7ebf1;--bfad-bg:#f5f7fa}
.bfad-shell{display:flex;min-height:78vh;background:var(--bfad-bg);border:1px solid var(--bfad-border);border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(15,35,70,.07);font-family:Tahoma,Arial,sans-serif;color:var(--bfad-text)}
.bfad-sidebar{width:228px;background:#fff;border-right:1px solid var(--bfad-border);padding:18px 12px;display:flex;flex-direction:column;position:relative}
.bfad-brand{display:flex;gap:10px;align-items:center;padding:7px 9px 18px}.bfad-brand>.dashicons{background:var(--bfad-blue);color:#fff;width:34px;height:34px;line-height:34px;border-radius:9px}.bfad-brand strong{display:block;font-size:15px}.bfad-brand small{display:block;color:var(--bfad-muted);font-size:10px;margin-top:2px}
.bfad-nav{display:flex;flex-direction:column;gap:4px}.bfad-nav a,.bfad-side-footer a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#465167;padding:10px 11px;border-radius:9px;font-size:13px}.bfad-nav a:hover,.bfad-nav a.active{background:#edf5ff;color:var(--bfad-blue);font-weight:700}.bfad-side-footer{margin-top:auto;border-top:1px solid var(--bfad-border);padding-top:10px}
.bfad-main{flex:1;min-width:0}.bfad-topbar{background:#fff;border-bottom:1px solid var(--bfad-border);padding:16px 22px;display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:5}.bfad-topbar h1{font-size:20px;line-height:1.2;margin:0}.bfad-topbar p{font-size:11px;color:var(--bfad-muted);margin:4px 0 0}.bfad-user{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:12px}.bfad-user img{border-radius:50%}.bfad-menu-toggle{display:none;border:0;background:none;padding:5px}
.bfad-content{padding:20px}.bfad-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.bfad-card{background:#fff;border:1px solid var(--bfad-border);border-radius:13px;padding:15px;display:flex;gap:12px;align-items:center}.bfad-card>.dashicons{color:var(--bfad-blue);background:#eef5ff;border-radius:10px;width:38px;height:38px;line-height:38px}.bfad-card small{display:block;color:var(--bfad-muted);font-size:10px}.bfad-card strong{display:block;font-size:22px;margin-top:3px}
.bfad-panel{background:#fff;border:1px solid var(--bfad-border);border-radius:13px;padding:16px}.bfad-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.bfad-panel-head h3,.bfad-panel h3{font-size:14px;margin:0}.bfad-panel-head a{font-size:11px;text-decoration:none}
.bfad-table-wrap{overflow:auto}.bfad-table{width:100%;border-collapse:collapse;font-size:11px}.bfad-table th{text-align:left;color:#6f7a8c;font-size:10px;font-weight:700;background:#fafbfc;padding:10px;border-bottom:1px solid var(--bfad-border);white-space:nowrap}.bfad-table td{padding:10px;border-bottom:1px solid #f0f2f5;vertical-align:middle}.bfad-table td small{display:block;color:var(--bfad-muted);font-size:9px;margin-top:3px}.bfad-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:9px;background:#eef1f5}.status-processing,.status-completed{background:#e7f8ee;color:#187545}.status-on-hold,.status-pending{background:#fff5dc;color:#8a6200}
.bfad-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border-radius:7px;padding:7px 10px;font-size:10px;font-weight:700;border:1px solid var(--bfad-border);white-space:nowrap}.bfad-btn.primary{background:var(--bfad-blue);color:#fff;border-color:var(--bfad-blue)}.bfad-btn.light{background:#fff;color:var(--bfad-blue);border-color:#cfe0f5}.bfad-btn.danger{background:#fff1f1;color:#b42318;border-color:#ffd4d1}.bfad-actions{display:flex;gap:6px;flex-wrap:wrap}
.bfad-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bfad-product{border:1px solid var(--bfad-border);border-radius:12px;overflow:hidden;background:#fff}.bfad-product img,.bfad-img-placeholder{width:100%;aspect-ratio:16/10;object-fit:cover;background:#f1f4f8}.bfad-img-placeholder{display:flex;align-items:center;justify-content:center}.bfad-product>div:last-child{padding:12px}.bfad-product h4{font-size:12px;margin:0 0 5px}.bfad-product p{font-size:9px;color:var(--bfad-muted);margin:0 0 9px}
.bfad-integration{max-width:620px;background:#fff;border:1px solid var(--bfad-border);border-radius:14px;padding:28px;text-align:center;margin:auto}.bfad-integration .bfad-icon .dashicons{width:52px;height:52px;line-height:52px;background:#edf5ff;color:var(--bfad-blue);border-radius:14px}.bfad-integration h3{margin:12px 0 6px}.bfad-integration p{font-size:11px;line-height:1.7;color:var(--bfad-muted)}.bfad-integration .bfad-actions{justify-content:center}
.bfad-setting-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--bfad-border);font-size:11px}.bfad-setting-row code{font-size:9px}.bfad-notice,.bfad-empty,.bfad-login,.bfad-denied{padding:13px 15px;border-radius:10px;margin-bottom:14px;font-size:11px}.bfad-notice.success{background:#e9f8ef;color:#176b3b}.bfad-notice.warning{background:#fff4df;color:#805900}.bfad-empty{background:#fafbfc;color:var(--bfad-muted);text-align:center}.bfad-login,.bfad-denied{background:#fff;border:1px solid var(--bfad-border)}
@media(max-width:900px){.bfad-cards{grid-template-columns:repeat(2,1fr)}.bfad-product-grid{grid-template-columns:repeat(2,1fr)}.bfad-sidebar{position:fixed;left:-250px;top:0;bottom:0;z-index:100;width:220px;transition:.2s;box-shadow:12px 0 30px rgba(20,35,60,.15)}.bfad-shell.menu-open .bfad-sidebar{left:0}.bfad-menu-toggle{display:block}.bfad-topbar{padding:13px 14px}.bfad-content{padding:13px}}
@media(max-width:560px){.bfad-shell{border-radius:12px}.bfad-topbar h1{font-size:16px}.bfad-topbar p{display:none}.bfad-user span{display:none}.bfad-cards{grid-template-columns:repeat(2,1fr);gap:8px}.bfad-card{padding:11px}.bfad-card>.dashicons{width:32px;height:32px;line-height:32px}.bfad-card strong{font-size:18px}.bfad-product-grid{grid-template-columns:1fr}.bfad-content{padding:10px}.bfad-panel{padding:11px}.bfad-table{font-size:10px}.bfad-table th,.bfad-table td{padding:8px}.bfad-btn{padding:6px 8px}.bfad-setting-row{flex-direction:column}.bfad-integration{padding:20px 14px}}

/* v1.1 - CRM/Mailbox native frontend bridge */
.bfad-module-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px;background:#fff;border:1px solid var(--bfad-border);border-radius:11px;padding:8px}
.bfad-module-tabs a{display:inline-flex;align-items:center;text-decoration:none;color:#4a566b;border-radius:7px;padding:7px 10px;font-size:10px;font-weight:700}
.bfad-module-tabs a:hover,.bfad-module-tabs a.active{background:#edf5ff;color:var(--bfad-blue)}
.bfad-native-module{background:#fff;border:1px solid var(--bfad-border);border-radius:13px;padding:15px;overflow:auto}
.bfad-native-module h1,.bfad-native-module h2,.bfad-native-module h3{font-family:Tahoma,Arial,sans-serif}
.bfad-native-module .button,.bfad-native-module .button-primary,.bfad-native-module button,.bfad-native-module input[type=submit]{min-height:30px;border-radius:7px!important;font-size:11px!important;line-height:1.2!important}
.bfad-native-module .button-primary,.bfad-native-module input[type=submit].button-primary{background:var(--bfad-blue)!important;border-color:var(--bfad-blue)!important;color:#fff!important}
.bfad-native-module table{font-size:11px}
.bfad-native-module th,.bfad-native-module td{padding:8px 10px}
@media(max-width:560px){.bfad-module-tabs{flex-wrap:nowrap;overflow:auto}.bfad-module-tabs a{white-space:nowrap}.bfad-native-module{padding:10px}}

/* v1.2 - unified slim frontend app */
.bfad-shell{border-radius:14px;box-shadow:0 8px 24px rgba(15,35,70,.055);min-height:82vh}
.bfad-sidebar{width:210px;padding:14px 10px}.bfad-brand{padding:5px 7px 14px}.bfad-brand>.dashicons{width:30px;height:30px;line-height:30px;border-radius:8px}.bfad-brand strong{font-size:13px}.bfad-brand small{font-size:9px}
.bfad-nav{gap:2px}.bfad-nav a,.bfad-side-footer a{padding:8px 9px;border-radius:7px;font-size:11px;gap:8px}.bfad-nav .dashicons,.bfad-side-footer .dashicons{font-size:17px;width:18px;height:18px}
.bfad-topbar{padding:12px 16px}.bfad-topbar h1{font-size:17px}.bfad-topbar p{font-size:10px;margin-top:2px}.bfad-content{padding:14px}
.bfad-panel{border-radius:10px;padding:13px}.bfad-panel-head{margin-bottom:10px}.bfad-panel-head h3,.bfad-panel h3{font-size:12px}.bfad-panel-head small{display:block;color:var(--bfad-muted);font-size:9px;margin-top:2px}
.bfad-card{border-radius:10px;padding:12px}.bfad-card>.dashicons{width:32px;height:32px;line-height:32px;border-radius:8px}.bfad-card strong{font-size:18px}.bfad-card small{font-size:9px}
.bfad-table{font-size:10px}.bfad-table th{padding:8px;font-size:9px}.bfad-table td{padding:8px}.bfad-btn{border-radius:6px;padding:6px 9px;font-size:9px}
.bfad-module-tabs{padding:6px;border-radius:9px;gap:4px;margin-bottom:10px}.bfad-module-tabs a{padding:6px 9px;font-size:9px;border-radius:6px}.bfad-native-module{border-radius:10px;padding:12px;box-shadow:none}
.bfad-native-module .wrap{max-width:none!important}.bfad-native-module h1{font-size:17px!important}.bfad-native-module h2{font-size:14px!important}.bfad-native-module h3{font-size:12px!important}.bfad-native-module p,.bfad-native-module li,.bfad-native-module label{font-size:10px!important}
.bfad-native-module table,.bfad-native-module .widefat,.bfad-native-module .wp-list-table{border:1px solid var(--bfad-border)!important;border-radius:8px!important;box-shadow:none!important;background:#fff!important}
.bfad-native-module table th,.bfad-native-module table td{font-size:10px!important;padding:7px 8px!important;border-color:#edf0f4!important}.bfad-native-module table th{background:#fafbfc!important;color:#647086!important}
.bfad-native-module input[type=text],.bfad-native-module input[type=email],.bfad-native-module input[type=number],.bfad-native-module input[type=password],.bfad-native-module input[type=url],.bfad-native-module input[type=search],.bfad-native-module input[type=date],.bfad-native-module input[type=datetime-local],.bfad-native-module select,.bfad-native-module textarea,.bfad-form input,.bfad-form select,.bfad-form textarea{min-height:32px!important;border:1px solid #dfe5ec!important;border-radius:6px!important;background:#fff!important;padding:6px 8px!important;font:10px Tahoma,Arial,sans-serif!important;box-shadow:none!important;outline:none!important}
.bfad-native-module textarea,.bfad-form textarea{min-height:100px!important}.bfad-native-module input:focus,.bfad-native-module select:focus,.bfad-native-module textarea:focus,.bfad-form input:focus,.bfad-form select:focus{border-color:#9fc4f4!important;box-shadow:0 0 0 2px rgba(18,102,214,.08)!important}
.bfad-native-module .button,.bfad-native-module .button-primary,.bfad-native-module button,.bfad-native-module input[type=submit]{min-height:29px!important;padding:5px 9px!important;border-radius:6px!important;font-size:9px!important;box-shadow:none!important}
.bfad-native-module .page-title-action{padding:5px 8px!important;border-radius:6px!important;font-size:9px!important;background:#f4f8fd!important;border:1px solid #dbe7f6!important;color:var(--bfad-blue)!important}
.bfad-native-module .tablenav,.bfad-native-module .subsubsub{font-size:9px!important}.bfad-native-module .subsubsub a{font-size:9px!important}
.bfad-native-module .notice,.bfad-native-module .updated,.bfad-native-module .error{padding:8px 10px!important;border-radius:7px!important;font-size:10px!important;box-shadow:none!important}
.bfad-breadcrumb{margin:0 0 9px}.bfad-breadcrumb a{font-size:10px;text-decoration:none;color:var(--bfad-blue)}.bfad-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px}.bfad-info-list{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.bfad-info-list>div{padding:8px 0;border-bottom:1px solid #eef1f5}.bfad-info-list span{display:block;font-size:8px;color:var(--bfad-muted);margin-bottom:2px}.bfad-info-list strong{font-size:10px;font-weight:600}.bfad-form{display:flex;flex-direction:column;gap:10px}.bfad-form label{display:flex;flex-direction:column;gap:5px}.bfad-form label>span{font-size:9px;font-weight:700;color:#4c586b}.bfad-form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.bfad-form-actions{display:flex;justify-content:flex-end;padding-top:3px}
@media(max-width:760px){.bfad-detail-grid{grid-template-columns:1fr}.bfad-form-row{grid-template-columns:1fr}.bfad-info-list{grid-template-columns:1fr}}

/* v1.2.1 - Order detail */
.bfad-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #e8edf5;border-radius:14px;padding:18px 20px;margin-bottom:14px;box-shadow:0 3px 14px rgba(15,23,42,.035)}
.bfad-detail-hero small{display:block;font-size:10px;font-weight:700;letter-spacing:.09em;color:#94a3b8;margin-bottom:3px}.bfad-detail-hero h2{font-size:22px;line-height:1.2;margin:0;color:#0f172a}.bfad-detail-hero p{font-size:12px;color:#64748b;margin:4px 0 0}.bfad-detail-hero-right{display:flex;align-items:flex-end;flex-direction:column;gap:8px}.bfad-detail-hero-right>strong{font-size:20px;color:#0f172a}.bfad-address{font-size:13px;line-height:1.75;color:#334155}.bfad-order-note{font-size:13px;line-height:1.7;color:#334155;background:#f8fafc;border:1px solid #edf2f7;border-radius:9px;padding:12px 14px}.bfad-order-timeline{display:flex;flex-direction:column}.bfad-order-timeline-item{position:relative;display:flex;gap:11px;padding:4px 0 14px 2px}.bfad-order-timeline-item:not(:last-child):before{content:"";position:absolute;left:6px;top:13px;bottom:-2px;width:1px;background:#e2e8f0}.bfad-order-dot{position:relative;z-index:1;width:9px;height:9px;border-radius:50%;background:#2563eb;margin-top:5px;flex:0 0 9px}.bfad-order-timeline-item strong{display:block;font-size:12px;font-weight:600;color:#334155;line-height:1.55}.bfad-order-timeline-item small{display:block;margin-top:3px;font-size:10px;color:#94a3b8}.bfad-info-list a{color:#2563eb;text-decoration:none}.bfad-info-list a:hover{text-decoration:underline}.bfad-table tfoot td{background:#fbfdff;border-top:1px solid #eef2f7}
@media(max-width:720px){.bfad-detail-hero{align-items:flex-start}.bfad-detail-hero-right>strong{font-size:16px}.bfad-detail-hero h2{font-size:19px}}

/* v1.3.0 — Order editor */
.bfad-order-editor{display:block}
.bfad-order-editor .bfad-panel{margin-bottom:14px}
.bfad-order-top-fields{grid-template-columns:minmax(180px,.8fr) minmax(220px,1.2fr) minmax(180px,1fr)}
.bfad-order-editor label,.bfad-address-form label,.bfad-full-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600;color:#475569}
.bfad-order-editor input,.bfad-order-editor select,.bfad-order-editor textarea,.bfad-address-form input,.bfad-address-form select,.bfad-address-form textarea{width:100%;min-height:38px;border:1px solid #dbe3ec;border-radius:8px;background:#fff;padding:8px 10px;font-size:13px;line-height:1.35;box-shadow:none;outline:none;box-sizing:border-box}
.bfad-order-editor textarea,.bfad-address-form textarea{min-height:82px;resize:vertical}
.bfad-order-editor input:focus,.bfad-order-editor select:focus,.bfad-order-editor textarea:focus,.bfad-address-form input:focus{border-color:#94a3b8;box-shadow:0 0 0 2px rgba(148,163,184,.12)}
.bfad-address-form{display:flex;flex-direction:column;gap:10px}
.bfad-address-form .bfad-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bfad-full-field{width:100%}
.bfad-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;font-weight:500!important}
.bfad-check input{width:16px!important;min-height:16px!important;margin:0}
.bfad-sticky-actions{position:sticky;bottom:10px;z-index:20;display:flex;gap:8px;justify-content:flex-end;padding:10px 12px;margin:8px 0 16px;border:1px solid #e2e8f0;border-radius:10px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(15,23,42,.08);backdrop-filter:blur(8px)}
@media(max-width:900px){.bfad-order-top-fields,.bfad-address-form .bfad-form-row{grid-template-columns:1fr}.bfad-sticky-actions{position:static;justify-content:stretch}.bfad-sticky-actions .bfad-btn{flex:1;text-align:center;justify-content:center}}

/* v1.3.1 - Approval workshop title */
.bfad-workshop-title{font-weight:600;line-height:1.35;max-width:260px}.bfad-workshop-title+small{margin-top:4px;color:#64748b}.bfad-table td a{color:inherit}.bfad-table td small a{text-decoration:none;color:#2563eb;font-weight:600}

/* v1.4.0 - CRM frontend aligned with Biizaa CRM */
.bfad-content:has(.bfad-crm-tabs){padding-top:10px}
.bfad-module-tabs{position:relative;display:flex;align-items:center;gap:3px;flex-wrap:wrap;padding:4px;margin-bottom:9px;border:1px solid #dbe5f2;border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(16,54,100,.025)}
.bfad-module-tabs a{min-height:29px;padding:6px 9px;border-radius:6px;font-size:10.5px;line-height:1;font-weight:600;color:#4b5b72;white-space:nowrap}
.bfad-module-tabs a:hover,.bfad-module-tabs a.active{background:#eaf3ff;color:#0b63ce;font-weight:700}
.bfad-native-module{padding:10px;border-color:#dbe5f2;border-radius:9px;background:#fff;overflow-x:auto;box-shadow:0 1px 3px rgba(28,65,112,.035)}
.bfad-native-module .wrap{margin:0!important;padding:0!important;max-width:none!important}
.bfad-native-module .wrap>h1:first-child,.bfad-native-module .wrap>h2:first-child{margin:0 0 9px!important;padding:0!important;font-size:17px!important;line-height:1.25!important;color:#172033!important}
.bfad-native-module .card,.bfad-native-module .panel,.bfad-native-module .postbox{border:1px solid #dbe5f2!important;border-radius:9px!important;box-shadow:0 1px 3px rgba(28,65,112,.035)!important;background:#fff!important}
.bfad-native-module .inside{margin:0!important;padding:10px!important}
.bfad-native-module table,.bfad-native-module .widefat,.bfad-native-module .wp-list-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #e1e8f1!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important}
.bfad-native-module table thead th,.bfad-native-module .wp-list-table thead th{padding:7px 8px!important;background:#f7f9fc!important;border-bottom:1px solid #e5ebf2!important;color:#657287!important;font-size:9.5px!important;line-height:1.25!important;font-weight:700!important;white-space:nowrap!important}
.bfad-native-module table tbody td,.bfad-native-module .wp-list-table tbody td{padding:7px 8px!important;border-bottom:1px solid #eef2f6!important;font-size:10.5px!important;line-height:1.4!important;vertical-align:middle!important}
.bfad-native-module table tbody tr:last-child td{border-bottom:0!important}.bfad-native-module table tbody tr:hover td{background:#fafcff!important}
.bfad-native-module .row-actions{padding-top:3px!important;font-size:9px!important;opacity:.8}.bfad-native-module tr:hover .row-actions{opacity:1}
.bfad-native-module input[type=text],.bfad-native-module input[type=email],.bfad-native-module input[type=number],.bfad-native-module input[type=tel],.bfad-native-module input[type=url],.bfad-native-module input[type=search],.bfad-native-module input[type=date],.bfad-native-module input[type=datetime-local],.bfad-native-module select,.bfad-native-module textarea{min-height:32px!important;height:auto!important;padding:6px 8px!important;border:1px solid #cfd9e6!important;border-radius:6px!important;background:#fff!important;font:11px/1.3 Tahoma,Arial,sans-serif!important;color:#243044!important;box-shadow:none!important}
.bfad-native-module textarea{min-height:72px!important;resize:vertical!important}.bfad-native-module input:focus,.bfad-native-module select:focus,.bfad-native-module textarea:focus{border-color:#88b7ef!important;box-shadow:0 0 0 2px rgba(11,99,206,.08)!important;outline:0!important}
.bfad-native-module .button,.bfad-native-module button,.bfad-native-module input[type=submit]{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;height:auto!important;padding:6px 9px!important;border-radius:6px!important;border:1px solid #d4deea!important;background:#fff!important;color:#40506a!important;font-size:10.5px!important;font-weight:600!important;line-height:1!important;box-shadow:none!important;text-decoration:none!important}
.bfad-native-module .button-primary,.bfad-native-module input[type=submit].button-primary,.bfad-native-module button.button-primary{background:#0b63ce!important;border-color:#0b63ce!important;color:#fff!important}
.bfad-native-module .button:hover,.bfad-native-module button:hover{border-color:#a9bfd8!important;color:#0b63ce!important}.bfad-native-module .button-primary:hover{background:#095bbd!important;color:#fff!important}
.bfad-native-module .tablenav{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:34px!important;height:auto!important;margin:6px 0!important;font-size:9.5px!important}.bfad-native-module .tablenav .actions{padding:0!important}.bfad-native-module .search-box{margin:0 0 8px!important}
.bfad-native-module .subsubsub{float:none!important;margin:0 0 7px!important;padding:0!important;font-size:9.5px!important}.bfad-native-module .subsubsub a{font-size:9.5px!important}
.bfad-native-module .notice,.bfad-native-module .updated,.bfad-native-module .error{margin:0 0 8px!important;padding:8px 10px!important;border:1px solid #dde6f0!important;border-left-width:3px!important;border-radius:7px!important;background:#fbfdff!important;font-size:10.5px!important;box-shadow:none!important}
/* Classes used by newer Biizaa CRM builds */
.bfad-native-module .crm-ui{--crm-blue:#0b63ce;--crm-blue2:#2f80ed;--crm-line:#dbe5f2;--crm-soft:#f5f9ff;--crm-ink:#172033;max-width:100%;overflow-x:hidden}
.bfad-native-module .crm-ui,.bfad-native-module .crm-ui *{box-sizing:border-box}
.bfad-native-module .crm-commandbar{display:flex;align-items:center;gap:3px;flex-wrap:wrap;background:#fff;border:1px solid var(--crm-line);border-radius:8px;padding:4px;margin:0 0 9px;box-shadow:none}
.bfad-native-module .crm-command{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 8px;border-radius:6px;font-size:10.5px;font-weight:600;color:#4b5b72;text-decoration:none;white-space:nowrap}
.bfad-native-module .crm-command:hover,.bfad-native-module .crm-command.active{background:#eaf3ff;color:var(--crm-blue)}
.bfad-native-module .crm-ui .grid{gap:8px!important}.bfad-native-module .crm-ui .card{min-width:0;border-radius:8px!important;border-color:var(--crm-line)!important;box-shadow:0 1px 3px rgba(28,65,112,.04)!important}.bfad-native-module .crm-ui .stat{padding:10px!important}.bfad-native-module .crm-ui .stat .value{font-size:20px!important;line-height:1.1!important}.bfad-native-module .crm-ui .stat .label{font-size:9px!important}.bfad-native-module .crm-ui .stat .hint,.bfad-native-module .crm-ui .muted{font-size:9.5px!important;color:#6c788a!important}.bfad-native-module .crm-ui .panel{padding:11px!important;margin-top:8px!important}.bfad-native-module .crm-ui .panel h2{font-size:13px!important;margin:0 0 8px!important}
.bfad-native-module .crm-ui .table-wrap{width:100%;overflow-x:auto;border-radius:7px}.bfad-native-module .crm-ui .table{min-width:620px;font-size:10.5px!important}.bfad-native-module .crm-ui .badge{display:inline-flex;align-items:center;border-radius:5px;padding:3px 6px;font-size:9.5px!important;font-weight:650}
@media(max-width:700px){.bfad-module-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.bfad-module-tabs::-webkit-scrollbar{display:none}.bfad-module-tabs a{flex:0 0 auto}.bfad-native-module{padding:8px}.bfad-native-module .crm-commandbar{flex-wrap:nowrap;overflow-x:auto}.bfad-native-module .crm-command{flex:0 0 auto}.bfad-native-module .crm-ui .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bfad-native-module .crm-ui .table{min-width:560px}}
.bfad-diagnostics{margin-top:12px;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px}.bfad-diagnostics summary{cursor:pointer;font-weight:650;color:#334155}.bfad-diagnostics ul{margin:8px 0 0 18px;padding:0}.bfad-diagnostics li{margin:3px 0;font-size:12px;color:#64748b}.bfad-diagnostics code{font-size:11px;color:#0f172a}

/* v1.6.0 - Professional CRM frontend skin (visual layer only) */
.bfad-native-module{
  --crm-primary:#1769d2;
  --crm-primary-soft:#eef5ff;
  --crm-text:#182230;
  --crm-text-2:#475467;
  --crm-muted:#667085;
  --crm-line:#e4e7ec;
  --crm-line-soft:#f0f2f5;
  --crm-surface:#fff;
  --crm-surface-2:#f8fafc;
  color:var(--crm-text);
}
.bfad-native-module,.bfad-native-module *{box-sizing:border-box}
.bfad-native-module .wrap{font-family:Tahoma,Arial,sans-serif!important;color:var(--crm-text)!important}
.bfad-native-module a{color:var(--crm-primary);text-decoration:none}
.bfad-native-module a:hover{text-decoration:none}

/* Page title / toolbar */
.bfad-native-module .wp-heading-inline,
.bfad-native-module .wrap>h1:first-child,
.bfad-native-module .wrap>h2:first-child{
  display:inline-flex!important;align-items:center!important;margin:0 8px 12px 0!important;
  padding:0!important;font-size:18px!important;font-weight:700!important;letter-spacing:-.2px!important;color:var(--crm-text)!important;
}
.bfad-native-module .page-title-action{
  min-height:31px!important;padding:7px 10px!important;border:1px solid #cfd8e3!important;border-radius:7px!important;
  background:#fff!important;color:#344054!important;font-size:10.5px!important;font-weight:700!important;box-shadow:none!important;
}
.bfad-native-module .page-title-action:hover{border-color:#9fb7d3!important;background:#f8fbff!important;color:var(--crm-primary)!important}

/* CRM frontend secondary navigation */
.bfad-crm-tabs,.bfad-module-tabs{
  gap:4px!important;padding:5px!important;border:1px solid #e0e7ef!important;border-radius:10px!important;
  background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.03)!important;
}
.bfad-crm-tabs a,.bfad-module-tabs a{
  min-height:31px!important;padding:7px 10px!important;border-radius:7px!important;font-size:10.5px!important;font-weight:600!important;color:#475467!important;
}
.bfad-crm-tabs a:hover,.bfad-crm-tabs a.active,.bfad-module-tabs a:hover,.bfad-module-tabs a.active{
  background:var(--crm-primary-soft)!important;color:var(--crm-primary)!important;box-shadow:inset 0 0 0 1px rgba(23,105,210,.04)!important;
}

/* Generic CRM panels/cards */
.bfad-native-module .card,
.bfad-native-module .postbox,
.bfad-native-module .panel,
.bfad-native-module .crm-card,
.bfad-native-module .crm-panel{
  border:1px solid var(--crm-line)!important;border-radius:10px!important;background:#fff!important;
  box-shadow:0 1px 3px rgba(16,24,40,.035)!important;overflow:hidden;
}
.bfad-native-module .postbox .hndle,
.bfad-native-module .postbox-header,
.bfad-native-module .crm-panel-header{
  margin:0!important;padding:10px 12px!important;border-bottom:1px solid var(--crm-line)!important;background:#fbfcfe!important;
  font-size:11.5px!important;font-weight:700!important;color:#344054!important;
}
.bfad-native-module .inside,.bfad-native-module .crm-card-body,.bfad-native-module .crm-panel-body{padding:12px!important}

/* Commandbars / toolbar / filters */
.bfad-native-module .crm-commandbar,
.bfad-native-module .crm-toolbar,
.bfad-native-module .toolbar,
.bfad-native-module .filters,
.bfad-native-module .filter-bar{
  display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;
  margin:0 0 10px!important;padding:7px!important;border:1px solid var(--crm-line)!important;border-radius:9px!important;background:#fbfcfe!important;
}
.bfad-native-module .crm-command{
  min-height:30px!important;padding:6px 9px!important;border:1px solid transparent!important;border-radius:6px!important;
  color:#475467!important;font-size:10.5px!important;font-weight:650!important;background:transparent!important;
}
.bfad-native-module .crm-command:hover,.bfad-native-module .crm-command.active{background:#fff!important;border-color:#dce6f1!important;color:var(--crm-primary)!important}

/* Search/filter area */
.bfad-native-module .search-box{display:flex!important;align-items:center!important;gap:6px!important;float:none!important;margin:0 0 10px!important}
.bfad-native-module .search-box input[type=search],.bfad-native-module .search-box input[type=text]{min-width:220px!important}
.bfad-native-module .tablenav{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important;margin:7px 0!important;padding:0!important;min-height:32px!important}
.bfad-native-module .tablenav .actions{display:flex!important;align-items:center!important;gap:5px!important;padding:0!important}
.bfad-native-module .tablenav-pages{font-size:9.5px!important;color:var(--crm-muted)!important}
.bfad-native-module .subsubsub{display:flex!important;align-items:center!important;gap:3px!important;flex-wrap:wrap!important;float:none!important;margin:0 0 9px!important;padding:0!important}
.bfad-native-module .subsubsub li{margin:0!important;color:#98a2b3!important;font-size:9.5px!important}
.bfad-native-module .subsubsub a{display:inline-flex!important;align-items:center!important;padding:4px 7px!important;border-radius:6px!important;color:#667085!important;font-size:9.5px!important}
.bfad-native-module .subsubsub a.current,.bfad-native-module .subsubsub a:hover{background:#f2f6fb!important;color:var(--crm-primary)!important}

/* Tables */
.bfad-native-module .wp-list-table,
.bfad-native-module table.widefat,
.bfad-native-module .crm-table,
.bfad-native-module .crm-ui .table{
  width:100%!important;border:1px solid var(--crm-line)!important;border-radius:9px!important;border-spacing:0!important;border-collapse:separate!important;
  overflow:hidden!important;background:#fff!important;box-shadow:none!important;
}
.bfad-native-module .wp-list-table thead th,
.bfad-native-module table.widefat thead th,
.bfad-native-module .crm-table thead th,
.bfad-native-module .crm-ui .table thead th{
  padding:8px 9px!important;border:0!important;border-bottom:1px solid var(--crm-line)!important;background:#f8fafc!important;
  color:#667085!important;font-size:9.5px!important;font-weight:700!important;letter-spacing:.01em!important;vertical-align:middle!important;white-space:nowrap!important;
}
.bfad-native-module .wp-list-table tbody td,
.bfad-native-module .wp-list-table tbody th,
.bfad-native-module table.widefat tbody td,
.bfad-native-module .crm-table tbody td,
.bfad-native-module .crm-ui .table tbody td{
  padding:8px 9px!important;border:0!important;border-bottom:1px solid var(--crm-line-soft)!important;background:#fff!important;
  color:#344054!important;font-size:10.5px!important;line-height:1.45!important;vertical-align:middle!important;
}
.bfad-native-module .wp-list-table tbody tr:last-child td,.bfad-native-module .wp-list-table tbody tr:last-child th,
.bfad-native-module .crm-table tbody tr:last-child td{border-bottom:0!important}
.bfad-native-module .wp-list-table tbody tr:hover td,.bfad-native-module .wp-list-table tbody tr:hover th,
.bfad-native-module .crm-table tbody tr:hover td{background:#fbfdff!important}
.bfad-native-module .column-primary strong,.bfad-native-module td strong{font-weight:700;color:#243044}
.bfad-native-module .row-actions{margin-top:2px!important;padding:0!important;font-size:9px!important;line-height:1.5!important;color:#98a2b3!important}
.bfad-native-module .row-actions a{font-size:9px!important;font-weight:600!important}
.bfad-native-module .check-column{width:30px!important;text-align:center!important}
.bfad-native-module input[type=checkbox]{width:15px!important;height:15px!important;min-width:15px!important;margin:0!important;border:1px solid #cbd5e1!important;border-radius:4px!important;box-shadow:none!important}

/* Forms */
.bfad-native-module .form-table{border:0!important;background:transparent!important;box-shadow:none!important}
.bfad-native-module .form-table th,.bfad-native-module .form-table td{border:0!important;background:transparent!important;padding:7px 8px!important;vertical-align:top!important}
.bfad-native-module .form-table th{width:180px!important;color:#475467!important;font-size:10.5px!important;font-weight:700!important}
.bfad-native-module label{color:#475467!important;font-size:10.5px!important;font-weight:600}
.bfad-native-module input[type=text],.bfad-native-module input[type=email],.bfad-native-module input[type=number],
.bfad-native-module input[type=tel],.bfad-native-module input[type=url],.bfad-native-module input[type=password],
.bfad-native-module input[type=search],.bfad-native-module input[type=date],.bfad-native-module input[type=datetime-local],
.bfad-native-module input[type=time],.bfad-native-module select,.bfad-native-module textarea{
  min-height:34px!important;padding:7px 9px!important;border:1px solid #d0d5dd!important;border-radius:7px!important;background:#fff!important;
  color:#344054!important;font:10.5px/1.35 Tahoma,Arial,sans-serif!important;box-shadow:0 1px 2px rgba(16,24,40,.02)!important;outline:none!important;
}
.bfad-native-module textarea{min-height:78px!important}
.bfad-native-module input:focus,.bfad-native-module select:focus,.bfad-native-module textarea:focus{border-color:#84adE6!important;box-shadow:0 0 0 3px rgba(23,105,210,.08)!important}
.bfad-native-module .description,.bfad-native-module p.description{margin-top:4px!important;color:#98a2b3!important;font-size:9px!important;line-height:1.45!important}

/* Buttons */
.bfad-native-module .button,.bfad-native-module button,.bfad-native-module input[type=submit],
.bfad-native-module input[type=button]{
  min-height:31px!important;padding:6px 10px!important;border:1px solid #d0d5dd!important;border-radius:7px!important;background:#fff!important;
  color:#344054!important;font-size:10px!important;font-weight:700!important;line-height:1.1!important;box-shadow:0 1px 2px rgba(16,24,40,.02)!important;text-shadow:none!important;
}
.bfad-native-module .button:hover,.bfad-native-module button:hover,.bfad-native-module input[type=button]:hover{border-color:#aebed0!important;background:#f8fafc!important;color:var(--crm-primary)!important}
.bfad-native-module .button-primary,.bfad-native-module button.button-primary,.bfad-native-module input[type=submit].button-primary,
.bfad-native-module input[type=submit]:not(.button-secondary){background:var(--crm-primary)!important;border-color:var(--crm-primary)!important;color:#fff!important;box-shadow:none!important}
.bfad-native-module .button-primary:hover,.bfad-native-module input[type=submit]:not(.button-secondary):hover{background:#125dbb!important;border-color:#125dbb!important;color:#fff!important}

/* Notices / badges */
.bfad-native-module .notice,.bfad-native-module .updated,.bfad-native-module .error{
  margin:0 0 10px!important;padding:9px 11px!important;border:1px solid #dfe6ee!important;border-left:3px solid #84adE6!important;border-radius:8px!important;
  background:#fbfdff!important;color:#475467!important;font-size:10px!important;box-shadow:none!important;
}
.bfad-native-module .notice-success,.bfad-native-module .updated{border-left-color:#32a467!important;background:#f6fef9!important}
.bfad-native-module .notice-error,.bfad-native-module .error{border-left-color:#d92d20!important;background:#fffafa!important}
.bfad-native-module .badge,.bfad-native-module .crm-badge,.bfad-native-module [class*="status-"]{
  display:inline-flex;align-items:center;min-height:20px;padding:3px 7px;border-radius:999px;font-size:9px!important;font-weight:700!important;line-height:1!important;
}

/* CRM dashboard/stat cards */
.bfad-native-module .crm-ui .grid,.bfad-native-module .crm-stats,.bfad-native-module .stats-grid{gap:9px!important}
.bfad-native-module .crm-ui .stat,.bfad-native-module .crm-stat,.bfad-native-module .stat-card{
  padding:11px!important;border:1px solid var(--crm-line)!important;border-radius:9px!important;background:#fff!important;box-shadow:0 1px 3px rgba(16,24,40,.03)!important;
}
.bfad-native-module .crm-ui .stat .value,.bfad-native-module .crm-stat .value,.bfad-native-module .stat-card .value{font-size:20px!important;font-weight:750!important;color:#1d2939!important}
.bfad-native-module .crm-ui .stat .label,.bfad-native-module .crm-stat .label,.bfad-native-module .stat-card .label{font-size:9.5px!important;font-weight:600!important;color:#667085!important}

/* Pipeline / kanban */
.bfad-native-module .kanban,.bfad-native-module .pipeline-board,.bfad-native-module .crm-kanban{
  display:flex!important;align-items:flex-start!important;gap:9px!important;overflow-x:auto!important;padding:2px 1px 8px!important;scrollbar-width:thin;
}
.bfad-native-module .kanban-column,.bfad-native-module .pipeline-column,.bfad-native-module .crm-kanban-column,
.bfad-native-module [class*="kanban-col"],.bfad-native-module [class*="pipeline-stage"]{
  min-width:245px!important;max-width:285px!important;border:1px solid var(--crm-line)!important;border-radius:10px!important;background:#f8fafc!important;overflow:hidden!important;
}
.bfad-native-module .kanban-column-header,.bfad-native-module .pipeline-column-header,.bfad-native-module .crm-kanban-header,
.bfad-native-module [class*="kanban-header"],.bfad-native-module [class*="stage-header"]{
  padding:9px 10px!important;border-bottom:1px solid var(--crm-line)!important;background:#f4f7fb!important;color:#344054!important;font-size:10.5px!important;font-weight:700!important;
}
.bfad-native-module .kanban-card,.bfad-native-module .pipeline-card,.bfad-native-module .crm-kanban-card,
.bfad-native-module [class*="kanban-card"],.bfad-native-module [class*="pipeline-card"]{
  margin:7px!important;padding:9px!important;border:1px solid #e0e7ef!important;border-radius:8px!important;background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.025)!important;
}

/* Hide wp-admin-only visual chrome when callback leaks it */
.bfad-native-module #screen-meta-links,.bfad-native-module #screen-meta,.bfad-native-module .screen-meta-toggle,
.bfad-native-module .wp-header-end,.bfad-native-module .update-nag,.bfad-native-module .wp-person a:empty{display:none!important}

@media(max-width:900px){
  .bfad-native-module .form-table th{width:140px!important}
  .bfad-native-module .search-box input[type=search],.bfad-native-module .search-box input[type=text]{min-width:160px!important}
}
@media(max-width:700px){
  .bfad-native-module{padding:8px!important;border-radius:9px!important}
  .bfad-native-module .wp-heading-inline,.bfad-native-module .wrap>h1:first-child,.bfad-native-module .wrap>h2:first-child{font-size:16px!important;margin-bottom:9px!important}
  .bfad-native-module .page-title-action{min-height:29px!important;padding:6px 8px!important}
  .bfad-native-module .form-table,.bfad-native-module .form-table tbody,.bfad-native-module .form-table tr,.bfad-native-module .form-table th,.bfad-native-module .form-table td{display:block!important;width:100%!important}
  .bfad-native-module .form-table th{padding:7px 0 3px!important}
  .bfad-native-module .form-table td{padding:0 0 9px!important}
  .bfad-native-module .tablenav{align-items:flex-start!important}
  .bfad-native-module .tablenav .actions{flex-wrap:wrap!important}
  .bfad-native-module .search-box{width:100%!important;align-items:stretch!important}
  .bfad-native-module .search-box input[type=search],.bfad-native-module .search-box input[type=text]{min-width:0!important;flex:1!important}
  .bfad-native-module .wp-list-table,.bfad-native-module table.widefat,.bfad-native-module .crm-table{min-width:650px!important}
}
.bfad-table-scroll{width:100%;overflow-x:auto;border-radius:9px;-webkit-overflow-scrolling:touch}.bfad-table-scroll>.wp-list-table,.bfad-table-scroll>table.widefat{margin:0!important}

/* v1.6.1 — CRM Ringkasan layout refinement */
.bfad-crm-dashboard{overflow:visible!important}
.bfad-crm-dashboard .wrap{max-width:none!important;width:100%!important}

/* Statistik: kartu selalu menjadi grid yang rapi dan seimbang */
.bfad-crm-dashboard .crm-ui .grid,
.bfad-crm-dashboard .crm-stats,
.bfad-crm-dashboard .stats-grid,
.bfad-crm-dashboard [class*="stat-grid"],
.bfad-crm-dashboard [class*="stats-grid"],
.bfad-crm-dashboard .dashboard-stats{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 12px!important;
  align-items:stretch!important;
}
.bfad-crm-dashboard .crm-ui .stat,
.bfad-crm-dashboard .crm-stat,
.bfad-crm-dashboard .stat-card,
.bfad-crm-dashboard [class*="stat-card"],
.bfad-crm-dashboard .dashboard-stat{
  min-width:0!important;
  width:100%!important;
  min-height:86px!important;
  height:100%!important;
  padding:13px 14px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
  border:1px solid #e3e9f0!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(16,24,40,.035)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.bfad-crm-dashboard .crm-ui .stat .value,
.bfad-crm-dashboard .crm-stat .value,
.bfad-crm-dashboard .stat-card .value,
.bfad-crm-dashboard [class*="stat-card"] .value{
  font-size:22px!important;
  line-height:1.1!important;
  font-weight:750!important;
  color:#172033!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.bfad-crm-dashboard .crm-ui .stat .label,
.bfad-crm-dashboard .crm-stat .label,
.bfad-crm-dashboard .stat-card .label,
.bfad-crm-dashboard [class*="stat-card"] .label{
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:650!important;
  color:#667085!important;
  white-space:normal!important;
}

/* Panel ringkasan: mengisi lebar container dan tidak saling menekan */
.bfad-crm-dashboard .crm-ui .panel,
.bfad-crm-dashboard .crm-panel,
.bfad-crm-dashboard .postbox,
.bfad-crm-dashboard .card{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.bfad-crm-dashboard .crm-ui .panel h2,
.bfad-crm-dashboard .crm-panel h2,
.bfad-crm-dashboard .postbox h2,
.bfad-crm-dashboard .card h2{
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
  margin:0!important;
}

/* Tabel ringkasan: auto-layout agar kolom mengikuti isi, namun tetap stabil */
.bfad-crm-dashboard .bfad-table-scroll,
.bfad-crm-dashboard .table-wrap,
.bfad-crm-dashboard .crm-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  border-radius:9px!important;
  -webkit-overflow-scrolling:touch;
}
.bfad-crm-dashboard table,
.bfad-crm-dashboard .widefat,
.bfad-crm-dashboard .wp-list-table,
.bfad-crm-dashboard .crm-table,
.bfad-crm-dashboard .crm-ui .table{
  width:100%!important;
  min-width:0!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.bfad-crm-dashboard table th,
.bfad-crm-dashboard table td,
.bfad-crm-dashboard .widefat th,
.bfad-crm-dashboard .widefat td,
.bfad-crm-dashboard .wp-list-table th,
.bfad-crm-dashboard .wp-list-table td{
  box-sizing:border-box!important;
  vertical-align:middle!important;
}
/* Kolom nomor / checkbox */
.bfad-crm-dashboard table th:first-child,
.bfad-crm-dashboard table td:first-child{
  width:42px!important;
  max-width:54px!important;
  white-space:nowrap!important;
}
/* Kolom utama diberi ruang terbesar */
.bfad-crm-dashboard table th:nth-child(2),
.bfad-crm-dashboard table td:nth-child(2){
  width:30%!important;
  min-width:150px!important;
}
/* Kolom data tengah proporsional */
.bfad-crm-dashboard table th:nth-child(n+3):not(:last-child),
.bfad-crm-dashboard table td:nth-child(n+3):not(:last-child){
  width:auto!important;
  min-width:90px!important;
}
/* Aksi jangan terlalu lebar */
.bfad-crm-dashboard table th:last-child,
.bfad-crm-dashboard table td:last-child{
  width:1%!important;
  min-width:92px!important;
  white-space:nowrap!important;
  text-align:right!important;
}
.bfad-crm-dashboard table td a,
.bfad-crm-dashboard table td strong{
  overflow-wrap:anywhere;
}
.bfad-crm-dashboard table td .button,
.bfad-crm-dashboard table td button,
.bfad-crm-dashboard table td .badge,
.bfad-crm-dashboard table td [class*="status-"]{
  white-space:nowrap!important;
}

/* Jika ringkasan memakai dua panel berdampingan */
.bfad-crm-dashboard .dashboard-grid,
.bfad-crm-dashboard .overview-grid,
.bfad-crm-dashboard .summary-grid,
.bfad-crm-dashboard [class*="dashboard-grid"],
.bfad-crm-dashboard [class*="overview-grid"]{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
}

@media(max-width:1100px){
  .bfad-crm-dashboard .crm-ui .grid,
  .bfad-crm-dashboard .crm-stats,
  .bfad-crm-dashboard .stats-grid,
  .bfad-crm-dashboard [class*="stat-grid"],
  .bfad-crm-dashboard [class*="stats-grid"],
  .bfad-crm-dashboard .dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .bfad-crm-dashboard .dashboard-grid,
  .bfad-crm-dashboard .overview-grid,
  .bfad-crm-dashboard .summary-grid,
  .bfad-crm-dashboard [class*="dashboard-grid"],
  .bfad-crm-dashboard [class*="overview-grid"]{grid-template-columns:1fr!important}
  .bfad-crm-dashboard table,
  .bfad-crm-dashboard .widefat,
  .bfad-crm-dashboard .wp-list-table,
  .bfad-crm-dashboard .crm-table,
  .bfad-crm-dashboard .crm-ui .table{min-width:620px!important}
}
@media(max-width:480px){
  .bfad-crm-dashboard .crm-ui .grid,
  .bfad-crm-dashboard .crm-stats,
  .bfad-crm-dashboard .stats-grid,
  .bfad-crm-dashboard [class*="stat-grid"],
  .bfad-crm-dashboard [class*="stats-grid"],
  .bfad-crm-dashboard .dashboard-stats{grid-template-columns:1fr!important}
  .bfad-crm-dashboard .crm-ui .stat,
  .bfad-crm-dashboard .crm-stat,
  .bfad-crm-dashboard .stat-card,
  .bfad-crm-dashboard [class*="stat-card"],
  .bfad-crm-dashboard .dashboard-stat{min-height:72px!important}
}

/* v1.6.2 — CRM Ringkasan: fixed KPI cards + wide notes table + pagination */
.bfad-crm-dashboard .bfad-crm-kpi-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 14px!important;
}
.bfad-crm-dashboard .bfad-crm-kpi-card{
  position:relative;
  min-width:0;
  min-height:94px;
  padding:14px 15px;
  border:1px solid #dfe7f1;
  border-radius:11px;
  background:#fff;
  box-shadow:0 1px 4px rgba(16,24,40,.04);
  display:flex;
  flex-direction:column;
  justify-content:center;
  box-sizing:border-box;
}
.bfad-crm-dashboard .bfad-crm-kpi-label{
  margin:0 0 6px;
  color:#667085;
  font-size:10px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:.01em;
}
.bfad-crm-dashboard .bfad-crm-kpi-value{
  color:#172033;
  font-size:25px;
  line-height:1;
  font-weight:780;
  letter-spacing:-.02em;
}
.bfad-crm-dashboard .bfad-crm-source-stat-hidden{display:none!important}

/* Catatan dibuat sebagai panel lebar penuh */
.bfad-crm-dashboard .bfad-crm-notes-panel{
  width:100%!important;
  max-width:none!important;
  grid-column:1/-1!important;
  display:block!important;
  box-sizing:border-box!important;
}
.bfad-crm-dashboard .bfad-crm-notes-panel .bfad-table-scroll,
.bfad-crm-dashboard .bfad-crm-notes-panel .table-wrap,
.bfad-crm-dashboard .bfad-crm-notes-panel .crm-table-wrap{
  width:100%!important;
  max-width:none!important;
}
.bfad-crm-dashboard .bfad-crm-notes-table{
  width:100%!important;
  min-width:760px!important;
  table-layout:auto!important;
}
.bfad-crm-dashboard .bfad-crm-notes-table th,
.bfad-crm-dashboard .bfad-crm-notes-table td{
  padding:10px 11px!important;
  line-height:1.4!important;
}
.bfad-crm-dashboard .bfad-crm-notes-table th:first-child,
.bfad-crm-dashboard .bfad-crm-notes-table td:first-child{
  width:auto!important;
  max-width:none!important;
}
.bfad-crm-dashboard .bfad-crm-notes-table td{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

.bfad-crm-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #edf1f5;
  box-sizing:border-box;
}
.bfad-crm-pagination-info{
  color:#667085;
  font-size:10px;
  font-weight:600;
}
.bfad-crm-pagination-pages{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
}
.bfad-crm-page-btn{
  min-width:30px;
  height:29px;
  padding:0 8px;
  border:1px solid #d9e1eb;
  border-radius:7px;
  background:#fff;
  color:#344054;
  font:inherit;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}
.bfad-crm-page-btn:hover{background:#f7f9fc;border-color:#cbd5e1}
.bfad-crm-page-btn.active{background:#1f6feb;border-color:#1f6feb;color:#fff}
.bfad-crm-page-btn:disabled{opacity:.4;cursor:default}

@media(max-width:1100px){
  .bfad-crm-dashboard .bfad-crm-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .bfad-crm-dashboard .bfad-crm-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bfad-crm-pagination{align-items:flex-start;flex-direction:column}
}
@media(max-width:420px){
  .bfad-crm-dashboard .bfad-crm-kpi-grid{grid-template-columns:1fr!important}
}

/* v1.6.3 CRM summary horizontal metrics */
.bfad-crm-summary-metrics,
.bfad-crm-kpi-grid,
.crm-summary-metrics,
.crm-kpi-grid,
.bfad-crm-summary-cards {
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100% !important;
  align-items:stretch !important;
}
.bfad-crm-summary-metrics > *,
.bfad-crm-kpi-grid > *,
.crm-summary-metrics > *,
.crm-kpi-grid > *,
.bfad-crm-summary-cards > * {
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
}
.bfad-crm-summary-metrics .bfad-stat-card,
.bfad-crm-kpi-grid .bfad-stat-card,
.bfad-crm-summary-cards .bfad-stat-card,
.crm-summary-metrics .card,
.crm-kpi-grid .card {
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-height:92px !important;
  padding:14px 16px !important;
  border:1px solid #e5e7eb !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:0 1px 2px rgba(15,23,42,.04) !important;
}
@media (max-width:900px){
  .bfad-crm-summary-metrics,.bfad-crm-kpi-grid,.crm-summary-metrics,.crm-kpi-grid,.bfad-crm-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
@media (max-width:640px){
  .bfad-crm-summary-metrics,.bfad-crm-kpi-grid,.crm-summary-metrics,.crm-kpi-grid,.bfad-crm-summary-cards{display:flex !important;overflow-x:auto !important;gap:8px !important;padding-bottom:4px !important;}
  .bfad-crm-summary-metrics > *,.bfad-crm-kpi-grid > *,.crm-summary-metrics > *,.crm-kpi-grid > *,.bfad-crm-summary-cards > *{flex:0 0 150px !important;}
}


/* v1.6.5 — CRM Ringkasan simplified table */
.bfad-crm-dashboard table.bfad-crm-summary-clean-table{
  width:100% !important;
  min-width:0 !important;
  table-layout:auto !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th,
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td{
  vertical-align:middle !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:not([style*="display: none"]),
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:not([style*="display: none"]){
  white-space:normal !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:first-child,
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:first-child{
  width:44% !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:nth-child(2),
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:nth-child(2){
  width:26% !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:last-child,
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:last-child{
  width:1% !important;
  white-space:nowrap !important;
}


/* v1.6.6 — CRM Ringkasan balanced widths after hiding Update */
.bfad-crm-dashboard table.bfad-crm-summary-clean-table{
  width:100% !important;
  table-layout:fixed !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th,
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td{
  padding:10px 12px !important;
  line-height:1.35 !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:not([style*="display: none"]),
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:not([style*="display: none"]){
  overflow-wrap:anywhere;
  word-break:normal;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:first-child,
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:first-child{
  width:34% !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:nth-child(2),
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:nth-child(2){
  width:26% !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:nth-child(3),
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:nth-child(3){
  width:22% !important;
}
.bfad-crm-dashboard table.bfad-crm-summary-clean-table th:last-child,
.bfad-crm-dashboard table.bfad-crm-summary-clean-table td:last-child{
  width:18% !important;
  white-space:nowrap !important;
}
@media (max-width: 900px){
  .bfad-crm-dashboard table.bfad-crm-summary-clean-table{
    min-width:760px !important;
    table-layout:auto !important;
  }
}


/* v1.6.7 — CRM Ringkasan: rebalance visible columns */
.bfad-crm-dashboard table.bfad-crm-semantic-widths{
  width:100% !important;
  table-layout:fixed !important;
}
.bfad-crm-dashboard table.bfad-crm-semantic-widths .bfad-col-nama{
  width:12% !important;
}
.bfad-crm-dashboard table.bfad-crm-semantic-widths .bfad-col-perusahaan{
  width:13% !important;
}
.bfad-crm-dashboard table.bfad-crm-semantic-widths .bfad-col-email{
  width:15% !important;
}
.bfad-crm-dashboard table.bfad-crm-semantic-widths .bfad-col-phone{
  width:18% !important;
}
.bfad-crm-dashboard table.bfad-crm-semantic-widths .bfad-col-catatan{
  width:42% !important;
}
.bfad-crm-dashboard table.bfad-crm-semantic-widths td.bfad-col-catatan,
.bfad-crm-dashboard table.bfad-crm-semantic-widths th.bfad-col-catatan{
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  line-height:1.45 !important;
}
.bfad-crm-dashboard table.bfad-crm-semantic-widths td.bfad-col-email,
.bfad-crm-dashboard table.bfad-crm-semantic-widths td.bfad-col-phone{
  overflow-wrap:anywhere !important;
}
@media (max-width: 1100px){
  .bfad-crm-dashboard table.bfad-crm-semantic-widths{
    min-width:980px !important;
    table-layout:fixed !important;
  }
}


/* v1.6.8 — Data Terbaru: compact Name/Company/Email to content */
.bfad-crm-dashboard table.bfad-data-terbaru-table{
  width:100% !important;
  table-layout:auto !important;
}
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-nama,
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-perusahaan,
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-email{
  width:1% !important;
  white-space:nowrap !important;
}
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-nama{
  max-width:150px !important;
}
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-perusahaan{
  max-width:180px !important;
}
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-email{
  max-width:220px !important;
}
.bfad-crm-dashboard table.bfad-data-terbaru-table td.bfad-dt-nama,
.bfad-crm-dashboard table.bfad-data-terbaru-table td.bfad-dt-perusahaan,
.bfad-crm-dashboard table.bfad-data-terbaru-table td.bfad-dt-email{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-phone{
  width:18% !important;
  white-space:nowrap !important;
}
.bfad-crm-dashboard table.bfad-data-terbaru-table .bfad-dt-catatan{
  width:auto !important;
  min-width:320px !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
@media (max-width:1100px){
  .bfad-crm-dashboard table.bfad-data-terbaru-table{
    min-width:980px !important;
  }
}


/* v1.7.7 — Full Lead workspace */
.bfad-lead-workspace-v177{
  width:100%;
  min-width:0;
}
.bfad-lead-workspace-v177 .wrap,
.bfad-lead-workspace-v177 .card,
.bfad-lead-workspace-v177 .postbox,
.bfad-lead-workspace-v177 .panel{
  max-width:none !important;
}
.bfad-lead-workspace-v177 .tablenav,
.bfad-lead-workspace-v177 .search-box,
.bfad-lead-workspace-v177 .actions,
.bfad-lead-workspace-v177 form,
.bfad-lead-workspace-v177 table{
  visibility:visible !important;
}
.bfad-lead-workspace-v177 table{
  width:100% !important;
}
.bfad-lead-workspace-v177 input[type=file]{
  max-width:100%;
}
.bfad-lead-workspace-v177 .button,
.bfad-lead-workspace-v177 .btn,
.bfad-lead-workspace-v177 button,
.bfad-lead-workspace-v177 input[type=submit]{
  min-height:32px;
  border-radius:6px;
}
@media(max-width:900px){
  .bfad-lead-workspace-v177 .tablenav,
  .bfad-lead-workspace-v177 .actions{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
  }
}


/* v1.7.9 — Exact Lead CRM mirror */
.bfad-lead-exact-shell{
  width:100%;
  min-width:0;
  background:#fff;
  border:1px solid #dbe5f2;
  border-radius:10px;
  overflow:hidden;
}
.bfad-lead-exact-frame{
  display:block;
  width:100%;
  min-height:920px;
  border:0;
  background:#fff;
}
@media(max-width:900px){
  .bfad-lead-exact-frame{min-height:1100px}
}


/* v1.8.0 — Prevent WordPress Admin flash before Lead is ready */
.bfad-lead-exact-shell{
  position:relative;
  min-height:760px;
}
.bfad-lead-exact-frame{
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease;
}
.bfad-lead-exact-shell.bfad-lead-ready .bfad-lead-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-lead-loading{
  position:absolute;
  inset:0 0 auto 0;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#fff;
  color:#475467;
  font-size:13px;
  z-index:5;
}
.bfad-lead-exact-shell.bfad-lead-ready .bfad-lead-loading{
  display:none;
}
.bfad-lead-spinner{
  width:18px;
  height:18px;
  border:2px solid #d8e3f0;
  border-top-color:#2563eb;
  border-radius:50%;
  animation:bfadLeadSpin .7s linear infinite;
}
@keyframes bfadLeadSpin{to{transform:rotate(360deg)}}


/* v1.8.1 — Exact Prospek CRM mirror */
.bfad-prospect-exact-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:760px;
  background:#fff;
  border:1px solid #dbe5f2;
  border-radius:10px;
  overflow:hidden;
}
.bfad-prospect-exact-frame{
  display:block;
  width:100%;
  min-height:920px;
  border:0;
  background:#fff;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease;
}
.bfad-prospect-exact-shell.bfad-prospect-ready .bfad-prospect-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-prospect-loading{
  position:absolute;
  inset:0 0 auto 0;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#fff;
  color:#475467;
  font-size:13px;
  z-index:5;
}
.bfad-prospect-exact-shell.bfad-prospect-ready .bfad-prospect-loading{
  display:none;
}
.bfad-prospect-spinner{
  width:18px;
  height:18px;
  border:2px solid #d8e3f0;
  border-top-color:#2563eb;
  border-radius:50%;
  animation:bfadProspectSpin .7s linear infinite;
}
@keyframes bfadProspectSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){
  .bfad-prospect-exact-frame{min-height:1100px}
}


/* v1.8.2 — Stable CRM mirror height to prevent page jumping */
.bfad-lead-exact-frame,
.bfad-prospect-exact-frame{
  min-height:1000px !important;
}


/* v1.8.3 — Exact Kontak CRM mirror */
.bfad-contact-exact-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:760px;
  background:#fff;
  border:1px solid #dbe5f2;
  border-radius:10px;
  overflow:hidden;
}
.bfad-contact-exact-frame{
  display:block;
  width:100%;
  min-height:1000px !important;
  border:0;
  background:#fff;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease;
}
.bfad-contact-exact-shell.bfad-contact-ready .bfad-contact-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-contact-loading{
  position:absolute;
  inset:0 0 auto 0;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#fff;
  color:#475467;
  font-size:13px;
  z-index:5;
}
.bfad-contact-exact-shell.bfad-contact-ready .bfad-contact-loading{
  display:none;
}
.bfad-contact-spinner{
  width:18px;
  height:18px;
  border:2px solid #d8e3f0;
  border-top-color:#2563eb;
  border-radius:50%;
  animation:bfadContactSpin .7s linear infinite;
}
@keyframes bfadContactSpin{to{transform:rotate(360deg)}}


/* v1.8.4 — Exact Klien CRM mirror */
.bfad-client-exact-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:760px;
  background:#fff;
  border:1px solid #dbe5f2;
  border-radius:10px;
  overflow:hidden;
}
.bfad-client-exact-frame{
  display:block;
  width:100%;
  min-height:1000px !important;
  border:0;
  background:#fff;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease;
}
.bfad-client-exact-shell.bfad-client-ready .bfad-client-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-client-loading{
  position:absolute;
  inset:0 0 auto 0;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#fff;
  color:#475467;
  font-size:13px;
  z-index:5;
}
.bfad-client-exact-shell.bfad-client-ready .bfad-client-loading{
  display:none;
}
.bfad-client-spinner{
  width:18px;
  height:18px;
  border:2px solid #d8e3f0;
  border-top-color:#2563eb;
  border-radius:50%;
  animation:bfadClientSpin .7s linear infinite;
}
@keyframes bfadClientSpin{to{transform:rotate(360deg)}}


/* v1.8.5 — Exact Pipeline CRM mirror */
.bfad-pipeline-exact-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:760px;
  background:#fff;
  border:1px solid #dbe5f2;
  border-radius:10px;
  overflow:hidden;
}
.bfad-pipeline-exact-frame{
  display:block;
  width:100%;
  min-height:1000px !important;
  border:0;
  background:#fff;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease;
}
.bfad-pipeline-exact-shell.bfad-pipeline-ready .bfad-pipeline-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-pipeline-loading{
  position:absolute;
  inset:0 0 auto 0;
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#fff;
  color:#475467;
  font-size:13px;
  z-index:5;
}
.bfad-pipeline-exact-shell.bfad-pipeline-ready .bfad-pipeline-loading{
  display:none;
}
.bfad-pipeline-spinner{
  width:18px;
  height:18px;
  border:2px solid #d8e3f0;
  border-top-color:#2563eb;
  border-radius:50%;
  animation:bfadPipelineSpin .7s linear infinite;
}
@keyframes bfadPipelineSpin{to{transform:rotate(360deg)}}


/* v1.9.0 — Global modern / slim / compact UI refresh */
.bfad-app,
.bfad-shell,
.bfad-wrap{
  --bfad-radius:10px;
  --bfad-radius-sm:7px;
  --bfad-border:#e4e9f1;
  --bfad-muted:#667085;
  --bfad-text:#172033;
  --bfad-bg:#f7f9fc;
  --bfad-card:#ffffff;
  --bfad-accent:#1769e0;
  --bfad-accent-soft:#eef5ff;
  --bfad-shadow:0 1px 2px rgba(16,24,40,.04);
  color:var(--bfad-text);
}

.bfad-app,
.bfad-shell{
  background:var(--bfad-bg);
}

.bfad-main,
.bfad-content{
  padding:14px !important;
}

.bfad-sidebar{
  width:220px !important;
  background:#fff !important;
  border-right:1px solid var(--bfad-border) !important;
  box-shadow:none !important;
}
.bfad-sidebar .bfad-brand,
.bfad-sidebar .brand{
  padding:14px 14px 10px !important;
}
.bfad-sidebar nav,
.bfad-sidebar .bfad-nav{
  padding:6px 8px 12px !important;
}
.bfad-sidebar a,
.bfad-sidebar .bfad-nav a{
  min-height:34px !important;
  padding:7px 9px !important;
  margin:2px 0 !important;
  border-radius:7px !important;
  font-size:12.5px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
}
.bfad-sidebar a.active,
.bfad-sidebar .bfad-nav a.active{
  background:var(--bfad-accent-soft) !important;
  color:var(--bfad-accent) !important;
}

.bfad-topbar,
.bfad-header{
  min-height:48px !important;
  padding:8px 14px !important;
  background:#fff !important;
  border-bottom:1px solid var(--bfad-border) !important;
  box-shadow:none !important;
}
.bfad-topbar h1,
.bfad-header h1{
  font-size:17px !important;
  line-height:1.2 !important;
  margin:0 !important;
}

.bfad-panel,
.bfad-card,
.bfad-native-module,
.bfad-ie-card,
.bfad-lead-exact-shell,
.bfad-prospect-exact-shell,
.bfad-contact-exact-shell,
.bfad-client-exact-shell,
.bfad-pipeline-exact-shell{
  background:var(--bfad-card) !important;
  border:1px solid var(--bfad-border) !important;
  border-radius:var(--bfad-radius) !important;
  box-shadow:var(--bfad-shadow) !important;
}

.bfad-panel,
.bfad-card{
  padding:12px !important;
  margin-bottom:10px !important;
}

.bfad-section-head{
  margin-bottom:10px !important;
  gap:10px !important;
}
.bfad-section-head h2,
.bfad-panel h2,
.bfad-card h2{
  font-size:16px !important;
  line-height:1.25 !important;
  margin:0 0 3px !important;
}
.bfad-section-head p,
.bfad-panel p,
.bfad-card p{
  font-size:12px !important;
  line-height:1.45 !important;
  color:var(--bfad-muted) !important;
}

.bfad-tabs,
.bfad-module-tabs,
.bfad-crm-tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:5px !important;
  padding:6px !important;
  margin-bottom:10px !important;
  background:#fff !important;
  border:1px solid var(--bfad-border) !important;
  border-radius:9px !important;
}
.bfad-tabs a,
.bfad-module-tabs a,
.bfad-crm-tabs a{
  min-height:30px !important;
  padding:6px 9px !important;
  border-radius:6px !important;
  font-size:12px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  border:0 !important;
  background:transparent !important;
}
.bfad-tabs a.active,
.bfad-module-tabs a.active,
.bfad-crm-tabs a.active{
  background:var(--bfad-accent-soft) !important;
  color:var(--bfad-accent) !important;
}

.bfad-btn,
.bfad-button,
.bfad-native-module .button,
.bfad-native-module .button-primary,
.bfad-native-module button,
.bfad-native-module input[type=submit],
.bfad-native-module input[type=button]{
  min-height:30px !important;
  padding:5px 9px !important;
  border-radius:6px !important;
  font-size:12px !important;
  line-height:1.2 !important;
  box-shadow:none !important;
}

.bfad-native-module input[type=text],
.bfad-native-module input[type=email],
.bfad-native-module input[type=number],
.bfad-native-module input[type=tel],
.bfad-native-module input[type=url],
.bfad-native-module input[type=date],
.bfad-native-module input[type=datetime-local],
.bfad-native-module input[type=password],
.bfad-native-module select,
.bfad-native-module textarea{
  min-height:32px !important;
  padding:5px 8px !important;
  border-radius:6px !important;
  border:1px solid #d7dee8 !important;
  box-shadow:none !important;
  font-size:12px !important;
  line-height:1.35 !important;
  background:#fff !important;
}
.bfad-native-module textarea{
  min-height:84px !important;
}
.bfad-native-module label{
  font-size:11.5px !important;
  font-weight:600 !important;
  color:#344054 !important;
}

.bfad-native-module table,
.bfad-panel table,
.bfad-card table{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  background:#fff !important;
  font-size:12px !important;
}
.bfad-native-module table th,
.bfad-panel table th,
.bfad-card table th{
  padding:8px 9px !important;
  font-size:11.5px !important;
  font-weight:700 !important;
  color:#344054 !important;
  background:#f8fafc !important;
  border-bottom:1px solid var(--bfad-border) !important;
  white-space:nowrap;
}
.bfad-native-module table td,
.bfad-panel table td,
.bfad-card table td{
  padding:8px 9px !important;
  border-bottom:1px solid #eef1f5 !important;
  vertical-align:middle !important;
  line-height:1.35 !important;
}
.bfad-native-module table tr:last-child td,
.bfad-panel table tr:last-child td,
.bfad-card table tr:last-child td{
  border-bottom:0 !important;
}

.bfad-badge,
.bfad-status,
.bfad-native-module .status,
.bfad-native-module .badge{
  display:inline-flex !important;
  align-items:center !important;
  min-height:22px !important;
  padding:3px 7px !important;
  border-radius:999px !important;
  font-size:10.5px !important;
  font-weight:700 !important;
  line-height:1 !important;
}

.bfad-stats,
.bfad-summary-grid,
.bfad-crm-summary-stats{
  gap:8px !important;
}
.bfad-stat-card,
.bfad-summary-card{
  min-height:78px !important;
  padding:11px !important;
  border-radius:9px !important;
  border:1px solid var(--bfad-border) !important;
  box-shadow:none !important;
}
.bfad-stat-card .value,
.bfad-summary-card .value,
.bfad-stat-card strong,
.bfad-summary-card strong{
  font-size:20px !important;
  line-height:1 !important;
}
.bfad-stat-card .label,
.bfad-summary-card .label{
  font-size:11px !important;
}

.bfad-pagination,
.bfad-native-module .tablenav-pages{
  gap:4px !important;
  margin-top:10px !important;
}
.bfad-pagination a,
.bfad-pagination span,
.bfad-native-module .tablenav-pages a,
.bfad-native-module .tablenav-pages span{
  min-width:28px !important;
  height:28px !important;
  padding:4px 7px !important;
  border-radius:6px !important;
  font-size:11px !important;
}

.bfad-lead-loading,
.bfad-prospect-loading,
.bfad-contact-loading,
.bfad-client-loading,
.bfad-pipeline-loading{
  min-height:180px !important;
  font-size:12px !important;
}

.bfad-lead-exact-frame,
.bfad-prospect-exact-frame,
.bfad-contact-exact-frame,
.bfad-client-exact-frame,
.bfad-pipeline-exact-frame{
  background:#fff !important;
}

/* Compact the mirrored CRM admin pages after load */
.bfad-lead-exact-shell,
.bfad-prospect-exact-shell,
.bfad-contact-exact-shell,
.bfad-client-exact-shell,
.bfad-pipeline-exact-shell{
  border-radius:9px !important;
}

@media (max-width:1024px){
  .bfad-sidebar{width:196px !important}
  .bfad-main,.bfad-content{padding:10px !important}
}
@media (max-width:782px){
  .bfad-sidebar{width:100% !important}
  .bfad-tabs,
  .bfad-module-tabs,
  .bfad-crm-tabs{
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    scrollbar-width:thin;
  }
  .bfad-tabs a,
  .bfad-module-tabs a,
  .bfad-crm-tabs a{
    flex:0 0 auto !important;
  }
  .bfad-native-module table,
  .bfad-panel table,
  .bfad-card table{
    min-width:760px;
  }
}


/* v1.9.1 — Exact WhatsApp CRM mirror */
.bfad-whatsapp-exact-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:760px;
  background:#fff;
  border:1px solid #e4e9f1;
  border-radius:9px;
  overflow:hidden;
}
.bfad-whatsapp-exact-frame{
  display:block;
  width:100%;
  min-height:1000px !important;
  border:0;
  background:#fff;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease;
}
.bfad-whatsapp-exact-shell.bfad-whatsapp-ready .bfad-whatsapp-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-whatsapp-loading{
  position:absolute;
  inset:0 0 auto 0;
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#fff;
  color:#475467;
  font-size:12px;
  z-index:5;
}
.bfad-whatsapp-exact-shell.bfad-whatsapp-ready .bfad-whatsapp-loading{
  display:none;
}
.bfad-whatsapp-spinner{
  width:18px;
  height:18px;
  border:2px solid #d8e3f0;
  border-top-color:#2563eb;
  border-radius:50%;
  animation:bfadWhatsappSpin .7s linear infinite;
}
@keyframes bfadWhatsappSpin{to{transform:rotate(360deg)}}


/* v1.9.2 — Exact Mailbox mirror */
.bfad-mailbox-exact-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:760px;
  background:#fff;
  border:1px solid #e4e9f1;
  border-radius:9px;
  overflow:hidden;
}
.bfad-mailbox-exact-frame{
  display:block;
  width:100%;
  min-height:1000px !important;
  border:0;
  background:#fff;
  opacity:0;
  visibility:hidden;
  transition:opacity .12s ease;
}
.bfad-mailbox-exact-shell.bfad-mailbox-ready .bfad-mailbox-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-mailbox-loading{
  position:absolute;
  inset:0 0 auto 0;
  min-height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:#fff;
  color:#475467;
  font-size:12px;
  z-index:5;
}
.bfad-mailbox-exact-shell.bfad-mailbox-ready .bfad-mailbox-loading{
  display:none;
}
.bfad-mailbox-spinner{
  width:18px;
  height:18px;
  border:2px solid #d8e3f0;
  border-top-color:#2563eb;
  border-radius:50%;
  animation:bfadMailboxSpin .7s linear infinite;
}
@keyframes bfadMailboxSpin{to{transform:rotate(360deg)}}


/* v1.9.3 — Direct embedded admin pages, no admin-dashboard flash */
.bfad-lead-exact-frame,
.bfad-prospect-exact-frame,
.bfad-contact-exact-frame,
.bfad-client-exact-frame,
.bfad-pipeline-exact-frame,
.bfad-whatsapp-exact-frame,
.bfad-mailbox-exact-frame{
  opacity:1 !important;
  visibility:visible !important;
}
.bfad-lead-loading,
.bfad-prospect-loading,
.bfad-contact-loading,
.bfad-client-loading,
.bfad-pipeline-loading,
.bfad-whatsapp-loading,
.bfad-mailbox-loading{
  display:none !important;
}


/* v1.9.6 — Exact Ringkasan CRM mirror */
.bfad-crm-dashboard-exact-shell{
  position:relative;
  width:100%;
  min-width:0;
  min-height:760px;
  background:#fff;
  border:1px solid #e4e9f1;
  border-radius:9px;
  overflow:hidden;
}
.bfad-crm-dashboard-exact-frame{
  display:block;
  width:100%;
  min-height:1000px !important;
  border:0;
  background:#fff;
  opacity:1 !important;
  visibility:visible !important;
}


/* v1.9.7 — Approval payment proof */
.bfad-approval-table th:nth-last-child(2),
.bfad-approval-table td:nth-last-child(2){
  min-width:130px;
}
.bfad-proof-cell{
  vertical-align:middle !important;
}
.bfad-proof-cell .bfad-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.bfad-proof-hint{
  display:block;
  margin-top:5px;
  color:#667085;
  font-size:10.5px;
  line-height:1.3;
}
.bfad-proof-missing{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:3px 7px;
  border-radius:999px;
  background:#f2f4f7;
  color:#667085;
  font-size:10.5px;
  font-weight:600;
}
.bfad-approval-locked{
  opacity:.42 !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
}
.bfad-approval-actions.bfad-proof-reviewed .bfad-approval-locked{
  opacity:1 !important;
  cursor:pointer !important;
  pointer-events:auto !important;
}
.bfad-approval-disabled{
  display:inline-block;
  color:#98a2b3;
  font-size:11px;
  line-height:1.35;
}

/* v1.10.1 — Manajemen Perkara frontend embed tanpa flash wp-admin */
.bfad-case-exact-shell{
  position:relative;
  width:100%;
  min-height:calc(100vh - 150px);
  background:#fff;
  border:1px solid #e4e9f1;
  border-radius:10px;
  overflow:hidden;
}
.bfad-case-exact-frame{
  display:block;
  width:100%;
  height:calc(100vh - 150px);
  min-height:680px;
  border:0;
  background:#f7f9fc;
  opacity:0;
  visibility:hidden;
}
.bfad-case-exact-shell.bfad-case-ready .bfad-case-exact-frame{
  opacity:1;
  visibility:visible;
}
.bfad-case-loading{
  position:absolute;
  inset:0;
  min-height:180px;
  background:#fff;
  z-index:2;
  pointer-events:none;
}
.bfad-case-exact-shell.bfad-case-ready .bfad-case-loading{display:none;}
@media (max-width: 782px){
  .bfad-case-exact-shell{min-height:calc(100vh - 120px);border-radius:8px;}
  .bfad-case-exact-frame{height:calc(100vh - 120px);min-height:640px;}
}


/* v1.10.2 — PCM workspace navigation fallback */
.bfad-case-workspace-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;margin:0 0 10px;padding:6px;background:#fff;border:1px solid #e4e9f1;border-radius:9px;scrollbar-width:thin}.bfad-case-workspace-tab{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:32px;padding:6px 11px;border-radius:7px;text-decoration:none!important;font-size:12px;font-weight:600;color:#334155;background:#f8fafc;border:1px solid #e5e7eb}.bfad-case-workspace-tab:hover{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.bfad-case-workspace-tab.is-active{background:#2563eb;color:#fff;border-color:#2563eb}@media(max-width:782px){.bfad-case-workspace-tabs{margin-bottom:8px;padding:5px}.bfad-case-workspace-tab{min-height:30px;padding:5px 9px;font-size:11.5px}}

/* v1.10.7 — Case activity audit trail */
.bfad-case-activity-panel{margin-top:10px;padding:16px!important}
.bfad-case-activity-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.bfad-case-activity-head h2{margin:0 0 3px;font-size:17px}
.bfad-case-activity-head p{margin:0;color:#64748b;font-size:12px}
.bfad-case-activity-count{white-space:nowrap;font-size:11px;font-weight:700;background:#eef4ff;border:1px solid #dbe7ff;padding:5px 8px;border-radius:999px}
.bfad-case-activity-list{display:flex;flex-direction:column}
.bfad-case-activity-item{position:relative;display:grid;grid-template-columns:14px 1fr;gap:9px;padding:10px 0;border-bottom:1px solid #edf0f5}
.bfad-case-activity-item:last-child{border-bottom:0}
.bfad-case-activity-dot{width:8px;height:8px;border-radius:999px;background:currentColor;opacity:.55;margin-top:5px}
.bfad-case-activity-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;color:#64748b}
.bfad-case-activity-meta strong{color:#1f2937;font-size:12px}
.bfad-case-activity-module{font-weight:700;background:#f3f6fa;padding:2px 6px;border-radius:999px;color:#475569}
.bfad-case-activity-desc{font-size:13px;font-weight:600;color:#1f2937;margin-top:3px}
.bfad-case-activity-details{font-size:11px;color:#64748b;margin-top:3px;line-height:1.45;word-break:break-word}
@media(max-width:640px){.bfad-case-activity-head{flex-direction:column}.bfad-case-activity-panel{padding:12px!important}}

/* v1.11.0 — Manajemen Perkara native frontend */
.bfad-case-native{width:100%;min-width:0;margin-top:8px}
.bfad-case-native>.wrap{margin:0!important;padding:0!important;max-width:none!important}
.bfad-case-native #wpbody-content,.bfad-case-native #wpcontent{margin:0!important;padding:0!important}
.bfad-case-native .nav-tab-wrapper,
.bfad-case-native .pcm-tabs,
.bfad-case-native .pcm-workspace-tabs,
.bfad-case-native .pcm-admin-tabs,
.bfad-case-native .pcm-workspace-nav,
.bfad-case-native [class*="workspace-tabs"],
.bfad-case-native [class*="workspace-nav"]{display:none!important}
.bfad-case-workspace-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 10px;padding:5px;border:1px solid #e0e7ef;border-radius:10px;background:#fff}
.bfad-case-workspace-tab{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 10px;border-radius:7px;text-decoration:none!important;font-size:11px;font-weight:700;color:#475467;background:transparent}
.bfad-case-workspace-tab:hover,.bfad-case-workspace-tab.is-active{background:#eef5ff;color:#1769d2}
.bfad-case-activity-panel{margin-top:0}
.bfad-case-activity-list{display:grid;gap:8px;margin-top:12px}
.bfad-case-activity-item{display:grid;grid-template-columns:10px minmax(0,1fr);gap:9px;padding:10px 12px;border:1px solid #e7edf4;border-radius:9px;background:#fff}
.bfad-case-activity-dot{width:8px;height:8px;margin-top:5px;border-radius:999px;background:#1769d2}
.bfad-case-activity-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:10px;color:#667085}
.bfad-case-activity-module{padding:2px 6px;border-radius:999px;background:#f2f6fb;color:#475467;font-weight:700}
.bfad-case-activity-desc{margin-top:4px;font-size:11px;font-weight:700;color:#344054}
.bfad-case-activity-details{margin-top:4px;font-size:10px;line-height:1.45;color:#667085;word-break:break-word}
.bfad-case-activity-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.bfad-case-activity-head h2{margin:0 0 3px;font-size:15px}.bfad-case-activity-head p{margin:0;font-size:10px;color:#667085}
.bfad-case-activity-count{white-space:nowrap;padding:4px 7px;border-radius:999px;background:#f2f6fb;font-size:10px;font-weight:700;color:#475467}
@media(max-width:700px){.bfad-case-workspace-tabs{overflow-x:auto;flex-wrap:nowrap}.bfad-case-workspace-tab{white-space:nowrap}.bfad-case-activity-head{flex-direction:column}}


/* v1.11.2 — Manajemen Perkara full-width dan isolasi layout */
.bfad-shell:has(.bfad-case-workspace-tabs),
.bfad-shell:has(.bfad-case-exact-shell),
.bfad-shell:has(.bfad-case-activity-panel){
  width:100% !important;
  max-width:none !important;
}
.bfad-shell:has(.bfad-case-workspace-tabs) .bfad-main,
.bfad-shell:has(.bfad-case-exact-shell) .bfad-main,
.bfad-shell:has(.bfad-case-activity-panel) .bfad-main,
.bfad-shell:has(.bfad-case-workspace-tabs) .bfad-content,
.bfad-shell:has(.bfad-case-exact-shell) .bfad-content,
.bfad-shell:has(.bfad-case-activity-panel) .bfad-content{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
.bfad-case-workspace-tabs,
.bfad-case-exact-shell,
.bfad-case-activity-panel{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}
.bfad-case-exact-frame{width:100% !important;max-width:none !important;}

/* v1.12.0 — Website Overview dashboard */
.bfad-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 12px}.bfad-overview-head h2{margin:0 0 3px;font-size:17px;color:#172033}.bfad-overview-head p{margin:0;font-size:11px;color:var(--bfad-muted)}.bfad-overview-time{white-space:nowrap;font-size:10px;color:#667085;background:#fff;border:1px solid var(--bfad-border);border-radius:999px;padding:5px 8px}.bfad-overview-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.bfad-overview-cards .bfad-card em{display:block;margin-top:3px;font-size:9px;line-height:1.3;font-style:normal;color:#7b8798}.bfad-dashboard-grid{display:grid;gap:14px;margin-bottom:14px}.bfad-dashboard-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.bfad-mini-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bfad-mini-metrics>div{padding:11px;border:1px solid #e7edf4;background:#f8fafc;border-radius:9px}.bfad-mini-metrics small{display:block;font-size:9px;color:#667085;margin-bottom:4px}.bfad-mini-metrics strong{display:block;font-size:15px;color:#172033}.bfad-system-list,.bfad-role-list{display:grid;gap:0}.bfad-system-list>div,.bfad-role-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #edf1f5;font-size:11px}.bfad-system-list>div:last-child,.bfad-role-list>div:last-child{border-bottom:0}.bfad-system-list span,.bfad-role-list span{color:#667085}.bfad-system-list strong,.bfad-role-list strong{color:#172033;text-align:right}.bfad-compact-table th,.bfad-compact-table td{padding:7px 8px!important;font-size:10px!important}.bfad-activity-list,.bfad-user-list{display:grid;gap:0}.bfad-activity-row,.bfad-user-row{display:flex;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #edf1f5}.bfad-activity-row:last-child,.bfad-user-row:last-child{border-bottom:0}.bfad-activity-row>.dashicons{width:29px;height:29px;line-height:29px;text-align:center;border-radius:8px;background:#eef5ff;color:#1769d2}.bfad-activity-row>div,.bfad-user-row>div{min-width:0}.bfad-activity-row strong,.bfad-user-row strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#253047}.bfad-activity-row small,.bfad-user-row small{display:block;margin-top:2px;font-size:9px;color:#7b8798;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bfad-user-row img{border-radius:999px}.bfad-dashboard-orders{margin-top:0}
@media(max-width:1100px){.bfad-overview-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.bfad-dashboard-grid-2{grid-template-columns:1fr}.bfad-overview-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.bfad-overview-head{flex-direction:column}.bfad-overview-time{white-space:normal}}
@media(max-width:480px){.bfad-mini-metrics{grid-template-columns:1fr 1fr}.bfad-overview-cards{grid-template-columns:1fr 1fr}.bfad-overview-cards .bfad-card{align-items:flex-start}.bfad-overview-cards .bfad-card>.dashicons{display:none}}

/* v1.13.0 — dashboard modul terintegrasi */
.bfad-integrated-panel{margin-top:16px}
.bfad-module-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.bfad-module-card{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #e4e9f1;border-radius:10px;background:#fff;text-decoration:none!important;color:inherit;transition:.15s ease}
.bfad-module-card:hover{transform:translateY(-1px);border-color:#b8c8df;box-shadow:0 4px 14px rgba(31,53,84,.07)}
.bfad-module-card>.dashicons{font-size:22px;width:22px;height:22px;margin-top:2px}
.bfad-module-card div{min-width:0;display:flex;flex-direction:column;gap:3px}
.bfad-module-card small{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.bfad-module-card strong{font-size:22px;line-height:1.15}
.bfad-module-card em{font-size:11px;font-style:normal;opacity:.72;line-height:1.3}
.bfad-module-card b{font-size:10px;font-weight:600;opacity:.65}
.bfad-module-card.is-muted{opacity:.58}
@media(max-width:1100px){.bfad-module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.bfad-module-cards{grid-template-columns:1fr}}

/* v1.15.0 — Windows UI visual refresh */
:root{
  --bfad-blue:#2563eb;
  --bfad-blue-2:#0ea5e9;
  --bfad-text:#182230;
  --bfad-muted:#667085;
  --bfad-border:rgba(148,163,184,.24);
  --bfad-bg:#eef4fb;
  --bfad-surface:rgba(255,255,255,.88);
  --bfad-surface-solid:#ffffff;
  --bfad-shadow:0 12px 32px rgba(37,99,235,.08),0 2px 8px rgba(15,23,42,.05);
}
body{background:linear-gradient(135deg,#eef6ff 0%,#f8fbff 48%,#eef4ff 100%)!important}
.bfad-shell{
  background:linear-gradient(135deg,rgba(239,246,255,.96),rgba(248,250,252,.96));
  border:1px solid rgba(148,163,184,.28);
  border-radius:18px;
  box-shadow:0 20px 55px rgba(15,23,42,.10),0 4px 14px rgba(37,99,235,.06);
  backdrop-filter:blur(16px);
}
.bfad-sidebar{
  background:linear-gradient(180deg,rgba(248,251,255,.96) 0%,rgba(239,246,255,.94) 100%);
  border-right:1px solid rgba(148,163,184,.20);
  box-shadow:inset -1px 0 rgba(255,255,255,.75);
}
.bfad-brand>.dashicons{
  background:linear-gradient(135deg,var(--bfad-blue),var(--bfad-blue-2));
  box-shadow:0 8px 18px rgba(37,99,235,.22);
}
.bfad-brand strong{color:#0f172a;letter-spacing:.1px}.bfad-brand small{color:#64748b}
.bfad-nav a,.bfad-side-footer a{color:#475569;border:1px solid transparent;transition:.16s ease}
.bfad-nav a:hover,.bfad-nav a.active{
  background:linear-gradient(135deg,rgba(219,234,254,.92),rgba(224,242,254,.92));
  color:#1d4ed8;
  border-color:rgba(96,165,250,.22);
  box-shadow:0 4px 12px rgba(37,99,235,.07);
}
.bfad-topbar{
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(148,163,184,.20);
  backdrop-filter:blur(18px);
  box-shadow:0 4px 14px rgba(15,23,42,.035);
}
.bfad-topbar h1{color:#0f172a}.bfad-topbar p{color:#64748b}
.bfad-content{background:radial-gradient(circle at top right,rgba(191,219,254,.30),transparent 34%),transparent}
.bfad-card,.bfad-panel,.bfad-native-module,.bfad-integration,.bfad-product{
  background:var(--bfad-surface);
  border:1px solid var(--bfad-border);
  box-shadow:var(--bfad-shadow);
  backdrop-filter:blur(14px);
}
.bfad-card{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.bfad-card:hover{transform:translateY(-2px);border-color:rgba(96,165,250,.34);box-shadow:0 16px 34px rgba(37,99,235,.11),0 3px 10px rgba(15,23,42,.05)}
.bfad-card>.dashicons,.bfad-integration .bfad-icon .dashicons{
  color:#1d4ed8;
  background:linear-gradient(135deg,#dbeafe,#e0f2fe);
  border:1px solid rgba(96,165,250,.22);
}
.bfad-card strong{color:#0f172a}.bfad-card small{color:#64748b}
.bfad-panel-head h3,.bfad-panel h3{color:#111827}
.bfad-module-tabs{
  background:rgba(255,255,255,.80);
  border:1px solid var(--bfad-border);
  box-shadow:0 8px 24px rgba(15,23,42,.04);
  backdrop-filter:blur(14px);
}
.bfad-module-tabs a{color:#475569;transition:.16s ease}
.bfad-module-tabs a:hover,.bfad-module-tabs a.active{
  background:linear-gradient(135deg,#dbeafe,#e0f2fe);
  color:#1d4ed8;
  box-shadow:0 3px 10px rgba(37,99,235,.08);
}
.bfad-table th,.bfad-native-module table th{background:linear-gradient(180deg,#f8fbff,#f1f5f9)!important;color:#475569!important}
.bfad-table td,.bfad-native-module table td{background:rgba(255,255,255,.58)}
.bfad-table tbody tr:hover td,.bfad-native-module table tbody tr:hover td{background:#f5f9ff!important}
.bfad-btn.primary,.bfad-native-module .button-primary,.bfad-native-module input[type=submit].button-primary{
  background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;
  border-color:#2563eb!important;
  box-shadow:0 6px 14px rgba(37,99,235,.18)!important;
}
.bfad-btn.primary:hover,.bfad-native-module .button-primary:hover{filter:brightness(.98);transform:translateY(-1px)}
.bfad-btn.light{background:rgba(255,255,255,.86);color:#1d4ed8;border-color:#bfdbfe}
.bfad-status{border:1px solid rgba(148,163,184,.16)}
.status-processing,.status-completed{background:#ecfdf3;color:#047857;border-color:#a7f3d0}
.status-on-hold,.status-pending{background:#fffbeb;color:#a16207;border-color:#fde68a}
.bfad-native-module input[type=text],.bfad-native-module input[type=email],.bfad-native-module input[type=number],.bfad-native-module input[type=password],.bfad-native-module input[type=tel],.bfad-native-module input[type=url],.bfad-native-module select,.bfad-native-module textarea{
  background:rgba(255,255,255,.92)!important;
  border:1px solid #cbd5e1!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.03)!important;
}
.bfad-native-module input:focus,.bfad-native-module select:focus,.bfad-native-module textarea:focus{
  border-color:#60a5fa!important;
  box-shadow:0 0 0 3px rgba(59,130,246,.12)!important;
  outline:none!important;
}
@media(max-width:900px){.bfad-sidebar{background:linear-gradient(180deg,#f8fbff,#eef6ff);box-shadow:18px 0 42px rgba(15,23,42,.16)}}
@media(max-width:560px){.bfad-shell{border-radius:14px}.bfad-card,.bfad-panel,.bfad-native-module{box-shadow:0 8px 20px rgba(37,99,235,.07)}}
.bfad-module-submetrics{display:block;margin-top:6px;font-size:11px;line-height:1.45;color:#53657d;font-weight:600}
