.berp-wrap{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}.berp-app{display:flex;min-height:780px;background:#f5f7fb;border-radius:18px;overflow:hidden}.berp-side{width:245px;background:#101827;color:#fff;padding:22px 14px;display:flex;flex-direction:column}.berp-side-brand{display:flex;align-items:center;gap:10px;padding:4px 10px 24px}.berp-side-brand img{width:40px;height:40px;object-fit:contain;border-radius:10px;background:#fff}.berp-side-brand strong{display:block}.berp-side-brand small{color:#9aa6b7}.berp-logo-mark{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;background:#fff;color:#173d78;font-weight:800;font-size:20px}.berp-side nav{display:grid;gap:5px}.berp-side nav a{color:#c8d1df;text-decoration:none;padding:11px 12px;border-radius:10px}.berp-side nav a.active,.berp-side nav a:hover{background:rgba(255,255,255,.1);color:#fff}.berp-side-bottom{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding:15px 10px;display:grid;gap:8px;font-size:12px;color:#9aa6b7}.berp-side-bottom a{color:#fff}.berp-main{flex:1;min-width:0;padding:28px}.berp-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:22px}.berp-top h1{margin:4px 0 0;font-size:30px}.berp-user{padding:9px 13px;background:#fff;border:1px solid #e5e9f0;border-radius:10px}.berp-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#7d899d;font-weight:700}.berp-grid{display:grid;gap:14px}.berp-grid.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.berp-stat-card{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:18px;text-decoration:none;color:inherit}.berp-stat-card span{display:block;color:#7b8799;font-size:13px}.berp-stat-card strong{display:block;font-size:28px;margin-top:8px}.berp-hero{background:linear-gradient(135deg,var(--berp-brand),#0f1c35);color:#fff;border-radius:18px;padding:25px;display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.berp-hero h2{margin:4px 0;font-size:28px}.berp-hero p{margin:0;color:#d7deea}.berp-card{background:#fff;border:1px solid #e4e8ef;border-radius:14px;padding:20px}.berp-card.wide{max-width:980px}.berp-card h3,.berp-card h2{margin-top:0}.berp-card-head{display:flex;justify-content:space-between;align-items:center}.berp-card-head span{color:#7d899d;font-size:12px}.berp-two{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.6fr);gap:16px}.berp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.berp-form label,.berp-card label{display:grid;gap:6px;font-size:13px;font-weight:650;margin-bottom:13px}.berp-card input,.berp-card select,.berp-card textarea{width:100%;box-sizing:border-box;border:1px solid #dbe1ea;border-radius:9px;padding:10px;background:#fff;font:inherit}.berp-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:10px 15px;background:#eef2f7;color:#172033;text-decoration:none;cursor:pointer;font-weight:700}.berp-btn.primary{background:var(--berp-brand,#173d78);color:#fff}.berp-btn.danger{background:#c93645;color:#fff}.berp-alert{padding:13px 15px;border-radius:10px;margin-bottom:16px;background:#edf5ff}.berp-alert.danger{background:#fff0f1;color:#9d1e2c}.berp-alert.info{background:#edf5ff;color:#1d4e89}.berp-list{display:grid}.berp-list-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #edf0f4}.berp-list-row:last-child{border-bottom:0}.berp-list-row strong,.berp-list-row small{display:block}.berp-list-row small{color:#7b8799;margin-top:3px}.berp-pill{display:inline-flex;padding:5px 8px;border-radius:99px;background:#edf1f5;font-size:11px;font-weight:700}.berp-pill.available,.berp-pill.won{background:#e8f7ef;color:#18794e}.berp-pill.booked,.berp-pill.negotiation{background:#fff3df;color:#9a5a00}.berp-pill.sold,.berp-pill.lost{background:#ffe9ec;color:#9d1e2c}.berp-pill.site_visit,.berp-pill.qualified{background:#ece9ff;color:#5b4ab7}.berp-table-wrap{overflow:auto}.berp-table{width:100%;border-collapse:collapse}.berp-table th,.berp-table td{text-align:left;padding:12px;border-bottom:1px solid #edf0f4;white-space:nowrap}.berp-table td small{display:block;color:#7b8799;margin-top:3px}.pipeline{grid-template-columns:repeat(7,minmax(100px,1fr));margin-bottom:16px}.berp-stage{background:#fff;border:1px solid #e4e8ef;border-radius:12px;padding:12px}.berp-stage span{display:block;font-size:11px;color:#7b8799}.berp-stage strong{font-size:22px}.berp-step{display:grid;grid-template-columns:auto 1fr auto 1fr auto 1fr;gap:10px;align-items:center;background:#f6f8fb;padding:14px;border-radius:12px;margin-bottom:20px}.berp-step span{width:28px;height:28px;border-radius:50%;background:var(--berp-brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800}.berp-step strong,.berp-step small{display:block}.berp-step small{color:#7b8799;font-size:11px;margin-top:3px}.berp-auth{max-width:1000px;margin:30px auto}.berp-brand{display:flex;align-items:center;gap:10px;margin-bottom:20px}.berp-brand strong{font-size:22px;display:block}.berp-brand small{display:block;color:#7b8799}.berp-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.muted{color:#7b8799}
@media(max-width:900px){.berp-app{display:block}.berp-side{width:auto}.berp-side nav{display:flex;overflow:auto}.berp-side nav a{white-space:nowrap}.berp-main{padding:18px}.berp-grid.stats,.pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-two,.berp-auth-grid{grid-template-columns:1fr}.berp-form-grid{grid-template-columns:1fr}.berp-step{grid-template-columns:auto 1fr}.berp-hero{display:block}.berp-hero .berp-btn{margin-top:15px}}

/* Builder ERP 6.1 CRM */
.berp-crm-wrap{display:flex;flex-direction:column;gap:16px}
.berp-crm-toolbar{padding:14px 16px}
.berp-filter-form{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(130px,1fr)) auto auto;gap:10px;align-items:center}
.berp-filter-form input,.berp-filter-form select{min-width:0}
.berp-crm-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.berp-mini-stat{background:#fff;border:1px solid #e2e7ef;border-radius:14px;padding:14px 16px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.berp-mini-stat span{display:block;color:#64748b;font-size:12px}.berp-mini-stat strong{display:block;font-size:24px;margin-top:4px}
.berp-stage{display:flex;flex-direction:column;gap:5px;text-decoration:none!important}
.berp-lead-table-card{min-width:0}
.berp-table-scroll{overflow:auto;border:1px solid #e7ebf0;border-radius:12px}
.berp-lead-table{min-width:1150px;margin:0}
.berp-lead-table th{white-space:nowrap;background:#f8fafc;position:sticky;top:0;z-index:1}
.berp-lead-table td{vertical-align:middle}
.berp-lead-link{display:flex;flex-direction:column;gap:3px;text-decoration:none}.berp-lead-link small{color:#64748b}
.berp-lead-table tr.is-selected td{background:#eef5ff}
.berp-overdue{display:block;color:#b42318!important;font-size:11px;font-weight:700}
.berp-lead-detail{border:2px solid #d8e5ff}
.berp-detail-actions{display:flex;gap:8px;flex-wrap:wrap}
.berp-lead-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.berp-lead-facts>div{background:#f8fafc;border-radius:12px;padding:12px}.berp-lead-facts span{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.berp-lead-facts strong{display:block;margin-top:4px;font-size:14px;word-break:break-word}
.berp-detail-grid{margin-top:8px}
.berp-detail-grid h4{margin:0 0 10px}
.berp-inline-form{display:grid;grid-template-columns:130px 190px 1fr auto;gap:8px;align-items:center}
.berp-timeline{display:flex;flex-direction:column;gap:0;margin-bottom:16px}
.berp-timeline-item{display:grid;grid-template-columns:18px 1fr;gap:10px;position:relative;padding-bottom:14px}
.berp-timeline-dot{width:10px;height:10px;border-radius:50%;background:var(--berp-brand,#173D78);margin-top:5px;position:relative}
.berp-timeline-item:not(:last-child) .berp-timeline-dot:after{content:"";position:absolute;width:1px;height:calc(100% + 14px);background:#dbe3ee;left:4px;top:10px}
.berp-timeline-item strong{display:block}.berp-timeline-item small{display:block;color:#64748b;margin-top:2px}.berp-timeline-item p{margin:5px 0 0;color:#334155}
.berp-empty{text-align:center;padding:30px;color:#64748b}
@media(max-width:1000px){
 .berp-filter-form{grid-template-columns:1fr 1fr}.berp-crm-kpis{grid-template-columns:repeat(2,1fr)}
 .berp-lead-facts{grid-template-columns:repeat(2,1fr)}.berp-inline-form{grid-template-columns:1fr}
}
@media(max-width:640px){
 .berp-filter-form{grid-template-columns:1fr}.berp-crm-kpis{grid-template-columns:1fr 1fr}.berp-lead-facts{grid-template-columns:1fr}
 .berp-detail-actions .berp-btn{flex:1}.berp-crm-main{grid-template-columns:1fr}
}

/* Builder ERP 6.2 CRM - full width lead workspace */
body.berp-modal-open{overflow:hidden}
.berp-crm-full-list{width:100%;box-sizing:border-box}
.berp-crm-full-list .berp-table-scroll{overflow-x:hidden}
.berp-crm-full-list .berp-lead-table{min-width:0;table-layout:fixed}
.berp-crm-full-list .berp-lead-table th,.berp-crm-full-list .berp-lead-table td{white-space:normal;word-break:break-word}
.berp-crm-full-list .berp-lead-table th:nth-child(1){width:18%}
.berp-crm-full-list .berp-lead-table th:nth-child(2){width:12%}
.berp-crm-full-list .berp-lead-table th:nth-child(3){width:13%}
.berp-crm-full-list .berp-lead-table th:nth-child(4){width:12%}
.berp-crm-full-list .berp-lead-table th:nth-child(5){width:11%}
.berp-crm-full-list .berp-lead-table th:nth-child(6){width:9%}
.berp-crm-full-list .berp-lead-table th:nth-child(7){width:11%}
.berp-crm-full-list .berp-lead-table th:nth-child(8){width:10%}
.berp-crm-full-list .berp-lead-table th:nth-child(9){width:10%}
.berp-lead-modal{position:fixed;inset:0;z-index:99999;display:none}
.berp-lead-modal[aria-hidden="false"]{display:block}
.berp-lead-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(2px)}
.berp-lead-modal-panel{position:absolute;right:0;top:0;width:min(680px,100%);height:100%;overflow:auto;background:#fff;padding:28px;box-sizing:border-box;box-shadow:-14px 0 40px rgba(15,23,42,.18)}
.berp-modal-close{border:1px solid #dbe1ea;background:#fff;border-radius:9px;width:36px;height:36px;font-size:24px;line-height:1;cursor:pointer;color:#334155}
.berp-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:8px;border-top:1px solid #edf0f4;margin-top:10px}
.berp-lead-detail{position:fixed;right:0;top:0;width:min(620px,100%);height:100vh;z-index:99990;overflow:auto;box-sizing:border-box;border-radius:0;border-width:0 0 0 2px;box-shadow:-14px 0 40px rgba(15,23,42,.18)}
.berp-lead-detail .berp-detail-grid{grid-template-columns:1fr}
@media(max-width:900px){
 .berp-crm-full-list .berp-table-scroll{overflow-x:auto}
 .berp-crm-full-list .berp-lead-table{min-width:860px;table-layout:auto}
 .berp-lead-modal-panel,.berp-lead-detail{width:100%;padding:20px}
}

/* Builder ERP 6.4 - Final CRM Workspace */
.berp-wrap-crm{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:0!important}
.berp-wrap-crm .berp-crm-app{min-height:100vh;border-radius:0;overflow:visible;background:#f5f7fb;display:block}
.berp-crm-topnav{height:64px;background:#0f1726;color:#fff;display:flex;align-items:center;gap:24px;padding:0 28px;box-sizing:border-box;position:sticky;top:0;z-index:1000}
.berp-crm-brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.berp-crm-brand img{width:36px;height:36px;border-radius:8px;object-fit:contain;background:#fff}.berp-crm-topnav nav{display:flex;align-items:center;gap:4px;overflow:auto;flex:1}.berp-crm-topnav nav a{color:#cbd5e1;text-decoration:none;padding:9px 12px;border-radius:8px;white-space:nowrap;font-size:14px}.berp-crm-topnav nav a.active,.berp-crm-topnav nav a:hover{background:rgba(255,255,255,.12);color:#fff}.berp-crm-user{white-space:nowrap;color:#cbd5e1;font-size:13px}.berp-crm-user a{color:#fff;text-decoration:none}
.berp-crm-main{padding:22px 28px 40px;box-sizing:border-box;width:100%;max-width:none}.berp-crm-pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.berp-crm-pagehead h1{margin:3px 0 0;font-size:30px}.berp-crm-workspace{width:100%;max-width:none}.berp-crm-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}.berp-crm-actions h2{margin:0;font-size:22px}.berp-crm-actions p{margin:4px 0 0}
.berp-crm-kpis-wide{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:9px;margin-bottom:12px}.berp-crm-kpis-wide>a{background:#fff;border:1px solid #e2e7ef;border-radius:11px;padding:11px 12px;text-decoration:none;color:#172033;min-width:0}.berp-crm-kpis-wide span{display:block;color:#64748b;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.berp-crm-kpis-wide strong{display:block;font-size:21px;margin-top:4px}.berp-crm-quickviews{display:flex;gap:7px;overflow:auto;padding:2px 0 10px}.berp-crm-quickviews a{background:#fff;border:1px solid #dfe5ed;border-radius:999px;padding:8px 12px;text-decoration:none;color:#334155;font-size:12px;font-weight:700;white-space:nowrap}.berp-crm-quickviews a:hover{border-color:var(--berp-brand);color:var(--berp-brand)}
.berp-crm-filter-wide{grid-template-columns:minmax(250px,2fr) repeat(6,minmax(120px,1fr)) auto auto}.berp-lead-table-card{width:100%;box-sizing:border-box}.berp-table-no-x{overflow-x:hidden!important}.berp-lead-table-final{width:100%;min-width:0!important;table-layout:fixed}.berp-lead-table-final th,.berp-lead-table-final td{white-space:normal!important;word-break:break-word;vertical-align:middle;padding:12px 10px}.berp-lead-table-final th:nth-child(1){width:5%}.berp-lead-table-final th:nth-child(2){width:8%}.berp-lead-table-final th:nth-child(3){width:15%}.berp-lead-table-final th:nth-child(4){width:10%}.berp-lead-table-final th:nth-child(5){width:9%}.berp-lead-table-final th:nth-child(6){width:12%}.berp-lead-table-final th:nth-child(7){width:10%}.berp-lead-table-final th:nth-child(8){width:9%}.berp-lead-table-final th:nth-child(9){width:7%}.berp-lead-table-final th:nth-child(10){width:9%}.berp-lead-table-final th:nth-child(11){width:6%}.berp-lead-table-final thead th{background:#f8fafc;position:static;top:auto;z-index:auto}.berp-lead-table-final tbody tr:hover td{background:#f8fbff}.berp-lead-table-final tbody tr.is-selected td{background:#eef5ff}.berp-lead-table-final .berp-lead-link{display:flex;gap:2px;min-width:0}.berp-lead-table-final .berp-lead-link strong{overflow-wrap:anywhere}.berp-client-name-line{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.berp-priority-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;font-size:10px;line-height:1;font-weight:800;letter-spacing:.02em;white-space:nowrap;border:1px solid transparent}.berp-priority-dot{width:6px;height:6px;border-radius:50%;display:inline-block;flex:0 0 6px}.berp-priority-badge.hot{color:#be123c;background:#fff1f2;border-color:#fecdd3}.berp-priority-badge.hot .berp-priority-dot{background:#e11d48}.berp-priority-badge.warm{color:#b45309;background:#fffbeb;border-color:#fde68a}.berp-priority-badge.warm .berp-priority-dot{background:#f59e0b}.berp-priority-badge.cold{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.berp-priority-badge.cold .berp-priority-dot{background:#3b82f6}.berp-lead-table-final td:nth-child(4),.berp-lead-table-final td:nth-child(7),.berp-lead-table-final td:nth-child(9){white-space:nowrap!important}
.berp-pagination{display:flex;justify-content:flex-end;gap:5px;padding-top:14px}.berp-pagination a,.berp-pagination span{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe5ed;border-radius:8px;text-decoration:none;background:#fff;color:#334155}.berp-pagination a.active{background:var(--berp-brand);color:#fff;border-color:var(--berp-brand)}
.berp-lead-detail-final{background:#fff;border:1px solid #dbe3ee;border-left:4px solid var(--berp-brand);border-radius:14px;padding:22px;box-shadow:0 12px 35px rgba(15,23,42,.08);margin-bottom:16px}.berp-lead-facts-wide{grid-template-columns:repeat(7,1fr)}.berp-detail-grid-final{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(0,1.15fr);gap:22px;margin-top:18px}.berp-detail-grid-final>div{background:#f8fafc;border:1px solid #e7ebf0;border-radius:12px;padding:16px}
.berp-import-preview{border-left:4px solid var(--berp-brand)}.berp-preview-errors{background:#fff8f8;border:1px solid #ffd7d7;border-radius:10px;padding:10px;margin:10px 0;color:#9d1e2c;max-height:180px;overflow:auto}.berp-preview-errors div{padding:4px 0}
.berp-lead-modal-panel{width:min(760px,100%)}.berp-lead-modal-panel .berp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-lead-modal-panel{padding:26px}.berp-lead-modal-panel .berp-form-grid label{min-width:0}
body.berp-crm-active #wpadminbar{display:none!important}body.berp-crm-active{margin-top:0!important}
@media(max-width:1200px){.berp-crm-kpis-wide{grid-template-columns:repeat(6,minmax(0,1fr))}.berp-crm-filter-wide{grid-template-columns:repeat(4,minmax(0,1fr))}.berp-lead-facts-wide{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.berp-crm-topnav{padding:0 14px;gap:10px}.berp-crm-brand strong{display:none}.berp-crm-user{display:none}.berp-crm-main{padding:16px}.berp-crm-actions{align-items:flex-start;flex-direction:column}.berp-crm-kpis-wide{grid-template-columns:repeat(3,minmax(0,1fr))}.berp-crm-filter-wide{grid-template-columns:1fr 1fr}.berp-table-no-x{overflow-x:auto!important}.berp-lead-table-final{min-width:1050px!important;table-layout:auto}.berp-detail-grid-final{grid-template-columns:1fr}.berp-lead-facts-wide{grid-template-columns:repeat(2,1fr)}.berp-lead-table-final thead th{top:auto}}
@media(max-width:600px){.berp-crm-kpis-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-crm-filter-wide{grid-template-columns:1fr}.berp-lead-modal-panel .berp-form-grid{grid-template-columns:1fr}.berp-lead-facts-wide{grid-template-columns:1fr}.berp-crm-actions .berp-detail-actions{width:100%}.berp-crm-actions .berp-detail-actions .berp-btn{flex:1}}
.berp-import-history-list{display:grid;gap:8px}.berp-import-history-list>div{display:grid;grid-template-columns:190px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f4}.berp-import-history-list>div:last-child{border-bottom:0}.berp-import-history-list span{color:#64748b}



/* Builder ERP 6.6 — dashboard daily desk + lead integrations */
.berp-dashboard-followups{margin-top:18px;background:#fff;border:1px solid #e3e8f0;border-radius:18px;padding:20px;box-shadow:0 8px 26px rgba(15,23,42,.05)}
.berp-dashboard-section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}.berp-dashboard-section-head h2{margin:5px 0 3px;font-size:22px}.berp-dashboard-section-head p{margin:0;font-size:12px}.berp-dashboard-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.berp-dashboard-new-leads{font-size:12px;color:#64748b;background:#f7f9fc;border:1px solid #e6eaf0;border-radius:10px;padding:9px 11px}.berp-dashboard-new-leads strong{color:#172033}.berp-dashboard-followup-scroll{overflow:auto;max-height:390px;border:1px solid #e6eaf0;border-radius:12px}.berp-dashboard-followup-table{margin:0;min-width:1120px}.berp-dashboard-followup-table th{position:sticky;top:0;background:#f8fafc;z-index:2}.berp-dashboard-followup-table td,.berp-dashboard-followup-table th{padding:11px 10px}.berp-dashboard-lead{font-weight:800;color:var(--berp-brand,#173d78);text-decoration:none}.berp-dashboard-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.berp-dashboard-actions form{margin:0;padding:0}.berp-action-icon{width:38px;height:38px;padding:0;border:0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;font:700 18px/1 system-ui,sans-serif;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.berp-action-icon:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(15,23,42,.10)}.berp-action-icon.call{background:#eaf8ee;color:#16803c}.berp-action-icon.whatsapp{background:#eaf8ee;color:#159447}.berp-action-icon.edit{background:#edf4ff;color:#2563eb}.berp-action-icon.delete{background:#fff0f2;color:#dc3545}.berp-action-icon span{display:block}.berp-action-icon.whatsapp span{font-size:16px}.berp-action-icon.delete span{font-size:19px}.berp-empty{display:flex;flex-direction:column;align-items:center;gap:5px;padding:28px;color:#64748b}.berp-empty strong{color:#334155}.berp-integration-page{display:grid;gap:16px}.berp-integration-intro h2{margin:5px 0}.berp-integration-intro p{margin:0;color:#64748b}.berp-integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.berp-integration-card{min-width:0}.berp-integration-title{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:16px}.berp-integration-title>div{display:flex;gap:11px;align-items:flex-start}.berp-integration-title h3{margin:1px 0 3px}.berp-integration-title p{margin:0;font-size:12px}.berp-source-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;background:#eef2f7;color:#334155}.berp-source-icon.meta{background:#eef0ff;color:#3f3aa8}.berp-connection{font-size:11px;font-weight:800;border-radius:99px;padding:6px 9px;white-space:nowrap}.berp-connection.on{background:#e8f7ef;color:#18794e}.berp-connection.off{background:#f2f4f7;color:#667085}.berp-check-row{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px!important;font-weight:600!important}.berp-check-row input{width:16px!important;height:16px!important}.berp-integration-url{padding:10px 12px;background:#f7f9fc;border:1px solid #e6eaf0;border-radius:10px;margin:8px 0 12px}.berp-integration-url small{display:block;color:#64748b;font-size:10px;margin-bottom:4px}.berp-integration-url code{display:block;white-space:pre-wrap;word-break:break-all;font-size:11px;color:#334155}.berp-copy-note{margin-top:6px}.berp-integration-actions{display:flex;gap:8px;flex-wrap:wrap}.berp-integration-help{margin-top:14px;background:#f7f9fc;border:1px solid #e6eaf0;border-radius:10px;padding:11px 12px;font-size:12px;line-height:1.55;color:#526074}.berp-public-lead-form{max-width:560px;padding:20px;background:#fff;border:1px solid #e3e8f0;border-radius:16px}.berp-public-lead-form label{display:grid;gap:6px;font-size:13px;font-weight:650;margin-bottom:12px}.berp-public-lead-form input,.berp-public-lead-form textarea{width:100%;box-sizing:border-box;border:1px solid #dbe1ea;border-radius:9px;padding:10px;font:inherit}.berp-public-lead-result{font-size:12px;margin-top:10px}.berp-public-lead-result.success{color:#18794e}.berp-public-lead-result.error{color:#b42318}
@media(max-width:900px){.berp-integration-grid{grid-template-columns:1fr}.berp-dashboard-section-head{align-items:flex-start;flex-direction:column}.berp-dashboard-head-actions{width:100%}.berp-dashboard-head-actions .berp-btn{flex:1}}

/* Builder ERP 6.5 — polished authentication */
.berp-auth-page{min-height:calc(100vh - 40px);margin:0;padding:48px 24px 34px;background:radial-gradient(circle at 15% 10%,rgba(23,61,120,.12),transparent 30%),radial-gradient(circle at 90% 80%,rgba(199,45,93,.10),transparent 28%),#f4f7fb;box-sizing:border-box;display:flex;justify-content:center}
.berp-auth-shell{width:min(1080px,100%);margin:auto}
.berp-auth-brand{display:flex;align-items:center;gap:13px;margin:0 auto 22px;max-width:560px}
.berp-auth-logo{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#173d78,#c72d5d);display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(23,61,120,.18)}
.berp-auth-logo span{color:#fff;font-size:23px;font-weight:900}
.berp-auth-brand strong{display:block;font-size:23px;letter-spacing:-.02em}.berp-auth-brand small{display:block;color:#718096;margin-top:2px}
.berp-auth-card{width:min(560px,100%);margin:0 auto;background:rgba(255,255,255,.96);border:1px solid #e5eaf1;border-radius:24px;padding:34px;box-shadow:0 24px 70px rgba(15,23,42,.10);box-sizing:border-box}
.berp-auth-head{text-align:left;margin-bottom:24px}.berp-auth-kicker{font-size:10px;letter-spacing:.14em;font-weight:800;color:#7b8799}.berp-auth-head h1{font-size:34px;line-height:1.1;margin:8px 0 8px;letter-spacing:-.035em}.berp-auth-head p{margin:0;color:#667085;font-size:14px;line-height:1.6}
.berp-auth-form{display:grid;gap:14px}.berp-auth-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#263247}.berp-auth-form input{width:100%;height:48px;padding:0 14px;border:1px solid #dce3ed;border-radius:11px;background:#fff;box-sizing:border-box;font:inherit;outline:none;transition:.18s}.berp-auth-form input:focus{border-color:#173d78;box-shadow:0 0 0 4px rgba(23,61,120,.08)}
.berp-password-wrap{position:relative}.berp-password-wrap input{padding-right:66px}.berp-password-toggle{position:absolute;right:8px;top:7px;height:34px;border:0;background:#f3f5f8;color:#4b5565;border-radius:8px;padding:0 9px;font-size:11px;font-weight:800;cursor:pointer}
.berp-auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}.berp-auth-row>a,.berp-auth-switch a{color:#173d78;font-weight:800;text-decoration:none}.berp-check{display:flex!important;align-items:center;gap:7px!important;font-weight:500!important}.berp-check input{width:16px!important;height:16px!important}
.berp-auth-submit{width:100%;height:50px;border:0;border-radius:11px;background:linear-gradient(135deg,#173d78,#24569e);color:#fff;font:inherit;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 10px 24px rgba(23,61,120,.18);text-decoration:none}.berp-auth-submit span{font-size:18px}.berp-button-link{box-sizing:border-box}
.berp-auth-switch{text-align:center;margin-top:20px;padding-top:18px;border-top:1px solid #edf0f4;color:#7b8799;font-size:13px}.berp-trial-note{margin-top:16px;padding:12px 14px;background:#f5f8ff;border:1px solid #e3eafb;border-radius:11px}.berp-trial-note strong{display:block;font-size:12px;color:#173d78}.berp-trial-note span{display:block;font-size:11px;color:#6b778b;margin-top:3px}
.berp-auth-help{font-size:12px;line-height:1.6;color:#718096;background:#f7f8fa;border-radius:11px;padding:12px 14px;margin-top:14px}.berp-auth-footer{max-width:560px;margin:18px auto 0;display:flex;justify-content:center;gap:8px;color:#9aa4b2;font-size:11px}
@media(max-width:700px){.berp-auth-page{padding:25px 14px}.berp-auth-card{padding:24px 18px;border-radius:18px}.berp-auth-head h1{font-size:29px}.berp-auth-row{align-items:flex-start}.berp-form-grid{grid-template-columns:1fr}}

/* Builder ERP 6.7 · Final Inventory */
.berp-inventory-page{width:100%;min-width:0}.berp-inventory-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:14px}.berp-inventory-toolbar h2{margin:4px 0}.berp-inventory-filter-form{display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(5,minmax(120px,1fr)) auto auto;gap:9px;align-items:center}.berp-inventory-view-toggle{display:flex;gap:8px;margin:14px 0}.berp-inventory-floor{background:#fff;border:1px solid #e3e8ef;border-radius:14px;padding:14px;margin-bottom:14px}.berp-inventory-floor-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.berp-inventory-floor-head strong,.berp-inventory-floor-head span{display:block}.berp-inventory-floor-head span{color:#718096;font-size:12px;margin-top:3px}.berp-unit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}.berp-unit-card{border:1px solid #dfe5ed;border-radius:12px;background:#fff;text-align:left;padding:13px;cursor:pointer;min-height:122px;display:flex;flex-direction:column;gap:9px;box-shadow:0 3px 12px rgba(15,23,42,.04)}.berp-unit-card:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(15,23,42,.08)}.berp-unit-card-top{display:flex;justify-content:space-between;gap:7px;align-items:flex-start}.berp-unit-card-top strong{font-size:16px}.berp-unit-card-area{font-size:12px;color:#64748b}.berp-unit-card-price{font-size:15px;font-weight:800;margin-top:auto}.berp-unit-card.status-available{border-left:4px solid #2f9e67}.berp-unit-card.status-hold{border-left:4px solid #d48a00}.berp-unit-card.status-reserved{border-left:4px solid #6655c9}.berp-unit-card.status-booked{border-left:4px solid #d48a00}.berp-unit-card.status-sold{border-left:4px solid #c93645}.berp-unit-card.status-blocked{border-left:4px solid #6b7280}.berp-inventory-table{min-width:1000px}.berp-modal{position:fixed;inset:0;z-index:99999}.berp-modal[hidden]{display:none}.berp-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.55)}.berp-modal-card{position:relative;width:min(860px,calc(100% - 28px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#fff;border-radius:16px;padding:22px;box-shadow:0 20px 60px rgba(0,0,0,.2)}.berp-modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#64748b}.berp-modal-card h3{margin-top:0}.berp-field-full{grid-column:1/-1}.berp-inventory-detail-notes{background:#f8fafc;border-radius:12px;padding:14px;margin:14px 0}.berp-inventory-detail-notes h4{margin:0 0 5px}.berp-inventory-detail-notes p{margin:0 0 12px}.berp-inventory-detail-notes p:last-child{margin-bottom:0}.berp-inventory-status-actions{border-top:1px solid #e8edf3;border-bottom:1px solid #e8edf3;padding:14px 0;margin:14px 0}.berp-inventory-status-actions>strong{display:block;margin-bottom:8px}.berp-import-preview{margin-bottom:14px}.berp-preview-errors{background:#fff8f8;border:1px solid #f1d5d8;border-radius:9px;padding:10px;margin-bottom:12px;font-size:12px;line-height:1.6}.berp-modal-open{overflow:hidden}
@media(max-width:1100px){.berp-inventory-filter-form{grid-template-columns:repeat(3,1fr)}.berp-inventory-toolbar{align-items:flex-start;flex-direction:column}.berp-inventory-toolbar .berp-detail-actions{width:100%}}
@media(max-width:700px){.berp-inventory-filter-form{grid-template-columns:1fr}.berp-inventory-view-toggle .berp-btn{flex:1}.berp-unit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-unit-card{min-width:0;padding:10px}.berp-unit-card-top{display:block}.berp-unit-card-top .berp-pill{margin-top:5px}.berp-modal-card{margin:10px auto;max-height:calc(100vh - 20px);padding:17px}.berp-field-full{grid-column:auto}}

/* Builder ERP 6.7.1 - Inventory Grid Board matching the approved reference */
.berp-inventory-grid-mode .berp-inventory-toolbar{margin-bottom:16px}
.berp-inventory-grid-mode .berp-inventory-toolbar h2{font-size:30px;letter-spacing:-.02em}
.berp-inventory-grid-mode .berp-inventory-toolbar p{margin:4px 0 0}
.berp-inventory-grid-mode .berp-inventory-filters{padding:14px 16px;border-radius:14px;margin-bottom:14px}
.berp-inventory-grid-mode .berp-inventory-filter-form{grid-template-columns:minmax(240px,1.8fr) repeat(3,minmax(140px,1fr)) auto auto;gap:10px}
.berp-inventory-grid-mode .berp-inventory-filter-form input,.berp-inventory-grid-mode .berp-inventory-filter-form select{height:46px;padding:0 13px}
.berp-inventory-board{background:#fff;border:1px solid #e1e7ef;border-radius:16px;padding:18px;margin-bottom:16px;box-shadow:0 5px 18px rgba(15,23,42,.05)}
.berp-inventory-board-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;padding:0 4px 15px;border-bottom:1px solid #e7ebf1;margin-bottom:14px}
.berp-inventory-board-title>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.berp-inventory-board-project{font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:800;letter-spacing:.02em;color:#172f58;text-transform:uppercase}
.berp-inventory-board-title strong{font-size:17px;color:#c4911e;letter-spacing:.08em;text-transform:uppercase}
.berp-inventory-board-count{font-size:12px;font-weight:800;color:#64748b;white-space:nowrap}
.berp-inventory-grid-scroll{overflow-x:auto;padding-bottom:2px}
.berp-inventory-grid-table{display:grid;gap:5px;min-width:calc(110px + (var(--berp-grid-cols) * 150px));font-size:13px}
.berp-inventory-grid-header,.berp-inventory-grid-row{display:grid;grid-template-columns:110px repeat(var(--berp-grid-cols),minmax(150px,1fr));gap:5px;min-width:0}
.berp-inventory-grid-header>div{height:38px;display:flex;align-items:center;justify-content:center;background:#173d78;color:#fff;border-radius:8px;font-size:11px;font-weight:900;letter-spacing:.05em}
.berp-inventory-grid-header>div:first-child{background:#173d78}
.berp-inventory-floor-label{min-height:88px;background:linear-gradient(180deg,#f3f6fb,#e9eef6);border-radius:9px;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;color:#263d5f;font-weight:900;box-shadow:0 2px 8px rgba(15,23,42,.05)}
.berp-inventory-floor-label span{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#72809a}
.berp-inventory-grid-unit{position:relative;min-height:88px;border:0;border-radius:9px;padding:11px 10px 9px;cursor:pointer;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 4px 9px rgba(15,23,42,.08);transition:transform .12s ease,filter .12s ease}
.berp-inventory-grid-unit:hover{transform:translateY(-1px);filter:brightness(1.03)}
.berp-inventory-grid-unit strong{font-size:17px;line-height:1.1;letter-spacing:.01em}
.berp-inventory-grid-unit small{font-size:10px;font-weight:800;margin-top:5px;opacity:.96}
.berp-inventory-grid-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:18px;font-weight:900;line-height:1}
.berp-inventory-grid-unit.status-available{background:linear-gradient(180deg,#58c55a,#2f963c)}
.berp-inventory-grid-unit.status-sold{background:linear-gradient(180deg,#ef4545,#c9282e)}
.berp-inventory-grid-unit.status-reserved{background:linear-gradient(180deg,#ffb313,#e89100)}
.berp-inventory-grid-unit.status-blocked{background:linear-gradient(180deg,#697589,#343e4d)}
.berp-inventory-grid-empty{min-height:88px;border-radius:9px;background:#f8fafc;border:1px dashed #e1e6ee;display:flex;align-items:center;justify-content:center;color:#c5ccd7}
.berp-inventory-legend-card{background:#fff;border:1px solid #e2e7ee;border-radius:14px;padding:13px 16px;margin-top:4px;box-shadow:0 4px 14px rgba(15,23,42,.05)}
.berp-inventory-legend{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:0 0 10px;border-bottom:1px solid #e8ecf1}
.berp-inventory-legend span{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#465267}
.berp-inventory-legend i{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:12px;color:#fff;font-weight:900}
.berp-inventory-legend i.available{background:#43a950}
.berp-inventory-legend i.sold{background:#d52d34}
.berp-inventory-legend i.blocked{background:#485364}
.berp-inventory-legend i.reserved{background:#f0a000}
.berp-inventory-position{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:10px;color:#7b8799;font-size:10px;font-weight:700}
.berp-inventory-position strong{background:#173d78;color:#fff;border-radius:9px;padding:9px 18px;white-space:nowrap;font-size:11px}
.berp-inventory-grid-mode .berp-import-preview{margin-top:0}
@media(max-width:900px){
 .berp-inventory-grid-mode .berp-inventory-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .berp-inventory-board{padding:12px}
 .berp-inventory-board-project{font-size:20px}
}
@media(max-width:640px){
 .berp-inventory-grid-mode .berp-inventory-filter-form{grid-template-columns:1fr}
 .berp-inventory-grid-mode .berp-inventory-filter-form .berp-btn{width:100%}
 .berp-inventory-grid-table{min-width:calc(92px + (var(--berp-grid-cols) * 128px))}
 .berp-inventory-grid-header,.berp-inventory-grid-row{grid-template-columns:92px repeat(var(--berp-grid-cols),minmax(128px,1fr))}
 .berp-inventory-grid-header>div{height:34px;font-size:10px}
 .berp-inventory-floor-label,.berp-inventory-grid-unit,.berp-inventory-grid-empty{min-height:76px}
 .berp-inventory-grid-unit strong{font-size:15px}
 .berp-inventory-grid-icon{left:7px;font-size:15px}
 .berp-inventory-position{align-items:flex-start;flex-direction:column}
 .berp-inventory-position strong{width:100%;text-align:center;box-sizing:border-box}
}

/* Builder ERP 6.7.2 — Project inventory management */
.berp-project-row-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.berp-project-row-actions .berp-btn{white-space:nowrap}.berp-project-inventory-manager{margin-top:18px}.berp-project-inventory-grid{display:grid;grid-template-columns:minmax(330px,.85fr) minmax(520px,1.7fr);gap:16px}.berp-project-unit-form-card,.berp-project-unit-list-card{min-width:0}.berp-project-unit-form-card h3{margin-top:0}.berp-project-unit-table-wrap{overflow:auto;border:1px solid #e5eaf1;border-radius:12px}.berp-project-unit-table{width:100%;min-width:760px;border-collapse:collapse}.berp-project-unit-table th,.berp-project-unit-table td{padding:11px 10px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:middle;font-size:12px}.berp-project-unit-table th{background:#f8fafc;color:#5e6b7f;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.berp-project-unit-table tr:last-child td{border-bottom:0}.berp-project-unit-table td strong{display:block;font-size:13px;color:#172033}.berp-project-unit-table td small{display:block;color:#7b8799;margin-top:2px}.berp-project-unit-actions{display:flex;gap:6px;align-items:center}.berp-project-unit-actions form{margin:0}.berp-project-unit-actions .berp-btn{padding:7px 9px;font-size:11px}.berp-btn.danger{color:#b42318;border-color:#efb5bb;background:#fff5f5}.berp-btn.danger:hover{background:#fde8ea}.berp-projects-page .berp-list-row{gap:14px}.berp-projects-page .berp-card-head h2{margin:4px 0 2px}
@media(max-width:1000px){.berp-project-inventory-grid{grid-template-columns:1fr}.berp-project-unit-list-card{order:2}.berp-project-unit-form-card{order:1}}
@media(max-width:700px){.berp-project-row-actions{justify-content:flex-start}.berp-project-row-actions b{display:none}.berp-projects-page .berp-list-row{align-items:flex-start}.berp-project-inventory-manager{padding:14px}.berp-project-unit-table{min-width:700px}}

/* Builder ERP 6.7.3 — inventory areas, project-scoped Excel tools and tower headings */
.berp-project-inventory-head{align-items:flex-start}.berp-project-inventory-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.berp-project-import-panel{margin-top:14px;padding:16px;border:1px solid #dce4ee;border-radius:14px;background:#fbfcfe}.berp-project-preview{margin-top:14px}.berp-project-tower-section{margin-bottom:16px}.berp-project-tower-section:last-child{margin-bottom:0}.berp-project-tower-heading{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#f4f7fb;border:1px solid #e1e7ef;border-bottom:0;border-radius:12px 12px 0 0;color:#173d78}.berp-project-tower-heading strong{font-size:15px;text-transform:uppercase;letter-spacing:.03em}.berp-project-tower-heading span{font-size:14px;font-weight:800;color:#c4911e;text-transform:uppercase}.berp-project-tower-heading em{margin-left:auto;font-style:normal;font-size:11px;color:#68768a;font-weight:800}.berp-project-tower-section .berp-project-unit-table-wrap{border-radius:0 0 12px 12px}.berp-auto-total{font-weight:800!important;background:#f4f7fb!important;color:#173d78!important}.berp-inventory-form .berp-price-calc{background:#fff}.berp-project-unit-table{min-width:900px}.berp-project-inventory-tools .berp-pill{white-space:nowrap}
@media(max-width:900px){.berp-project-inventory-head{display:block}.berp-project-inventory-tools{justify-content:flex-start;margin-top:12px}.berp-project-inventory-tools .berp-btn{flex:1 1 auto}.berp-project-tower-heading{align-items:flex-start;flex-wrap:wrap}.berp-project-tower-heading em{margin-left:0;width:100%}}

/* Builder ERP 6.7.4 — unlimited project towers and client inventory sharing */
.berp-project-tower-manager{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(260px,1.35fr);gap:14px;align-items:center;margin:16px 0;padding:14px 16px;border:1px solid #e1e7ef;border-radius:14px;background:#f8fafc}.berp-project-tower-manager>div:first-child strong{display:block;color:#173d78;font-size:14px}.berp-project-tower-manager>div:first-child .muted{display:block;margin-top:4px;font-size:11px}.berp-project-tower-list{display:flex;gap:7px;flex-wrap:wrap}.berp-tower-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #d8e1ed;border-radius:999px;padding:7px 10px;color:#173d78;font-size:12px;font-weight:800}.berp-tower-chip form{margin:0}.berp-tower-chip button{border:0;background:transparent;color:#9a3b43;cursor:pointer;font-size:15px;line-height:1;padding:0}.berp-add-tower-form{display:flex;gap:7px;grid-column:1/-1}.berp-add-tower-form input{min-width:0;flex:1;height:40px}.berp-project-share-panel{margin-top:14px;padding:16px;border:1px solid #dce4ee;border-radius:14px;background:#fbfcfe}.berp-share-checks{display:flex;gap:18px;flex-wrap:wrap;padding:12px 0}.berp-share-checks label{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:#26364f}.berp-share-checks input{width:18px;height:18px}.berp-public-inventory-share{min-height:100vh;background:#f5f7fb;padding:30px;box-sizing:border-box}.berp-public-head{text-align:center;background:#fff;border-bottom:1px solid #e4e8ef;padding:24px;border-radius:16px 16px 0 0}.berp-public-head span{display:block;font:800 34px Georgia,serif;color:#172f58;text-transform:uppercase}.berp-public-head strong{display:block;margin-top:3px;color:#c4911e;font-size:18px;letter-spacing:.08em}.berp-public-head small{display:block;margin-top:5px;color:#64748b}.berp-public-board{background:#fff;border:1px solid #e1e7ef;border-radius:14px;padding:16px;margin-top:16px;overflow:auto}.berp-public-board h3{margin:0 0 12px;color:#173d78}.berp-public-grid{display:grid;grid-template-columns:110px repeat(var(--cols),minmax(140px,1fr));gap:5px;min-width:calc(110px + var(--cols) * 140px)}.berp-public-grid>div{min-height:72px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f8fafc;border:1px solid #e2e7ee;font-weight:800}.berp-public-grid>div:nth-child(-n+20){ }.berp-public-grid .floor{background:#edf2f8;color:#263d5f;font-size:11px}.berp-public-grid .cell{color:#fff;flex-direction:column;position:relative}.berp-public-grid .cell b{font-size:17px}.berp-public-grid .cell small{margin-top:4px;font-size:10px}.berp-public-grid .cell.available{background:linear-gradient(180deg,#58c55a,#2f963c)}.berp-public-grid .cell.sold{background:linear-gradient(180deg,#ef4545,#c9282e)}.berp-public-grid .cell.reserved{background:linear-gradient(180deg,#ffb313,#e89100)}.berp-public-grid .cell.blocked{background:linear-gradient(180deg,#697589,#343e4d)}.berp-public-grid .cell.empty{color:#c5ccd7;background:#fafbfd}.berp-public-legend{background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:14px;text-align:center;margin-top:16px;color:#465267;font-weight:800;font-size:12px}.berp-public-inventory-share .berp-public-board{box-shadow:0 5px 18px rgba(15,23,42,.05)}
@media(max-width:800px){.berp-project-tower-manager{grid-template-columns:1fr}.berp-add-tower-form{grid-column:auto}.berp-public-inventory-share{padding:12px}.berp-public-head span{font-size:25px}}
@media print{.berp-public-inventory-share{background:#fff;padding:0}.berp-public-head,.berp-public-board{box-shadow:none}.berp-public-board{break-inside:avoid}}

/* Builder ERP 6.7.7 — Projects page Step 1 clean rebuild */
.berp-projects-clean{max-width:1280px;margin:0 auto}.berp-projects-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:22px 24px;border:1px solid #e1e7ef;border-radius:18px;background:linear-gradient(135deg,#fff,#f7f9fc)}.berp-projects-hero h2{margin:3px 0 4px;color:#173d78;font-size:28px}.berp-projects-hero p{margin:0;color:#68768a;font-size:13px}.berp-add-project-hero{white-space:nowrap}.berp-projects-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;align-items:start}.berp-project-list-card{position:sticky;top:18px}.berp-project-cards{display:flex;flex-direction:column;gap:10px}.berp-project-card{border:1px solid #e2e7ee;border-radius:14px;padding:13px;background:#fff;transition:.15s ease}.berp-project-card:hover,.berp-project-card.is-active{border-color:#b8c8df;box-shadow:0 7px 20px rgba(23,61,120,.07)}.berp-project-card-main{display:flex;gap:11px;align-items:flex-start}.berp-project-card-icon{width:38px;height:38px;border-radius:11px;background:#edf3fb;color:#173d78;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:900;flex:none}.berp-project-card-main strong{display:block;color:#172033;font-size:14px}.berp-project-card-main small{display:block;color:#748094;margin-top:3px;line-height:1.4}.berp-project-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px}.berp-project-meta span{font-size:10px;font-weight:800;color:#536176;background:#f5f7fa;border-radius:999px;padding:4px 7px}.berp-project-card-actions{display:flex;gap:7px;align-items:center;margin-top:11px}.berp-project-card-actions form{margin:0}.berp-project-card-actions .berp-btn{font-size:11px;padding:7px 9px}.berp-project-workspace{min-width:0}.berp-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.berp-section-title h3{margin:3px 0 3px;color:#173d78;font-size:21px}.berp-section-title p{margin:0;color:#68768a;font-size:12px}.berp-step-badge,.berp-count-badge{width:34px;height:34px;border-radius:10px;background:#173d78;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;flex:none}.berp-form-section{border:1px solid #e2e7ee;border-radius:14px;padding:16px;background:#fbfcfe}.berp-form-section-title{margin-bottom:13px}.berp-form-section-title strong{display:block;color:#26364f;font-size:14px}.berp-form-section-title span{display:block;color:#7a8698;font-size:11px;margin-top:3px}.berp-project-form .berp-form-grid{gap:13px}.berp-project-form label{font-weight:800;color:#3a4960;font-size:11px}.berp-project-form input,.berp-project-form textarea{margin-top:6px}.berp-project-next-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:14px 16px;border:1px solid #dce5f1;border-radius:14px;background:#f5f8fc}.berp-project-next-card strong{display:block;color:#173d78;font-size:13px}.berp-project-next-card span{display:block;color:#6c788b;font-size:11px;margin-top:3px}.berp-edit-project-card{margin-bottom:18px}.berp-project-next-step{margin-bottom:18px}.berp-project-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.berp-project-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;padding:17px;border:1px solid #dfe6ef;border-radius:14px;background:#fff;text-decoration:none;color:inherit;cursor:pointer;transition:.15s ease}.berp-project-choice:hover{border-color:#9fb3ce;transform:translateY(-1px);box-shadow:0 7px 18px rgba(23,61,120,.07)}.berp-project-choice .choice-icon{width:34px;height:34px;border-radius:10px;background:#edf3fb;color:#173d78;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:900}.berp-project-choice strong{color:#173d78;font-size:13px}.berp-project-choice small{color:#718095;font-size:11px;line-height:1.45}.berp-tower-setup-card{margin-bottom:18px}.berp-tower-setup-list{display:flex;flex-direction:column;gap:7px}.berp-tower-setup-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e2e7ee;border-radius:11px;background:#fff}.berp-tower-setup-item>span{font-weight:800;color:#26364f}.berp-tower-setup-item em{font-style:normal;color:#7b8799;font-size:11px;margin-left:auto}.berp-tower-setup-item form{margin:0}.berp-icon-delete{border:0;background:transparent;color:#b42318;cursor:pointer;font-size:18px;line-height:1}.berp-add-tower-inline{display:flex;gap:8px;margin-top:12px}.berp-add-tower-inline input{flex:1;min-width:0}.berp-project-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #f0c7cb;border-radius:14px;background:#fff8f8;margin-bottom:18px}.berp-project-danger-zone strong{display:block;color:#8f2028;font-size:13px}.berp-project-danger-zone span{display:block;color:#7e6468;font-size:11px;margin-top:3px;line-height:1.45}.berp-project-danger-zone form{margin:0;flex:none}.berp-step1-import-panel{margin-top:0}.berp-step1-import-panel[hidden]{display:none!important}
@media(max-width:1050px){.berp-projects-layout{grid-template-columns:1fr}.berp-project-list-card{position:static}.berp-project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.berp-project-choice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.berp-projects-hero{align-items:flex-start;flex-direction:column}.berp-projects-hero h2{font-size:24px}.berp-add-project-hero{width:100%;text-align:center;box-sizing:border-box}.berp-project-cards,.berp-project-choice-grid{grid-template-columns:1fr}.berp-project-next-card,.berp-project-danger-zone{align-items:flex-start;flex-direction:column}.berp-project-next-card .berp-btn,.berp-project-danger-zone .berp-btn{width:100%;box-sizing:border-box;text-align:center}.berp-add-tower-inline{flex-direction:column}.berp-add-tower-inline .berp-btn{width:100%}}

/* v6.7.8 — Projects page: clean Add Project form only */
.berp-projects-simple{max-width:1120px;margin:0 auto;padding-bottom:28px}.berp-projects-simple-head{margin:4px 0 18px;padding:4px 2px}.berp-projects-simple-head h2{margin:4px 0 5px;color:#173d78;font-size:30px;letter-spacing:-.02em}.berp-projects-simple-head p{margin:0;color:#68768a;font-size:13px}.berp-project-create-card{overflow:hidden;border:1px solid #dfe6ef;box-shadow:0 10px 28px rgba(23,61,120,.06);background:#fff}.berp-project-create-head{display:flex;align-items:center;gap:14px;padding:22px 24px;border-bottom:1px solid #e6ebf1;background:linear-gradient(135deg,#fbfcfe,#f5f8fc)}.berp-project-create-icon{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#173d78;color:#fff;font-size:22px;font-weight:900;flex:none}.berp-project-create-head h3{margin:3px 0 4px;color:#172033;font-size:22px}.berp-project-create-head p{margin:0;color:#6d7a8d;font-size:12px;line-height:1.5}.berp-project-create-form{padding:24px}.berp-project-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px}.berp-project-field{min-width:0}.berp-project-field-full{grid-column:1/-1}.berp-project-field label{display:block;color:#243a5d;font-size:12px;font-weight:800;margin-bottom:7px}.berp-project-field label span{color:#c52c36}.berp-project-field input,.berp-project-field textarea{width:100%;box-sizing:border-box;border:1px solid #d6dfeb;border-radius:10px;background:#fff;color:#172033;padding:11px 12px;font-size:14px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.berp-project-field input{height:44px}.berp-project-field textarea{min-height:88px;resize:vertical;line-height:1.45}.berp-project-field input:focus,.berp-project-field textarea:focus{border-color:#6f8fb9;box-shadow:0 0 0 3px rgba(23,61,120,.08)}.berp-project-field small{display:block;margin-top:6px;color:#738096;font-size:11px;line-height:1.5}.berp-file-input-wrap{padding:8px;border:1px dashed #cbd7e6;border-radius:10px;background:#f8fafc}.berp-file-input-wrap input{height:auto;border:0;padding:3px;background:transparent;box-shadow:none}.berp-project-template-link{display:inline-flex;margin-top:9px;color:#1d5ba6;font-size:12px;font-weight:800;text-decoration:none}.berp-project-template-link:hover{text-decoration:underline}.berp-project-create-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:24px;padding-top:18px;border-top:1px solid #e7ebf1}.berp-project-create-note strong{display:block;color:#33445e;font-size:12px}.berp-project-create-note span{display:block;margin-top:3px;color:#7b8798;font-size:11px}.berp-project-add-btn{min-width:140px;justify-content:center}@media(max-width:720px){.berp-project-create-grid{grid-template-columns:1fr}.berp-project-field-full{grid-column:auto}.berp-project-create-head{align-items:flex-start;padding:18px}.berp-project-create-form{padding:18px}.berp-project-create-footer{align-items:stretch;flex-direction:column}.berp-project-add-btn{width:100%}}

/* Inventory Auto-Filter v6.7.10 */
.berp-inventory-filters{padding:14px 16px!important}
.berp-inventory-filter-form{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:end!important}
.berp-inventory-filter-field{display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important}
.berp-inventory-filter-field>span{font-size:12px!important;font-weight:800!important;letter-spacing:.04em!important;color:#64748b!important;text-transform:uppercase!important}
.berp-inventory-filter-field select{width:100%!important;height:46px!important;padding:0 13px!important;border:1px solid #d7dee8!important;border-radius:10px!important;background:#fff!important;color:#172033!important;font-size:14px!important;font-weight:700!important;box-sizing:border-box!important}
.berp-inventory-filter-field select:focus{outline:none!important;border-color:var(--berp-brand,#173d78)!important;box-shadow:0 0 0 3px rgba(23,61,120,.10)!important}
.berp-inventory-filter-field select:disabled{background:#f3f5f8!important;color:#98a2b3!important;cursor:not-allowed!important}
@media(max-width:700px){.berp-inventory-filter-form{grid-template-columns:1fr!important}}


/* v6.7.11 — Gemini-assisted Projects page rebuild */
.berp-projects-clean-v3{max-width:1280px;margin:0 auto;padding-bottom:32px}.berp-projects-hero-v3{margin-bottom:18px}.berp-project-create-card-v3{overflow:hidden}.berp-project-create-form-v3{padding:24px}.berp-project-form-actions{display:flex;gap:8px;align-items:center}.berp-projects-directory-v3{margin-top:22px}.berp-projects-directory-head{margin-bottom:14px}.berp-projects-directory-head h3{margin:4px 0;color:#173d78;font-size:23px}.berp-directory-count{display:inline-flex;min-width:28px;height:28px;padding:0 8px;align-items:center;justify-content:center;border-radius:999px;background:#edf3fb;color:#173d78;font-size:12px;vertical-align:middle}.berp-project-cards-grid-v3{display:grid;grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:18px}.berp-project-item-card-v3{display:flex;flex-direction:column;min-width:0;padding:20px;border:1px solid #dfe6ef;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(23,61,120,.055);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.berp-project-item-card-v3:hover{transform:translateY(-2px);border-color:#c5d3e5;box-shadow:0 12px 30px rgba(23,61,120,.09)}.berp-project-item-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.berp-project-item-kicker{display:block;color:#8190a5;font-size:9px;font-weight:900;letter-spacing:.14em}.berp-project-item-top h4{margin:5px 0 4px;color:#172f58;font-size:20px;line-height:1.2}.berp-project-item-top p{margin:0;color:#66758b;font-size:12px}.berp-project-status-badge{flex:none;padding:6px 9px;border-radius:999px;background:#eaf7ef;color:#18794e;font-size:10px;font-weight:900}.berp-project-info-row{display:flex;flex-direction:column;gap:4px;margin:15px 0;padding:11px 12px;border:1px solid #edf1f5;border-radius:11px;background:#fafbfd;color:#64748b;font-size:11px;line-height:1.4}.berp-project-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.berp-project-stat-grid>div{padding:10px 6px;text-align:center;border:1px solid #edf1f5;border-radius:10px;background:#f8fafc}.berp-project-stat-grid span{display:block;color:#738096;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.berp-project-stat-grid strong{display:block;margin-top:3px;color:#173d78;font-size:17px}.berp-project-contact-line{display:flex;gap:10px;justify-content:space-between;margin-top:13px;color:#64748b;font-size:10px}.berp-project-contact-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.berp-project-rate-line{display:flex;justify-content:space-between;align-items:center;margin-top:13px;padding-top:12px;border-top:1px dashed #dfe5ec;color:#64748b;font-size:11px}.berp-project-rate-line strong{color:#173d78;font-size:15px}.berp-project-item-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px;padding-top:14px;border-top:1px solid #eef2f6}.berp-project-item-actions form{margin:0}.berp-project-item-actions .berp-btn{font-size:11px;padding:8px 10px}.berp-project-item-actions .berp-btn.primary{flex:1 0 100%;text-align:center}.berp-project-modal-card{width:min(500px,calc(100vw - 28px))}.berp-project-modal-card h3{margin:4px 0 5px;color:#173d78;font-size:22px}.berp-project-modal-label{display:block;margin-top:18px;color:#33445e;font-size:12px;font-weight:800}.berp-project-modal-label input{width:100%;box-sizing:border-box;margin-top:7px;height:46px;border:1px solid #d5deea;border-radius:10px;padding:0 12px;font-size:15px}.berp-project-share-input{width:100%;box-sizing:border-box;margin-top:12px;height:46px;border:1px solid #d5deea;border-radius:10px;padding:0 12px;font-size:12px;background:#f8fafc}.berp-project-copy-status{display:block;margin-top:8px;color:#18794e;font-size:11px;font-weight:800}.berp-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media(max-width:760px){.berp-project-cards-grid-v3{grid-template-columns:1fr}.berp-project-stat-grid{grid-template-columns:repeat(2,1fr)}.berp-project-form-actions{flex-direction:column;align-items:stretch}.berp-project-form-actions .berp-btn{width:100%;text-align:center}.berp-project-contact-line{flex-direction:column;gap:4px}.berp-project-item-actions .berp-btn{flex:1 1 calc(50% - 7px)}.berp-project-item-actions .berp-btn.primary{flex:1 0 100%}.berp-project-item-actions form{flex:1 1 calc(50% - 7px)}.berp-project-item-actions form .berp-btn{width:100%}}

/* v6.7.14 — Legacy-compatible project directory, pricing and inventory live summary */
.berp-project-directory-table{width:100%;min-width:1050px;border-collapse:collapse}.berp-project-directory-table th,.berp-project-directory-table td{padding:14px 12px;border-bottom:1px solid #e7ebf1;text-align:left;vertical-align:middle}.berp-project-directory-table th{background:#173d78;color:#fff;font-size:12px;font-weight:900}.berp-project-directory-table td{color:#30415d;font-size:13px}.berp-project-directory-table td strong{display:block;color:#172f58}.berp-project-directory-table td small{display:block;margin-top:4px;color:#7b8799;font-size:10px}.berp-project-directory-table tbody tr:not(.berp-project-subrow):hover{background:#f8fafd}.berp-project-subrow td{padding:8px 12px;background:#fbfcfe;border-bottom:1px solid #e7ebf1}.berp-project-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.berp-project-actions form{margin:0}.berp-project-actions .berp-btn{font-size:11px;padding:8px 10px;white-space:nowrap}.berp-project-tower-list{display:flex;gap:6px;flex-wrap:wrap}.berp-tower-chip{display:inline-flex;align-items:center;gap:5px;background:#f7f9fc;border:1px solid #d9e2ee;border-radius:999px;padding:6px 9px;color:#173d78;font-size:11px;font-weight:800}.berp-tower-chip form{margin:0}.berp-tower-chip button{border:0;background:transparent;color:#a12b35;cursor:pointer;font-size:14px;padding:0;line-height:1}.berp-project-subrow .berp-inline-form{display:flex;gap:8px;align-items:center}.berp-project-subrow .berp-inline-form input{min-width:240px;height:38px}.berp-inventory-live-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0 16px}.berp-inventory-live-summary>div{padding:12px;border:1px solid #e1e7ef;border-radius:12px;background:#fff;text-align:center;box-shadow:0 4px 12px rgba(15,23,42,.04)}.berp-inventory-live-summary strong{display:block;font-size:22px;line-height:1.1;color:#173d78}.berp-inventory-live-summary span{display:block;margin-top:4px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#72809a}.berp-inventory-live-summary .available{background:#f0fdf4;border-color:#d6f2de}.berp-inventory-live-summary .available strong{color:#15803d}.berp-inventory-live-summary .sold{background:#fff1f2;border-color:#ffe0e4}.berp-inventory-live-summary .sold strong{color:#be123c}.berp-inventory-live-summary .blocked{background:#f3f5f8}.berp-inventory-live-summary .blocked strong{color:#475569}.berp-inventory-live-summary .reserved{background:#fff8e8;border-color:#ffe9b1}.berp-inventory-live-summary .reserved strong{color:#b26a00}.berp-projects-page .berp-table-scroll{overflow:auto}.berp-projects-page .berp-modal[hidden]{display:none!important}
@media(max-width:900px){.berp-inventory-live-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.berp-project-subrow .berp-inline-form{flex-wrap:wrap}.berp-project-subrow .berp-inline-form input{min-width:0;flex:1}.berp-project-actions .berp-btn{flex:1 1 auto}}
@media(max-width:600px){.berp-inventory-live-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Builder ERP 6.7.15 — Projects directory reference layout */
.berp-projects-page .berp-project-directory-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #e1e6ed;border-radius:14px;background:#fff}
.berp-projects-page .berp-project-directory-table th,.berp-projects-page .berp-project-directory-table td{padding:14px 14px;border-bottom:1px solid #e7ebf1;text-align:left;vertical-align:middle;white-space:normal}
.berp-projects-page .berp-project-directory-table th{background:#173d78;color:#fff;font-size:12px;font-weight:900}
.berp-projects-page .berp-project-directory-table th:nth-child(1){width:20%}.berp-projects-page .berp-project-directory-table th:nth-child(2){width:20%}.berp-projects-page .berp-project-directory-table th:nth-child(3){width:18%}.berp-projects-page .berp-project-directory-table th:nth-child(4){width:42%}
.berp-projects-page .berp-project-directory-table tbody tr:last-child td{border-bottom:0}
.berp-projects-page .berp-project-directory-table tbody tr:hover td{background:#f8fafd}
.berp-projects-page .berp-project-directory-table td strong{display:block;color:#172f58;font-weight:700}.berp-projects-page .berp-project-directory-table td small{display:block;margin-top:4px;color:#7b8799;font-size:10px}
.berp-projects-page .berp-project-actions{display:flex;gap:6px;align-items:center;flex-wrap:nowrap}.berp-projects-page .berp-project-actions form{margin:0}.berp-projects-page .berp-project-actions .berp-btn{font-size:12px;padding:9px 14px;white-space:nowrap;border:1px solid #d5dfed;background:#fff;color:#254a9a;border-radius:10px}.berp-projects-page .berp-project-actions .berp-btn.danger{color:#c52231;background:#fff;border-color:#d5dfed}.berp-projects-page .berp-project-actions .berp-btn:hover{background:#f5f8fd}
@media(max-width:900px){.berp-projects-page .berp-project-directory-table{min-width:820px}.berp-projects-page .berp-table-scroll{overflow-x:auto}.berp-projects-page .berp-project-actions{flex-wrap:wrap}}

/* v6.7.16 inventory: only Project, Tower/Block and Floor filters remain. */
.berp-inventory-filters-3 .berp-inventory-filter-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end;}
.berp-inventory-filters-3 .berp-inventory-filter-field{min-width:0;}
@media (max-width:760px){.berp-inventory-filters-3 .berp-inventory-filter-form{grid-template-columns:1fr;}}

/* v6.7.18 — compact project directory: no Units column; actions fully visible; address wraps to two lines */
.berp-projects-page .berp-project-directory-table .berp-project-address-2line{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.45;max-height:2.9em;word-break:break-word;}
.berp-projects-page .berp-project-directory-table td:nth-child(2){padding-right:10px;}
.berp-projects-page .berp-project-directory-table td:nth-child(4){padding-left:14px;padding-right:14px;}
.berp-projects-page .berp-project-actions{width:100%;gap:7px;justify-content:flex-start;overflow:visible;}
.berp-projects-page .berp-project-actions .berp-btn{flex:0 0 auto;}
@media(max-width:900px){.berp-projects-page .berp-project-directory-table{min-width:760px}.berp-projects-page .berp-project-actions{flex-wrap:nowrap;}}


/* v6.7.22 — Projects Actions overflow fix (requested layout) */
.berp-projects-page .berp-table-scroll,
.berp-projects-page .berp-table-responsive,
.berp-projects-page .berp-projects-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.berp-projects-page table.berp-project-directory-table {
    width: 100% !important;
    min-width: 1040px !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(1),
.berp-projects-page table.berp-project-directory-table td:nth-child(1) {
    width: 22% !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(2),
.berp-projects-page table.berp-project-directory-table td:nth-child(2) {
    width: 26% !important;
    max-width: 270px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(3),
.berp-projects-page table.berp-project-directory-table td:nth-child(3) {
    width: 12% !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(4),
.berp-projects-page table.berp-project-directory-table td:nth-child(4) {
    width: 40% !important;
    min-width: 360px !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

.berp-projects-page table.berp-project-directory-table .berp-project-address-2line {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    max-height: 2.9em !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.berp-projects-page .berp-project-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

.berp-projects-page .berp-project-actions form {
    display: flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.berp-projects-page .berp-project-actions .berp-btn,
.berp-projects-page .berp-project-actions a,
.berp-projects-page .berp-project-actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1100px) {
    .berp-projects-page table.berp-project-directory-table {
        min-width: 1040px !important;
    }
}

/* v6.7.24 — Inventory share modal: Download before WhatsApp; close only via X */
.berp-modal[data-inventory-share-modal] .berp-modal-actions{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-top:18px}
.berp-modal[data-inventory-share-modal] .berp-modal-actions .berp-btn{white-space:nowrap}

/* v6.7.25 — Final inventory export/share presentation */
.berp-inventory-page .berp-detail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.berp-modal[data-inventory-share-modal] .berp-modal-card{width:min(760px,calc(100vw - 32px));box-sizing:border-box}
.berp-modal[data-inventory-share-modal] .berp-share-checks{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:20px 0 6px}
.berp-modal[data-inventory-share-modal] .berp-share-checks label{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:#263752}
.berp-modal[data-inventory-share-modal] .berp-modal-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:20px;padding-top:16px;border-top:1px solid #edf1f5}
.berp-modal[data-inventory-share-modal] .berp-modal-actions .berp-btn{min-height:42px;padding:8px 16px;white-space:nowrap}
@media(max-width:600px){.berp-modal[data-inventory-share-modal] .berp-modal-actions{flex-direction:column}.berp-modal[data-inventory-share-modal] .berp-modal-actions .berp-btn{width:100%}}

/* v6.7.31 — Fit all project columns and Delete button without horizontal scroll */
.berp-projects-page .berp-table-scroll {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

.berp-projects-page table.berp-project-directory-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

/* Keep the four project-directory columns at the requested proportions. */
.berp-projects-page table.berp-project-directory-table th,
.berp-projects-page table.berp-project-directory-table td {
    padding: 10px 6px !important;
    box-sizing: border-box !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(1),
.berp-projects-page table.berp-project-directory-table td:nth-child(1) {
    width: 18% !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(2),
.berp-projects-page table.berp-project-directory-table td:nth-child(2) {
    width: 22% !important;
    max-width: none !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(3),
.berp-projects-page table.berp-project-directory-table td:nth-child(3) {
    width: 16% !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.berp-projects-page table.berp-project-directory-table th:nth-child(4),
.berp-projects-page table.berp-project-directory-table td:nth-child(4) {
    width: 22% !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

/* Address remains limited to two visual lines. */
.berp-projects-page table.berp-project-directory-table .berp-project-address-2line {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    line-height: 1.45 !important;
    max-height: 2.9em !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* Actions: all four controls stay on one line inside the 44% column. */
.berp-projects-page .berp-project-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

.berp-projects-page .berp-project-actions form {
    display: flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.berp-projects-page .berp-project-actions .berp-btn,
.berp-projects-page .berp-project-actions button,
.berp-projects-page .berp-project-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 7px !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

/* The table is intentionally kept inside its page width; no horizontal scroll. */
@media (max-width: 900px) {
    .berp-projects-page .berp-table-scroll {
        overflow-x: hidden !important;
    }

    .berp-projects-page table.berp-project-directory-table {
        min-width: 0 !important;
    }
}


/* ========================================================
   PREMIUM EXECUTIVE AUTH & LOGIN UI — v6.7.35
   ======================================================== */
.berp-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, rgba(23, 61, 120, 0.08), transparent 35%),
                radial-gradient(circle at 90% 80%, rgba(196, 145, 30, 0.08), transparent 35%),
                #f4f7fb;
    padding: 30px 16px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.berp-auth-shell { width: 100%; max-width: 460px; margin: 0 auto; }
.berp-auth-brand { display:flex; align-items:center; gap:12px; margin-bottom:24px; justify-content:center; }
.berp-auth-logo { width:44px; height:44px; border-radius:12px; background:linear-gradient(135deg,#173d78,#23569c); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:800; box-shadow:0 8px 20px rgba(23,61,120,.2); }
.berp-auth-brand strong { font-size:20px; color:#11223f; display:block; line-height:1.2; }
.berp-auth-brand small { font-size:12px; color:#64748b; display:block; }
.berp-auth-card { background:#fff; border:1px solid #e2e8f0; border-radius:20px; padding:36px 32px; box-shadow:0 16px 40px rgba(15,23,42,.06); }
.berp-auth-head { margin-bottom:24px; }
.berp-auth-kicker { font-size:10px; font-weight:800; letter-spacing:.12em; color:#94a3b8; text-transform:uppercase; display:block; margin-bottom:6px; }
.berp-auth-head h1 { font-size:28px; font-weight:800; color:#0f172a; margin:0 0 6px; letter-spacing:-.02em; }
.berp-auth-head p { font-size:14px; color:#64748b; margin:0; }
.berp-auth-form label { display:block; font-size:13px; font-weight:700; color:#334155; margin-bottom:16px; }
.berp-auth-form input[type="text"], .berp-auth-form input[type="email"], .berp-auth-form input[type="password"] { display:block; width:100%; height:46px; padding:0 14px; margin-top:6px; border:1px solid #cbd5e1; border-radius:10px; font-size:14px; color:#0f172a; background:#f8fafc; box-sizing:border-box; outline:none; transition:all .15s ease; }
.berp-auth-form input:focus { border-color:#173d78; background:#fff; box-shadow:0 0 0 3px rgba(23,61,120,.12); }
.berp-password-wrap { position:relative; width:100%; }
.berp-password-wrap input { padding-right:68px !important; }
.berp-password-toggle { position:absolute; right:8px; top:50%; transform:translateY(-50%); background:#e2e8f0; border:0; padding:5px 10px; font-size:11px; font-weight:700; color:#475569; border-radius:6px; cursor:pointer; }
.berp-password-toggle:hover { background:#cbd5e1; }
.berp-auth-row { display:flex; justify-content:space-between; align-items:center; margin:18px 0 22px; font-size:13px; }
.berp-check { display:flex !important; align-items:center; gap:8px; font-weight:600 !important; color:#475569; margin:0 !important; cursor:pointer; }
.berp-check input { width:16px; height:16px; accent-color:#173d78; cursor:pointer; }
.berp-auth-row a, .berp-auth-switch a { color:#173d78; font-weight:700; text-decoration:none; }
.berp-auth-row a:hover, .berp-auth-switch a:hover { text-decoration:underline; }
.berp-auth-submit { width:100%; height:48px; background:linear-gradient(135deg,#173d78,#204c8f); color:#fff; border:0; border-radius:10px; font-size:15px; font-weight:800; cursor:pointer; box-shadow:0 10px 22px rgba(23,61,120,.2); display:flex; align-items:center; justify-content:center; gap:8px; transition:all .15s ease; }
.berp-auth-submit:hover { transform:translateY(-1px); box-shadow:0 12px 26px rgba(23,61,120,.25); background:#14356a; }
.berp-auth-switch { text-align:center; font-size:13px; color:#64748b; margin-top:20px; padding-top:18px; border-top:1px solid #f1f5f9; }
.berp-auth-footer { display:flex; justify-content:center; gap:8px; margin-top:24px; font-size:12px; color:#94a3b8; }
@media (max-width:520px) { .berp-auth-page{padding:20px 12px;} .berp-auth-card{padding:28px 20px; border-radius:16px;} .berp-auth-head h1{font-size:25px;} .berp-auth-row{gap:12px;} }


/* ========================================================
   AUTH PAGE FINAL NORMALIZATION — v6.7.36
   Loads correctly on logged-out shortcode pages and wins over
   common WordPress/theme form rules without touching the ERP UI.
   ======================================================== */
html body .berp-wrap .berp-auth-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: radial-gradient(circle at 12% 12%, rgba(23,61,120,.10), transparent 32%),
                radial-gradient(circle at 88% 82%, rgba(179,125,20,.10), transparent 30%),
                #f4f7fb !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
html body .berp-wrap .berp-auth-shell {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    box-sizing: border-box;
}
html body .berp-wrap .berp-auth-brand {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    margin: 0 auto 24px;
    box-sizing: border-box;
}
html body .berp-wrap .berp-auth-logo {
    flex: 0 0 46px;
    width: 46px !important;
    height: 46px !important;
    border-radius: 13px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg,#173d78,#24569e) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(23,61,120,.18);
}
html body .berp-wrap .berp-auth-logo span {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}
html body .berp-wrap .berp-auth-brand strong,
html body .berp-wrap .berp-auth-brand small {
    display: block !important;
    margin: 0 !important;
}
html body .berp-wrap .berp-auth-brand strong {
    font-size: 20px !important;
    line-height: 1.2 !important;
    color: #11223f !important;
}
html body .berp-wrap .berp-auth-brand small {
    margin-top: 3px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #64748b !important;
}
html body .berp-wrap .berp-auth-card {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    padding: 34px 32px !important;
    box-sizing: border-box !important;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 55px rgba(15,23,42,.10) !important;
}
html body .berp-wrap .berp-auth-head {
    display: block !important;
    margin: 0 0 24px !important;
}
html body .berp-wrap .berp-auth-head h1 {
    margin: 7px 0 7px !important;
    font-size: 30px !important;
    line-height: 1.12 !important;
    color: #0f172a !important;
}
html body .berp-wrap .berp-auth-head p {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #64748b !important;
}
html body .berp-wrap form.berp-auth-form {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 0 !important;
}
html body .berp-wrap form.berp-auth-form > label {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #334155 !important;
    box-sizing: border-box !important;
}
html body .berp-wrap form.berp-auth-form > label > input[type="text"],
html body .berp-wrap form.berp-auth-form > label > input[type="email"],
html body .berp-wrap form.berp-auth-form > label > input[type="password"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 46px !important;
    margin: 7px 0 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: 14px !important;
    line-height: 46px !important;
}
html body .berp-wrap .berp-password-wrap {
    width: 100% !important;
    display: block !important;
    position: relative !important;
    margin-top: 7px !important;
}
html body .berp-wrap .berp-password-wrap input[type="password"] {
    margin-top: 0 !important;
    padding-right: 68px !important;
}
html body .berp-wrap .berp-password-toggle {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #e2e8f0 !important;
    color: #475569 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}
html body .berp-wrap .berp-auth-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 2px 0 6px !important;
    box-sizing: border-box !important;
}
html body .berp-wrap .berp-auth-row .berp-check {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}
html body .berp-wrap .berp-auth-row .berp-check input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    flex: 0 0 16px !important;
}
html body .berp-wrap .berp-auth-submit {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg,#173d78,#204c8f) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}
html body .berp-wrap .berp-auth-switch {
    display: block !important;
    width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 18px 0 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
html body .berp-wrap .berp-auth-footer {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin: 18px 0 0 !important;
}
@media (max-width:520px) {
    html body .berp-wrap .berp-auth-page { padding: 24px 12px !important; }
    html body .berp-wrap .berp-auth-card { padding: 28px 20px !important; border-radius: 16px !important; }
    html body .berp-wrap .berp-auth-head h1 { font-size: 26px !important; }
    html body .berp-wrap .berp-auth-row { align-items: flex-start !important; }
}

/* Builder ERP 6.7.40 — Premium Add Lead UI */
.berp-lead-modal-panel{
  width:min(820px,calc(100% - 32px));
  padding:0;
  background:#f7f9fc;
  border-left:1px solid #e4e9f1;
  box-shadow:-24px 0 70px rgba(15,23,42,.20);
  display:flex;
  flex-direction:column;
}
.berp-lead-modal-backdrop{
  background:rgba(15,23,42,.58);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.berp-lead-modal-panel>.berp-card-head{
  position:sticky;
  top:0;
  z-index:4;
  flex:0 0 auto;
  padding:24px 30px 20px;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #e8edf3;
  box-shadow:0 3px 14px rgba(15,23,42,.04);
  align-items:flex-start;
}
.berp-lead-modal-panel>.berp-card-head h3{
  margin:0;
  color:#172033;
  font-size:27px;
  line-height:1.15;
  letter-spacing:-.025em;
  font-weight:800;
}
.berp-lead-modal-panel>.berp-card-head .muted{
  display:block;
  margin-top:7px;
  color:#718096;
  font-size:13px;
  line-height:1.45;
}
.berp-lead-modal-panel>.berp-card-head:before{
  content:"NEW LEAD";
  display:block;
  position:absolute;
  left:30px;
  top:10px;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.16em;
  color:var(--berp-brand,#173d78);
  opacity:.78;
}
.berp-lead-modal-panel>.berp-card-head>div{padding-top:7px}
.berp-lead-modal-panel .berp-modal-close{
  position:relative;
  right:auto;
  top:auto;
  flex:0 0 40px;
  width:40px;
  height:40px;
  border:1px solid #dfe5ed;
  border-radius:11px;
  background:#fff;
  color:#64748b;
  font-size:24px;
  font-weight:500;
  transition:all .18s ease;
}
.berp-lead-modal-panel .berp-modal-close:hover{
  background:#fff5f7;
  border-color:#e34a69;
  color:#c72d5d;
  transform:translateY(-1px);
}
.berp-lead-modal-panel form{
  min-height:0;
  overflow:auto;
  padding:26px 30px 28px;
  box-sizing:border-box;
}
.berp-lead-modal-panel .berp-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px 18px;
  margin:0;
}
.berp-lead-modal-panel .berp-form-grid label,
.berp-lead-modal-panel>form>label{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:7px;
  min-width:0;
  margin:0;
  color:#344054;
  font-size:12px;
  line-height:1.2;
  font-weight:750;
  letter-spacing:.01em;
}
.berp-lead-modal-panel .berp-form-grid label:nth-child(1),
.berp-lead-modal-panel .berp-form-grid label:nth-child(2){
  position:relative;
}
.berp-lead-modal-panel .berp-form-grid label:nth-child(1):after,
.berp-lead-modal-panel .berp-form-grid label:nth-child(2):after{
  content:"Required";
  position:absolute;
  right:0;
  top:0;
  font-size:10px;
  font-weight:650;
  color:#c72d5d;
}
.berp-lead-modal-panel input,
.berp-lead-modal-panel select,
.berp-lead-modal-panel textarea{
  width:100%!important;
  max-width:none!important;
  min-width:0;
  box-sizing:border-box;
  margin:0!important;
  border:1px solid #d8e0ea!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#172033!important;
  font:inherit;
  font-size:14px!important;
  font-weight:500;
  outline:none;
  box-shadow:0 1px 2px rgba(15,23,42,.03)!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.berp-lead-modal-panel input,
.berp-lead-modal-panel select{height:46px!important;padding:0 13px!important}
.berp-lead-modal-panel textarea{min-height:116px;padding:12px 13px!important;resize:vertical}
.berp-lead-modal-panel input::placeholder,
.berp-lead-modal-panel textarea::placeholder{color:#98a2b3;opacity:1}
.berp-lead-modal-panel input:hover,
.berp-lead-modal-panel select:hover,
.berp-lead-modal-panel textarea:hover{border-color:#bcc8d7!important}
.berp-lead-modal-panel input:focus,
.berp-lead-modal-panel select:focus,
.berp-lead-modal-panel textarea:focus{
  border-color:#6b5be7!important;
  box-shadow:0 0 0 4px rgba(107,91,231,.10),0 1px 2px rgba(15,23,42,.03)!important;
  background:#fff!important;
}
.berp-lead-modal-panel select{cursor:pointer}
.berp-lead-modal-panel input[type=number]{font-variant-numeric:tabular-nums}
.berp-lead-modal-panel input[type=datetime-local]{color:#344054}
.berp-lead-modal-panel .berp-form-grid label:nth-child(17){grid-column:1}
.berp-lead-modal-panel>form>label{
  margin-top:20px;
}
.berp-lead-modal-panel>form>label textarea{min-height:112px}
.berp-lead-modal-panel .berp-modal-actions{
  position:sticky;
  bottom:0;
  z-index:3;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin:24px -30px -28px;
  padding:14px 30px;
  background:rgba(255,255,255,.96);
  border-top:1px solid #e7ecf2;
  box-shadow:0 -6px 20px rgba(15,23,42,.05);
}
.berp-lead-modal-panel .berp-modal-actions .berp-btn{
  min-width:108px;
  min-height:42px;
  border-radius:10px;
  font-size:13px;
  font-weight:800;
}
.berp-lead-modal-panel .berp-modal-actions .berp-btn:not(.primary){
  background:#fff;
  color:#475467;
  border:1px solid #d8e0ea;
}
.berp-lead-modal-panel .berp-modal-actions .berp-btn:not(.primary):hover{
  background:#f8fafc;
  border-color:#bfc9d7;
}
.berp-lead-modal-panel .berp-modal-actions .berp-btn.primary{
  min-width:128px;
  background:linear-gradient(135deg,#34228f,#241b79);
  box-shadow:0 8px 18px rgba(52,34,143,.20);
}
.berp-lead-modal-panel .berp-modal-actions .berp-btn.primary:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(52,34,143,.26);
}
@media(max-width:900px){
  .berp-lead-modal-panel{width:min(720px,100%);}
  .berp-lead-modal-panel>.berp-card-head{padding:22px 20px 18px}
  .berp-lead-modal-panel>.berp-card-head:before{left:20px}
  .berp-lead-modal-panel form{padding:22px 20px 24px}
  .berp-lead-modal-panel .berp-form-grid{grid-template-columns:1fr;gap:15px}
  .berp-lead-modal-panel .berp-modal-actions{margin:22px -20px -24px;padding:13px 20px}
}
@media(max-width:520px){
  .berp-lead-modal-panel>.berp-card-head h3{font-size:24px}
  .berp-lead-modal-panel .berp-modal-actions{justify-content:stretch}
  .berp-lead-modal-panel .berp-modal-actions .berp-btn{flex:1;min-width:0}
}

/* v6.7.43 — clicking a lead jumps directly to its detail section */
#berp-lead-detail{scroll-margin-top:90px;outline:none}

/* Builder ERP 6.7.45 — Premium CRM Lead Detail UI (responsive) */
.berp-lead-detail-final{
  --crm-ink:#14213d;--crm-muted:#718096;--crm-line:#e5eaf2;--crm-surface:#f7f9fc;--crm-primary:#4338ca;--crm-accent:#d52f72;
  position:relative;background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
  border:1px solid var(--crm-line);border-left:0;border-radius:20px;padding:24px;
  box-shadow:0 16px 45px rgba(31,41,55,.10);margin-bottom:20px;overflow:hidden;
}
.berp-lead-detail-final:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--crm-primary),var(--crm-accent));}
.berp-lead-detail-final>.berp-card-head{gap:18px;align-items:flex-start;padding:2px 2px 18px;border-bottom:1px solid #edf1f6;margin-bottom:18px;}
.berp-lead-detail-final>.berp-card-head h3{margin:0;color:var(--crm-ink);font-size:26px;line-height:1.15;letter-spacing:-.02em;}
.berp-lead-detail-final>.berp-card-head .muted{display:block;margin-top:7px;color:#7a8799;font-size:13px;}
.berp-lead-detail-final .berp-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto;}
.berp-lead-detail-final .berp-detail-actions .berp-btn{min-height:40px;padding:9px 14px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#23304a;box-shadow:0 2px 5px rgba(15,23,42,.04);font-size:13px;font-weight:750;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;}
.berp-lead-detail-final .berp-detail-actions .berp-btn:hover{transform:translateY(-1px);box-shadow:0 7px 16px rgba(15,23,42,.09);border-color:#cbd5e1;}
.berp-lead-detail-final .berp-detail-actions .berp-btn:before{font-size:15px;margin-right:6px;line-height:1;}
.berp-lead-detail-final .berp-detail-actions .berp-btn:nth-child(1){background:#effdf4;color:#16803b;border-color:#c9f0d8}.berp-lead-detail-final .berp-detail-actions .berp-btn:nth-child(1):before{content:"☎";}
.berp-lead-detail-final .berp-detail-actions .berp-btn:nth-child(2){background:#ecfdf5;color:#087f5b;border-color:#bcebd9}.berp-lead-detail-final .berp-detail-actions .berp-btn:nth-child(2):before{content:"◉";}
.berp-lead-detail-final .berp-detail-actions .berp-btn:nth-child(3){background:#f6f7fb;color:#4b5563}.berp-lead-detail-final .berp-detail-actions .berp-btn:nth-child(3):before{content:"×";font-weight:800;}
.berp-lead-detail-final .berp-detail-actions form{margin:0;display:block;}
.berp-lead-detail-final .berp-detail-actions form .berp-btn{background:#fff1f2;color:#c6283f;border-color:#fecdd3;}
.berp-lead-detail-final .berp-detail-actions form .berp-btn:before{content:"⌫";}
.berp-lead-facts-wide{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:0 0 20px;}
.berp-lead-facts-wide>div{min-width:0;position:relative;background:linear-gradient(180deg,#f8fafc,#f5f8fc);border:1px solid #e7ecf3;border-radius:12px;padding:12px 13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
.berp-lead-facts-wide>div:hover{transform:translateY(-1px);border-color:#d7def0;box-shadow:0 7px 18px rgba(15,23,42,.06);}
.berp-lead-facts-wide span{display:block;color:#8290a4;font-size:9.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.berp-lead-facts-wide span:before{display:inline-block;margin-right:5px;font-size:10px;color:var(--crm-primary);font-weight:900;}
.berp-lead-facts-wide>div:nth-child(1) span:before{content:"☎"}.berp-lead-facts-wide>div:nth-child(2) span:before{content:"◉"}.berp-lead-facts-wide>div:nth-child(3) span:before{content:"@"}.berp-lead-facts-wide>div:nth-child(4) span:before{content:"↗"}.berp-lead-facts-wide>div:nth-child(5) span:before{content:"⌂"}.berp-lead-facts-wide>div:nth-child(6) span:before{content:"₹"}.berp-lead-facts-wide>div:nth-child(7) span:before{content:"●"}.berp-lead-facts-wide>div:nth-child(8) span:before{content:"★"}.berp-lead-facts-wide>div:nth-child(9) span:before{content:"⌑"}.berp-lead-facts-wide>div:nth-child(10) span:before{content:"□"}.berp-lead-facts-wide>div:nth-child(11) span:before{content:"⌖"}.berp-lead-facts-wide>div:nth-child(12) span:before{content:"♙"}.berp-lead-facts-wide>div:nth-child(13) span:before{content:"◷"}.berp-lead-facts-wide>div:nth-child(14) span:before{content:"＋"}
.berp-lead-facts-wide strong{display:block;margin-top:6px;color:#16213b;font-size:13px;line-height:1.35;word-break:break-word;}
.berp-lead-facts-wide>div:nth-child(6) strong{color:#3156c9;font-size:14px;}
.berp-detail-grid-final{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:18px;margin-top:0;align-items:stretch;}
.berp-detail-grid-final>div{background:#fff!important;border:1px solid #e3e8f0!important;border-radius:16px!important;padding:20px!important;box-shadow:0 7px 22px rgba(15,23,42,.055);min-width:0;}
.berp-detail-grid-final h4{display:flex;align-items:center;gap:8px;margin:0 0 16px;color:#18243e;font-size:19px;letter-spacing:-.01em;}
.berp-detail-grid-final>div:first-child h4:before{content:"✎";display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#eef2ff;color:#4338ca;font-size:14px;}
.berp-detail-grid-final>div:nth-child(2) h4:before{content:"◷";display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#ecfdf5;color:#0f8b68;font-size:15px;}
.berp-detail-grid-final .berp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 14px;}
.berp-detail-grid-final label{display:grid;gap:6px;min-width:0;color:#536176;font-size:11px;font-weight:750;}
.berp-detail-grid-final label input,.berp-detail-grid-final label select,.berp-detail-grid-final label textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #d8e0ea;border-radius:10px;background:#fbfcfe;color:#18243e;padding:10px 11px;font-size:13px;outline:none;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;}
.berp-detail-grid-final label input:focus,.berp-detail-grid-final label select:focus,.berp-detail-grid-final label textarea:focus{border-color:#7467e8;background:#fff;box-shadow:0 0 0 3px rgba(67,56,202,.10);}
.berp-detail-grid-final>div:first-child>form>label{margin-top:13px;}
.berp-detail-grid-final textarea{resize:vertical;min-height:100px;}
.berp-detail-grid-final .berp-btn.primary{margin-top:14px;background:linear-gradient(135deg,#4f46e5,#3730a3);box-shadow:0 7px 16px rgba(67,56,202,.20);}
.berp-detail-grid-final .berp-btn.primary:hover{box-shadow:0 10px 22px rgba(67,56,202,.28);}
.berp-timeline{margin:0 0 18px;padding:2px 2px 0;}
.berp-timeline-item{grid-template-columns:18px minmax(0,1fr);gap:11px;padding-bottom:18px;}
.berp-timeline-dot{width:11px;height:11px;border:3px solid #e8e7ff;background:#5548d6;box-sizing:border-box;box-shadow:0 0 0 4px #f1f0ff;margin-top:4px;}
.berp-timeline-item:not(:last-child) .berp-timeline-dot:after{background:#dfe3ee;left:4px;top:11px;height:calc(100% + 18px);}
.berp-timeline-item strong{font-size:13px;color:#1b2741;}
.berp-timeline-item small{font-size:11px;color:#7a8799;margin-top:3px;}
.berp-timeline-item p{font-size:12px;color:#536176;background:#f8fafc;border:1px solid #edf0f5;border-radius:8px;padding:8px 10px;margin:7px 0 0;}
.berp-detail-grid-final .berp-inline-form{grid-template-columns:125px minmax(155px,185px) minmax(0,1fr) auto;gap:8px;align-items:stretch;}
.berp-detail-grid-final .berp-inline-form input,.berp-detail-grid-final .berp-inline-form select{min-width:0;box-sizing:border-box;border:1px solid #d8e0ea;border-radius:10px;padding:10px 11px;background:#fff;color:#18243e;font-size:13px;}
.berp-detail-grid-final .berp-inline-form input:focus,.berp-detail-grid-final .berp-inline-form select:focus{outline:none;border-color:#7467e8;box-shadow:0 0 0 3px rgba(67,56,202,.10);}
.berp-detail-grid-final .berp-inline-form .berp-btn{min-width:62px;}
.berp-lead-detail-final .muted{color:#7a8799;}

@media(max-width:1250px){
  .berp-lead-facts-wide{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:1000px){
  .berp-lead-detail-final{padding:18px;border-radius:16px;}
  .berp-lead-detail-final>.berp-card-head{flex-direction:column;}
  .berp-lead-detail-final .berp-detail-actions{width:100%;justify-content:flex-start;}
  .berp-detail-grid-final{grid-template-columns:1fr;}
  .berp-lead-facts-wide{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:700px){
  .berp-lead-detail-final{padding:14px;border-radius:14px;}
  .berp-lead-detail-final:before{width:4px;}
  .berp-lead-detail-final>.berp-card-head h3{font-size:22px;}
  .berp-lead-detail-final .berp-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .berp-lead-detail-final .berp-detail-actions .berp-btn,.berp-lead-detail-final .berp-detail-actions form,.berp-lead-detail-final .berp-detail-actions form .berp-btn{width:100%;box-sizing:border-box;}
  .berp-lead-facts-wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .berp-lead-facts-wide>div{padding:10px;}
  .berp-detail-grid-final>div{padding:15px!important;border-radius:13px!important;}
  .berp-detail-grid-final .berp-form-grid{grid-template-columns:1fr;gap:11px;}
  .berp-detail-grid-final .berp-inline-form{grid-template-columns:1fr;gap:9px;}
  .berp-detail-grid-final .berp-inline-form .berp-btn{width:100%;}
}
@media(max-width:420px){
  .berp-lead-facts-wide{grid-template-columns:1fr;}
  .berp-lead-detail-final .berp-detail-actions{grid-template-columns:1fr 1fr;}
  .berp-lead-facts-wide strong{font-size:12.5px;}
}

/* v6.7.46 — CRM quick actions: compact icon buttons inspired by the approved reference */
.berp-crm-row-actions{display:flex;align-items:center;justify-content:flex-start;gap:5px;white-space:nowrap;min-width:116px}
.berp-crm-row-actions form{margin:0;padding:0;display:contents}
.berp-row-icon{width:28px;height:28px;flex:0 0 28px;padding:0;border:1px solid transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;box-sizing:border-box;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.berp-row-icon svg{width:15px;height:15px;display:block;fill:currentColor}
.berp-row-icon:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(15,23,42,.10);filter:saturate(1.05)}
.berp-row-icon:focus-visible{outline:2px solid #6366f1;outline-offset:2px}
.berp-row-icon.call{background:#eaf8ee;color:#159447;border-color:#d8f1df}
.berp-row-icon.whatsapp{background:#eaf8ee;color:#128c4a;border-color:#d8f1df}
.berp-row-icon.edit{background:#edf4ff;color:#2563eb;border-color:#d9e7ff}
.berp-row-icon.delete{background:#fff0f2;color:#dc3545;border-color:#ffd9df}
.berp-lead-table-final th:nth-child(1){width:4%}
.berp-lead-table-final th:nth-child(2){width:7%}
.berp-lead-table-final th:nth-child(3){width:13%}
.berp-lead-table-final th:nth-child(4){width:9%}
.berp-lead-table-final th:nth-child(5){width:7%}
.berp-lead-table-final th:nth-child(6){width:10%}
.berp-lead-table-final th:nth-child(7){width:9%}
.berp-lead-table-final th:nth-child(8){width:8%}
.berp-lead-table-final th:nth-child(9){width:6%}
.berp-lead-table-final th:nth-child(10){width:9%}
.berp-lead-table-final th:nth-child(11){width:6%}
.berp-lead-table-final th:nth-child(12){width:12%}
.berp-lead-table-final td:last-child,.berp-lead-table-final th:last-child{padding-left:8px;padding-right:8px}
.berp-crm-full-list .berp-table-no-x{overflow-x:auto!important}
@media(max-width:1200px){.berp-lead-table-final{min-width:1180px!important;table-layout:auto!important}.berp-lead-table-final th,.berp-lead-table-final td{padding-left:8px;padding-right:8px}}
@media(max-width:600px){.berp-crm-row-actions{gap:4px}.berp-row-icon{width:30px;height:30px;flex-basis:30px}.berp-row-icon svg{width:15px;height:15px}.berp-lead-table-final{min-width:1180px!important}}


/* v6.7.48 — CRM search + filters: two-row responsive toolbar */
.berp-crm-toolbar{padding:16px!important}
.berp-crm-filter-wide{display:block!important}
.berp-crm-filter-search-row{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 12px}
.berp-crm-search-box{position:relative;display:flex;align-items:center;flex:1;min-width:0;margin:0!important}
.berp-crm-search-box input{width:100%!important;height:46px!important;box-sizing:border-box!important;padding:0 15px 0 42px!important;border:1px solid #d7dee8!important;border-radius:11px!important;background:#fff!important;color:#172033!important;font-size:14px!important;font-weight:600!important;outline:none!important;transition:border-color .18s ease,box-shadow .18s ease!important}
.berp-crm-search-box input::placeholder{color:#8a96a8;font-weight:500}
.berp-crm-search-box input:focus{border-color:#4f46e5!important;box-shadow:0 0 0 3px rgba(79,70,229,.10)!important}
.berp-crm-search-icon{position:absolute;left:14px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#718096;pointer-events:none}
.berp-crm-search-icon svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.berp-crm-search-btn{height:46px!important;min-width:105px;white-space:nowrap;justify-content:center}.berp-crm-top-add-lead{white-space:nowrap;justify-content:center}
.berp-crm-filter-controls{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr)) auto;gap:10px;align-items:end}
.berp-crm-filter-controls>label{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0!important}
.berp-crm-filter-controls>label>span{font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#64748b;line-height:1}
.berp-crm-filter-controls select{width:100%!important;height:42px!important;min-width:0!important;box-sizing:border-box!important;padding:0 30px 0 11px!important;border:1px solid #d7dee8!important;border-radius:9px!important;background:#fff!important;color:#24324a!important;font-size:12.5px!important;font-weight:600!important;outline:none!important}
.berp-crm-filter-controls select:focus{border-color:#4f46e5!important;box-shadow:0 0 0 3px rgba(79,70,229,.08)!important}
.berp-crm-filter-actions{display:flex;gap:7px;align-items:center;white-space:nowrap}
.berp-crm-filter-actions .berp-btn{height:42px!important;display:inline-flex;align-items:center;justify-content:center;padding:0 13px!important}
@media(max-width:1250px){.berp-crm-filter-controls{grid-template-columns:repeat(3,minmax(140px,1fr));}.berp-crm-filter-actions{grid-column:span 3;justify-content:flex-end}}
@media(max-width:760px){.berp-crm-filter-search-row{align-items:stretch;flex-direction:column}.berp-crm-search-btn{width:100%}.berp-crm-top-add-lead{width:100%}.berp-crm-filter-controls{grid-template-columns:1fr 1fr}.berp-crm-filter-actions{grid-column:span 2;justify-content:stretch}.berp-crm-filter-actions .berp-btn{flex:1}}
@media(max-width:480px){.berp-crm-toolbar{padding:12px!important}.berp-crm-filter-controls{grid-template-columns:1fr}.berp-crm-filter-actions{grid-column:span 1;flex-direction:column}.berp-crm-filter-actions .berp-btn{width:100%}}


/* v6.7.49 — compact 3D priority column */
.berp-lead-table-final th:nth-child(1){width:4%}
.berp-lead-table-final th:nth-child(2){width:7%}
.berp-lead-table-final th:nth-child(3){width:12%}
.berp-lead-table-final th:nth-child(4){width:9%}
.berp-lead-table-final th:nth-child(5){width:7%}
.berp-lead-table-final th:nth-child(6){width:10%}
.berp-lead-table-final th:nth-child(7){width:9%}
.berp-lead-table-final th:nth-child(8){width:8%}
.berp-lead-table-final th:nth-child(9){width:5%}
.berp-lead-table-final th:nth-child(10){width:9%}
.berp-lead-table-final th:nth-child(11){width:6%}
.berp-lead-table-final th:nth-child(12){width:5%}
.berp-lead-table-final th:nth-child(13){width:9%}
.berp-lead-table-final td:nth-child(8){white-space:nowrap!important}
.berp-lead-table-final td:nth-child(9){white-space:nowrap!important;text-align:center}
.berp-priority-3d{display:inline-flex;align-items:center;justify-content:center;min-width:58px;height:24px;padding:0 10px;border-radius:999px;color:#fff;font-size:10px;line-height:1;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;box-sizing:border-box;border:1px solid rgba(255,255,255,.28);box-shadow:inset 0 2px 2px rgba(255,255,255,.20),inset 0 -3px 4px rgba(0,0,0,.20),0 2px 4px rgba(15,23,42,.12);text-shadow:0 1px 1px rgba(0,0,0,.22)}
.berp-priority-3d.hot{background:linear-gradient(180deg,#ef4444 0%,#b91c1c 48%,#991b1b 100%)}
.berp-priority-3d.warm{background:linear-gradient(180deg,#fb923c 0%,#ea580c 48%,#c2410c 100%)}
.berp-priority-3d.cold{background:linear-gradient(180deg,#38bdf8 0%,#0284c7 48%,#0369a1 100%)}
.berp-priority-3d-text{display:block}
@media(max-width:1200px){.berp-lead-table-final{min-width:1260px!important;table-layout:auto!important}}
@media(max-width:600px){.berp-priority-3d{min-width:56px;height:24px;padding:0 9px;font-size:9.5px}}


/* v6.7.50 — CRM lead table width/overflow stabilization
   Reference-based responsive table layout: preserve readable cells, keep quick
   actions together, and allow horizontal scrolling instead of clipping. */
.berp-crm-full-list .berp-table-no-x{
  width:100%;
  overflow-x:auto!important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.berp-crm-full-list .berp-lead-table-final{
  width:100%;
  min-width:1450px!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0;
}
.berp-lead-table-final th,
.berp-lead-table-final td{
  box-sizing:border-box;
  vertical-align:middle;
}
.berp-lead-table-final th{
  white-space:nowrap!important;
  line-height:1.25;
}
.berp-lead-table-final td{
  white-space:nowrap;
}
.berp-lead-table-final th:nth-child(1),
.berp-lead-table-final td:nth-child(1){width:58px;min-width:58px}
.berp-lead-table-final th:nth-child(2),
.berp-lead-table-final td:nth-child(2){width:105px;min-width:105px}
.berp-lead-table-final th:nth-child(3),
.berp-lead-table-final td:nth-child(3){width:190px;min-width:150px}
.berp-lead-table-final th:nth-child(4),
.berp-lead-table-final td:nth-child(4){width:130px;min-width:120px}
.berp-lead-table-final th:nth-child(5),
.berp-lead-table-final td:nth-child(5){width:105px;min-width:95px}
.berp-lead-table-final th:nth-child(6),
.berp-lead-table-final td:nth-child(6){width:150px;min-width:125px}
.berp-lead-table-final th:nth-child(7),
.berp-lead-table-final td:nth-child(7){width:125px;min-width:115px}
.berp-lead-table-final th:nth-child(8),
.berp-lead-table-final td:nth-child(8){width:105px;min-width:95px;text-align:center;white-space:nowrap!important}
.berp-lead-table-final th:nth-child(9),
.berp-lead-table-final td:nth-child(9){width:110px;min-width:100px;white-space:nowrap!important}
.berp-lead-table-final th:nth-child(10),
.berp-lead-table-final td:nth-child(10){width:95px;min-width:85px;text-align:center}
.berp-lead-table-final th:nth-child(11),
.berp-lead-table-final td:nth-child(11){width:135px;min-width:125px}
.berp-lead-table-final th:nth-child(12),
.berp-lead-table-final td:nth-child(12){width:145px;min-width:130px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
.berp-lead-table-final th:nth-child(13),
.berp-lead-table-final td:nth-child(13){
  width:132px;
  min-width:132px;
  max-width:132px;
  text-align:center;
  white-space:nowrap!important;
  position:sticky;
  right:0;
  z-index:3;
  background:#fff;
  box-shadow:-4px 0 10px rgba(15,23,42,.07);
}
.berp-lead-table-final thead th:nth-child(13){z-index:6;background:#f8fafc}
.berp-lead-table-final tbody tr:hover td:nth-child(13){background:#f8fafc}
.berp-lead-table-final .berp-crm-row-actions{
  width:116px;
  min-width:116px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
.berp-lead-table-final .berp-crm-row-actions form{display:contents!important;margin:0!important;padding:0!important}
.berp-lead-table-final .berp-row-icon{
  width:27px;
  height:27px;
  min-width:27px;
  flex:0 0 27px;
  padding:0;
}
.berp-lead-table-final .berp-row-icon svg{width:14px;height:14px}
.berp-lead-table-final .berp-lead-link{display:inline-flex;max-width:100%;vertical-align:middle}
.berp-lead-table-final .berp-lead-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.berp-lead-table-final .berp-client-name-line{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.berp-lead-table-final .berp-priority-3d{min-width:58px;height:24px;padding:0 9px}
.berp-lead-table-final .berp-pill{white-space:nowrap}
.berp-lead-table-final .berp-overdue{white-space:nowrap}

@media(max-width:1250px){
  .berp-crm-full-list .berp-lead-table-final{min-width:1450px!important}
  .berp-lead-table-final th,.berp-lead-table-final td{padding-left:8px;padding-right:8px}
}
@media(max-width:700px){
  .berp-crm-full-list .berp-table-no-x{border-radius:10px}
  .berp-crm-full-list .berp-lead-table-final{min-width:1450px!important}
  .berp-lead-table-final th,.berp-lead-table-final td{font-size:12px;padding:10px 8px}
  .berp-lead-table-final .berp-row-icon{width:30px;height:30px;min-width:30px;flex-basis:30px}
  .berp-lead-table-final .berp-crm-row-actions{gap:4px}
}


/* v6.7.51 — CRM lead table: remove S.No. + preserve detail position + explicit Top button */
.berp-lead-table-final{min-width:0!important;width:100%;table-layout:auto!important}
.berp-crm-full-list .berp-lead-table-final{min-width:1240px!important}
.berp-lead-table-final th,.berp-lead-table-final td{box-sizing:border-box;vertical-align:middle}
.berp-lead-table-final th:nth-child(1),.berp-lead-table-final td:nth-child(1){width:105px;min-width:105px}
.berp-lead-table-final th:nth-child(2),.berp-lead-table-final td:nth-child(2){width:190px;min-width:155px}
.berp-lead-table-final th:nth-child(3),.berp-lead-table-final td:nth-child(3){width:130px;min-width:120px}
.berp-lead-table-final th:nth-child(4),.berp-lead-table-final td:nth-child(4){width:105px;min-width:95px}
.berp-lead-table-final th:nth-child(5),.berp-lead-table-final td:nth-child(5){width:150px;min-width:125px}
.berp-lead-table-final th:nth-child(6),.berp-lead-table-final td:nth-child(6){width:125px;min-width:115px}
.berp-lead-table-final th:nth-child(7),.berp-lead-table-final td:nth-child(7){width:105px;min-width:95px;text-align:center;white-space:nowrap!important}
.berp-lead-table-final th:nth-child(8),.berp-lead-table-final td:nth-child(8){width:110px;min-width:100px;white-space:nowrap!important}
.berp-lead-table-final th:nth-child(9),.berp-lead-table-final td:nth-child(9){width:95px;min-width:85px;text-align:center}
.berp-lead-table-final th:nth-child(10),.berp-lead-table-final td:nth-child(10){width:135px;min-width:125px}
.berp-lead-table-final th:nth-child(11),.berp-lead-table-final td:nth-child(11){width:145px;min-width:130px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}
.berp-lead-table-final th:nth-child(12),.berp-lead-table-final td:nth-child(12){width:132px;min-width:132px;max-width:132px;text-align:center;white-space:nowrap!important;position:sticky;right:0;z-index:3;background:#fff;box-shadow:-4px 0 10px rgba(15,23,42,.07)}
.berp-lead-table-final thead th:nth-child(12){z-index:6;background:#f8fafc}
.berp-lead-table-final tbody tr:hover td:nth-child(12){background:#f8fafc}
.berp-lead-table-final .berp-crm-row-actions{width:116px;min-width:116px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:nowrap!important;white-space:nowrap!important}
.berp-lead-table-final .berp-crm-row-actions form{display:contents!important}
.berp-lead-table-final .berp-row-icon{width:27px;height:27px;min-width:27px;flex:0 0 27px;padding:0}
.berp-lead-table-final .berp-row-icon svg{width:14px;height:14px}
.berp-lead-detail-bottom-nav{display:flex;justify-content:flex-end;align-items:center;margin-top:14px;padding-top:10px;border-top:1px solid #e7edf5}
.berp-top-button{display:inline-flex;align-items:center;gap:6px;font-size:12px!important;padding:8px 14px!important;border-radius:9px!important;line-height:1.2;box-shadow:0 2px 8px rgba(15,23,42,.06)}
.berp-top-button:hover{transform:translateY(-1px)}
@media(max-width:700px){
  .berp-crm-full-list .berp-lead-table-final{min-width:1240px!important}
  .berp-lead-table-final th,.berp-lead-table-final td{font-size:12px;padding:10px 8px}
  .berp-lead-table-final .berp-row-icon{width:30px;height:30px;min-width:30px;flex-basis:30px}
  .berp-lead-detail-bottom-nav{justify-content:center}
}

/* Builder ERP 6.7.52 — explicit Top control; no automatic anchor scrolling */
.berp-top-button{cursor:pointer;user-select:none}

/* v6.7.54 — Premium quotation print refinement */
.berp-quote-company-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;padding:8px 10px;border:1px solid #e8d9b4;border-radius:8px;background:linear-gradient(90deg,#fffaf0,#f8fbff)}
.berp-quote-company-brand{display:flex;align-items:center;gap:9px;min-width:0}.berp-quote-company-brand img{width:38px;height:38px;object-fit:contain;border-radius:7px;background:#fff;border:1px solid #eadfca;padding:3px}.berp-quote-company-brand strong{display:block;color:#0b1a30;font-size:12px}.berp-quote-company-brand span{display:block;color:#64748b;font-size:8.5px;line-height:1.3;max-width:380px}.berp-quote-company-contact{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 10px;color:#4b5b72;font-size:8.5px;text-align:right}.berp-quote-company-contact span{white-space:nowrap}
@media(max-width:700px){.berp-quote-company-bar{align-items:flex-start;flex-direction:column}.berp-quote-company-contact{justify-content:flex-start;text-align:left}}

/* v6.7.53 — Inventory-derived quotation workspace */
.berp-quotation-page{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#13213a}
.berp-quote-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;margin-bottom:16px;border-radius:16px;background:linear-gradient(135deg,#0b1a30,#173d78);color:#fff;box-shadow:0 10px 28px rgba(11,26,48,.12)}
.berp-quote-hero h2{margin:2px 0 4px;color:#fff;font:800 27px/1.1 Georgia,"Times New Roman",serif}.berp-quote-hero p{margin:0;color:#dce6f5}.berp-quote-hero-mark,.berp-quote-builder-mark{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#f5eedf;color:#a97918;font:800 24px Georgia;flex:0 0 auto}
.berp-quote-builder{background:#fff;border:1px solid #dfe6f0;border-radius:16px;padding:24px;box-shadow:0 8px 28px rgba(15,23,42,.06);margin-bottom:18px}.berp-quote-builder-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #e7ecf3}.berp-quote-builder-head h3{margin:3px 0 5px;font:800 25px Georgia;color:#0b1a30}.berp-quote-builder-head p{margin:0;color:#64748b}.berp-quote-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.berp-quote-create-section{border:1px solid #dfe6f0;border-radius:12px;padding:16px;background:#fbfcfe;min-width:0}.berp-quote-create-section.full{grid-column:1/-1}.berp-quote-create-section h4{margin:0 0 13px;color:#173d78;font-size:14px}.berp-quote-select-grid,.berp-quote-customer-grid,.berp-quote-pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.berp-quote-create-section label,.berp-quote-edit-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#40516b;min-width:0}.berp-quote-create-section label.full,.berp-quote-edit-form label.full{grid-column:1/-1}.berp-quote-create-section input,.berp-quote-create-section select,.berp-quote-create-section textarea,.berp-quote-edit-form input,.berp-quote-edit-form textarea{width:100%;box-sizing:border-box;border:1px solid #ccd7e6;border-radius:9px;background:#fff;color:#12213a;padding:10px 11px;font-size:13px;outline:none}.berp-quote-create-section input:focus,.berp-quote-create-section select:focus,.berp-quote-create-section textarea:focus,.berp-quote-edit-form input:focus,.berp-quote-edit-form textarea:focus{border-color:#3d5fd5;box-shadow:0 0 0 3px rgba(61,95,213,.10)}.berp-quote-unit-preview{margin-top:12px;border:1px dashed #b9c8dc;border-radius:10px;background:#fff;padding:12px;color:#64748b}.berp-quote-unit-preview b{display:block;color:#0b1a30;font-size:14px}.berp-quote-unit-preview span{display:block;margin-top:3px}.berp-quote-unit-preview small{display:block;margin-top:7px;color:#7a8799}.berp-quote-calculation{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.berp-quote-calculation>div{padding:12px;border-radius:10px;background:#fff;border:1px solid #e0e6ef}.berp-quote-calculation span{display:block;color:#64748b;font-size:11px}.berp-quote-calculation strong{display:block;margin-top:4px;color:#173d78;font-size:15px}.berp-quote-calculation .grand{background:#0b1a30;border-color:#0b1a30}.berp-quote-calculation .grand span,.berp-quote-calculation .grand strong{color:#fff}.berp-quote-generate{margin-top:16px;width:100%;justify-content:center;padding:12px 18px!important}
.berp-quote-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.75fr);gap:16px;align-items:start}.berp-quote-document{background:#fff;border:1px solid #dfe6f0;border-radius:12px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.06);position:relative}.berp-quote-document-top{height:5px;margin:-18px -18px 14px;background:linear-gradient(90deg,#0b1a30,#173d78,#c99223);border-radius:12px 12px 0 0}.berp-quote-document-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.berp-quote-document-head h1{margin:3px 0;font:800 26px Georgia;color:#0b1a30}.berp-quote-document-head p{margin:0;color:#5d6b82;font-size:12px}.berp-quote-number{border:1px solid #c99223;border-radius:8px;padding:8px 10px;min-width:125px;background:#fff}.berp-quote-number span,.berp-quote-number small{display:block;color:#65748a;font-size:9px}.berp-quote-number strong{display:block;color:#0b1a30;margin:3px 0;font-size:12px}.berp-quote-ribbon{margin:12px 0;background:linear-gradient(90deg,#0b1a30,#173d78);color:#fff;text-align:center;font:700 12px Georgia;letter-spacing:.8px;padding:7px;border-radius:5px}.berp-quote-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.berp-quote-info-grid section,.berp-quote-section{border:1px solid #173d78;border-radius:8px;padding:12px 10px;margin-bottom:10px}.berp-quote-info-grid h3,.berp-quote-section h3{display:inline-block;margin:-22px 0 7px;background:#173d78;color:#fff;padding:4px 9px;border-radius:3px;font-size:10px}.berp-quote-box>div{display:grid;grid-template-columns:40% 60%;gap:5px;padding:6px 2px;border-bottom:1px solid #e6ebf2;font-size:11px}.berp-quote-box>div:last-child{border-bottom:0}.berp-quote-box span{text-align:right;overflow-wrap:anywhere}.berp-quote-price-table{width:100%;border-collapse:collapse;font-size:11px}.berp-quote-price-table th,.berp-quote-price-table td{border:1px solid #d6dde8;padding:6px 8px}.berp-quote-price-table thead th{background:#173d78;color:#fff;text-align:left}.berp-quote-price-table th:last-child,.berp-quote-price-table td:last-child{text-align:right}.berp-quote-price-table tfoot th{background:#0b1a30;color:#fff;font-size:12px}.berp-quote-words{margin-top:7px;padding:7px 5px;border-top:1px solid #dce2ea;border-bottom:1px solid #dce2ea;font-size:9px}.berp-quote-footer{display:grid;grid-template-columns:1fr 1.25fr;gap:12px;border:1px solid #173d78;border-radius:8px;padding:12px}.berp-quote-footer h3{margin:0 0 6px;color:#173d78;font-size:11px}.berp-quote-footer p{margin:0;color:#5d6b82;font-size:10px;line-height:1.45}.berp-quote-signatures{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.berp-quote-signatures span{display:block;height:32px;border-bottom:1px solid #586274}.berp-quote-signatures b{display:block;text-align:center;margin-top:4px;font-size:9px}.berp-quote-edit-panel{background:#fff;border:1px solid #dfe6f0;border-radius:12px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.05);position:sticky;top:18px}.berp-quote-panel-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.berp-quote-panel-head h3{margin:3px 0 0;font-size:17px;color:#0b1a30}.berp-quote-safe{font-size:9px;background:#edf8f0;color:#28733a;padding:5px 7px;border-radius:999px;white-space:nowrap}.berp-quote-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.berp-quote-edit-form{margin:0}.berp-quote-live-total{display:flex;justify-content:space-between;align-items:center;margin:14px 0 10px;padding:12px;border-radius:9px;background:#0b1a30;color:#fff}.berp-quote-live-total span{font-size:11px}.berp-quote-live-total strong{font-size:17px}.berp-quote-save{width:100%;justify-content:center}.berp-quote-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:14px 0 22px}.berp-quotation-register{margin-top:14px}
@media(max-width:1100px){.berp-quote-workspace{grid-template-columns:1fr}.berp-quote-edit-panel{position:static}.berp-quote-document{max-width:900px;margin:auto}}
@media(max-width:700px){.berp-quote-create-grid,.berp-quote-info-grid,.berp-quote-select-grid,.berp-quote-customer-grid,.berp-quote-pricing-grid,.berp-quote-edit-grid{grid-template-columns:1fr}.berp-quote-create-section.full,.berp-quote-edit-form label.full{grid-column:auto}.berp-quote-calculation{grid-template-columns:1fr}.berp-quote-hero{padding:18px}.berp-quote-builder,.berp-quote-document{padding:13px}.berp-quote-document-top{margin:-13px -13px 12px}.berp-quote-document-head{flex-direction:column}.berp-quote-number{width:100%}.berp-quote-footer{grid-template-columns:1fr}.berp-quote-actions{justify-content:stretch}.berp-quote-actions .berp-btn{flex:1 1 45%;justify-content:center}.berp-quote-price-table{font-size:10px}.berp-quote-box>div{grid-template-columns:42% 58%;font-size:10px}}
@media print{
  .berp-quote-edit-panel,.berp-quote-actions,.berp-quote-hero{display:none!important}
  .berp-quote-workspace{display:block}
  .berp-quotation-page{background:#fff!important;margin:0!important;padding:0!important}
  .berp-quote-document{box-shadow:none!important;border:0!important;max-width:none!important;width:100%!important;padding:8mm!important;border-radius:0!important;break-inside:avoid}
  .berp-quote-document-top{margin:-8mm -8mm 8mm!important;height:4px!important}
  .berp-quote-company-bar{background:#fff8e8!important;border:1px solid #d8b866!important}
  .berp-quote-company-contact{color:#42526a!important}
  .berp-quote-ribbon{background:#173d78!important;color:#fff!important}
  .berp-quote-info-grid section,.berp-quote-section,.berp-quote-footer{border-color:#5578b8!important}
  .berp-quote-info-grid section{background:#f7fbff!important}
  .berp-quote-info-grid section:nth-child(2){background:#fffaf0!important}
  .berp-quote-info-grid h3,.berp-quote-section h3{background:#173d78!important;color:#fff!important}
  .berp-quote-price-table thead th{background:#315b9b!important;color:#fff!important}
  .berp-quote-price-table tbody tr:nth-child(even) td{background:#f5f8fc!important}
  .berp-quote-price-table tbody tr:nth-child(5) td{background:#fff5f0!important}
  .berp-quote-price-table tbody tr:nth-child(6) td{background:#f1f7ff!important}
  .berp-quote-price-table tfoot th{background:#0b1a30!important;color:#fff!important}
  .berp-quote-words{background:#f8fafc!important}
  .berp-quote-footer{background:#fffdf7!important}
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  @page{size:A4;margin:8mm}
}


/* ==========================================================================
   v6.7.55 — QUOTATION UI REFINEMENT
   Premium SaaS editor + compact property-document preview.
   Intentional: preserve existing quotation logic/classes and enhance only UI.
   ========================================================================== */
.berp-quotation-page{--q-navy:#0a1d3a;--q-blue:#1f5a9a;--q-blue-soft:#f3f8ff;--q-gold:#d6a642;--q-border:#d9e2ef;--q-text:#17263d;--q-muted:#68778d}
.berp-quote-hero{position:relative;overflow:hidden;border:1px solid #d8e1ed!important;border-radius:16px!important;background:linear-gradient(135deg,#ffffff 0%,#f6f9fd 72%,#fff9ea 100%)!important;box-shadow:0 10px 28px rgba(10,29,58,.07)!important;padding:24px 28px!important}
.berp-quote-hero:after{content:"";position:absolute;width:190px;height:190px;right:-70px;top:-110px;border-radius:50%;border:22px solid rgba(214,166,66,.13);pointer-events:none}
.berp-quote-hero h2{font-size:28px!important;color:var(--q-navy)!important;letter-spacing:-.4px!important}
.berp-quote-hero p{color:var(--q-muted)!important}
.berp-quote-hero-mark{background:linear-gradient(145deg,#0a1d3a,#1f5a9a)!important;box-shadow:0 8px 18px rgba(10,29,58,.2)!important;border:2px solid rgba(214,166,66,.7)!important}
.berp-quote-workspace{max-width:1540px!important;width:96%!important;margin:0 auto!important;grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr)!important;gap:22px!important;padding:20px 0 6px!important}
.berp-quote-document{border:1px solid #d5deea!important;border-radius:14px!important;padding:20px!important;box-shadow:0 14px 32px rgba(15,35,65,.09)!important}
.berp-quote-document-top{height:5px!important;margin:-20px -20px 14px!important;background:linear-gradient(90deg,#0a1d3a 0%,#1f5a9a 62%,#d6a642 100%)!important}
.berp-quote-company-bar{background:linear-gradient(90deg,#fffaf0,#f6faff)!important;border-color:#dfc36f!important;border-radius:8px!important;padding:8px 10px!important}
.berp-quote-document-head{padding-top:12px!important}
.berp-quote-document-head h1{font-size:27px!important}
.berp-quote-number{background:#fffaf0!important;border-color:#d6a642!important;box-shadow:0 3px 10px rgba(214,166,66,.08)}
.berp-quote-ribbon{background:linear-gradient(90deg,#123a70,#2163a6)!important;box-shadow:0 4px 10px rgba(31,90,154,.14)}
.berp-quote-info-grid section:first-child{background:#f7fbff!important}
.berp-quote-info-grid section:nth-child(2){background:#fffaf0!important}
.berp-quote-info-grid section,.berp-quote-section{border-color:#b8cae2!important}
.berp-quote-info-grid h3,.berp-quote-section h3{background:#1f5a9a!important}
.berp-quote-price-table thead th{background:#1f5a9a!important}
.berp-quote-price-table tbody tr:nth-child(even) td{background:#f7faff!important}
.berp-quote-price-table tfoot th{background:#0a1d3a!important}
.berp-quote-words{background:#f7fafc!important}
.berp-quote-footer{background:#fffdf7!important;border-color:#b8cae2!important}
.berp-quote-edit-panel{border:1px solid #d8e1ed!important;border-radius:14px!important;padding:18px!important;box-shadow:0 10px 28px rgba(15,35,65,.07)!important;top:20px!important}
.berp-quote-panel-head{padding-bottom:12px!important;border-bottom:1px solid #edf1f6!important}
.berp-quote-panel-head h3{font-size:18px!important;color:var(--q-navy)!important}
.berp-quote-safe{background:#edf8f0!important;color:#26733a!important;border:1px solid #cfe8d4}
.berp-quote-edit-form label{font-size:11px!important;font-weight:700!important;color:#42536a!important}
.berp-quote-edit-form input,.berp-quote-edit-form select,.berp-quote-edit-form textarea{border:1px solid #cbd6e5!important;border-radius:8px!important;background:#fff!important;min-height:40px!important;box-shadow:inset 0 1px 2px rgba(15,35,65,.025)!important}
.berp-quote-edit-form input:focus,.berp-quote-edit-form select:focus,.berp-quote-edit-form textarea:focus{border-color:#4f83bd!important;box-shadow:0 0 0 3px rgba(31,90,154,.10)!important;outline:none!important}
.berp-quote-live-total{background:linear-gradient(135deg,#0a1d3a,#1f5a9a)!important;border:1px solid #173d78!important;box-shadow:0 7px 16px rgba(10,29,58,.14)!important}
.berp-quote-live-total strong{color:#ffe29a!important}
.berp-quote-actions .berp-btn.primary{background:linear-gradient(135deg,#123a70,#1f5a9a)!important;border:1px solid #123a70!important;box-shadow:0 5px 12px rgba(31,90,154,.18)!important}
.berp-quotation-register{border-radius:14px!important;border:1px solid #d8e1ed!important;box-shadow:0 8px 22px rgba(15,35,65,.05)!important;overflow:hidden}
@media(max-width:1100px){.berp-quote-workspace{width:100%!important;grid-template-columns:1fr!important}.berp-quote-edit-panel{position:static!important}}
@media(max-width:700px){.berp-quote-workspace{padding:12px 0!important}.berp-quote-hero{padding:18px!important;border-radius:12px!important}.berp-quote-hero h2{font-size:23px!important}.berp-quote-document{padding:14px!important;border-radius:10px!important}.berp-quote-document-top{margin:-14px -14px 12px!important}.berp-quote-edit-panel{padding:14px!important}.berp-quote-info-grid{grid-template-columns:1fr!important}.berp-quote-company-bar{align-items:flex-start!important;flex-direction:column!important}.berp-quote-company-contact{justify-content:flex-start!important;text-align:left!important}.berp-quote-actions .berp-btn{min-height:40px!important}}
@media print{
  .berp-quotation-page{font-size:9px!important}
  .berp-quote-document{max-width:none!important;border:0!important;box-shadow:none!important;padding:0!important}
  .berp-quote-document-top{margin:0 0 0!important;height:4px!important}
  .berp-quote-company-bar{border-top:0!important;border-radius:0 0 7px 7px!important}
  .berp-quote-document-head h1{font-size:23px!important}
  .berp-quote-info-grid section,.berp-quote-section{break-inside:avoid!important}
  .berp-quote-price-table{break-inside:auto!important}
  .berp-quote-price-table tr,.berp-quote-footer{break-inside:avoid!important}
  .berp-quote-footer{margin-top:8px!important}
}

/* Date-wise Dashboard Follow-up Navigation */
.berp-followup-date-nav{display:inline-flex;align-items:center;gap:2px;padding:3px;background:#f3f6fb;border:1px solid #e2e8f0;border-radius:11px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.berp-date-nav-btn,.berp-date-nav-date{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:34px;border-radius:8px;transition:all .16s ease}.berp-followup-date-nav button{appearance:none;-webkit-appearance:none;font:inherit;cursor:pointer;margin:0}.berp-followup-date-nav .berp-date-nav-btn{border:0;background:transparent}.berp-date-nav-btn{gap:5px;padding:0 9px;color:#475569;font-size:12px;font-weight:750}.berp-date-nav-btn:hover{background:#fff;color:#172033;box-shadow:0 2px 6px rgba(15,23,42,.08);transform:translateY(-1px)}
.berp-date-nav-date{flex-direction:column;min-width:72px;padding:4px 9px;line-height:1.05;background:#fff;border:1px solid #dbe3ef;color:#172033;box-shadow:0 2px 6px rgba(15,23,42,.06)}.berp-date-nav-date.is-today{border-color:#c7d2fe;background:#eef2ff;color:#312e81}.berp-date-nav-day{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:#64748b}.berp-date-nav-date.is-today .berp-date-nav-day{color:#4f46e5}.berp-date-nav-value{font-size:12px;font-weight:850;margin-top:2px}.berp-dashboard-section-head .berp-dashboard-head-actions{align-items:center}
@media(max-width:900px){.berp-dashboard-section-head .berp-dashboard-head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.berp-dashboard-section-head .berp-dashboard-new-leads{grid-column:1/-1}.berp-dashboard-section-head .berp-followup-date-nav{width:100%;justify-content:space-between}.berp-dashboard-section-head .berp-date-nav-btn{flex:1}.berp-dashboard-section-head .berp-date-nav-date{flex:0 0 84px}.berp-dashboard-section-head .berp-btn.primary{width:100%}}
@media(max-width:520px){.berp-dashboard-section-head .berp-dashboard-head-actions{grid-template-columns:1fr}.berp-dashboard-section-head .berp-dashboard-new-leads,.berp-dashboard-section-head .berp-followup-date-nav,.berp-dashboard-section-head .berp-btn.primary{grid-column:auto}}

/* v6.7.59 — CRM/Dashboard Lead List alignment + dashboard date controls */
/* CRM: keep all 12 real CRM columns aligned; Assign must remain visible and the table must not leave a dead right-side gap. */
.berp-crm-full-list .berp-lead-table-final{
  width:max-content!important;
  min-width:100%!important;
  table-layout:auto!important;
}
.berp-crm-full-list .berp-lead-table-final th:nth-child(11),
.berp-crm-full-list .berp-lead-table-final td:nth-child(11){
  width:145px!important;
  min-width:145px!important;
  max-width:180px!important;
}
.berp-crm-full-list .berp-lead-table-final th:nth-child(12),
.berp-crm-full-list .berp-lead-table-final td:nth-child(12){
  width:132px!important;
  min-width:132px!important;
  max-width:132px!important;
}

/* Dashboard: exact CRM column order and readable widths. */
.berp-dashboard-followup-scroll{
  width:100%;
  overflow-x:auto!important;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.berp-dashboard-followup-table{
  width:max-content!important;
  min-width:100%!important;
  table-layout:auto!important;
}
.berp-dashboard-followup-table th,
.berp-dashboard-followup-table td{
  box-sizing:border-box;
  vertical-align:middle;
  white-space:nowrap;
}
.berp-dashboard-followup-table th:nth-child(1),.berp-dashboard-followup-table td:nth-child(1){width:105px;min-width:105px}
.berp-dashboard-followup-table th:nth-child(2),.berp-dashboard-followup-table td:nth-child(2){width:190px;min-width:155px}
.berp-dashboard-followup-table th:nth-child(3),.berp-dashboard-followup-table td:nth-child(3){width:130px;min-width:120px}
.berp-dashboard-followup-table th:nth-child(4),.berp-dashboard-followup-table td:nth-child(4){width:105px;min-width:95px}
.berp-dashboard-followup-table th:nth-child(5),.berp-dashboard-followup-table td:nth-child(5){width:150px;min-width:125px}
.berp-dashboard-followup-table th:nth-child(6),.berp-dashboard-followup-table td:nth-child(6){width:125px;min-width:115px}
.berp-dashboard-followup-table th:nth-child(7),.berp-dashboard-followup-table td:nth-child(7){width:105px;min-width:95px;text-align:center}
.berp-dashboard-followup-table th:nth-child(8),.berp-dashboard-followup-table td:nth-child(8){width:110px;min-width:100px}
.berp-dashboard-followup-table th:nth-child(9),.berp-dashboard-followup-table td:nth-child(9){width:95px;min-width:85px;text-align:center}
.berp-dashboard-followup-table th:nth-child(10),.berp-dashboard-followup-table td:nth-child(10){width:135px;min-width:125px}
.berp-dashboard-followup-table th:nth-child(11),.berp-dashboard-followup-table td:nth-child(11){width:145px;min-width:130px}
.berp-dashboard-followup-table th:nth-child(12),.berp-dashboard-followup-table td:nth-child(12){width:132px;min-width:132px;max-width:132px;text-align:center}
.berp-dashboard-followup-table .berp-lead-link{display:inline-flex;max-width:100%;vertical-align:middle;text-decoration:none}
.berp-dashboard-followup-table .berp-lead-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.berp-dashboard-followup-table .berp-client-name-line{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.berp-dashboard-followup-table .berp-priority-3d{min-width:58px;height:24px;padding:0 9px}
.berp-dashboard-followup-table .berp-pill{white-space:nowrap}
.berp-dashboard-followup-table .berp-crm-row-actions{width:116px;min-width:116px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:nowrap!important;white-space:nowrap!important}
.berp-dashboard-followup-table .berp-crm-row-actions form{display:contents!important;margin:0!important;padding:0!important}
.berp-dashboard-followup-table .berp-row-icon{width:27px;height:27px;min-width:27px;flex:0 0 27px;padding:0}
.berp-dashboard-followup-table .berp-row-icon svg{width:14px;height:14px}

/* Keep the dashboard title block and all right-side controls on one desktop row. */
.berp-dashboard-section-head{
  display:grid!important;
  grid-template-columns:minmax(320px,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
}
.berp-dashboard-head-actions{
  flex-wrap:nowrap!important;
  white-space:nowrap;
  justify-content:flex-end;
}
.berp-dashboard-head-actions .berp-dashboard-new-leads,
.berp-dashboard-head-actions .berp-followup-date-nav,
.berp-dashboard-head-actions .berp-btn.primary{
  flex:0 0 auto!important;
}
.berp-dashboard-head-actions .berp-btn.primary{white-space:nowrap!important}

/* Preserve the viewport when moving between dashboard dates. */
.berp-preserve-scroll{scroll-margin-top:0!important}

@media(max-width:1100px){
  .berp-dashboard-section-head{grid-template-columns:1fr!important}
  .berp-dashboard-head-actions{justify-content:flex-start;overflow-x:auto;max-width:100%;padding-bottom:2px}
}
@media(max-width:700px){
  .berp-dashboard-head-actions{width:100%;flex-wrap:wrap!important;white-space:normal}
  .berp-dashboard-head-actions .berp-dashboard-new-leads{flex:1 1 100%!important}
  .berp-dashboard-head-actions .berp-followup-date-nav{flex:1 1 auto!important}
  .berp-dashboard-head-actions .berp-btn.primary{flex:0 0 auto!important}
}


/* ==========================================================================
   v6.7.60 — TRUE FULL-WIDTH PORTAL / DASHBOARD
   Break out of WordPress/theme content max-width constraints.
   Keeps the ERP workspace at the full monitor width on desktop.
   ========================================================================== */
.berp-wrap:has(> .berp-app) {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
}

.berp-wrap:has(> .berp-app) > .berp-app {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.berp-wrap:has(> .berp-app) .berp-main {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
}

@media (max-width: 782px) {
    .berp-wrap:has(> .berp-app) {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


/* ==========================================================================\n   v6.7.61 — Dashboard stability, compact header & true full-width portal\n   ========================================================================== */
.berp-wrap-portal{
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  box-sizing:border-box!important;
  padding-left:0!important;
  padding-right:0!important;
}
.berp-wrap-portal > .berp-app{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
.berp-wrap-portal .berp-main{min-width:0!important;width:auto!important;max-width:none!important}

/* Keep the dashboard follow-up header compact and on one desktop row. */
.berp-dashboard-section-head{
  display:grid!important;
  grid-template-columns:minmax(300px,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  margin-bottom:12px!important;
}
.berp-dashboard-section-head>div:first-child{min-width:0!important}
.berp-dashboard-section-head>div:first-child h2{margin:3px 0 2px!important;font-size:25px!important;line-height:1.12!important}
.berp-dashboard-section-head>div:first-child .muted{margin:0!important;font-size:12px!important;line-height:1.25!important}
.berp-dashboard-head-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
}
.berp-dashboard-new-leads{padding:8px 11px!important;border:1px solid #e2e8f0!important;background:#fff!important;border-radius:10px!important;font-size:12px!important}
.berp-followup-date-nav{min-height:38px!important}
.berp-date-nav-btn{min-height:32px!important;padding:0 9px!important}
.berp-date-nav-date{min-width:68px!important;min-height:32px!important;padding:3px 8px!important}
.berp-dashboard-head-actions>.berp-btn.primary{padding:9px 13px!important;font-size:12px!important;border-radius:9px!important;white-space:nowrap!important}

/* Compact table viewport: use the available monitor height without giant controls. */
.berp-dashboard-followups{overflow:visible!important}
.berp-dashboard-followup-scroll{max-height:min(52vh,520px)!important;overflow:auto!important;border:1px solid #e4e8ef!important;border-radius:12px!important;background:#fff!important}
.berp-dashboard-followup-table th{padding:10px 11px!important;font-size:12px!important}
.berp-dashboard-followup-table td{padding:9px 11px!important;font-size:12px!important}

/* Date navigation links are plain navigation: never reserve anchor space or create focus scrolling. */
.berp-dashboard-followup-foot{display:flex;align-items:center;justify-content:space-between;gap:14px}.berp-excel-download{display:inline-flex!important;align-items:center;gap:7px;white-space:nowrap}.berp-excel-download svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:600px){.berp-dashboard-followup-foot{align-items:flex-start;flex-direction:column}.berp-excel-download{width:100%;justify-content:center;box-sizing:border-box}}
.berp-preserve-scroll{scroll-margin:0!important;outline-offset:2px}
.berp-dashboard-app .berp-main{overflow-anchor:none!important}

@media(max-width:1100px){
  .berp-dashboard-section-head{grid-template-columns:1fr!important;gap:10px!important}
  .berp-dashboard-head-actions{justify-content:flex-start!important;overflow-x:auto!important;padding-bottom:2px!important}
}
@media(max-width:700px){
  .berp-wrap-portal{width:100%!important;margin-left:0!important;margin-right:0!important}
  .berp-dashboard-head-actions{flex-wrap:wrap!important;white-space:normal!important}
  .berp-dashboard-new-leads{flex:1 1 100%!important}
  .berp-dashboard-followup-scroll{max-height:55vh!important}
}


/* ==========================================================================\n   v6.7.62 — Aashiyana ERP Dashboard Frontend\n   Compact desktop-first SaaS dashboard + mobile responsive layout.\n   ========================================================================== */
.berp-global-topbar{height:76px;width:100%;box-sizing:border-box;background:#fff;border-bottom:1px solid #e8edf4;display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,520px) minmax(340px,1fr);align-items:center;gap:28px;padding:0 28px;position:relative;z-index:5}
.berp-global-brand{display:flex;align-items:center;gap:12px;min-width:0}.berp-global-brand img,.berp-global-brand-mark{width:46px;height:46px;flex:0 0 46px;border-radius:12px;object-fit:contain;background:#f5f8ff}.berp-global-brand-mark{display:flex;align-items:center;justify-content:center;color:#173d78}.berp-global-brand-mark svg{width:29px;height:29px}.berp-global-brand strong{display:block;font-size:24px;line-height:1.05;letter-spacing:-.03em;color:#10284c}.berp-global-brand small{display:block;margin-top:4px;font-size:12px;color:#5f7392}.berp-global-search{height:44px;background:#f6f8fc;border:1px solid #e1e8f2;border-radius:11px;display:flex;align-items:center;padding:0 13px;box-sizing:border-box}.berp-global-search svg{width:18px;height:18px;fill:none;stroke:#8ba0bc;stroke-width:2;margin-right:10px}.berp-global-search input{width:100%;border:0;background:transparent;outline:0;font:inherit;font-size:13px;color:#223552}.berp-global-search input::placeholder{color:#91a0b5}.berp-global-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:0}.berp-top-icon,.berp-help-link{border:0;background:transparent;color:#385273;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font:inherit;font-size:14px}.berp-top-icon{position:relative;padding:6px}.berp-top-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.berp-notice-badge{position:absolute;right:-1px;top:-2px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#ef476f;color:#fff;font-size:9px;font-weight:800;display:flex;align-items:center;justify-content:center;box-sizing:border-box}.berp-help-mark{width:22px;height:22px;border:1.7px solid #49617f;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px}.berp-account{display:flex;align-items:center;gap:10px;border-left:1px solid #edf0f5;padding-left:18px;min-width:0}.berp-avatar{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#3e7bf5,#1d55d7);color:#fff;font-weight:800}.berp-account-copy{min-width:0}.berp-account-copy strong{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#12284a}.berp-account-copy small{display:block;margin-top:3px;color:#617491;font-size:11px}.berp-chevron{font-size:20px;color:#46617f;margin-left:4px}
.berp-dashboard-app{min-height:calc(100vh - 76px)!important;height:calc(100vh - 76px);border-radius:0!important;overflow:hidden!important;background:#f4f7fb!important}.berp-dashboard-app .berp-side{height:100%;min-height:0;box-sizing:border-box;padding:18px 12px 14px;width:240px}.berp-dashboard-app .berp-side-brand{padding:2px 9px 20px}.berp-dashboard-app .berp-side nav{gap:4px}.berp-dashboard-app .berp-side nav a{padding:10px 12px;font-size:13px}.berp-dashboard-app .berp-side-bottom{padding:12px 9px;font-size:11px}.berp-dashboard-app .berp-main{height:100%;box-sizing:border-box;overflow:auto;padding:20px 28px 22px}.berp-dashboard-app .berp-top{display:none}
.berp-dashboard-page{width:100%;max-width:none}.berp-dashboard-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.berp-dashboard-titlebar h1{margin:4px 0 2px;font-size:31px;line-height:1;color:#10284c;letter-spacing:-.035em}.berp-dashboard-titlebar p{margin:0;color:#607493;font-size:13px}.berp-dashboard-title-actions{display:flex;align-items:center;gap:10px}.berp-dashboard-date-chip,.berp-trial-chip{height:42px;padding:0 14px;border-radius:11px;border:1px solid #e1e8f2;background:#fff;display:inline-flex;align-items:center;gap:9px;font-size:12px;color:#274364;white-space:nowrap}.berp-dashboard-date-chip svg{width:17px;height:17px;fill:none;stroke:#45658d;stroke-width:1.8}.berp-trial-chip{background:#eaf9f0;border-color:#d4f0df;color:#24985c}.berp-trial-chip i{width:9px;height:9px;border-radius:50%;background:#28a968;display:inline-block}
.berp-dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.berp-dashboard-kpi{min-width:0;min-height:94px;background:#fff;border:1px solid #e1e8f1;border-radius:14px;padding:14px 16px;display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit;box-sizing:border-box;box-shadow:0 3px 12px rgba(19,43,77,.035);transition:transform .15s ease,box-shadow .15s ease}.berp-dashboard-kpi:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(19,43,77,.07)}.berp-kpi-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:flex;align-items:center;justify-content:center}.berp-kpi-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.berp-kpi-icon.blue{background:#eaf1ff;color:#2f6ff2}.berp-kpi-icon.green{background:#e9f8f0;color:#16a05b}.berp-kpi-icon.purple,.berp-kpi-icon.violet{background:#f0ebff;color:#6b35ee}.berp-kpi-icon.orange{background:#fff0e6;color:#f47b20}.berp-kpi-icon.red{background:#ffe9ee;color:#ed4769}.berp-kpi-icon.yellow{background:#fff4dc;color:#efa500}.berp-kpi-icon.teal{background:#e5f8fa;color:#11a5b8}.berp-kpi-copy{min-width:0}.berp-kpi-copy>span{display:block;color:#557092;font-size:12px;line-height:1.1}.berp-kpi-copy strong{display:block;color:#142a4b;font-size:25px;line-height:1.05;margin:5px 0 3px}.berp-kpi-copy em{display:block;color:#1769e8;font-size:10px;font-style:normal}
.berp-dashboard-chart-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.berp-dashboard-chart-card{min-width:0;height:220px;background:#fff;border:1px solid #e1e8f1;border-radius:14px;padding:14px 15px;box-sizing:border-box;box-shadow:0 3px 12px rgba(19,43,77,.035);overflow:hidden}.berp-chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.berp-chart-head h3{margin:0;color:#142a4b;font-size:14px;line-height:1.1}.berp-chart-head span{display:block;color:#8191a8;font-size:10px;margin-top:4px}.berp-chart-menu{color:#9aa8ba!important;font-size:13px!important;letter-spacing:2px!important;margin-top:-2px!important}.berp-donut-layout{height:164px;display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:8px}.berp-donut{width:136px;height:136px;border-radius:50%;position:relative;margin-left:2px}.berp-donut:after{content:"";position:absolute;inset:29px;border-radius:50%;background:#fff}.berp-donut>div{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column}.berp-donut strong{font-size:23px;line-height:1;color:#13294a}.berp-donut span{font-size:9px;color:#7c8da7;margin-top:4px}.berp-chart-legend{min-width:0;display:grid;gap:6px}.berp-chart-legend>div{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:6px;font-size:10px;color:#4e6483;min-width:0}.berp-chart-legend i{width:8px;height:8px;border-radius:3px}.berp-chart-legend span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.berp-chart-legend strong{font-size:10px;color:#243b5d;white-space:nowrap}.berp-chart-legend small{font-size:9px;color:#8291a8;font-weight:500}.berp-chart-empty{grid-column:1/-1;text-align:center;color:#8a98aa;padding-top:35px}.berp-mini-bars{height:166px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:5px;margin-top:4px}.berp-mini-bars-axis{display:flex;flex-direction:column;justify-content:space-between;padding:2px 0 20px;color:#91a0b4;font-size:8px;text-align:right}.berp-mini-bars-plot{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:8px;height:100%;padding:2px 2px 0}.berp-mini-bar-col{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.berp-mini-bar-col strong{font-size:9px;color:#263e61;line-height:1;margin-bottom:5px}.berp-mini-bar-track{width:100%;max-width:30px;height:124px;display:flex;align-items:flex-end;justify-content:center;background:#eef3f9;border-radius:8px 8px 4px 4px;overflow:hidden}.berp-mini-bar-track i{display:block;width:100%;min-height:3px;border-radius:8px 8px 4px 4px;background:#4e82ed}.berp-mini-bar-col>span{font-size:9px;color:#71839d;line-height:1;margin-top:6px}.berp-user-bars{height:164px;display:flex;flex-direction:column;justify-content:center;gap:14px;margin-top:2px}.berp-user-bar-row{min-width:0}.berp-user-bar-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px;color:#536a88;font-size:10px}.berp-user-bar-meta span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.berp-user-bar-meta strong{font-size:10px;color:#20385b}.berp-user-bar-track{height:15px;border-radius:8px;background:#edf2f7;overflow:hidden}.berp-user-bar-track i{display:block;height:100%;min-width:5px;border-radius:8px}.berp-user-bar-track i.u0{background:#ff4f6d}.berp-user-bar-track i.u1{background:#3478f6}.berp-user-bar-track i.u2{background:#2fbf8f}
.berp-dashboard-followups{background:#fff;border:1px solid #e1e8f1;border-radius:15px;padding:14px 14px 10px;box-shadow:0 3px 12px rgba(19,43,77,.035)}.berp-dashboard-followups .berp-dashboard-section-head{margin-bottom:10px}.berp-dashboard-section-head{display:grid!important;grid-template-columns:minmax(280px,1fr) auto!important;gap:14px!important;align-items:center!important}.berp-dashboard-section-head>div:first-child h2{font-size:22px!important;color:#13294a!important}.berp-dashboard-head-actions{gap:7px!important}.berp-dashboard-new-leads{padding:8px 11px!important;font-size:11px!important}.berp-followup-date-nav{gap:3px!important}.berp-date-nav-btn,.berp-date-nav-date{height:36px!important;box-sizing:border-box!important}.berp-date-nav-btn{padding:0 10px!important}.berp-date-nav-date{min-width:68px!important}.berp-dashboard-head-actions>.berp-btn.primary{height:40px!important;padding:0 16px!important;border-radius:10px!important;font-size:12px!important}.berp-dashboard-followup-scroll{height:300px!important;min-height:300px!important;max-height:300px!important;overflow:auto!important;border:1px solid #e5eaf1!important;border-radius:10px!important;background:#fff!important}.berp-dashboard-followup-table{table-layout:auto}.berp-dashboard-followup-table th{padding:9px 10px!important;background:#f7f9fc!important;color:#223a5c!important;font-size:11px!important;border-bottom:1px solid #e2e8f0!important}.berp-dashboard-followup-table td{padding:8px 10px!important;font-size:11px!important;border-bottom:1px solid #edf1f5!important;color:#304867!important}.berp-dashboard-followup-table tbody tr:last-child td{border-bottom:0}.berp-dashboard-followup-foot{padding:9px 2px 2px;color:#7487a2;font-size:10px}
@media (max-width:1200px){.berp-global-topbar{grid-template-columns:minmax(250px,1fr) minmax(260px,420px) auto;gap:16px;padding:0 18px}.berp-global-brand strong{font-size:21px}.berp-dashboard-app .berp-main{padding:18px}.berp-dashboard-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-dashboard-chart-card{height:210px}.berp-dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.berp-account-copy{display:none}}
@media (max-width:900px){.berp-global-topbar{height:auto;min-height:72px;grid-template-columns:1fr auto;padding:12px 14px}.berp-global-search{grid-column:1/-1;grid-row:2;width:100%}.berp-global-actions{gap:10px}.berp-help-link span:last-child{display:none}.berp-dashboard-app{height:auto;min-height:0;overflow:visible!important}.berp-dashboard-app .berp-side{height:auto;width:100%;padding:10px 10px 8px}.berp-dashboard-app .berp-side-brand{padding:2px 8px 10px}.berp-dashboard-app .berp-side nav{display:flex;overflow-x:auto;gap:4px}.berp-dashboard-app .berp-side nav a{white-space:nowrap;padding:9px 11px}.berp-dashboard-app .berp-side-bottom{display:none}.berp-dashboard-app .berp-main{height:auto;overflow:visible;padding:15px 14px 20px}.berp-dashboard-titlebar{align-items:flex-start;flex-direction:column}.berp-dashboard-title-actions{width:100%;justify-content:space-between}.berp-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-dashboard-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-dashboard-section-head{grid-template-columns:1fr!important}.berp-dashboard-head-actions{justify-content:flex-start!important;flex-wrap:wrap!important}.berp-dashboard-new-leads{flex:0 0 auto}.berp-dashboard-followup-scroll{max-height:48vh!important}}
@media (max-width:620px){.berp-global-brand small{display:none}.berp-global-brand strong{font-size:20px}.berp-avatar{width:38px;height:38px}.berp-global-actions{gap:5px}.berp-account{padding-left:8px}.berp-dashboard-titlebar h1{font-size:27px}.berp-dashboard-title-actions{align-items:stretch;gap:7px}.berp-dashboard-date-chip,.berp-trial-chip{height:38px;padding:0 10px;font-size:10px}.berp-dashboard-kpis{gap:8px}.berp-dashboard-kpi{min-height:82px;padding:11px}.berp-kpi-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px}.berp-kpi-icon svg{width:19px;height:19px}.berp-kpi-copy strong{font-size:21px}.berp-dashboard-chart-grid{grid-template-columns:1fr;gap:9px}.berp-dashboard-chart-card{height:215px}.berp-mini-bars{height:165px}.berp-mini-bar-track{height:118px}.berp-user-bars{height:164px}.berp-dashboard-followups{padding:11px}.berp-dashboard-head-actions{width:100%}.berp-dashboard-head-actions .berp-followup-date-nav{order:1;width:100%;justify-content:space-between}.berp-dashboard-head-actions .berp-dashboard-new-leads{order:2}.berp-dashboard-head-actions>.berp-btn.primary{order:3;flex:1;width:auto}.berp-dashboard-followup-scroll{max-height:52vh!important}.berp-dashboard-followup-table{min-width:1120px!important}.berp-dashboard-followup-table th,.berp-dashboard-followup-table td{font-size:10px!important;padding:7px 8px!important}}


/* v6.7.67 — Lead Control Desk section heading */
.berp-lead-control-heading{margin:22px 0 10px;padding:0 2px;}
.berp-lead-control-kicker{display:block;margin-bottom:4px;color:#6f83a1;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;}
.berp-lead-control-heading h2{margin:0;color:#10284c;font-size:22px;line-height:1.15;letter-spacing:-.02em;font-weight:800;}
.berp-lead-control-heading p{margin:5px 0 0;color:#71839d;font-size:12px;line-height:1.4;}
@media(max-width:700px){.berp-lead-control-heading{margin:16px 0 9px}.berp-lead-control-heading h2{font-size:19px}.berp-lead-control-heading p{font-size:11px}}

/* v6.7.68 — Default plugin top header removed permanently.
   The WordPress theme/Header Builder owns the site header. */
.berp-global-topbar{display:none!important}
.berp-dashboard-app{min-height:100vh!important;height:100vh!important}
@media(max-width:900px){.berp-dashboard-app{height:auto!important;min-height:0!important}}

.berp-lead-detail-final{scroll-margin-top:20px!important}

@media (max-width:900px){.berp-dashboard-followup-scroll{height:48vh!important;min-height:48vh!important;max-height:48vh!important}}

/* v6.7.79 — Premium CRM Source + Stage visual treatment */
.berp-source-badge{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:4px 8px 4px 5px;border:1px solid #dfe6ef;border-radius:999px;background:linear-gradient(180deg,#fff,#f7f9fc);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 2px 5px rgba(15,23,42,.06);font-size:10px;font-weight:800;line-height:1;white-space:nowrap;color:#24324a;vertical-align:middle;box-sizing:border-box}
.berp-source-badge-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#edf2f8;color:#475569;box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 1px 2px rgba(15,23,42,.08);flex:0 0 22px}
.berp-source-badge-icon svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.berp-source-badge-icon svg text{stroke:none}
.berp-source-badge.whatsapp{background:#f0fff6;border-color:#c9efd9;color:#087a42}.berp-source-badge.whatsapp .berp-source-badge-icon{background:#18b86a;color:#fff}
.berp-source-badge.facebook{background:#eff6ff;border-color:#cfe0ff;color:#1854b8}.berp-source-badge.facebook .berp-source-badge-icon{background:#1877f2;color:#fff}
.berp-source-badge.instagram{background:#fff2fb;border-color:#f0d4eb;color:#a32d82}.berp-source-badge.instagram .berp-source-badge-icon{background:linear-gradient(145deg,#7c3aed,#ec4899,#f97316);color:#fff}
.berp-source-badge.website{background:#eff8ff;border-color:#cfe7fb;color:#1263a3}.berp-source-badge.website .berp-source-badge-icon{background:#1689df;color:#fff}
.berp-source-badge.\39 9acres{background:#eff8ff;border-color:#cfe5fb;color:#1466a5}.berp-source-badge.\39 9acres .berp-source-badge-icon{background:#1689df;color:#fff}
.berp-source-badge.magicbricks{background:#fff4f4;border-color:#f2d2d2;color:#a52727}.berp-source-badge.magicbricks .berp-source-badge-icon{background:#d83232;color:#fff}
.berp-source-badge.referral{background:#f3f5ff;border-color:#d9def7;color:#38458e}.berp-source-badge.referral .berp-source-badge-icon{background:#6474c8;color:#fff}
.berp-source-badge.walk-in,.berp-source-badge.walk_in{background:#f6f2ff;border-color:#e2d8fb;color:#6341a4}.berp-source-badge.walk-in .berp-source-badge-icon,.berp-source-badge.walk_in .berp-source-badge-icon{background:#7c55d9;color:#fff}
.berp-lead-table-final td:nth-child(4),.berp-dashboard-followup-table td:nth-child(4){white-space:nowrap}

.berp-stage-3d{display:inline-flex;align-items:center;justify-content:center;min-width:72px;height:27px;padding:0 11px;border-radius:999px;color:#fff;font-size:10px;line-height:1;font-weight:850;letter-spacing:.025em;text-transform:none;white-space:nowrap;box-sizing:border-box;border:1px solid rgba(255,255,255,.34);box-shadow:inset 0 2px 2px rgba(255,255,255,.25),inset 0 -4px 5px rgba(0,0,0,.22),0 3px 6px rgba(15,23,42,.15);text-shadow:0 1px 1px rgba(0,0,0,.24);transition:transform .16s ease,box-shadow .16s ease}
.berp-stage-3d:hover{transform:translateY(-1px);box-shadow:inset 0 2px 2px rgba(255,255,255,.28),inset 0 -4px 5px rgba(0,0,0,.22),0 5px 10px rgba(15,23,42,.18)}
.berp-stage-3d.new{background:linear-gradient(180deg,#45a3ff 0%,#1677e8 48%,#075bbd 100%)}
.berp-stage-3d.contacted{background:linear-gradient(180deg,#35d5d1 0%,#08aaa9 48%,#087f86 100%)}
.berp-stage-3d.qualified{background:linear-gradient(180deg,#9b6cff 0%,#6c36e6 48%,#4d20ba 100%)}
.berp-stage-3d.site_visit{background:linear-gradient(180deg,#8f63ff 0%,#6530e4 48%,#481bb4 100%)}
.berp-stage-3d.negotiation{background:linear-gradient(180deg,#ffab35 0%,#ed7b00 48%,#c45b00 100%)}
.berp-stage-3d.won{background:linear-gradient(180deg,#36d67a 0%,#10a957 48%,#078241 100%)}
.berp-stage-3d.lost{background:linear-gradient(180deg,#ff5d67 0%,#e42d38 48%,#bd1824 100%)}
.berp-lead-table-final .berp-stage-3d,.berp-dashboard-followup-table .berp-stage-3d{min-width:72px;height:27px;padding:0 10px}
@media(max-width:600px){.berp-source-badge{gap:5px;padding-right:6px}.berp-source-badge-icon{width:20px;height:20px;flex-basis:20px}.berp-source-badge-name{max-width:92px;overflow:hidden;text-overflow:ellipsis}.berp-stage-3d{min-width:68px;height:25px;padding:0 9px;font-size:9.5px}}

/* v6.7.79 — approved premium Source + Stage treatment, with strict sizing so
   badges never break the CRM table layout. */
.berp-lead-table-final td:nth-child(4),
.berp-lead-table-final th:nth-child(4),
.berp-dashboard-followup-table td:nth-child(4),
.berp-dashboard-followup-table th:nth-child(4){
  overflow:visible!important;
  white-space:nowrap!important;
}
.berp-lead-table-final td:nth-child(8),
.berp-lead-table-final th:nth-child(8),
.berp-dashboard-followup-table td:nth-child(8),
.berp-dashboard-followup-table th:nth-child(8){
  overflow:visible!important;
  white-space:nowrap!important;
}
.berp-source-badge{
  display:inline-flex!important;
  align-items:center!important;
  vertical-align:middle!important;
  gap:6px!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:30px!important;
  padding:3px 9px 3px 4px!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.berp-source-badge-icon{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  flex:0 0 24px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:50%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.berp-source-badge-icon svg{
  display:block!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  max-width:14px!important;
  max-height:14px!important;
}
.berp-source-glyph{
  display:block!important;
  font:900 8px/1 Arial,sans-serif!important;
  letter-spacing:-.25px!important;
  transform:none!important;
  line-height:1!important;
}
.berp-source-badge-name{
  display:block!important;
  min-width:0!important;
  max-width:94px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:10px!important;
  line-height:1!important;
}
.berp-lead-table-final th:nth-child(4),.berp-lead-table-final td:nth-child(4){width:145px!important;min-width:145px!important}
.berp-lead-table-final th:nth-child(8),.berp-lead-table-final td:nth-child(8){width:105px!important;min-width:105px!important;text-align:center!important}
.berp-dashboard-followup-table th:nth-child(4),.berp-dashboard-followup-table td:nth-child(4){min-width:145px!important}
.berp-dashboard-followup-table th:nth-child(8),.berp-dashboard-followup-table td:nth-child(8){min-width:105px!important;text-align:center!important}
.berp-stage-3d{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:78px!important;
  height:28px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  border:1px solid rgba(255,255,255,.34)!important;
  box-shadow:inset 0 2px 2px rgba(255,255,255,.25),inset 0 -4px 5px rgba(0,0,0,.22),0 3px 6px rgba(15,23,42,.15)!important;
  text-shadow:0 1px 1px rgba(0,0,0,.24)!important;
}
.berp-stage-3d.new{background:linear-gradient(180deg,#45a3ff 0%,#1677e8 48%,#075bbd 100%)!important}
.berp-stage-3d.contacted{background:linear-gradient(180deg,#35d5d1 0%,#08aaa9 48%,#087f86 100%)!important}
.berp-stage-3d.qualified{background:linear-gradient(180deg,#9b6cff 0%,#6c36e6 48%,#4d20ba 100%)!important}
.berp-stage-3d.site_visit{background:linear-gradient(180deg,#8f63ff 0%,#6530e4 48%,#481bb4 100%)!important}
.berp-stage-3d.negotiation{background:linear-gradient(180deg,#ffab35 0%,#ed7b00 48%,#c45b00 100%)!important}
.berp-stage-3d.won{background:linear-gradient(180deg,#36d67a 0%,#10a957 48%,#078241 100%)!important}
.berp-stage-3d.lost{background:linear-gradient(180deg,#ff5d67 0%,#e42d38 48%,#bd1824 100%)!important}
@media(max-width:700px){
 .berp-source-badge-icon{width:22px!important;height:22px!important;min-width:22px!important;flex-basis:22px!important}
 .berp-source-badge-name{max-width:88px!important}
 .berp-stage-3d{min-width:76px!important;height:27px!important;padding:0 10px!important}
}


/* v6.7.81 — CRM edit controls must remain native, clickable and in-place. */
#berp-lead-detail .berp-detail-grid-final>div:first-child,
#berp-lead-detail [data-berp-lead-edit-form]{position:relative;z-index:5;pointer-events:auto!important;}
#berp-lead-detail [data-berp-lead-edit-form] input,
#berp-lead-detail [data-berp-lead-edit-form] select,
#berp-lead-detail [data-berp-lead-edit-form] textarea,
#berp-lead-detail [data-berp-lead-edit-form] button{position:relative;z-index:6;pointer-events:auto!important;cursor:pointer;}
#berp-lead-detail [data-berp-lead-edit-form] input,
#berp-lead-detail [data-berp-lead-edit-form] select,
#berp-lead-detail [data-berp-lead-edit-form] textarea{cursor:text;}
#berp-lead-detail [data-berp-lead-edit-form] select{cursor:pointer;appearance:auto;-webkit-appearance:auto;}
#berp-lead-detail [data-berp-lead-edit-form] button{cursor:pointer;}


/* v6.7.84 — Problems #4 and #5: preserve normal overdue cell geometry and wrap long Assigned values. */
.berp-lead-table-final td.berp-overdue,
.berp-dashboard-followup-table td.berp-overdue{
  color:#b42318!important;
  background:inherit!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
.berp-lead-table-final td:nth-child(11),
.berp-dashboard-followup-table td:nth-child(11){
  white-space:normal!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.3!important;
}
.berp-assigned-text{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.3!important;
  max-width:100%!important;
}


/* v6.7.84 — Problem #4 exact fix: .berp-overdue is also used for the small
   overdue label, but when applied to the follow-up TD it must remain a table cell. */
.berp-lead-table-final td.berp-overdue,
.berp-dashboard-followup-table td.berp-overdue{
  display:table-cell!important;
  color:#b42318!important;
  background:inherit!important;
  outline:none!important;
  box-shadow:none!important;
}
/* v6.7.84 — Problem #2: Created appears immediately before Next Follow-up. */
.berp-lead-facts-wide>div:nth-child(11) span:before{content:"＋"!important;}
.berp-lead-facts-wide>div:nth-child(12) span:before{content:"◷"!important;}
/* Inventory Matrix Builder */
.berp-matrix-builder{padding:16px;border:1px solid #dfe6ef;border-radius:14px;background:linear-gradient(180deg,#fbfcfe,#f7faff);box-shadow:0 5px 18px rgba(23,61,120,.045)}
.berp-matrix-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.berp-matrix-head strong{display:block;color:#173d78;font-size:14px}.berp-matrix-head small{display:block;margin-top:4px;color:#718096;font-size:11px;line-height:1.45}.berp-matrix-chip{flex:none;padding:5px 9px;border-radius:999px;background:#edf5ff;color:#1f5a9a;font-size:10px;font-weight:800}
.berp-matrix-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.berp-matrix-controls label,.berp-matrix-custom-labels{display:block}.berp-matrix-controls span,.berp-matrix-custom-labels span{display:block;color:#33445e;font-size:11px;font-weight:800;margin-bottom:6px}.berp-matrix-controls input,.berp-matrix-controls select,.berp-matrix-custom-labels input{width:100%;height:42px;box-sizing:border-box;border:1px solid #d6dfeb;border-radius:9px;background:#fff;padding:0 10px;font-size:13px}.berp-matrix-custom-labels{margin-top:12px}.berp-matrix-unit-config{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.berp-matrix-unit-card{padding:10px;border:1px solid #e1e8f1;border-radius:10px;background:#fff}.berp-matrix-unit-card strong{display:block;color:#173d78;font-size:13px;margin-bottom:7px}.berp-matrix-unit-card label{display:block;color:#68778d;font-size:10px;font-weight:800;margin-top:7px}.berp-matrix-unit-card input{width:100%;height:36px;margin-top:4px;box-sizing:border-box;border:1px solid #d6dfeb;border-radius:8px;padding:0 8px;font-size:12px}.berp-matrix-preview-wrap{margin-top:16px;overflow:auto}.berp-matrix-preview-title{font-size:11px;font-weight:900;color:#173d78;margin-bottom:8px}.berp-matrix-preview{display:flex;gap:12px;min-width:max-content}.berp-matrix-preview-tower{border:1px solid #dfe6ef;border-radius:11px;background:#fff;overflow:hidden;min-width:270px;box-shadow:0 4px 12px rgba(23,61,120,.04)}.berp-matrix-preview-tower>strong{display:block;padding:9px 11px;background:#173d78;color:#fff;font-size:11px}.berp-matrix-preview-table{display:grid;grid-template-columns:56px repeat(var(--matrix-cols),minmax(82px,1fr));gap:1px;background:#e4eaf2}.berp-matrix-preview-table>div{background:#fff;padding:7px 5px;text-align:center;font-size:9px}.berp-matrix-preview-table .head{background:#f0f5fb;color:#173d78;font-weight:900}.berp-matrix-preview-table .floor{font-weight:900;color:#51627a}.berp-matrix-preview-table small{display:block;margin-top:2px;color:#718096;font-size:8px}.berp-matrix-preview-note{margin-top:8px;color:#718096;font-size:10px}.berp-matrix-builder[data-empty="1"] .berp-matrix-preview-wrap{display:none}
@media(max-width:900px){.berp-matrix-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-matrix-unit-config{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.berp-matrix-controls,.berp-matrix-unit-config{grid-template-columns:1fr}.berp-matrix-head{flex-direction:column}.berp-matrix-chip{align-self:flex-start}}
/* v6.7.90 — Full-width Inventory Matrix + compact animated controls */
.berp-inventory-full-app{display:block!important;width:100%;min-width:0;background:#f5f7fb;box-sizing:border-box!important;overflow:visible!important}.berp-inventory-full-main{width:100%;max-width:none!important;margin:0!important;padding:20px 22px 34px;box-sizing:border-box}.berp-inventory-full-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin:0 0 16px}.berp-inventory-full-head h1{margin:4px 0 3px;font-size:28px;letter-spacing:-.03em;color:#13213a}.berp-inventory-full-head p{margin:0;color:#68778d;font-size:12px}.berp-inventory-premium-toolbar{align-items:center!important;background:#fff;border:1px solid #e0e7f0;border-radius:14px;padding:13px 15px;box-shadow:0 5px 18px rgba(15,23,42,.045)}.berp-inventory-premium-toolbar h2{font-size:23px!important;color:#13213a}.berp-inventory-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.berp-mini-action{appearance:none;border:1px solid #d6deea;background:#fff;color:#27405f;border-radius:8px;min-height:34px;padding:6px 10px;font:700 11px/1.1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.berp-mini-action:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(23,61,120,.12);border-color:#aebfd6}.berp-mini-action:active{transform:translateY(0) scale(.98)}.berp-mini-action.primary{background:linear-gradient(135deg,#173d78,#285d9f);color:#fff;border-color:#173d78;box-shadow:0 4px 10px rgba(23,61,120,.18)}.berp-mini-action.whatsapp{border-color:#b9dfc6;color:#167541;background:#f0fbf3}.berp-mini-action.whatsapp:hover{background:#e7f8ec}.berp-inventory-filter-card{background:#fff;border:1px solid #e0e7f0;border-radius:12px;padding:10px 12px;margin:10px 0 12px;box-shadow:0 4px 14px rgba(15,23,42,.035)}.berp-inventory-filter-form{display:grid!important;grid-template-columns:minmax(240px,2fr) minmax(180px,1.2fr) minmax(160px,1fr) auto auto!important;gap:7px!important}.berp-inventory-filter-form select{height:36px!important;border:1px solid #d6deea;border-radius:8px;padding:0 10px;background:#fff;color:#334155;font-size:11px;font-weight:650}.berp-inventory-stats{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 12px}.berp-inventory-stats span{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid #e2e7ee;background:#fff;border-radius:999px;font-size:10px;font-weight:700;color:#526074}.berp-inventory-stats i{width:8px;height:8px;border-radius:50%;display:block}.berp-inventory-stats i.available{background:#43a950}.berp-inventory-stats i.reserved{background:#f0a000}.berp-inventory-stats i.sold{background:#d52d34}.berp-inventory-stats i.blocked{background:#485364}.berp-inventory-stats b{color:#13213a}.berp-inventory-tower-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(430px,1fr));gap:12px;align-items:start}.berp-inventory-board-premium{margin:0!important;padding:12px!important;border-radius:13px!important;box-shadow:0 5px 18px rgba(15,23,42,.045)!important}.berp-inventory-board-premium .berp-inventory-board-title{padding:0 2px 9px;margin-bottom:9px}.berp-inventory-board-premium .berp-inventory-board-project{font-size:15px}.berp-inventory-board-premium .berp-inventory-board-title strong{font-size:12px}.berp-inventory-board-premium .berp-inventory-board-count{font-size:9px}.berp-inventory-board-premium .berp-inventory-grid-table{min-width:0!important;width:100%;gap:3px}.berp-inventory-board-premium .berp-inventory-grid-header,.berp-inventory-board-premium .berp-inventory-grid-row{grid-template-columns:54px repeat(var(--berp-grid-cols),minmax(0,1fr));gap:3px}.berp-inventory-board-premium .berp-inventory-grid-header>div{height:29px;border-radius:6px;font-size:9px}.berp-inventory-board-premium .berp-inventory-floor-label,.berp-inventory-board-premium .berp-inventory-grid-unit,.berp-inventory-board-premium .berp-inventory-grid-empty{min-height:58px;border-radius:6px}.berp-inventory-board-premium .berp-inventory-floor-label span{font-size:7px}.berp-inventory-board-premium .berp-inventory-floor-label strong{font-size:12px}.berp-inventory-board-premium .berp-inventory-grid-unit{padding:5px 4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 2px 6px rgba(15,23,42,.08)}.berp-inventory-board-premium .berp-inventory-grid-unit strong{font-size:12px}.berp-inventory-board-premium .berp-inventory-grid-unit small{font-size:7px;margin-top:3px}.berp-inventory-board-premium .berp-inventory-grid-icon{left:4px;font-size:10px}.berp-inventory-share-row{margin-top:12px;background:#fff;border:1px solid #e0e7f0;border-radius:12px;padding:10px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;box-shadow:0 4px 14px rgba(15,23,42,.035)}.berp-inventory-share-row>div{display:grid;gap:2px}.berp-inventory-share-row strong{font-size:12px;color:#173d78}.berp-inventory-share-row span{font-size:10px;color:#68778d}.berp-inventory-share-row form{margin:0}.berp-inventory-modal{position:fixed;inset:0;z-index:999999}.berp-inventory-modal[hidden]{display:none}.berp-inventory-modal-backdrop{position:absolute;inset:0;background:rgba(8,20,38,.56);backdrop-filter:blur(2px)}.berp-inventory-modal-card{position:relative;width:min(720px,calc(100% - 24px));max-height:calc(100vh - 28px);overflow:auto;margin:14px auto;background:#fff;border-radius:15px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.25);animation:berpModalIn .18s ease-out}.berp-inventory-modal-close{position:absolute;right:9px;top:7px;border:0;background:#f2f5f9;color:#526074;width:29px;height:29px;border-radius:50%;font-size:20px;cursor:pointer}.berp-inventory-modal-close:hover{transform:rotate(90deg);transition:transform .2s}.berp-unit-detail-head{display:flex;justify-content:space-between;gap:15px;padding-right:32px}.berp-unit-detail-head h3{margin:3px 0;font-size:25px;color:#10254b}.berp-unit-detail-head p{margin:0;color:#68778d;font-size:11px}.berp-detail-status{border-radius:999px;padding:7px 10px;height:max-content;font-size:9px;font-weight:900}.berp-detail-status.status-available{background:#eaf8ee;color:#18794e}.berp-detail-status.status-sold{background:#fff0f1;color:#c52831}.berp-detail-status.status-blocked{background:#edf0f3;color:#475467}.berp-detail-status.status-reserved,.berp-detail-status.status-hold,.berp-detail-status.status-booked{background:#fff6e2;color:#9b6500}.berp-unit-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:14px}.berp-unit-detail-grid>div{border:1px solid #e2e7ee;border-radius:9px;padding:9px;background:#fbfcfe;display:grid;gap:3px}.berp-unit-detail-grid small{font-size:8px;color:#718096;text-transform:uppercase;letter-spacing:.05em}.berp-unit-detail-grid strong{font-size:11px;color:#253750}.berp-unit-customer{margin-top:9px;padding:10px;border-radius:9px;background:#f7f9fc;border:1px solid #e3e8f0;display:flex;justify-content:space-between;gap:10px;font-size:11px}.berp-unit-detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.berp-status-picker{border-top:1px solid #e8edf3;margin-top:13px;padding-top:11px;display:flex;gap:5px;flex-wrap:wrap;align-items:center}.berp-status-picker>b{width:100%;font-size:10px;color:#526074;margin-bottom:2px}.berp-mini-status{border:1px solid #d6deea;background:#fff;border-radius:7px;padding:5px 8px;font-size:9px;font-weight:750;cursor:pointer}.berp-mini-status:hover{background:#f3f7fc;transform:translateY(-1px)}.berp-inventory-loading{padding:35px;text-align:center;color:#68778d;font-size:12px}@keyframes berpModalIn{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.berp-inventory-full-app .berp-crm-topnav{display:flex!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;position:sticky;top:0;z-index:50}.berp-inventory-full-app .berp-inventory-full-main{display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}.berp-inventory-full-app .berp-crm-topnav nav{overflow-x:auto;white-space:nowrap}.berp-inventory-full-app .berp-crm-topnav nav a{font-size:11px}
@media(max-width:1100px){.berp-inventory-full-main{padding:16px}.berp-inventory-tower-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr))}.berp-inventory-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.berp-inventory-filter-form .berp-mini-action{width:100%}}
@media(max-width:700px){.berp-inventory-full-main{padding:10px 8px 24px}.berp-inventory-full-head{align-items:flex-start;flex-direction:column;margin-bottom:10px}.berp-inventory-full-head h1{font-size:22px}.berp-inventory-premium-toolbar{align-items:flex-start!important;flex-direction:column;padding:10px}.berp-inventory-actions{width:100%;justify-content:flex-start}.berp-mini-action{min-height:31px;padding:5px 8px;font-size:10px}.berp-inventory-filter-form{grid-template-columns:1fr!important}.berp-inventory-tower-grid{grid-template-columns:1fr;gap:9px}.berp-inventory-board-premium{padding:8px!important}.berp-inventory-board-premium .berp-inventory-grid-header,.berp-inventory-board-premium .berp-inventory-grid-row{grid-template-columns:43px repeat(var(--berp-grid-cols),minmax(42px,1fr));gap:2px}.berp-inventory-board-premium .berp-inventory-grid-header>div{height:25px;font-size:8px}.berp-inventory-board-premium .berp-inventory-floor-label,.berp-inventory-board-premium .berp-inventory-grid-unit,.berp-inventory-board-premium .berp-inventory-grid-empty{min-height:50px}.berp-inventory-board-premium .berp-inventory-grid-unit strong{font-size:10px}.berp-inventory-board-premium .berp-inventory-grid-unit small{font-size:6px}.berp-inventory-board-premium .berp-inventory-grid-icon{display:none}.berp-inventory-share-row{align-items:flex-start;flex-direction:column}.berp-unit-detail-grid{grid-template-columns:1fr}.berp-unit-customer{display:grid}.berp-inventory-modal-card{margin:7px auto;padding:14px;max-height:calc(100vh - 14px)}}
.berp-inventory-grid-unit.status-hold,.berp-inventory-grid-unit.status-booked{background:linear-gradient(180deg,#ffb313,#d47b00)!important}
/* v6.7.91 per-tower inventory setup refinement */
.berp-project-inventory-note{display:grid;gap:4px;padding:14px 16px!important;background:#f7f9fc;border:1px solid #dfe7f1;border-radius:12px}
.berp-project-inventory-note strong{font-size:13px;color:#173d78}.berp-project-inventory-note span{font-size:11px;color:#64748b}
.berp-inventory-setup-card,.berp-tower-matrix-builder{background:#fff;border:1px solid #e0e7f0;border-radius:13px;padding:13px 14px;margin:0 0 12px;box-shadow:0 4px 14px rgba(15,23,42,.035)}
.berp-inventory-setup-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px}.berp-inventory-setup-head h3{margin:2px 0;font-size:17px;color:#173d78}.berp-inventory-setup-head p{margin:3px 0 0;font-size:10px;color:#68778d}
.berp-tower-add-form{display:flex;gap:7px;align-items:center}.berp-tower-add-form input{height:34px;flex:1;min-width:0;border:1px solid #d6deea;border-radius:8px;padding:0 10px;font-size:11px}.berp-tower-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.berp-tower-chip{padding:6px 9px;border:1px solid #d6deea;border-radius:999px;text-decoration:none;color:#40546f;background:#fff;font-size:10px;font-weight:800;transition:.16s ease}.berp-tower-chip:hover{transform:translateY(-1px);box-shadow:0 5px 12px rgba(23,61,120,.09)}.berp-tower-chip.active{background:#173d78;color:#fff;border-color:#173d78}
.berp-tower-matrix-form .berp-matrix-controls{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr)) minmax(180px,1.4fr);gap:7px;margin:0}.berp-tower-matrix-form .berp-matrix-controls label{display:grid;gap:4px}.berp-tower-matrix-form .berp-matrix-controls span{font-size:9px;font-weight:800;color:#5b6b82;text-transform:uppercase;letter-spacing:.04em}.berp-tower-matrix-form input,.berp-tower-matrix-form select{height:34px;border:1px solid #d6deea;border-radius:8px;padding:0 9px;font-size:11px;background:#fff}.berp-matrix-help{margin:8px 0;font-size:10px;color:#68778d}.berp-tower-matrix-form .berp-mini-action{margin-top:4px}
.berp-inventory-grid-unit strong{font-size:13px!important;letter-spacing:.02em}.berp-inventory-grid-unit{min-height:54px!important;padding:5px!important}.berp-inventory-grid-icon,.berp-inventory-grid-unit small{display:none!important}
@media(max-width:900px){.berp-tower-matrix-form .berp-matrix-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-tower-add-form{flex-wrap:wrap}.berp-tower-add-form input{flex-basis:100%}}
@media(max-width:700px){.berp-tower-matrix-form .berp-matrix-controls{grid-template-columns:1fr}.berp-inventory-setup-head{align-items:flex-start;flex-direction:column}.berp-tower-add-form .berp-mini-action{width:100%}.berp-inventory-grid-unit strong{font-size:11px!important}}

/* Builder ERP v6.7.94 — Project setup wizard */
.berp-project-wizard{overflow:hidden}.berp-project-steps{display:flex;align-items:center;gap:10px;padding:16px 24px;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;background:#fbfcfe}.berp-project-steps button{border:0;background:transparent;color:#7a8799;display:flex;align-items:center;gap:8px;padding:5px;cursor:pointer;font:inherit}.berp-project-steps button span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e9eef5;color:#64748b;font-size:12px;font-weight:900}.berp-project-steps button b{font-size:12px}.berp-project-steps button.is-active{color:#173d78}.berp-project-steps button.is-active span{background:#173d78;color:#fff}.berp-project-steps i{height:1px;flex:1;background:#dfe5ec}.berp-project-step{display:none;padding:26px}.berp-project-step.is-active{display:block}.berp-step-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.berp-step-number{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf3fb;color:#173d78;font-size:11px;font-weight:900}.berp-step-heading h4{margin:0;color:#173d78;font-size:18px}.berp-step-heading p{margin:3px 0 0;color:#748197;font-size:11px}.berp-custom-section{margin-top:22px;padding:18px;border:1px solid #e6ebf2;border-radius:15px;background:#fbfcfe}.berp-custom-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.berp-custom-section-head h4{margin:3px 0;color:#233b60;font-size:15px}.berp-custom-section-head p{margin:3px 0 0;color:#77849a;font-size:11px}.berp-btn.small{font-size:11px;padding:8px 11px;white-space:nowrap}.berp-repeat-list{margin-top:13px;display:grid;gap:8px}.berp-repeat-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(140px,.7fr) auto;gap:9px;align-items:end;padding:11px;border:1px solid #e3e8ef;border-radius:11px;background:#fff}.berp-repeat-row label{display:flex;flex-direction:column;gap:5px;color:#526178;font-size:10px;font-weight:800}.berp-repeat-row input,.berp-repeat-row select{width:100%;height:40px;box-sizing:border-box;border:1px solid #d6dee9;border-radius:9px;background:#fff;padding:0 10px;color:#1e2d43;font-size:13px}.berp-icon-delete{width:38px;height:40px;border:1px solid #f1cdd1;border-radius:9px;background:#fff5f5;color:#b4232f;font-size:20px;cursor:pointer}.berp-custom-empty{padding:12px;border:1px dashed #d8e0ea;border-radius:10px;color:#8793a5;font-size:11px;background:#fff}.berp-tower-count-box{display:flex;align-items:center;gap:18px;padding:15px 16px;margin-bottom:15px;border:1px solid #dfe7f0;border-radius:13px;background:#f8fafc}.berp-tower-count-box label{display:flex;align-items:center;gap:10px;color:#33445e;font-size:12px;font-weight:900}.berp-tower-count-box input{width:90px;height:42px;border:1px solid #cfd9e6;border-radius:9px;padding:0 10px;font-size:15px;font-weight:800}.berp-tower-count-box small{color:#7b8799;font-size:11px}.berp-tower-config-list{display:grid;gap:12px}.berp-tower-card{border:1px solid #dfe6ef;border-radius:15px;background:#fff;overflow:hidden}.berp-tower-card-head{width:100%;display:grid;grid-template-columns:34px 1fr 24px;gap:10px;align-items:center;border:0;background:#fff;padding:14px 16px;text-align:left;cursor:pointer}.berp-tower-index{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf3fb;color:#173d78;font-size:11px;font-weight:900}.berp-tower-title b{display:block;color:#173d78;font-size:14px}.berp-tower-title small{display:block;margin-top:3px;color:#8190a4;font-size:10px}.berp-tower-chevron{color:#718096;font-size:17px;transition:transform .18s ease}.berp-tower-card.is-open .berp-tower-chevron{transform:rotate(180deg)}.berp-tower-card-body{display:none;padding:0 16px 17px;border-top:1px solid #eef2f6}.berp-tower-card.is-open .berp-tower-card-body{display:block}.berp-tower-top-grid{display:grid;grid-template-columns:1.5fr .8fr .8fr;gap:10px;padding:15px 0}.berp-tower-top-grid label,.berp-unit-template-row label{display:flex;flex-direction:column;gap:5px;color:#526178;font-size:10px;font-weight:800}.berp-tower-top-grid input,.berp-unit-template-row input{height:40px;box-sizing:border-box;border:1px solid #d6dee9;border-radius:9px;padding:0 10px;color:#1e2d43;font-size:13px}.berp-unit-template-head{padding:10px 0 9px;border-top:1px dashed #e0e6ee}.berp-unit-template-head b{display:block;color:#33445e;font-size:12px}.berp-unit-template-head span{display:block;margin-top:3px;color:#8a95a6;font-size:10px}.berp-unit-template-grid{display:grid;gap:7px}.berp-unit-template-row{display:grid;grid-template-columns:34px 1.2fr .8fr .9fr;gap:8px;align-items:end;padding:8px;border:1px solid #edf1f5;border-radius:10px;background:#fbfcfe}.berp-unit-letter{display:grid;place-items:center;height:40px;border-radius:8px;background:#edf3fb;color:#173d78;font-weight:900;font-size:12px}.berp-excel-import-box{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;margin-top:15px;padding:15px;border:1px dashed #cfd9e6;border-radius:13px;background:#fbfcfe}.berp-excel-import-box h4{margin:3px 0;color:#33445e;font-size:13px}.berp-excel-import-box p{margin:3px 0 0;color:#7b8799;font-size:10px}.berp-excel-import-box input[type=file]{max-width:240px;font-size:11px}.berp-wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding-top:17px;border-top:1px solid #e8edf3}.berp-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.berp-review-card{padding:15px;border:1px solid #e2e8f0;border-radius:13px;background:#fbfcfe}.berp-review-card span{display:block;color:#8390a2;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.berp-review-card>strong{display:block;margin-top:6px;color:#173d78;font-size:17px}.berp-review-card>small{display:block;margin-top:4px;color:#718096;font-size:10px}.berp-review-wide{grid-column:1/-1}.berp-review-wide>div{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:9px}.berp-review-wide b,.berp-review-wide em{padding:7px 8px;border-bottom:1px solid #e9edf2;font-size:11px;font-style:normal}.berp-review-wide b{color:#33445e}.berp-review-wide em{text-align:right;color:#173d78;font-weight:800}.berp-tower-count-badge{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:999px;background:#edf3fb;color:#173d78;font-size:11px;font-weight:900}.berp-project-directory-table .berp-project-status-badge{display:inline-flex}.berp-project-directory-table .berp-project-actions .primary{flex:1}.berp-project-directory-table .berp-project-actions{justify-content:flex-start}.berp-project-directory-table .berp-project-actions form{margin:0}.berp-project-directory-table .berp-project-actions .danger{color:#b4232f;background:#fff5f5;border-color:#f1cdd1}
@media(max-width:760px){.berp-project-steps{padding:12px 15px;gap:4px}.berp-project-steps button b{display:none}.berp-project-steps i{margin:0 3px}.berp-project-step{padding:18px}.berp-custom-section-head{align-items:flex-start;flex-direction:column}.berp-repeat-row,.berp-tower-top-grid,.berp-unit-template-row,.berp-excel-import-box,.berp-review-grid{grid-template-columns:1fr}.berp-review-wide{grid-column:auto}.berp-tower-count-box{align-items:flex-start;flex-direction:column;gap:8px}.berp-wizard-actions{align-items:stretch;flex-wrap:wrap}.berp-wizard-actions .muted{order:3;width:100%;text-align:center}.berp-wizard-actions .berp-btn{flex:1}.berp-project-directory-table{min-width:720px!important}}

/* Project wizard: horizontal tower menu + single selected-tower editor */
.berp-tower-config-list{display:block}.berp-tower-tabs{display:flex;align-items:stretch;gap:8px;overflow-x:auto;overflow-y:hidden;padding:3px 2px 10px;scrollbar-width:thin}.berp-tower-tab{flex:0 0 auto;min-width:190px;max-width:260px;display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;color:#526178;text-align:left;cursor:pointer;transition:all .18s ease;box-shadow:0 1px 2px rgba(23,61,120,.03)}.berp-tower-tab:hover{border-color:#b9c9df;transform:translateY(-1px)}.berp-tower-tab.is-active{border-color:#173d78;background:#f4f7fc;color:#173d78;box-shadow:0 4px 12px rgba(23,61,120,.08)}.berp-tower-tab-number{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#edf3fb;color:#173d78;font-size:11px;font-weight:900}.berp-tower-tab.is-active .berp-tower-tab-number{background:#173d78;color:#fff}.berp-tower-tab-copy{min-width:0}.berp-tower-tab-copy b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.berp-tower-tab-copy small{display:block;margin-top:3px;color:#8190a4;font-size:9px;white-space:nowrap}.berp-tower-editor{margin-top:4px}.berp-tower-editor-card{border:1px solid #dfe6ef;border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(23,61,120,.05)}.berp-tower-editor-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #edf1f5;background:#fbfcfe}.berp-tower-editor-head h4{margin:3px 0 0;color:#173d78;font-size:16px}.berp-tower-editor-head p{margin:4px 0 0;color:#7b8799;font-size:10px}.berp-tower-selected-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#edf3fb;color:#173d78;font-size:10px;font-weight:900;white-space:nowrap}.berp-tower-editor-card .berp-tower-top-grid{padding:17px 18px}.berp-tower-editor-card .berp-unit-template-head{margin:0 18px}.berp-tower-editor-card .berp-unit-template-grid{padding:0 18px 18px}.berp-tower-editor-card .berp-unit-template-row:last-child{margin-bottom:0}
@media(max-width:760px){.berp-tower-tabs{gap:6px}.berp-tower-tab{min-width:165px;padding:9px 10px}.berp-tower-editor-head{align-items:flex-start;flex-direction:column}.berp-tower-selected-badge{align-self:flex-start}.berp-tower-editor-card .berp-tower-top-grid{padding:14px}.berp-tower-editor-card .berp-unit-template-head{margin:0 14px}.berp-tower-editor-card .berp-unit-template-grid{padding:0 14px 14px}}

/* v6.7.97 — reference tower editor UI */
.berp-tower-editor-card{border:1px solid #dce5f0;border-radius:20px;background:#fff;overflow:hidden;box-shadow:none}
.berp-tower-editor-head{min-height:74px;box-sizing:border-box;padding:15px 20px 14px 22px;background:#fbfcfe;border-bottom:1px solid #e5ebf2;display:flex;align-items:center;justify-content:space-between;gap:18px}
.berp-tower-editor-title{display:flex;align-items:center;gap:9px;min-width:0}
.berp-tower-building-icon{font-size:19px;line-height:1;flex:0 0 auto}
.berp-tower-editor-title h4{margin:0;color:#102d55;font-size:20px;font-weight:800;line-height:1.2;white-space:nowrap}
.berp-tower-summary-pill{display:inline-flex;align-items:center;margin-left:3px;padding:6px 12px;border:1px solid #b8caff;border-radius:999px;background:#f4f7ff;color:#2d4fb8;font-size:12px;font-weight:500;white-space:nowrap}
.berp-tower-editor-actions{display:flex;align-items:center;gap:22px;flex:0 0 auto}
.berp-tower-trash{width:25px;height:30px;padding:3px;border:0;background:transparent;color:#9aa9bd;cursor:pointer;display:grid;place-items:center}
.berp-tower-trash svg{width:20px;height:20px;fill:currentColor}
.berp-tower-trash:hover{color:#d14a5a}
.berp-tower-collapse{border:0;background:transparent;color:#183a68;font-size:15px;font-weight:500;cursor:pointer;padding:7px 0;display:flex;align-items:center;gap:7px}
.berp-tower-collapse span{font-size:20px;line-height:10px;color:#4b6280}
.berp-tower-editor-body{padding:24px 25px 26px}
.berp-tower-editor-card.is-collapsed .berp-tower-editor-body{display:none}
.berp-tower-editor-card .berp-tower-top-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:15px;padding:0;margin:0 0 27px}
.berp-tower-editor-card .berp-tower-top-grid label{gap:7px;color:#193a67;font-size:13px;font-weight:800}
.berp-tower-editor-card .berp-tower-top-grid input{height:47px;border:1px solid #cdd9e8;border-radius:9px;background:#fff;padding:0 13px;color:#183554;font-size:14px;font-weight:600;box-shadow:none}
.berp-tower-editor-card .berp-tower-top-grid input:focus{border-color:#9cb2ff;box-shadow:0 0 0 2px rgba(82,111,255,.08);outline:none}
.berp-tower-editor-card .berp-unit-template-head{margin:0 0 9px;padding:0;border:0;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.berp-tower-editor-card .berp-unit-template-head>div{display:flex;align-items:flex-end;justify-content:space-between;width:100%;gap:20px}
.berp-tower-editor-card .berp-unit-template-head b{color:#56708f;font-size:15px;letter-spacing:.01em;font-weight:800}
.berp-tower-editor-card .berp-unit-template-head span{margin:0;color:#8295ae;font-size:12px;white-space:nowrap}
.berp-tower-editor-card .berp-unit-template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:0}
.berp-tower-editor-card .berp-unit-template-row{display:block;padding:15px 15px 16px;border:1px solid #dce5f0;border-radius:16px;background:#fff;min-width:0}
.berp-unit-code-line{height:23px;display:flex;align-items:center;gap:8px;margin-bottom:12px;color:#3f5cff;font-size:14px;font-weight:800}
.berp-unit-code-line:after{content:"";height:1px;border-top:1px dashed #cfd8e6;flex:1;order:2}
.berp-unit-code-line b{order:3;color:#173c70;font-size:16px;font-weight:800;min-width:16px;text-align:right}
.berp-unit-code-line span{order:1}
.berp-tower-editor-card .berp-unit-template-row label{display:block;margin:0 0 12px;color:#7589a4;font-size:11px;font-weight:800;letter-spacing:.01em}
.berp-tower-editor-card .berp-unit-template-row label:last-child{margin-bottom:0}
.berp-tower-editor-card .berp-unit-template-row label>span{display:block;margin-bottom:6px}
.berp-tower-editor-card .berp-unit-template-row select,
.berp-tower-editor-card .berp-unit-template-row input{width:100%;height:38px;box-sizing:border-box;border:1px solid #d9e2ed;border-radius:10px;background:#f8fafc;color:#193554;padding:0 10px;font-size:13px;font-weight:500;outline:none}
.berp-tower-editor-card .berp-unit-template-row select:focus,
.berp-tower-editor-card .berp-unit-template-row input:focus{border-color:#9cb2ff;box-shadow:0 0 0 2px rgba(82,111,255,.08)}
.berp-area-field>div{position:relative}
.berp-area-field input{padding-right:49px!important}
.berp-area-field em{position:absolute;right:10px;top:0;height:38px;display:flex;align-items:center;color:#8293aa;font-size:11px;font-style:normal;font-weight:500;pointer-events:none}
@media(max-width:1000px){.berp-tower-editor-card .berp-unit-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.berp-tower-editor-card .berp-unit-template-head>div{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-width:760px){.berp-tower-editor-head{padding:14px 15px;align-items:flex-start}.berp-tower-editor-title{align-items:flex-start;flex-wrap:wrap}.berp-tower-editor-title h4{font-size:18px}.berp-tower-summary-pill{font-size:10px}.berp-tower-editor-actions{gap:12px}.berp-tower-editor-body{padding:17px 14px 18px}.berp-tower-editor-card .berp-tower-top-grid{grid-template-columns:1fr;margin-bottom:20px}.berp-tower-editor-card .berp-unit-template-grid{grid-template-columns:1fr}.berp-tower-editor-card .berp-unit-template-head>div{gap:5px}.berp-tower-editor-card .berp-unit-template-head span{white-space:normal}}

/* v6.7.97 — per-tower save + generic residential/commercial unit configuration */
.berp-tower-save{border:1px solid #d24a78;background:#fff;color:#c52f68;border-radius:8px;padding:7px 12px;font-size:13px;font-weight:700;cursor:pointer;transition:.18s ease;box-shadow:0 1px 2px rgba(20,45,85,.05)}
.berp-tower-save:hover{background:#fff4f8;transform:translateY(-1px)}
.berp-tower-save.is-saved{background:#eefbf3;border-color:#a7d8b8;color:#23834b}
.berp-tower-editor-actions{gap:14px}
@media(max-width:760px){.berp-tower-editor-actions{gap:8px;flex-wrap:wrap}.berp-tower-save{padding:6px 9px;font-size:12px}}


/* v6.7.98 — Unified portal header: all pages except Dashboard use the CRM header. */
.berp-wrap-portal > .berp-crm-app{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:100vh!important;
  border-radius:0!important;
  overflow:visible!important;
  display:block!important;
  background:#f5f7fb!important;
}
.berp-wrap-portal > .berp-crm-app .berp-crm-topnav{width:100%;}
.berp-wrap-portal > .berp-crm-app .berp-crm-main{min-width:0;}
