:root{
  --bcrm-bg:#f5f7fb;--bcrm-surface:#fff;--bcrm-soft:#f8fafc;--bcrm-border:#e5eaf1;
  --bcrm-text:#142033;--bcrm-muted:#6b778c;--bcrm-primary:#1f5eff;--bcrm-primary-2:#1749cc;
  --bcrm-success:#15803d;--bcrm-success-bg:#ecfdf3;--bcrm-warning:#b45309;--bcrm-warning-bg:#fff7ed;
  --bcrm-danger:#c62828;--bcrm-danger-bg:#fff1f2;--bcrm-info:#0369a1;--bcrm-info-bg:#f0f9ff;
  --bcrm-radius:14px;--bcrm-radius-sm:9px;--bcrm-shadow:0 8px 28px rgba(20,32,51,.06)
}
body.bcrm-modal-open{overflow:hidden}
body:has(.bcrm-portal-shell){background:#f4f7fb}
body:has(.bcrm-portal-shell) .wp-site-blocks,
body:has(.bcrm-portal-shell) main,
body:has(.bcrm-portal-shell) .wp-block-group,
body:has(.bcrm-portal-shell) .wp-block-post-content,
body:has(.bcrm-portal-shell) .entry-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body:has(.bcrm-portal-shell) .wp-block-post-title,
body:has(.bcrm-portal-shell) main>h1,
body:has(.bcrm-portal-shell) .entry-title{display:none!important}
body:has(.bcrm-portal-shell)>header,
body:has(.bcrm-portal-shell)>footer,
body:has(.bcrm-portal-shell) .wp-site-blocks>header,
body:has(.bcrm-portal-shell) .wp-site-blocks>footer{display:none!important}
.bcrm-portal{direction:rtl;text-align:right;font-family:Tahoma,Arial,sans-serif;color:var(--bcrm-text);line-height:1.7;box-sizing:border-box}
.bcrm-portal *{box-sizing:border-box}.bcrm-portal a{text-decoration:none}.bcrm-app{max-width:1480px;margin:0 auto;padding:24px;background:var(--bcrm-bg);min-height:100vh}
.bcrm-app-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;background:var(--bcrm-surface);border:1px solid var(--bcrm-border);border-radius:var(--bcrm-radius);padding:18px 20px;box-shadow:var(--bcrm-shadow)}
.bcrm-topbar-title{display:flex;align-items:center;gap:18px}.bcrm-topbar-title h1{font-size:24px;margin:0}.bcrm-topbar-title p{margin:3px 0 0;color:var(--bcrm-muted);font-size:13px}.bcrm-back{display:inline-flex;align-items:center;color:var(--bcrm-primary);font-weight:700}
.bcrm-user-box{display:flex;align-items:center;gap:10px}.bcrm-user-box div{display:grid}.bcrm-user-box span{font-size:12px;color:var(--bcrm-muted)}
.bcrm-user-avatar,.bcrm-avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#eaf0ff;color:var(--bcrm-primary);font-weight:800}.bcrm-user-avatar{width:40px;height:40px}.bcrm-avatar{width:42px;height:42px}.bcrm-avatar.is-large{width:58px;height:58px;font-size:22px}
.bcrm-dashboard-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.bcrm-metric-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--bcrm-border);border-radius:var(--bcrm-radius);padding:16px;box-shadow:var(--bcrm-shadow)}.bcrm-metric-card strong{display:block;font-size:24px}.bcrm-metric-card span:last-child{font-size:12px;color:var(--bcrm-muted)}.bcrm-metric-icon{width:10px;height:36px;border-radius:99px;background:#cbd5e1}.bcrm-metric-card.is-check .bcrm-metric-icon{background:#22c55e}.bcrm-metric-card.is-alert .bcrm-metric-icon{background:#f59e0b}.bcrm-metric-card.is-complaint .bcrm-metric-icon{background:#ef4444}.bcrm-metric-card.is-service .bcrm-metric-icon{background:#3b82f6}
.bcrm-panel{background:var(--bcrm-surface);border:1px solid var(--bcrm-border);border-radius:var(--bcrm-radius);padding:18px;box-shadow:var(--bcrm-shadow);margin-bottom:16px}.bcrm-list-panel{padding:0;overflow:hidden}.bcrm-toolbar{padding:16px;border-bottom:1px solid var(--bcrm-border);display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.bcrm-search-form{display:flex;gap:8px;min-width:min(520px,100%)}.bcrm-search-form input{flex:1}.bcrm-search-form button,.bcrm-primary-button{border:0;background:var(--bcrm-primary);color:#fff;border-radius:var(--bcrm-radius-sm);padding:10px 16px;font-weight:700;cursor:pointer}.bcrm-primary-button:hover{background:var(--bcrm-primary-2)}.bcrm-primary-button:disabled{opacity:.45;cursor:not-allowed}.bcrm-primary-button.is-small{padding:8px 12px;font-size:12px}.bcrm-secondary-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cad5e6;background:#fff;color:#28415f;border-radius:var(--bcrm-radius-sm);padding:9px 13px;font-weight:700;cursor:pointer}.bcrm-secondary-button:hover{border-color:#9bb1cf;background:#f8fbff}.bcrm-icon-button{border:0;background:#f1f5f9;width:34px;height:34px;border-radius:50%;font-size:22px;cursor:pointer}
.bcrm-filter-tabs{display:flex;gap:6px;flex-wrap:wrap}.bcrm-filter-tabs a{padding:8px 11px;border-radius:8px;color:var(--bcrm-muted);font-size:12px;font-weight:700}.bcrm-filter-tabs a.is-active{background:#eaf0ff;color:var(--bcrm-primary)}
.bcrm-case-table{display:grid}.bcrm-case-row{display:grid;grid-template-columns:42px minmax(220px,1.5fr) minmax(140px,.7fr) 110px 120px 150px 130px;gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid #edf1f6}.bcrm-case-row:last-child{border-bottom:0}.bcrm-case-row:hover{background:#fbfcff}.bcrm-case-identity{display:grid}.bcrm-case-identity strong{font-size:14px}.bcrm-case-identity span,.bcrm-case-money span{font-size:12px;color:var(--bcrm-muted)}.bcrm-case-money{display:grid}.bcrm-case-money strong{font-size:13px}
.bcrm-empty-state{display:grid;place-items:center;text-align:center;gap:4px;min-height:180px;color:var(--bcrm-muted)}.bcrm-empty-state strong{color:var(--bcrm-text)}.bcrm-empty-state.is-small{min-height:90px}
.bcrm-customer-header{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid var(--bcrm-border);border-radius:var(--bcrm-radius);padding:18px 20px;box-shadow:var(--bcrm-shadow);margin-bottom:14px}.bcrm-customer-main{display:flex;align-items:center;gap:14px}.bcrm-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bcrm-title-line h2{font-size:23px;margin:0}.bcrm-meta-line{display:flex;gap:16px;flex-wrap:wrap;margin-top:5px;font-size:12px;color:var(--bcrm-muted)}.bcrm-header-actions{display:flex;gap:8px;flex-wrap:wrap}
.bcrm-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap;background:#f1f5f9;color:#475569}.bcrm-badge.is-success{background:var(--bcrm-success-bg);color:var(--bcrm-success)}.bcrm-badge.is-warning{background:var(--bcrm-warning-bg);color:var(--bcrm-warning)}.bcrm-badge.is-danger{background:var(--bcrm-danger-bg);color:var(--bcrm-danger)}.bcrm-badge.is-primary{background:#eaf0ff;color:var(--bcrm-primary)}.bcrm-badge.is-neutral{background:#f3f4f6;color:#4b5563}
.bcrm-summary{display:grid;gap:10px;margin-bottom:14px}.bcrm-summary-8{grid-template-columns:repeat(8,minmax(0,1fr))}.bcrm-summary>div{background:#fff;border:1px solid var(--bcrm-border);border-radius:12px;padding:13px;box-shadow:0 3px 14px rgba(20,32,51,.035)}.bcrm-summary b,.bcrm-summary span{display:block}.bcrm-summary b{font-size:11px;color:var(--bcrm-muted);margin-bottom:5px}.bcrm-summary span{font-size:15px;font-weight:800}.bcrm-summary>div.is-danger span{color:var(--bcrm-danger)}.bcrm-summary>div.is-success span{color:var(--bcrm-success)}.bcrm-summary>div.is-primary span{color:var(--bcrm-primary)}
.bcrm-alert{display:flex;justify-content:space-between;align-items:center;gap:16px;border:1px solid #bae6fd;background:var(--bcrm-info-bg);color:var(--bcrm-info);border-radius:12px;padding:13px 15px;margin:0 0 14px}.bcrm-alert div{display:grid}.bcrm-alert strong{font-size:13px}.bcrm-alert span{font-size:12px}.bcrm-alert.is-warning{background:var(--bcrm-warning-bg);border-color:#fed7aa;color:var(--bcrm-warning)}.bcrm-alert.is-success{background:var(--bcrm-success-bg);border-color:#bbf7d0;color:var(--bcrm-success)}.bcrm-alert.is-danger{background:var(--bcrm-danger-bg);border-color:#fecdd3;color:var(--bcrm-danger)}.bcrm-diff{font-size:14px!important;font-weight:800;white-space:nowrap}
.bcrm-profile-tabs{position:sticky;top:8px;z-index:8;display:flex;gap:4px;overflow:auto;background:#fff;border:1px solid var(--bcrm-border);border-radius:12px;padding:6px;margin-bottom:14px;box-shadow:0 6px 18px rgba(20,32,51,.05)}.bcrm-profile-tabs a{color:var(--bcrm-muted);font-size:12px;font-weight:700;padding:8px 11px;border-radius:8px;white-space:nowrap}.bcrm-profile-tabs a.is-active,.bcrm-profile-tabs a:hover{background:#edf3ff;color:var(--bcrm-primary)}
.bcrm-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:16px;align-items:start}.bcrm-main-column,.bcrm-side-column{min-width:0}.bcrm-side-column{position:sticky;top:70px}.bcrm-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.bcrm-section-head h3{margin:0;font-size:17px}.bcrm-section-head p{margin:3px 0 0;color:var(--bcrm-muted);font-size:12px}.bcrm-eyebrow{display:block;color:var(--bcrm-primary);font-size:10px;font-weight:800;margin-bottom:2px}.bcrm-subtitle{margin:20px 0 10px;font-size:14px}
.bcrm-table-wrap{overflow:auto;border:1px solid var(--bcrm-border);border-radius:11px}.bcrm-table{width:100%;border-collapse:collapse;min-width:860px}.bcrm-table th,.bcrm-table td{padding:11px 12px;text-align:right;border-bottom:1px solid #edf1f6;font-size:12px}.bcrm-table th{background:#f8fafc;color:#637083;font-weight:800;position:sticky;top:0}.bcrm-table tbody tr:last-child td{border-bottom:0}.bcrm-table tbody tr:hover{background:#fcfdff}.bcrm-table-empty{text-align:center!important;color:var(--bcrm-muted);padding:28px!important}
.bcrm-action-panel{border-top:3px solid var(--bcrm-primary)}.bcrm-form{display:grid;gap:14px}.bcrm-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bcrm-form label{display:grid;gap:5px}.bcrm-form label>span,.bcrm-compact-form label>span{font-size:11px;font-weight:700;color:#506075}.bcrm-form input,.bcrm-form select,.bcrm-form textarea,.bcrm-compact-form input,.bcrm-compact-form select,.bcrm-search-form input,.bcrm-related-search input,.bcrm-inline-resolution input,.bcrm-inline-resolution select{width:100%;border:1px solid #cfd8e6;background:#fff;border-radius:8px;padding:9px 10px;min-height:40px;color:var(--bcrm-text);font:inherit}.bcrm-form textarea{resize:vertical}.bcrm-form input:focus,.bcrm-form select:focus,.bcrm-form textarea:focus,.bcrm-related-search input:focus{outline:2px solid rgba(31,94,255,.15);border-color:#8dabff}.bcrm-full{grid-column:1/-1}.bcrm-form-actions{display:flex;justify-content:flex-end}
.bcrm-journey-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bcrm-journey-card{display:grid;gap:8px;border:1px solid var(--bcrm-border);border-radius:12px;padding:14px;background:#fff}.bcrm-journey-card:hover{border-color:#a8bcea}.bcrm-journey-card.is-selected{border-color:var(--bcrm-primary);box-shadow:0 0 0 3px rgba(31,94,255,.08)}.bcrm-journey-card strong{font-size:14px}.bcrm-journey-card span{font-size:11px;color:var(--bcrm-muted);min-height:38px}.bcrm-journey-card select{border:1px solid #d7dfeb;border-radius:8px;padding:8px}
.bcrm-credit-chip{background:#eef4ff;color:var(--bcrm-primary);padding:8px 10px;border-radius:9px;font-size:12px}.bcrm-credit-progress{height:8px;background:#edf1f6;border-radius:999px;overflow:hidden;margin-bottom:14px}.bcrm-credit-progress span{display:block;height:100%;background:var(--bcrm-primary);border-radius:inherit}.bcrm-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bcrm-service-option{position:relative;display:flex;gap:10px;border:1px solid var(--bcrm-border);border-radius:12px;padding:13px;cursor:pointer;background:#fff}.bcrm-service-option:hover{border-color:#9fb6ec}.bcrm-service-option>input{position:absolute;opacity:0}.bcrm-service-check{width:18px;height:18px;border:2px solid #cbd5e1;border-radius:5px;flex:0 0 auto;margin-top:2px}.bcrm-service-option:has(input:checked){border-color:var(--bcrm-primary);background:#f6f9ff}.bcrm-service-option:has(input:checked) .bcrm-service-check{background:var(--bcrm-primary);border-color:var(--bcrm-primary);box-shadow:inset 0 0 0 4px #fff}.bcrm-service-option.is-disabled{opacity:.5;cursor:not-allowed}.bcrm-service-option div{display:grid;gap:4px}.bcrm-service-option div span{font-size:11px;color:var(--bcrm-muted)}.bcrm-service-option div b{font-size:12px;color:var(--bcrm-primary)}.bcrm-selection-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--bcrm-border)}.bcrm-selection-footer>div{display:grid}.bcrm-selection-footer span,.bcrm-selection-footer small{font-size:11px;color:var(--bcrm-muted)}.bcrm-selection-footer strong{font-size:16px}.bcrm-selection-footer small.is-danger{color:var(--bcrm-danger)}.bcrm-service-cases{display:grid;gap:8px}.bcrm-service-cases article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid var(--bcrm-border);border-radius:10px}.bcrm-service-cases article div{display:grid}.bcrm-service-cases article span{font-size:11px;color:var(--bcrm-muted)}
.bcrm-details-card{border:1px dashed #cdd8e7;border-radius:10px;margin-bottom:14px}.bcrm-details-card summary{cursor:pointer;padding:12px 14px;font-weight:800;color:var(--bcrm-primary)}.bcrm-details-card[open] summary{border-bottom:1px solid var(--bcrm-border)}.bcrm-details-card .bcrm-form{padding:14px}.bcrm-complaint-list{display:grid;gap:10px}.bcrm-complaint-list article{border:1px solid var(--bcrm-border);border-radius:11px;padding:13px}.bcrm-complaint-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.bcrm-complaint-head>div{display:grid}.bcrm-complaint-head span{font-size:11px;color:var(--bcrm-muted)}.bcrm-complaint-list p{font-size:12px;color:#475569}.bcrm-inline-resolution{display:grid;grid-template-columns:170px 1fr auto;gap:8px;align-items:center;margin-top:10px;padding-top:10px;border-top:1px dashed var(--bcrm-border)}
.bcrm-side-card{padding:15px}.bcrm-phone-list,.bcrm-source-services{list-style:none;padding:0;margin:0;display:grid;gap:7px}.bcrm-phone-list li,.bcrm-source-services li{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #edf1f6;border-radius:9px;padding:9px}.bcrm-phone-list li div,.bcrm-source-services li{font-size:12px}.bcrm-phone-list li div{display:grid}.bcrm-phone-list li span,.bcrm-source-services li span{color:var(--bcrm-muted);font-size:10px}.bcrm-compact-form{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--bcrm-border)}.bcrm-status-stack{display:grid;gap:9px}.bcrm-status-stack>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf1f6;padding-bottom:8px}.bcrm-status-stack>div span{font-size:11px;color:var(--bcrm-muted)}.bcrm-status-stack>div strong{font-size:12px}.bcrm-financial-case{display:grid;gap:2px;margin-top:12px;border-radius:9px;background:var(--bcrm-warning-bg);padding:10px}.bcrm-financial-case small{color:var(--bcrm-warning)}.bcrm-financial-case span{font-size:11px;color:var(--bcrm-muted)}
.bcrm-timeline{position:relative;display:grid;gap:0;padding-right:8px}.bcrm-timeline:before{content:"";position:absolute;right:13px;top:8px;bottom:8px;width:2px;background:#e8edf4}.bcrm-timeline article{position:relative;display:flex;gap:13px;padding:8px 0}.bcrm-timeline-dot{position:relative;z-index:1;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--bcrm-primary);margin-top:5px;flex:0 0 auto}.bcrm-timeline article div{display:grid}.bcrm-timeline article strong{font-size:12px}.bcrm-timeline article span{font-size:10px;color:var(--bcrm-muted)}.bcrm-timeline article p{font-size:11px;color:#526176;margin:4px 0 0}
.bcrm-related-panel{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(2px)}.bcrm-related-panel[hidden]{display:none}.bcrm-related-dialog{width:min(820px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:16px;padding:18px;box-shadow:0 24px 70px rgba(15,23,42,.25)}.bcrm-related-search{display:flex;gap:8px}.bcrm-related-results{margin-top:14px}.bcrm-related-results h4{margin:14px 0 8px;font-size:13px}.bcrm-search-results-grid{display:grid;gap:8px}.bcrm-search-results-grid article{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--bcrm-border);border-radius:10px;padding:10px}.bcrm-search-results-grid article div{display:grid}.bcrm-search-results-grid article span{font-size:11px;color:var(--bcrm-muted)}.bcrm-loading-row{padding:28px;text-align:center;color:var(--bcrm-muted)}.bcrm-result-message{margin-top:10px;font-size:12px}.bcrm-result-message.is-error{color:var(--bcrm-danger)}.bcrm-result-message.is-success{color:var(--bcrm-success)}
.bcrm-auth-card{max-width:460px;margin:60px auto;background:#fff;border:1px solid var(--bcrm-border);border-radius:16px;padding:24px;box-shadow:var(--bcrm-shadow)}
@media(max-width:1250px){.bcrm-summary-8{grid-template-columns:repeat(4,1fr)}.bcrm-dashboard-grid{grid-template-columns:repeat(3,1fr)}.bcrm-service-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){.bcrm-app{padding:14px}.bcrm-profile-grid{grid-template-columns:1fr}.bcrm-side-column{position:static}.bcrm-case-row{grid-template-columns:42px 1fr auto}.bcrm-case-row>.bcrm-case-money,.bcrm-case-row>div:nth-of-type(4),.bcrm-case-row>div:nth-of-type(5){display:none}.bcrm-form-grid{grid-template-columns:repeat(2,1fr)}.bcrm-journey-grid{grid-template-columns:1fr}.bcrm-summary-8{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.bcrm-app-topbar,.bcrm-customer-header,.bcrm-toolbar,.bcrm-selection-footer{align-items:stretch;flex-direction:column}.bcrm-dashboard-grid{grid-template-columns:repeat(2,1fr)}.bcrm-summary-8{grid-template-columns:1fr 1fr}.bcrm-form-grid,.bcrm-service-grid{grid-template-columns:1fr}.bcrm-case-row{grid-template-columns:42px 1fr}.bcrm-case-row>a{grid-column:1/-1}.bcrm-inline-resolution{grid-template-columns:1fr}.bcrm-search-form{min-width:100%}.bcrm-related-search{flex-direction:column}.bcrm-meta-line{gap:7px}.bcrm-header-actions{width:100%}.bcrm-header-actions>*{flex:1}.bcrm-profile-tabs{top:0}.bcrm-customer-main{align-items:flex-start}}
.bcrm-case-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bcrm-mini-status{display:flex;align-items:center;gap:6px}.bcrm-mini-status select{border:1px solid #d6deea;border-radius:7px;padding:6px;font-size:11px;min-height:34px}.bcrm-mini-status .bcrm-secondary-button{padding:6px 9px;font-size:11px}
.bcrm-financial-add{margin-top:12px;border-top:1px solid var(--bcrm-border);padding-top:10px}.bcrm-financial-add summary{cursor:pointer;font-size:11px;font-weight:800;color:var(--bcrm-primary)}.bcrm-financial-add textarea{border:1px solid #cfd8e6;border-radius:8px;padding:8px;font:inherit;resize:vertical}
.bcrm-login-form{display:grid;gap:13px;margin-top:18px}.bcrm-login-form label{display:grid;gap:6px}.bcrm-login-form label>span{font-size:12px;font-weight:800;color:#475569}.bcrm-login-form input[type=text],.bcrm-login-form input[type=password],.bcrm-login-form input:not([type]){width:100%;border:1px solid #cfd8e6;border-radius:9px;padding:11px 12px;min-height:44px;font:inherit}.bcrm-auth-brand{display:grid;gap:4px;padding-bottom:16px;border-bottom:1px solid var(--bcrm-border);margin-bottom:16px}.bcrm-auth-brand strong{font-size:18px;color:var(--bcrm-primary)}.bcrm-auth-brand span{font-size:11px;color:var(--bcrm-muted)}.bcrm-remember{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;justify-content:flex-start;gap:7px!important}.bcrm-remember input{width:auto!important;min-height:auto!important}.bcrm-link-button{border:0;background:transparent;color:var(--bcrm-danger);cursor:pointer;font:inherit;font-size:11px;padding:2px 4px}.bcrm-user-box{gap:9px;flex-wrap:wrap}.bcrm-user-box form{margin:0}.bcrm-full-button{width:100%;margin-top:11px}.bcrm-search-context{background:#f8fafc;border:1px solid var(--bcrm-border);border-radius:10px;padding:11px;margin-bottom:12px;display:grid;gap:5px}.bcrm-search-context>span{font-size:11px;color:var(--bcrm-muted)}.bcrm-phone-chips{display:flex;gap:6px;flex-wrap:wrap}.bcrm-phone-chips span{font-size:10px;background:#fff;border:1px solid #dbe3ef;padding:5px 8px;border-radius:999px}.bcrm-bundle-result>div{gap:3px}.bcrm-bundle-result>div span:last-child{color:#475569}
.bcrm-inline-phone{margin-top:7px;width:min(320px,100%);border:1px solid #cfd8e6;border-radius:8px;padding:8px 9px;font:inherit}.bcrm-form-hint{display:grid;align-content:center;gap:3px;border:1px dashed #cbd5e1;background:#f8fafc;border-radius:9px;padding:8px 10px}.bcrm-form-hint strong{font-size:11px}.bcrm-form-hint span{font-size:10px;color:var(--bcrm-muted)}

.bcrm-metric-card.is-refund .bcrm-metric-icon{background:#8b5cf6}
.bcrm-attachment-list{display:grid;gap:7px;margin:10px 0 0;padding:0;list-style:none}.bcrm-attachment-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--bcrm-border);background:#fff;border-radius:8px;padding:8px 10px}.bcrm-attachment-list a{font-size:11px;font-weight:800;color:var(--bcrm-primary)}.bcrm-attachment-list small{font-size:10px;color:var(--bcrm-muted)}
.bcrm-financial-add input[type=file]{width:100%;border:1px dashed #cbd5e1;background:#fff;border-radius:8px;padding:8px;font-size:11px}
/* v0.6 fast operator workflow */
.bcrm-save-state{display:inline-flex;align-items:center;justify-content:center;min-width:110px;padding:6px 10px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:800}.bcrm-save-state.is-saving{background:#eff6ff;color:#1d4ed8}.bcrm-save-state.is-success{background:var(--bcrm-success-bg);color:var(--bcrm-success)}.bcrm-save-state.is-error{background:var(--bcrm-danger-bg);color:var(--bcrm-danger)}.bcrm-save-state.is-dirty{background:var(--bcrm-warning-bg);color:var(--bcrm-warning)}
.bcrm-declared-field small{font-size:10px;color:var(--bcrm-primary);font-weight:700}.bcrm-reconciliation-preview{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px dashed #cbd5e1;border-radius:12px;padding:13px 14px;background:#f8fafc;color:#475569}.bcrm-reconciliation-preview>div{display:grid;gap:2px}.bcrm-reconciliation-preview strong{font-size:13px}.bcrm-reconciliation-preview span,.bcrm-reconciliation-preview small{font-size:11px}.bcrm-reconciliation-preview b{font-size:14px}.bcrm-reconciliation-preview.is-loading{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.bcrm-reconciliation-preview.is-complete{border-style:solid;border-color:#bbf7d0;background:var(--bcrm-success-bg);color:var(--bcrm-success)}.bcrm-reconciliation-preview.is-incomplete{border-style:solid;border-color:#fed7aa;background:var(--bcrm-warning-bg);color:var(--bcrm-warning)}.bcrm-reconciliation-preview.is-error{border-style:solid;border-color:#fecdd3;background:var(--bcrm-danger-bg);color:var(--bcrm-danger)}
.bcrm-form-actions{align-items:center;gap:12px;flex-wrap:wrap}.bcrm-form-actions small{font-size:10px;color:var(--bcrm-muted)}
.bcrm-next-step,.bcrm-service-panel{position:relative;transition:opacity .2s,border-color .2s}.bcrm-next-step.is-blocked,.bcrm-service-panel.is-blocked{border-color:#e2e8f0}.bcrm-next-step.is-blocked .bcrm-journey-grid,.bcrm-service-panel.is-blocked .bcrm-service-grid{opacity:.55}.bcrm-gate-label{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:10px;font-weight:800}.bcrm-service-gate{margin:-2px 0 13px;padding:10px 12px;border-radius:9px;background:#fff7ed;color:#9a3412;font-size:11px;font-weight:700;border:1px solid #fed7aa}
.bcrm-inline-feedback{min-height:20px;margin-top:8px;font-size:11px;font-weight:700}.bcrm-inline-feedback.is-success{color:var(--bcrm-success)}.bcrm-inline-feedback.is-error{color:var(--bcrm-danger)}
.bcrm-service-note{display:grid;gap:5px;margin-top:12px}.bcrm-service-note>span{font-size:11px;font-weight:700;color:#506075}.bcrm-service-note textarea{width:100%;border:1px solid #cfd8e6;border-radius:8px;padding:9px 10px;font:inherit;resize:vertical}
.bcrm-manual-bundle{margin-top:16px}.bcrm-manual-bundle .bcrm-form{padding:14px}.bcrm-primary-button.is-done{background:var(--bcrm-success)}
@media(max-width:700px){.bcrm-reconciliation-preview{align-items:flex-start;flex-direction:column}.bcrm-save-state{align-self:flex-start}.bcrm-gate-label{white-space:normal;text-align:center}}
.bcrm-invoice-extra{margin-top:6px;font-size:12px}.bcrm-invoice-extra summary{cursor:pointer;color:#2563eb}.bcrm-invoice-extra span{display:block;margin-top:4px;color:#475569}

.bcrm-phone-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.bcrm-phone-list li{align-items:flex-start}

/* v0.7 unified front-office shell */
.bcrm-portal-shell{--shell:#0f172a;--shell2:#111c34;--accent:#2563eb;--accent2:#0ea5e9;min-height:100vh;background:#f4f7fb;color:#172033;font-family:inherit;display:grid;grid-template-columns:248px minmax(0,1fr);width:100%!important;max-width:none!important;margin:0!important}
.bcrm-shell-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--shell),var(--shell2));color:#e5eefc;padding:20px 14px;display:flex;flex-direction:column;gap:22px;z-index:50;box-shadow:-12px 0 34px rgba(15,23,42,.08)}
.bcrm-shell-brand{display:flex;align-items:center;gap:11px;padding:4px 8px 14px;border-bottom:1px solid rgba(255,255,255,.08)}.bcrm-shell-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#3b82f6,#06b6d4);display:grid;place-items:center;font-weight:900;color:#fff;box-shadow:0 8px 24px rgba(37,99,235,.35)}.bcrm-shell-brand>div:last-child{display:grid;gap:2px}.bcrm-shell-brand strong{font-size:14px;color:#fff}.bcrm-shell-brand span{font-size:9px;color:#91a4c4;letter-spacing:.08em}
.bcrm-shell-nav{display:grid;gap:4px;overflow:auto;padding-left:2px}.bcrm-shell-nav a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:10px;color:#aebbd1;text-decoration:none;font-size:11px;font-weight:700;transition:.18s}.bcrm-shell-nav a:hover{background:rgba(255,255,255,.07);color:#fff}.bcrm-shell-nav a.is-active{color:#fff;background:linear-gradient(90deg,rgba(37,99,235,.72),rgba(14,165,233,.24));box-shadow:inset 0 0 0 1px rgba(125,211,252,.12)}.bcrm-shell-nav i{font-style:normal;width:22px;height:22px;border-radius:7px;background:rgba(255,255,255,.06);display:grid;place-items:center;font-size:12px}.bcrm-shell-nav a.is-active i{background:rgba(255,255,255,.14)}
.bcrm-shell-sidebar-foot{margin-top:auto;display:flex;align-items:center;gap:9px;padding:12px 9px;border-radius:12px;background:rgba(255,255,255,.05)}.bcrm-shell-sidebar-foot>div{display:grid;gap:2px;min-width:0}.bcrm-shell-sidebar-foot strong{color:#fff;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bcrm-shell-sidebar-foot small{color:#91a4c4;font-size:9px}
.bcrm-shell-main{min-width:0}.bcrm-shell-header{height:72px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid #e7edf5;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 24px;position:sticky;top:0;z-index:40}.bcrm-shell-header>div:first-of-type{display:grid;gap:2px}.bcrm-shell-kicker{font-size:9px;color:#94a3b8}.bcrm-shell-header strong{font-size:15px;color:#182235}.bcrm-shell-actions{display:flex;align-items:center;gap:9px}.bcrm-shell-search{display:flex;align-items:center;border:1px solid #dce5f0;border-radius:10px;background:#f8fafc;overflow:hidden;min-width:300px}.bcrm-shell-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:0;min-height:38px;padding:7px 10px;width:100%;font:inherit;font-size:11px}.bcrm-shell-search button{border:0;background:transparent;padding:0 11px;color:#64748b;cursor:pointer}.bcrm-logout-button{border:1px solid #e2e8f0;background:#fff;color:#64748b;border-radius:9px;padding:8px 11px;cursor:pointer;font:inherit;font-size:10px}.bcrm-mobile-menu{display:none;border:0;background:#eef2ff;border-radius:9px;width:38px;height:38px;color:#334155}
.bcrm-shell-content{padding:22px}.bcrm-shell-content>.bcrm-portal,.bcrm-shell-content>.wrap{max-width:1600px;margin:0 auto}.bcrm-shell-content .bcrm-app-topbar{display:none}.bcrm-shell-content .wrap.bcrm{margin:0;max-width:none}.bcrm-shell-content .wrap.bcrm>h1:first-child{font-size:20px;margin:0 0 6px;color:#172033}.bcrm-shell-content .wrap.bcrm>p.description{margin:0 0 18px}.bcrm-shell-content .widefat{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:none}.bcrm-shell-content .widefat thead th{background:#f8fafc;color:#526177;font-size:11px;font-weight:800;border-bottom-color:#e8edf4}.bcrm-shell-content .widefat td{font-size:11px;vertical-align:middle}.bcrm-shell-content .bcrm-card{border-radius:14px!important;border-color:#e5ebf3!important;box-shadow:0 6px 22px rgba(15,23,42,.04)!important}.bcrm-shell-content .nav-tab-wrapper{border:0;display:flex;gap:6px}.bcrm-shell-content .nav-tab{border:1px solid #e1e8f2!important;background:#fff!important;border-radius:9px!important;padding:7px 12px!important;margin:0!important}.bcrm-shell-content .nav-tab-active{background:#eff6ff!important;color:#1d4ed8!important;border-color:#bfdbfe!important}
.bcrm-dashboard-hero{background:linear-gradient(120deg,#111c34 0%,#17325e 68%,#0e7490 120%);border-radius:20px;padding:26px 28px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;box-shadow:0 20px 42px rgba(23,50,94,.17)}.bcrm-dashboard-hero>div{display:grid;gap:5px}.bcrm-dashboard-hero span{font-size:10px;color:#93c5fd}.bcrm-dashboard-hero h1{margin:0;font-size:24px}.bcrm-dashboard-hero p{margin:0;color:#cbd5e1;font-size:11px}.bcrm-dashboard-columns{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin-top:14px}.bcrm-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bcrm-quick-actions a{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #e4eaf2;border-radius:11px;text-decoration:none;color:#334155;background:#fbfdff;transition:.18s}.bcrm-quick-actions a:hover{border-color:#bfdbfe;background:#eff6ff;transform:translateY(-1px)}.bcrm-quick-actions a span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#eaf2ff;color:#2563eb}.bcrm-quick-actions a strong{font-size:10px}.bcrm-data-summary{display:grid;gap:8px}.bcrm-data-summary>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px dashed #e2e8f0;padding:9px 0}.bcrm-data-summary span{font-size:10px;color:#64748b}.bcrm-data-summary strong{font-size:15px}
.bcrm-auth-screen{min-height:100vh;background:#eef3f9;padding:28px;display:grid;place-items:center}.bcrm-auth-layout{width:min(980px,100%);min-height:600px;display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 34px 90px rgba(15,23,42,.16)}.bcrm-auth-visual{padding:52px;background:radial-gradient(circle at 25% 20%,rgba(14,165,233,.24),transparent 34%),linear-gradient(145deg,#0f172a,#15325e 65%,#075985);color:#fff;display:flex;flex-direction:column;justify-content:space-between}.bcrm-auth-logo{width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#3b82f6,#22d3ee);display:grid;place-items:center;font-size:20px;font-weight:900;box-shadow:0 13px 35px rgba(14,165,233,.28)}.bcrm-auth-eyebrow{display:block;font-size:10px;color:#7dd3fc;letter-spacing:.15em;margin-bottom:12px}.bcrm-auth-visual h1{font-size:30px;line-height:1.55;margin:0 0 10px}.bcrm-auth-visual p{font-size:12px;line-height:2;color:#cad6ea;max-width:430px}.bcrm-auth-points{display:flex;gap:8px;flex-wrap:wrap}.bcrm-auth-points span{border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.06);border-radius:999px;padding:7px 10px;font-size:9px;color:#dbeafe}.bcrm-auth-layout .bcrm-auth-card{margin:0;max-width:none;border:0;border-radius:0;box-shadow:none;padding:68px 58px;display:flex;flex-direction:column;justify-content:center}.bcrm-auth-subtitle{font-size:11px;color:#64748b;margin-top:-4px}.bcrm-login-submit{min-height:46px;margin-top:5px}
@media(max-width:1100px){.bcrm-portal-shell{grid-template-columns:214px minmax(0,1fr)}.bcrm-shell-search{min-width:220px}.bcrm-quick-actions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.bcrm-portal-shell{display:block}.bcrm-shell-sidebar{position:fixed;right:0;top:0;width:248px;transform:translateX(105%);transition:.22s;box-shadow:-20px 0 55px rgba(15,23,42,.25)}.bcrm-portal-shell.is-menu-open .bcrm-shell-sidebar{transform:translateX(0)}.bcrm-mobile-menu{display:grid;place-items:center}.bcrm-shell-header{padding:0 14px}.bcrm-shell-search{display:none}.bcrm-shell-content{padding:14px}.bcrm-dashboard-columns{grid-template-columns:1fr}.bcrm-auth-layout{grid-template-columns:1fr;min-height:auto;max-width:520px}.bcrm-auth-visual{display:none}.bcrm-auth-layout .bcrm-auth-card{padding:38px 28px}.bcrm-dashboard-hero{align-items:flex-start;flex-direction:column}.bcrm-quick-actions{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.bcrm-quick-actions{grid-template-columns:1fr}.bcrm-shell-actions .bcrm-logout-button{padding:7px 9px}.bcrm-auth-screen{padding:12px}.bcrm-auth-layout{border-radius:18px}}
.bcrm-shell-content .button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 11px;border:1px solid #d6deea;border-radius:8px;background:#fff;color:#334155;text-decoration:none;cursor:pointer;font:inherit;font-size:10px;font-weight:700}.bcrm-shell-content .button:hover{border-color:#93c5fd;color:#1d4ed8;background:#f8fbff}.bcrm-shell-content .button.button-primary{background:#2563eb;border-color:#2563eb;color:#fff}.bcrm-shell-content .button.button-primary:hover{background:#1d4ed8;color:#fff}.bcrm-shell-content input[type=text],.bcrm-shell-content input[type=search],.bcrm-shell-content input[type=password],.bcrm-shell-content input[type=email],.bcrm-shell-content input[type=number],.bcrm-shell-content input[type=file],.bcrm-shell-content select,.bcrm-shell-content textarea{border:1px solid #d5deea;border-radius:8px;background:#fff;padding:7px 9px;box-shadow:none;font:inherit;font-size:11px}.bcrm-shell-content input:focus,.bcrm-shell-content select:focus,.bcrm-shell-content textarea:focus{outline:0;border-color:#60a5fa;box-shadow:0 0 0 3px rgba(59,130,246,.1)}.bcrm-shell-content .regular-text{width:min(420px,100%)}.bcrm-shell-content .widefat{width:100%;border-collapse:separate;border-spacing:0;background:#fff}.bcrm-shell-content .notice{border-radius:10px;padding:10px 12px;margin:10px 0;background:#fff;border:1px solid #dfe7f1}.bcrm-shell-content .notice-success{border-right:4px solid #22c55e;background:#f0fdf4}.bcrm-shell-content .notice-warning{border-right:4px solid #f59e0b;background:#fffbeb}.bcrm-shell-content .notice-error{border-right:4px solid #ef4444;background:#fef2f2}.bcrm-shell-content .description{color:#64748b;font-size:10px}.bcrm-shell-content .form-table{width:100%;max-width:none}.bcrm-shell-content .form-table th{width:190px;text-align:right;font-size:11px}.bcrm-shell-content .form-table td{font-size:11px}.bcrm-shell-content code{background:#f1f5f9;border-radius:5px;padding:2px 5px;color:#334155}.bcrm-shell-content h2{font-size:16px;margin:20px 0 10px}.bcrm-shell-content h3{font-size:13px;margin:16px 0 8px}


/* v0.7.1 — unified shell, collapsible sidebar, all portal pages */
.bcrm-portal-shell{transition:grid-template-columns .2s ease}
.bcrm-shell-brand{position:relative}
.bcrm-sidebar-collapse{
    margin-right:auto;width:34px;height:34px;border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);color:#dbeafe;border-radius:9px;display:grid;place-items:center;
    cursor:pointer;font-size:15px;line-height:1;transition:.18s
}
.bcrm-sidebar-collapse:hover{background:rgba(255,255,255,.1);color:#fff}
.bcrm-sidebar-overlay{display:none}
.bcrm-portal-shell.is-sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-sidebar{padding-inline:10px}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-brand-copy,
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a span,
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-sidebar-foot>div{display:none}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-brand{justify-content:center}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-sidebar-collapse{
    position:absolute;top:48px;right:7px;margin:0;width:28px;height:28px;border-radius:8px
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a{justify-content:center;padding-inline:8px}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav i{width:30px;height:30px}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-sidebar-foot{justify-content:center;padding:9px}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-user-avatar{margin:0}

/* Remove wp-admin visual assumptions from every embedded admin view */
.bcrm-shell-content{font-size:13px;line-height:1.75}
.bcrm-shell-content .bcrm-front-admin-page{
    background:transparent!important;padding:0!important;margin:0!important;max-width:none!important;
}
.bcrm-shell-content .bcrm-front-admin-page>h1:first-child{
    margin:0 0 8px!important;font-size:22px!important;line-height:1.45!important;font-weight:900!important;color:#172033!important;
}
.bcrm-shell-content .bcrm-front-admin-page>p:not(.description){
    margin:0 0 16px!important;padding:12px 14px;background:#fff;border:1px solid #e4eaf2;border-radius:12px;
    color:#5d6b80;font-size:12px!important;line-height:1.9!important;box-shadow:0 5px 18px rgba(15,23,42,.035)
}
.bcrm-shell-content .bcrm-front-admin-page>hr{border:0;border-top:1px solid #e6ebf2;margin:22px 0}
.bcrm-shell-content .bcrm-front-admin-page>h2,
.bcrm-shell-content .bcrm-front-admin-page>h3{color:#1e293b;font-weight:850}
.bcrm-shell-content .bcrm-card{
    background:#fff!important;border:1px solid #e4eaf2!important;border-radius:15px!important;
    padding:16px!important;box-shadow:0 8px 26px rgba(15,23,42,.045)!important
}
.bcrm-shell-content .bcrm-card h2:first-child,.bcrm-shell-content .bcrm-card h3:first-child{margin-top:0!important}
.bcrm-shell-content form label{font-size:12px!important;font-weight:700;color:#344256}
.bcrm-shell-content input[type=text],
.bcrm-shell-content input[type=search],
.bcrm-shell-content input[type=password],
.bcrm-shell-content input[type=email],
.bcrm-shell-content input[type=number],
.bcrm-shell-content input[type=tel],
.bcrm-shell-content input[type=date],
.bcrm-shell-content input[type=file],
.bcrm-shell-content select,
.bcrm-shell-content textarea{
    min-height:40px!important;border:1px solid #d5dfeb!important;border-radius:10px!important;background:#fff!important;
    padding:8px 10px!important;color:#182235!important;box-shadow:none!important;font-size:12px!important;line-height:1.5!important;
}
.bcrm-shell-content textarea{min-height:96px!important}
.bcrm-shell-content input:focus,.bcrm-shell-content select:focus,.bcrm-shell-content textarea:focus{
    border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(59,130,246,.1)!important;outline:0!important
}
.bcrm-shell-content .button,
.bcrm-shell-content button.button,
.bcrm-shell-content input.button{
    min-height:38px!important;border:1px solid #d8e1ec!important;border-radius:9px!important;background:#fff!important;
    color:#334155!important;padding:7px 13px!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important;
}
.bcrm-shell-content .button:hover,.bcrm-shell-content button.button:hover{background:#f8fbff!important;border-color:#93c5fd!important;color:#1d4ed8!important}
.bcrm-shell-content .button-primary,.bcrm-shell-content .button.button-primary{
    background:#2563eb!important;border-color:#2563eb!important;color:#fff!important
}
.bcrm-shell-content .button-primary:hover,.bcrm-shell-content .button.button-primary:hover{background:#1d4ed8!important;color:#fff!important}
.bcrm-shell-content .widefat{
    width:100%!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:14px!important;
    border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;box-shadow:0 8px 24px rgba(15,23,42,.035)!important
}
.bcrm-shell-content .widefat th{
    background:#f8fafc!important;color:#536277!important;font-size:11px!important;font-weight:850!important;
    padding:11px 12px!important;border-bottom:1px solid #e7edf4!important;white-space:nowrap
}
.bcrm-shell-content .widefat td{
    color:#334155!important;font-size:11px!important;padding:10px 12px!important;border-bottom:1px solid #eef2f6!important;vertical-align:middle!important
}
.bcrm-shell-content .widefat tr:last-child td{border-bottom:0!important}
.bcrm-shell-content .widefat.striped>tbody>:nth-child(odd){background:#fbfdff!important}
.bcrm-shell-content .form-table{
    width:100%!important;max-width:none!important;background:#fff;border:1px solid #e4eaf2;border-radius:14px;border-collapse:separate;
    border-spacing:0;overflow:hidden;margin:10px 0 16px
}
.bcrm-shell-content .form-table th,.bcrm-shell-content .form-table td{padding:12px 14px!important;border-bottom:1px solid #eef2f6!important}
.bcrm-shell-content .form-table th{width:190px!important;color:#455468!important;font-size:11px!important;font-weight:850!important}
.bcrm-shell-content .form-table td{font-size:11px!important}
.bcrm-shell-content .form-table tr:last-child th,.bcrm-shell-content .form-table tr:last-child td{border-bottom:0!important}
.bcrm-shell-content .nav-tab-wrapper{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin:12px 0 16px!important}
.bcrm-shell-content .nav-tab{
    margin:0!important;border:1px solid #dfe7f1!important;border-radius:10px!important;background:#fff!important;
    color:#526177!important;padding:8px 13px!important;font-size:11px!important;font-weight:800!important
}
.bcrm-shell-content .nav-tab-active{background:#eff6ff!important;border-color:#bfdbfe!important;color:#1d4ed8!important}
.bcrm-shell-content .notice{margin:10px 0!important;border-radius:11px!important;box-shadow:none!important;padding:10px 13px!important}
.bcrm-shell-content .subsubsub{float:none!important;margin:8px 0 14px!important;display:flex;gap:8px;flex-wrap:wrap}
.bcrm-shell-content .subsubsub li{font-size:11px!important}
.bcrm-shell-content .tablenav{height:auto!important;min-height:48px!important;margin:10px 0!important}
.bcrm-shell-content .tablenav .actions{display:flex;gap:7px;align-items:center}
.bcrm-shell-content fieldset{
    background:#fff;border:1px solid #e4eaf2;border-radius:12px;padding:14px;margin:12px 0
}
.bcrm-shell-content fieldset legend{font-size:12px;font-weight:850;color:#334155;padding:0 6px}
.bcrm-shell-content .bcrm-grid{gap:12px!important}
.bcrm-shell-content .bcrm-grid .bcrm-card strong{font-size:22px!important}
.bcrm-shell-content .description{font-size:10px!important;line-height:1.8!important;color:#748197!important}
.bcrm-shell-content a{transition:.15s}
.bcrm-shell-content table a{color:#2563eb;text-decoration:none;font-weight:700}
.bcrm-shell-content table a:hover{color:#1d4ed8;text-decoration:underline}

/* Desktop and mobile header/sidebar behavior */
@media(min-width:821px){
    .bcrm-mobile-menu{display:none!important}
}
@media(max-width:820px){
    .bcrm-sidebar-collapse{display:none}
    .bcrm-sidebar-overlay{
        display:block;position:fixed;inset:0;background:rgba(15,23,42,.42);z-index:45;opacity:0;pointer-events:none;transition:.2s
    }
    .bcrm-portal-shell.is-menu-open .bcrm-sidebar-overlay{opacity:1;pointer-events:auto}
    .bcrm-portal-shell.is-sidebar-collapsed{display:block}
    .bcrm-portal-shell.is-sidebar-collapsed .bcrm-brand-copy,
    .bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a span,
    .bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-sidebar-foot>div{display:initial}
    .bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a{justify-content:flex-start}
}
@media(max-width:640px){
    .bcrm-shell-header{height:auto;min-height:68px;padding-block:10px;align-items:flex-start}
    .bcrm-shell-actions{margin-right:auto}
    .bcrm-shell-content .bcrm-front-admin-page>h1:first-child{font-size:19px!important}
    .bcrm-shell-content .widefat{display:block;overflow-x:auto!important}
    .bcrm-shell-content .form-table th,.bcrm-shell-content .form-table td{display:block;width:100%!important}
    .bcrm-shell-content .form-table th{padding-bottom:4px!important;border-bottom:0!important}
}

/* v0.7.2 — customer list server-side pagination and persistent search context */
.bcrm-list-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bcrm-per-page-form label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--bcrm-muted);white-space:nowrap}.bcrm-per-page-form select{min-width:78px;padding:8px 28px 8px 10px}.bcrm-result-count{font-size:12px;color:var(--bcrm-muted);background:#f6f8fb;border:1px solid var(--bcrm-border);border-radius:9px;padding:8px 10px}.bcrm-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-top:1px solid var(--bcrm-border);background:#fbfcfe;flex-wrap:wrap}.bcrm-page-summary{font-size:12px;color:var(--bcrm-muted)}.bcrm-page-links{display:flex;align-items:center;gap:6px;direction:rtl}.bcrm-page-links a,.bcrm-page-links span{min-width:34px;height:34px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;border:1px solid var(--bcrm-border);background:#fff;color:#29415e;text-decoration:none;font-size:12px}.bcrm-page-links a:hover{border-color:#91a7c5;background:#f6f9ff}.bcrm-page-links .is-current{background:var(--bcrm-primary);border-color:var(--bcrm-primary);color:#fff;font-weight:800}.bcrm-page-links span:not(.is-current){border-color:transparent;background:transparent;min-width:20px;padding:0}
@media(max-width:700px){.bcrm-list-controls{width:100%;justify-content:space-between}.bcrm-pagination{align-items:stretch;flex-direction:column}.bcrm-page-links{overflow:auto;padding-bottom:2px}.bcrm-page-summary{text-align:center}}

/* v0.7.3 — persistent customer navigation + polished icon rail */
:root{--bcrm-shell-header-h:72px;--bcrm-profile-nav-gap:12px}

/* Customer profile navigation must always remain reachable below the global shell header. */
.bcrm-profile-tabs{
    top:calc(var(--bcrm-shell-header-h) + var(--bcrm-profile-nav-gap))!important;
    z-index:36!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none;
    -ms-overflow-style:none;
    box-shadow:0 10px 28px rgba(15,23,42,.09)!important;
    backdrop-filter:blur(12px);
}
.bcrm-profile-tabs::-webkit-scrollbar{display:none;width:0;height:0}
#bcrm-overview,#bcrm-invoices,#bcrm-interaction,#bcrm-services,#bcrm-complaints,#bcrm-history{
    scroll-margin-top:calc(var(--bcrm-shell-header-h) + 84px);
}

/* Sidebar: vertical-only navigation, no visible browser scrollbars. */
.bcrm-shell-sidebar{
    overflow:hidden!important;
    min-width:0;
}
.bcrm-shell-nav{
    display:flex!important;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
    padding:2px!important;
    overscroll-behavior:contain;
}
.bcrm-shell-nav::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.bcrm-shell-nav a{position:relative;flex:0 0 auto;min-width:0}
.bcrm-shell-nav i{font-family:Arial,Tahoma,sans-serif;font-style:normal;font-weight:800;line-height:1;overflow:hidden}

/* Collapsed state becomes a clean icon rail. */
.bcrm-portal-shell.is-sidebar-collapsed{grid-template-columns:86px minmax(0,1fr)!important}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-sidebar{
    padding:14px 10px!important;
    gap:12px!important;
    align-items:stretch;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-brand{
    min-height:94px;
    padding:0 0 12px!important;
    display:flex!important;
    flex-direction:column;
    justify-content:flex-start!important;
    align-items:center;
    gap:10px;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-mark{width:44px;height:44px;border-radius:13px}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-sidebar-collapse{
    position:static!important;
    inset:auto!important;
    margin:0!important;
    width:38px!important;
    height:34px!important;
    border-radius:10px!important;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav{
    width:100%;
    align-items:center;
    padding:0!important;
    gap:7px!important;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a{
    width:50px!important;
    height:46px!important;
    min-height:46px;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    border-radius:12px!important;
    overflow:visible!important;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav i{
    width:34px!important;
    height:34px!important;
    border-radius:10px!important;
    font-size:15px!important;
    display:grid!important;
    place-items:center!important;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-sidebar-foot{
    width:50px;
    height:50px;
    padding:0!important;
    margin:0 auto!important;
    justify-content:center!important;
    border-radius:14px!important;
    flex:0 0 auto;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-user-avatar{width:36px;height:36px}

/* Tooltip makes every icon self-explanatory in the rail. */
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a::after{
    content:attr(data-tooltip);
    position:absolute;
    right:calc(100% + 12px);
    top:50%;
    transform:translateY(-50%) translateX(4px);
    background:#0b1220;
    color:#fff;
    border:1px solid rgba(255,255,255,.08);
    border-radius:8px;
    padding:7px 10px;
    white-space:nowrap;
    font-size:11px;
    font-weight:700;
    box-shadow:0 10px 28px rgba(15,23,42,.22);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.15s ease;
    z-index:100;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a::before{
    content:"";
    position:absolute;
    right:calc(100% + 7px);
    top:50%;
    transform:translateY(-50%);
    border:5px solid transparent;
    border-left-color:#0b1220;
    opacity:0;
    visibility:hidden;
    transition:.15s ease;
    z-index:101;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a:hover::after,
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a:focus-visible::after,
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a:hover::before,
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a:focus-visible::before{
    opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a.is-active{
    background:linear-gradient(145deg,#1d4ed8,#075985)!important;
    box-shadow:0 8px 24px rgba(37,99,235,.28),inset 0 0 0 1px rgba(255,255,255,.1)!important;
}
.bcrm-portal-shell.is-sidebar-collapsed .bcrm-shell-nav a.is-active i{background:rgba(255,255,255,.12)!important}

@media(max-width:820px){
    :root{--bcrm-shell-header-h:68px;--bcrm-profile-nav-gap:6px}
    .bcrm-profile-tabs{top:calc(var(--bcrm-shell-header-h) + var(--bcrm-profile-nav-gap))!important}
    #bcrm-overview,#bcrm-invoices,#bcrm-interaction,#bcrm-services,#bcrm-complaints,#bcrm-history{scroll-margin-top:136px}
    .bcrm-shell-nav{align-items:stretch!important}
    .bcrm-shell-nav a::after,.bcrm-shell-nav a::before{display:none!important}
}

/* v0.7.4 interaction usability */
.bcrm-grade-meta small{font-size:11px;color:#64748b;cursor:help;margin-inline-start:3px}.bcrm-form label>small{display:block;margin-top:5px;color:#64748b;font-size:11px}.bcrm-declared-field input{font-variant-numeric:tabular-nums;letter-spacing:.02em}

/* v0.7.5 Jalali calendar picker */
.bcrm-date-picker-wrap{position:relative;display:flex;align-items:center}.bcrm-date-picker-wrap input{padding-left:46px!important;cursor:pointer;background:#fff!important}.bcrm-date-picker-button{position:absolute;left:6px;width:34px;height:34px;border:0;border-radius:8px;background:#eef4ff;cursor:pointer;font-size:16px;display:grid;place-items:center}.bcrm-jalali-popover{position:absolute;z-index:100000;background:#fff;border:1px solid #dbe4f0;border-radius:14px;box-shadow:0 18px 50px rgba(15,31,61,.18);padding:12px;direction:rtl}.bcrm-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.bcrm-cal-head button{border:0;background:#f3f6fb;border-radius:8px;width:32px;height:32px;cursor:pointer;font-size:20px}.bcrm-cal-head strong{font-size:14px}.bcrm-cal-week,.bcrm-cal-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.bcrm-cal-week{font-size:11px;color:#7a8799;margin-bottom:5px}.bcrm-cal-days button{border:0;background:transparent;border-radius:8px;height:34px;cursor:pointer;font:inherit}.bcrm-cal-days button:hover{background:#edf3ff}.bcrm-cal-days button.is-today{outline:1px solid #8dabff}.bcrm-cal-days button.is-selected{background:#1f5eff;color:#fff;outline:none}.bcrm-cal-time{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #edf0f5;margin-top:10px;padding-top:10px}.bcrm-cal-time label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px;font-size:11px}.bcrm-cal-time select{min-height:34px;border:1px solid #d5deea;border-radius:8px;background:#fff}.bcrm-cal-actions{display:flex;justify-content:space-between;gap:8px;margin-top:10px}.bcrm-cal-actions>button{border:1px solid #d5deea;background:#fff;border-radius:8px;padding:7px 12px;cursor:pointer}.bcrm-cal-actions>.bcrm-primary-button{background:#1f5eff;color:#fff;border-color:#1f5eff}

/* v0.8.0 contact outcome workflow */
.bcrm-contact-tabs{margin-top:10px;padding-top:10px;border-top:1px solid #edf1f6;align-items:center}.bcrm-tabs-label{font-size:12px;font-weight:800;color:var(--bcrm-muted);margin-left:4px}.bcrm-contact-state{display:grid;gap:4px;justify-items:start}.bcrm-contact-state small{font-size:10px;color:var(--bcrm-muted);white-space:nowrap}.bcrm-service-panel .bcrm-service-option.is-disabled{opacity:1;pointer-events:auto}

/* v0.8.9 assignment workspace + dark mode */
.bcrm-assignment-page{--assign-purple:#5b4be8;--assign-soft:#f6f5ff}
.bcrm-assign-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.bcrm-assign-hero span{font-size:11px;color:#7b86a0}.bcrm-assign-hero h1{margin:4px 0 2px!important;font-size:24px!important;color:#172033!important}.bcrm-assign-hero p{margin:0;color:#66758c;font-size:12px}.bcrm-assign-hero-icon{width:52px;height:52px;border-radius:18px;background:linear-gradient(145deg,#5b4be8,#7c6dff);display:grid;place-items:center;color:#fff;font-size:24px;box-shadow:0 16px 34px rgba(91,75,232,.22)}
.bcrm-assign-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}.bcrm-assign-kpis>div{background:#fff;border:1px solid #e6eaf3;border-radius:14px;padding:18px 20px;box-shadow:0 12px 34px rgba(17,24,39,.045);display:grid;gap:4px}.bcrm-assign-kpis span{font-size:12px;color:#53627a;font-weight:800}.bcrm-assign-kpis strong{font-size:22px;color:#162033}.bcrm-assign-kpis small{font-size:11px;color:#7b86a0}
.bcrm-shell-content .bcrm-assignment-page .nav-tab-wrapper{justify-content:flex-start;margin-bottom:14px!important}.bcrm-assign-card{margin:12px 0!important;padding:18px!important;border-radius:14px!important}.bcrm-assign-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.bcrm-assign-card-head h2{margin:0!important;color:#4f46e5!important;font-size:17px!important}.bcrm-assign-search,.bcrm-assign-rule,.bcrm-assign-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.bcrm-assign-search label{min-width:320px;flex:1}.bcrm-assign-rule label{min-width:260px}.bcrm-assign-filters{padding:16px 18px;background:#fff;border:1px solid #e6eaf3;border-radius:14px;margin:12px 0}.bcrm-assign-filters label{min-width:190px;flex:1}.bcrm-assign-execute{display:grid!important;grid-template-columns:minmax(320px,.9fr) minmax(220px,.45fr) minmax(260px,.65fr) auto!important;gap:18px!important;align-items:end!important}.bcrm-assign-execute select{width:100%;min-height:150px}.bcrm-assign-switches{display:grid;gap:9px}.bcrm-assign-switches label{display:flex!important;align-items:center;gap:7px;font-weight:800;color:#334155}.bcrm-assign-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.bcrm-assignment-page .widefat{margin-top:14px!important}
.bcrm-theme-toggle{width:38px;height:38px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#4f46e5;display:grid;place-items:center;font:inherit;font-size:17px;cursor:pointer}.bcrm-theme-toggle:hover{background:#f5f7ff;border-color:#c7d2fe}
.bcrm-portal-shell.is-dark{--bcrm-bg:#0f172a;--bcrm-surface:#172033;--bcrm-soft:#111827;--bcrm-border:#2b3850;--bcrm-text:#e5edf8;--bcrm-muted:#a8b3c7;--bcrm-primary:#8b9cff;--bcrm-primary-2:#6d7cff;--bcrm-success:#55d68a;--bcrm-success-bg:#123320;--bcrm-warning:#f5c46b;--bcrm-warning-bg:#342713;--bcrm-danger:#ff8a9b;--bcrm-danger-bg:#3a1720;--bcrm-info:#7dd3fc;--bcrm-info-bg:#102b3d;--bcrm-shadow:0 12px 34px rgba(0,0,0,.22);background:#0b1220;color:var(--bcrm-text)}
.bcrm-portal-shell.is-dark .bcrm-shell-main,.bcrm-portal-shell.is-dark .bcrm-app,.bcrm-portal-shell.is-dark .bcrm-shell-content{background:#0b1220;color:var(--bcrm-text)}.bcrm-portal-shell.is-dark .bcrm-shell-header{background:rgba(15,23,42,.95);border-bottom-color:#263248}.bcrm-portal-shell.is-dark .bcrm-shell-header strong,.bcrm-portal-shell.is-dark .bcrm-front-admin-page>h1:first-child,.bcrm-portal-shell.is-dark .bcrm-assign-hero h1{color:#edf4ff!important}.bcrm-portal-shell.is-dark .bcrm-shell-kicker,.bcrm-portal-shell.is-dark .description,.bcrm-portal-shell.is-dark .bcrm-assign-hero p,.bcrm-portal-shell.is-dark .bcrm-assign-hero span{color:#a8b3c7!important}
.bcrm-portal-shell.is-dark .bcrm-assign-kpis strong,.bcrm-portal-shell.is-dark .bcrm-summary span,.bcrm-portal-shell.is-dark .bcrm-metric-card strong,.bcrm-portal-shell.is-dark .bcrm-case-identity strong,.bcrm-portal-shell.is-dark .bcrm-assign-switches label{color:#edf4ff!important}.bcrm-portal-shell.is-dark .bcrm-assign-kpis span,.bcrm-portal-shell.is-dark .bcrm-assign-kpis small{color:#a8b3c7!important}
.bcrm-portal-shell.is-dark .bcrm-panel,.bcrm-portal-shell.is-dark .bcrm-card,.bcrm-portal-shell.is-dark .bcrm-customer-header,.bcrm-portal-shell.is-dark .bcrm-summary>div,.bcrm-portal-shell.is-dark .bcrm-metric-card,.bcrm-portal-shell.is-dark .bcrm-related-dialog,.bcrm-portal-shell.is-dark .bcrm-journey-card,.bcrm-portal-shell.is-dark .bcrm-service-option,.bcrm-portal-shell.is-dark .bcrm-assign-kpis>div,.bcrm-portal-shell.is-dark .bcrm-assign-filters,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat,.bcrm-portal-shell.is-dark .bcrm-shell-content .notice,.bcrm-portal-shell.is-dark .bcrm-front-admin-page>p:not(.description){background:#172033!important;border-color:#2b3850!important;color:#e5edf8!important;box-shadow:var(--bcrm-shadow)!important}
.bcrm-portal-shell.is-dark input,.bcrm-portal-shell.is-dark select,.bcrm-portal-shell.is-dark textarea,.bcrm-portal-shell.is-dark .bcrm-shell-search,.bcrm-portal-shell.is-dark .bcrm-shell-content input[type=text],.bcrm-portal-shell.is-dark .bcrm-shell-content input[type=search],.bcrm-portal-shell.is-dark .bcrm-shell-content input[type=password],.bcrm-portal-shell.is-dark .bcrm-shell-content input[type=email],.bcrm-portal-shell.is-dark .bcrm-shell-content input[type=number],.bcrm-portal-shell.is-dark .bcrm-shell-content select,.bcrm-portal-shell.is-dark .bcrm-shell-content textarea{background:#0f172a!important;border-color:#35445e!important;color:#edf4ff!important}.bcrm-portal-shell.is-dark input::placeholder,.bcrm-portal-shell.is-dark textarea::placeholder{color:#7f8ca3!important}
.bcrm-portal-shell.is-dark .widefat th,.bcrm-portal-shell.is-dark .bcrm-table th{background:#101827!important;color:#c8d4e8!important;border-color:#2b3850!important}.bcrm-portal-shell.is-dark .widefat td,.bcrm-portal-shell.is-dark .bcrm-table td,.bcrm-portal-shell.is-dark .bcrm-case-row{border-color:#263248!important;color:#e5edf8!important}.bcrm-portal-shell.is-dark .bcrm-case-row:hover,.bcrm-portal-shell.is-dark .bcrm-table tbody tr:hover{background:#131d31!important}
.bcrm-portal-shell.is-dark .bcrm-secondary-button,.bcrm-portal-shell.is-dark .bcrm-shell-content .button,.bcrm-portal-shell.is-dark .bcrm-logout-button,.bcrm-portal-shell.is-dark .bcrm-theme-toggle{background:#111827!important;border-color:#35445e!important;color:#dbe7fa!important}.bcrm-portal-shell.is-dark .button-primary,.bcrm-portal-shell.is-dark .bcrm-primary-button{background:#6d7cff!important;border-color:#6d7cff!important;color:#fff!important}.bcrm-portal-shell.is-dark .bcrm-filter-tabs a.is-active,.bcrm-portal-shell.is-dark .bcrm-badge.is-primary{background:#24305a!important;color:#b9c5ff!important}.bcrm-portal-shell.is-dark .bcrm-badge.is-neutral{background:#273247;color:#cbd5e1}.bcrm-portal-shell.is-dark .bcrm-date-picker-button,.bcrm-portal-shell.is-dark .bcrm-cal-head button{background:#243047!important;color:#e5edf8!important}.bcrm-portal-shell.is-dark .bcrm-jalali-popover{background:#172033;border-color:#35445e;color:#edf4ff}.bcrm-portal-shell.is-dark code{background:#0f172a!important;color:#dbeafe!important}
/* v0.8.11 readable dark tables for embedded admin screens */
.bcrm-portal-shell.is-dark .bcrm-shell-content table.widefat,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat{background:#111827!important;border-color:#2b3850!important;color:#eaf2ff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat thead,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat thead tr,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat tfoot,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat tfoot tr{background:#0f172a!important;color:#dbeafe!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat th,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat th *{background:#0f172a!important;color:#dbeafe!important;border-color:#2b3850!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat tbody tr,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat.striped>tbody>tr,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat.striped>tbody>:nth-child(odd),.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat tbody tr.alternate{background:#172033!important;color:#eaf2ff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat.striped>tbody>:nth-child(even),.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat tbody tr:nth-child(even){background:#111827!important;color:#eaf2ff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat tbody tr:hover,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat.striped>tbody>tr:hover{background:#1f2a44!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat td{border-color:#263248!important;color:#eaf2ff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat td span,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat td div,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat td strong,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat td label,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat td small{color:#eaf2ff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat .description,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat .bcrm-muted,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat td .description{color:#a8b3c7!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat a{color:#93c5fd!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat input,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat select,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat textarea,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat option{background:#0b1220!important;border-color:#35445e!important;color:#edf4ff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat input::placeholder,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat textarea::placeholder{color:#8b98ad!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat .button{background:#111827!important;border-color:#3b4a66!important;color:#edf4ff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat .button:hover{background:#1f2a44!important;border-color:#53617c!important;color:#fff!important}
.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat .button.button-primary,.bcrm-portal-shell.is-dark .bcrm-shell-content .widefat .button-primary{background:#6d7cff!important;border-color:#6d7cff!important;color:#fff!important}
@media(max-width:980px){.bcrm-assign-kpis{grid-template-columns:repeat(2,1fr)}.bcrm-assign-execute{grid-template-columns:1fr!important}.bcrm-assign-actions{justify-content:flex-start}}
@media(max-width:620px){.bcrm-assign-kpis{grid-template-columns:1fr}.bcrm-assign-search label,.bcrm-assign-rule label,.bcrm-assign-filters label{min-width:100%}}

/* v0.8.12 deficiency/finance workflow */
.bcrm-workflow-page .nav-tab-wrapper{margin:12px 0 16px!important;display:flex!important;gap:6px!important;flex-wrap:wrap!important}
.bcrm-workflow-page .bcrm-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:12px!important;margin:14px 0!important}
.bcrm-workflow-page .bcrm-card,.bcrm-workflow-status{border-radius:14px!important;border:1px solid #e5ebf3!important;background:#fff!important;padding:16px!important;box-shadow:0 8px 26px rgba(15,23,42,.05)!important}
.bcrm-workflow-page .bcrm-card strong,.bcrm-workflow-status strong{display:block!important;font-size:18px!important;color:#172033!important}
.bcrm-workflow-page .bcrm-card span,.bcrm-workflow-status span{font-size:11px!important;color:#64748b!important}
.bcrm-diff-amount,.bcrm-workflow-page .bcrm-card.is-danger strong{color:#dc2626!important}
.bcrm-case-detail .bcrm-grid .bcrm-card{min-height:82px!important}
.bcrm-workflow-actions{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;align-items:start!important}
.bcrm-workflow-actions form{display:grid!important;gap:8px!important}
.bcrm-workflow-actions input,.bcrm-workflow-actions select,.bcrm-workflow-actions textarea{width:100%!important}
.bcrm-workflow-status .bcrm-status-stack{display:grid!important;gap:9px!important}
.bcrm-workflow-status .bcrm-full-button{margin-top:12px!important}
.bcrm-workflow-actions{display:block!important}
.bcrm-workflow-final-form{width:100%!important;max-width:none!important;margin:16px 0!important;padding:22px!important}
.bcrm-workflow-final-form h3{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 16px!important;padding-bottom:12px!important;border-bottom:1px solid #e5ebf3!important;color:#172033!important;font-size:17px!important}
.bcrm-workflow-final-form>label{margin-bottom:14px!important}
.bcrm-workflow-final-form label{display:grid!important;gap:7px!important;font-weight:800!important;color:#334155!important}
.bcrm-workflow-final-form select,.bcrm-workflow-final-form input,.bcrm-workflow-final-form textarea{width:100%!important}
.bcrm-workflow-final-form.is-workflow-ready [data-bcrm-step],.bcrm-workflow-final-form.is-workflow-ready [data-bcrm-finance]{display:none!important}
.bcrm-workflow-final-form.is-workflow-ready [data-bcrm-step].is-active,.bcrm-workflow-final-form.is-workflow-ready [data-bcrm-finance].is-active{display:grid!important}
.bcrm-form-section{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:14px!important;padding:16px!important;border:1px solid #e5ebf3!important;border-radius:14px!important;background:#f8fafc!important;margin:0 0 14px!important}
.bcrm-form-section h4{grid-column:1/-1!important;margin:0!important;font-size:14px!important;color:#172033!important}
.bcrm-workflow-final-form textarea{margin:0 0 14px!important;min-height:118px!important}
.bcrm-workflow-final-form .button-primary{width:100%!important;min-height:46px!important;font-size:13px!important;border-radius:12px!important}
.bcrm-workflow-final-form input[type=file]{padding:10px!important;background:#fff!important}
.bcrm-workflow-final-form input[type=file]::file-selector-button{border:0;border-radius:8px;background:#eef4ff;color:#1d4ed8;font-weight:800;padding:8px 12px;margin-left:10px;cursor:pointer}
.bcrm-timeline-meta{display:flex!important;gap:6px!important;flex-wrap:wrap!important}
.bcrm-meta-item{display:inline-flex!important;gap:4px!important;align-items:center!important;padding:4px 7px!important;border-radius:8px!important;background:#f1f5f9!important;color:#334155!important;font-size:11px!important}
.bcrm-meta-item strong{color:#0f172a!important}
.bcrm-portal-shell.is-dark .bcrm-workflow-page .bcrm-card,.bcrm-portal-shell.is-dark .bcrm-workflow-status{background:#172033!important;border-color:#2b3850!important;color:#e5edf8!important;box-shadow:0 12px 34px rgba(0,0,0,.22)!important}
.bcrm-portal-shell.is-dark .bcrm-workflow-page .bcrm-card strong,.bcrm-portal-shell.is-dark .bcrm-workflow-status strong{color:#edf4ff!important}
.bcrm-portal-shell.is-dark .bcrm-workflow-page .bcrm-card span,.bcrm-portal-shell.is-dark .bcrm-workflow-status span{color:#a8b3c7!important}
.bcrm-portal-shell.is-dark .bcrm-workflow-final-form label{color:#d7e2f2!important}
.bcrm-portal-shell.is-dark .bcrm-workflow-final-form h3{color:#edf4ff!important;border-color:#2b3850!important}
.bcrm-portal-shell.is-dark .bcrm-form-section{background:#101827!important;border-color:#2b3850!important}
.bcrm-portal-shell.is-dark .bcrm-form-section h4{color:#edf4ff!important}
.bcrm-portal-shell.is-dark .bcrm-meta-item{background:#101827!important;color:#d7e2f2!important;border:1px solid #2b3850!important}
.bcrm-portal-shell.is-dark .bcrm-meta-item strong{color:#edf4ff!important}
.bcrm-portal-shell.is-dark .bcrm-workflow-final-form input[type=file]::file-selector-button{background:#24305a;color:#dbeafe}
