/*
 * BB Perfect Shared Application Foundation — Stage 02
 * Semantic tokens and state contracts only. Existing surface bundles retain
 * their visual ownership; these aliases create one stable vocabulary beneath them.
 */
:root {
  /* Brand / structure. Prefer configured runtime tokens when they exist. */
  --structure-primary: var(--bb-sidebar, var(--bbpc-foreground, #123b36));
  --structure-navigation: var(--bb-sidebar, #123b36);
  --workspace-canvas: var(--bb-app-bg, var(--bbpc-muted, #f7f4ed));
  --surface-primary: var(--bb-surface, var(--bbpc-card, #fff));
  --surface-subtle: var(--bb-surface-soft, var(--bbpc-muted, #f5f7fa));
  --text-primary: var(--bb-heading, var(--bbpc-foreground, #101828));
  --text-secondary: var(--bb-muted, var(--bbpc-muted-fg, #667085));
  --border-subtle: var(--bb-border, var(--bbpc-border, #e4e7ec));

  /* One semantic primary action authority. Tenant-safe brand tokens may map here. */
  --action-primary: var(--bb-primary, var(--bbppm-brand-primary, var(--bbpc-primary, #016cf9)));
  --action-primary-hover: var(--bb-primary-hover, var(--bbpc-primary-hover, #0757c7));
  --action-primary-foreground: #fff;

  /* Semantic states. */
  --state-positive: var(--bb-success, var(--bbpc-green, #25824d));
  --state-positive-soft: var(--bb-success-soft, var(--bbpc-green-soft, #ecfdf3));
  --state-attention: var(--bb-warning, var(--bbpc-warning, #b54708));
  --state-attention-soft: var(--bb-warning-soft, var(--bbpc-warning-soft, #fffaeb));
  --state-danger: var(--bb-danger, var(--bbpc-danger, #b42318));
  --state-danger-soft: var(--bb-danger-soft, var(--bbpc-danger-soft, #fef3f2));
  --state-info: var(--bb-info, var(--action-primary));
  --state-info-soft: var(--bb-info-soft, #eff8ff);
  --state-neutral: #667085;
  --state-neutral-soft: #f2f4f7;

  /* Interaction / geometry. */
  --control-min-height: 44px;
  --touch-target-min: 44px;
  --radius-control: var(--bb-radius-md, var(--bbpc-r-control, 8px));
  --radius-card: var(--bb-radius-lg, var(--bbpc-r-card, 12px));
  --radius-sheet: var(--bb-radius-xl, var(--bbpc-r-sheet, 16px));
  --shadow-surface: var(--bb-shadow-sm, var(--bbpc-shadow, 0 1px 2px rgba(16,24,40,.04)));
  --focus-ring-color: var(--bb-focus-color, var(--bb-focus, var(--action-primary)));
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--focus-ring-color) 24%, transparent);

  /* Shared mobile fixed-layer contract. */
  --global-mobile-nav-height: 68px;
  --contextual-action-bar-height: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Motion may be overridden by surface bundles, but has one semantic base. */
  --motion-fast: 120ms;
  --motion-standard: 180ms;
  --motion-emphasis: 240ms;
}

/* Canonical interaction states. */
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-cleaner-app-page,.bbppm-portal) :where(button,a[href],[role="button"],input,select,textarea,summary,[tabindex]):focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-cleaner-app-page,.bbppm-portal) :where(button,.button,[role="button"],a.bbppm-action) {
  min-height: var(--control-min-height);
}

:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-cleaner-app-page,.bbppm-portal) :where([disabled],[aria-disabled="true"],.is-disabled) {
  cursor: not-allowed;
}

:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-cleaner-app-page,.bbppm-portal) :where([aria-busy="true"],.is-loading) {
  cursor: progress;
}

/* Shared state surface. State meaning is always accompanied by text/accessible label in markup. */
.bbppm-state-panel {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--surface-primary);
  color: var(--text-primary);
}
.bbppm-state-panel > :is(h2,h3,p) { margin: 0; }
.bbppm-state-panel p { color: var(--text-secondary); }
.bbppm-state-panel[data-state="success"] { border-color: color-mix(in srgb,var(--state-positive) 28%,var(--border-subtle)); background:var(--state-positive-soft); }
.bbppm-state-panel[data-state="warning"] { border-color: color-mix(in srgb,var(--state-attention) 28%,var(--border-subtle)); background:var(--state-attention-soft); }
.bbppm-state-panel[data-state="error"] { border-color: color-mix(in srgb,var(--state-danger) 28%,var(--border-subtle)); background:var(--state-danger-soft); }
.bbppm-state-panel[data-state="permission"],
.bbppm-state-panel[data-state="offline"],
.bbppm-state-panel[data-state="queued"],
.bbppm-state-panel[data-state="conflict"],
.bbppm-state-panel[data-state="stale"],
.bbppm-state-panel[data-state="empty"] { background:var(--state-neutral-soft); }

.bbppm-visually-hidden {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.bbppm-skeleton {
  position: relative;
  overflow: hidden;
  color: transparent;
  background: #eef1f5;
  border-radius: var(--radius-control);
}
.bbppm-skeleton::after {
  content:"";position:absolute;inset:0;transform:translateX(-100%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);
  animation:bbppm-foundation-shimmer 1.25s infinite;
}
@keyframes bbppm-foundation-shimmer { to { transform:translateX(100%); } }

/* Shared semantic primary action opt-in. Existing .button-primary remains supported. */
.bbppm-action-primary {
  background: var(--action-primary);
  border-color: var(--action-primary);
  color: var(--action-primary-foreground);
}
.bbppm-action-primary:hover { background:var(--action-primary-hover);border-color:var(--action-primary-hover); }

@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion-standard: 0ms; --motion-emphasis: 0ms; }
  .bbppm-skeleton::after { animation:none; }
}

@media (forced-colors: active) {
  .bbppm-state-panel,
  .bbppm-action-primary,
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-cleaner-app-page,.bbppm-portal) :where(button,.button,input,select,textarea) {
    border:1px solid CanvasText;
  }
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-cleaner-app-page,.bbppm-portal) :where(button,a[href],[role="button"],input,select,textarea,summary,[tabindex]):focus-visible {
    outline:2px solid Highlight;
    outline-offset:2px;
    box-shadow:none;
  }
}

/* Stage 05 convergence patch — unified micro UI across classic + React-adjacent admin surfaces. */
body.bbppm-app-v31 :where(.bbppm-panel,.bbppm-v4-panel,.bbppm-control-card,.bbppm-unified-admin-card,.bbppm-workspace-nav-card,.bbppm-hierarchy-level) {
  border:1px solid var(--border-subtle);
  border-radius:var(--radius-card);
  background:var(--surface-primary);
  box-shadow:var(--shadow-surface);
}
body.bbppm-app-v31 :where(.bbppm-panel,.bbppm-v4-panel,.bbppm-control-card,.bbppm-unified-admin-card){padding:18px}
body.bbppm-app-v31 :where(.bbppm-panel-head,.bbppm-card-head){display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
body.bbppm-app-v31 :where(.bbppm-panel-head,.bbppm-card-head) :where(h2,h3){margin:2px 0 0;color:var(--text-primary);line-height:1.2}
body.bbppm-app-v31 :where(.bbppm-kicker,.bbppm-eyebrow,.bbppm-card-head>div>span){font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}
body.bbppm-app-v31 :where(.button,.bbppm-context-action,.bbppm-360-actions a,.bbppm-panel-head>a){border-radius:var(--radius-control);min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:650;line-height:1.1;box-sizing:border-box}
body.bbppm-app-v31 :where(.button-primary,.bbppm-context-action.is-primary){background:var(--action-primary);border-color:var(--action-primary);color:var(--action-primary-foreground)}
body.bbppm-app-v31 :where(.button-primary,.bbppm-context-action.is-primary):hover{background:var(--action-primary-hover);border-color:var(--action-primary-hover)}

/* 360 workspace: remove button-height/pixel drift and normalize action wrapping. */
body.bbppm-app-v31 .bbppm-360-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.bbppm-app-v31 .bbppm-360-actions :where(.button,a){margin:0;padding:0 13px;min-height:40px;white-space:nowrap}
body.bbppm-app-v31 :where(.bbppm-record-tabs,.bbppm-360-tabs,.bbppm-workspace-tabs){scrollbar-width:none}
body.bbppm-app-v31 :where(.bbppm-record-tabs,.bbppm-360-tabs,.bbppm-workspace-tabs)::-webkit-scrollbar{display:none}

/* Classic Overview now uses the same calm card rhythm as the unified application. */
body.bbppm-screen-dashboard .bbppm-overview-primary,
body.bbppm-screen-dashboard .bbppm-overview-secondary{gap:14px}
body.bbppm-screen-dashboard :where(.bbppm-mini-kpis>div,.bbppm-team-today-grid>div){border:1px solid var(--border-subtle);border-radius:10px;background:var(--surface-subtle);padding:13px}
body.bbppm-screen-dashboard .bbppm-timeline-row{border-radius:10px;margin:4px 0;padding:11px 12px;border:1px solid transparent}
body.bbppm-screen-dashboard .bbppm-timeline-row:hover{background:var(--surface-subtle);border-color:var(--border-subtle)}
body.bbppm-screen-dashboard :where(.bbppm-capacity-ok,.bbppm-overview-good){border-radius:10px;border:1px solid color-mix(in srgb,var(--state-positive) 22%,var(--border-subtle));background:var(--state-positive-soft);padding:12px 14px}
body.bbppm-screen-dashboard .bbppm-capacity-warning{border-radius:10px;padding:12px 14px}
body.bbppm-screen-dashboard .bbppm-coming-list>a{border-radius:10px;padding:11px 12px}

/* Workforce & Payroll Settings — canonical form language. */
body.bbppm-app-v31 .bbppm-v4-settings{display:grid;gap:16px;max-width:1180px}
body.bbppm-app-v31 .bbppm-v4-settings .bbppm-v4-panel{display:grid;gap:14px;margin:0}
body.bbppm-app-v31 .bbppm-v4-settings .bbppm-v4-panel>h2{margin:0;font-size:18px;line-height:1.25}
body.bbppm-app-v31 .bbppm-v4-settings .bbppm-v4-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.bbppm-app-v31 .bbppm-v4-settings label{font-size:13px;font-weight:650;color:var(--text-primary);gap:7px}
body.bbppm-app-v31 .bbppm-v4-settings label>span{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px;font-weight:600}
body.bbppm-app-v31 .bbppm-v4-settings :where(input[type="number"],input[type="text"],input[type="time"],select,textarea){min-height:42px;border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--surface-primary);color:var(--text-primary);padding:8px 10px;box-shadow:none}
body.bbppm-app-v31 .bbppm-v4-settings textarea{min-height:92px;resize:vertical}
body.bbppm-app-v31 .bbppm-v4-settings input[type="checkbox"]{width:18px;height:18px;min-height:18px;margin:0 8px 0 0}
body.bbppm-app-v31 .bbppm-v4-settings>p:last-child{position:sticky;bottom:calc(var(--global-mobile-nav-height,0px) + 10px);z-index:15;margin:0;padding:10px;border:1px solid var(--border-subtle);border-radius:12px;background:color-mix(in srgb,var(--surface-primary) 94%,transparent);backdrop-filter:blur(10px)}

/* Consolidated Interface & Layout controls. */
.bbppm-workspace-nav-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bbppm-workspace-nav-card{padding:14px}
.bbppm-sortable-stack{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.bbppm-sortable-stack li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:44px;padding:8px 10px;border:1px solid var(--border-subtle);border-radius:9px;background:var(--surface-subtle)}
.bbppm-sortable-label{font-weight:650;color:var(--text-primary)}
.bbppm-visibility-toggle{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-secondary)}
.bbppm-visibility-toggle input{margin:0}
.bbppm-chip-order{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 14px}
.bbppm-chip-order label{padding:7px 10px;border:1px solid var(--border-subtle);border-radius:999px;background:var(--surface-subtle);font-weight:650}

/* Consolidated Access & Organization hierarchy. */
.bbppm-page-hero{display:flex;justify-content:space-between;gap:16px;margin:0 0 16px;padding:4px 0 2px}
.bbppm-page-hero h1{margin:3px 0 5px;font-size:28px;line-height:1.15;color:var(--text-primary)}
.bbppm-page-hero p{margin:0;color:var(--text-secondary);max-width:760px}
.bbppm-unified-admin-card{margin:0 0 18px}
.bbppm-hierarchy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bbppm-hierarchy-level{padding:14px}
.bbppm-level-badge{font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--text-secondary);margin-bottom:8px}
.bbppm-hierarchy-role{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 0;border-top:1px solid var(--border-subtle)}
.bbppm-hierarchy-role:first-of-type{border-top:0}
.bbppm-hierarchy-role strong{color:var(--text-primary)}
.bbppm-hierarchy-role span,.bbppm-hierarchy-role small{color:var(--text-secondary)}
.bbppm-hierarchy-role small{grid-column:1/-1}

@media(max-width:900px){
  body.bbppm-app-v31 .bbppm-v4-settings .bbppm-v4-form-grid,.bbppm-workspace-nav-grid,.bbppm-hierarchy-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  body.bbppm-app-v31 .bbppm-360-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  body.bbppm-app-v31 .bbppm-360-actions :where(.button,a){width:100%}
  .bbppm-page-hero h1{font-size:24px}
}
.bbppm-sortable-stack li{grid-template-columns:22px 22px minmax(0,1fr) auto auto}
.bbppm-dashboard-sortable{display:grid;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.bbppm-dashboard-sortable li{display:grid;grid-template-columns:22px 22px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;padding:8px 10px;border:1px solid var(--border-subtle);border-radius:9px;background:var(--surface-subtle)}
.bbppm-builder-nudge{display:inline-flex;gap:4px}
.bbppm-builder-nudge button{width:30px;height:30px;min-height:30px;border:1px solid var(--border-subtle);border-radius:7px;background:var(--surface-primary);color:var(--text-secondary);cursor:pointer}
.bbppm-builder-nudge button:hover{border-color:var(--action-primary);color:var(--action-primary)}

/* ===== v4.5.57 P10-AM — Input / output / print comfort audit ===== */
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(input:not([type="hidden"]),select,textarea){
  max-width:100%;min-height:42px;box-sizing:border-box;line-height:1.35
}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) textarea{min-height:92px;resize:vertical}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(input,select,textarea)[readonly]{
  background:#F4F7F5;color:#42544E;border-style:dashed;cursor:default
}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(input,select,textarea)[aria-invalid="true"]{
  border-color:var(--state-danger);box-shadow:0 0 0 3px color-mix(in srgb,var(--state-danger) 14%,transparent)
}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(input[type="checkbox"],input[type="radio"]){min-height:auto;accent-color:#123B36}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) input[type="file"]{padding:6px;background:var(--surface-primary)}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) input[type="file"]::file-selector-button{
  min-height:34px;margin-right:10px;padding:6px 10px;border:1px solid var(--border-subtle);border-radius:8px;background:#F2F8F5;color:#123B36;font-weight:750;cursor:pointer
}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) .form-table th{vertical-align:top;padding-top:16px}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) .form-table td{vertical-align:top}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(.description,.bbppm-help,.bbppm-field-hint,.bbppm-helper-text){max-width:72ch}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where([data-bbppm-output],.bbppm-output-value,.bbppm-readonly-value,dd,td,code){overflow-wrap:anywhere;word-break:normal}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(.bbppm-money,.amount,[data-bbppm-money],time){font-variant-numeric:tabular-nums}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) .bbppm-form-feedback:not(.bbppm-visually-hidden){
  margin:0 0 10px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--state-danger) 24%,var(--border-subtle));border-radius:9px;background:var(--state-danger-soft);color:var(--state-danger);font-size:13px;font-weight:650
}
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) [data-bbppm-unlabeled-action="1"]{outline-offset:2px}

/* Native browser validation is useful, but the app should keep its geometry stable. */
:where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(input,select,textarea):user-invalid{border-color:var(--state-danger)}
@supports not selector(:user-invalid){
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(input,select,textarea):invalid:not(:focus):not(:placeholder-shown){border-color:var(--state-danger)}
}

/* Print contract for generic management forms/reports. Dedicated Invoice/Proposal engines remain authoritative. */
@media print{
  @page{size:A4 portrait;margin:12mm}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal){background:#fff;color:#111;max-width:none;width:auto}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(nav,.bbppm-v430-sidebar,.bbppm-v42-topbar,.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-context-action-bar,.bbppm-sticky-save,.bbppm-enterprise-save,.bbppm-control-save,[data-bbppm-no-print]){display:none}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(button,.button,input[type="submit"],input[type="button"],input[type="reset"]){display:none}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea){
    display:block;width:100%;min-height:auto;padding:1px 0;border:0;border-bottom:1px solid #D3D7D5;border-radius:0;background:#fff;color:#111;box-shadow:none;appearance:none;-webkit-appearance:none;overflow:visible;white-space:normal
  }
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) textarea{height:auto;min-height:0}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(.bbppm-panel,.bbppm-v4-panel,.bbppm-control-card,.bbppm-unified-admin-card,.bbppm-enterprise-card,.bbppm-setting-field,.bbppm-field){break-inside:avoid;page-break-inside:avoid;box-shadow:none}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) table{width:100%;max-width:100%;border-collapse:collapse}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) thead{display:table-header-group}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) tfoot{display:table-footer-group}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) tr{break-inside:avoid;page-break-inside:avoid}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(th,td,dd,dt,p,span,strong,a,code){overflow-wrap:anywhere;word-break:normal;color:#111}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) a{text-decoration:none}
}
@media print{
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where([data-column="id"],[data-column$="_id"],.is-numeric){white-space:nowrap;overflow-wrap:normal;word-break:normal}
  :where(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-v4-workspace,.bbppm-portal) :where(.bbppm-actions-col,.bbppm-select-col){display:none}
}
/* Print-engine compatibility fallback: keep selectors simple for PDF engines that do not support :where(). */
@media print{
  .bbppm-v430-app button,.bbppm-v430-app .button,.bbppm-v4-workspace button,.bbppm-v4-workspace .button,.bbppm-admin-ui button,.bbppm-admin-ui .button{display:none}
  .bbppm-v430-app input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),.bbppm-v430-app select,.bbppm-v430-app textarea,
  .bbppm-v4-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),.bbppm-v4-workspace select,.bbppm-v4-workspace textarea{
    width:100%;min-height:auto;padding:1px 0;border:0;border-bottom:1px solid #D3D7D5;border-radius:0;background:#fff;color:#111;box-shadow:none;-webkit-appearance:none;appearance:none
  }
  .bbppm-v430-app table,.bbppm-v4-workspace table{width:100%;max-width:100%;table-layout:auto;border-collapse:collapse}
  .bbppm-v430-app thead,.bbppm-v4-workspace thead{display:table-header-group}
  .bbppm-v430-app tr,.bbppm-v4-workspace tr{break-inside:avoid;page-break-inside:avoid}
  .bbppm-v430-app th,.bbppm-v430-app td,.bbppm-v4-workspace th,.bbppm-v4-workspace td{overflow-wrap:break-word;word-break:normal}
  .bbppm-v430-app td[data-column="id"],.bbppm-v430-app th[data-column="id"],.bbppm-v430-app td[data-column$="_id"],.bbppm-v430-app th[data-column$="_id"],.bbppm-v430-app td.is-numeric,.bbppm-v430-app th.is-numeric,
  .bbppm-v4-workspace td[data-column="id"],.bbppm-v4-workspace th[data-column="id"],.bbppm-v4-workspace td.is-numeric,.bbppm-v4-workspace th.is-numeric{white-space:nowrap;overflow-wrap:normal;word-break:normal}
  .bbppm-v430-app .bbppm-actions-col,.bbppm-v430-app .bbppm-select-col,.bbppm-v4-workspace .bbppm-actions-col,.bbppm-v4-workspace .bbppm-select-col{display:none}
}

/* v4.5.65 P10-AU — document template presentation controls */
.bbppm-v453-template-options{margin-top:16px;padding:14px;border:1px solid #D7E0DB;border-radius:14px;background:#FBFAF7}
.bbppm-v453-section-title{display:grid;gap:3px;margin-bottom:12px;color:#123B36}
.bbppm-v453-section-title strong{font-size:13px;line-height:18px}
.bbppm-v453-section-title span{font-size:12px;line-height:18px;color:#63746E}
.bbppm-v453-check{display:flex;align-items:center;gap:10px;min-height:42px;padding:8px 10px;border:1px solid #D7E0DB;border-radius:10px;background:#fff;color:#17312D;font-weight:700}
.bbppm-v453-check input{margin:0;min-height:auto;width:18px;height:18px}
.bbppm-template-presentation{margin-top:14px;padding:14px;border:1px solid #D7E0DB;border-radius:14px;background:#FBFAF7;display:grid;gap:12px}
.bbppm-template-presentation h4{margin:0;color:#123B36;font-size:13px;line-height:18px}
.bbppm-template-presentation label{display:grid;gap:6px}.bbppm-template-presentation label span{font-size:12px;font-weight:700;color:#52665F}.bbppm-template-check{display:flex;grid-template-columns:none;align-items:center;gap:8px}


/* v4.5.67 P10-AW document template live preview */
.bbppm-v453-template-preview{margin-top:16px;padding:14px;border:1px solid #D7E0DB;border-radius:14px;background:#FFFFFF;display:grid;gap:12px}
.bbppm-v453-preview-paper,.bbppm-template-preview-paper{border:1px solid #D7E0DB;border-radius:14px;background:#fff;padding:14px;display:grid;gap:12px;box-shadow:0 8px 22px rgba(18,59,54,.07)}
.bbppm-v453-preview-head,.bbppm-template-preview-head{display:grid;grid-template-columns:56px minmax(0,1fr);gap:12px;align-items:start;border-bottom:1px solid #E7EEE9;padding-bottom:10px}
.bbppm-v453-preview-logo,.bbppm-template-preview-logo{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-weight:900;color:#123B36;background:#BDE7D7;border:1px solid #91D6BF}
.bbppm-v453-preview-company,.bbppm-template-preview-head>div{display:grid;gap:3px;text-align:left;color:#123B36}.bbppm-v453-preview-company span,.bbppm-template-preview-head small{font-size:12px;color:#52665F}.bbppm-v453-preview-company small{font-size:11px;color:#6C7E77}
.bbppm-v453-preview-line,.bbppm-template-preview-table{display:flex;justify-content:space-between;gap:12px;background:#F7F4ED;border-radius:10px;padding:10px;font-size:12px;color:#123B36}.bbppm-v453-preview-paper footer,.bbppm-template-preview-paper footer{font-size:12px;color:#52665F}.bbppm-v453-preview-layout-stacked_right .bbppm-v453-preview-head,.bbppm-template-preview-layout-stacked_right .bbppm-template-preview-head{display:grid;grid-template-columns:1fr;text-align:right}.bbppm-v453-preview-layout-stacked_right .bbppm-v453-preview-logo,.bbppm-template-preview-layout-stacked_right .bbppm-template-preview-logo{margin-left:auto}.bbppm-v453-preview-layout-minimal .bbppm-v453-preview-logo,.bbppm-template-preview-layout-minimal .bbppm-template-preview-logo{display:none}.bbppm-v453-preview-layout-minimal .bbppm-v453-preview-head,.bbppm-template-preview-layout-minimal .bbppm-template-preview-head{grid-template-columns:1fr}.bbppm-v453-preview-logo-small .bbppm-v453-preview-logo,.bbppm-template-preview-logo-small .bbppm-template-preview-logo{width:42px;height:42px;border-radius:12px;font-size:12px}.bbppm-v453-preview-logo-large .bbppm-v453-preview-logo,.bbppm-template-preview-logo-large .bbppm-template-preview-logo{width:68px;height:68px;border-radius:18px;font-size:18px}.bbppm-v453-preview-logo-large .bbppm-v453-preview-head,.bbppm-template-preview-logo-large .bbppm-template-preview-head{grid-template-columns:72px minmax(0,1fr)}
@media (max-width:720px){.bbppm-v453-preview-head,.bbppm-template-preview-head{grid-template-columns:44px minmax(0,1fr)}.bbppm-v453-preview-logo,.bbppm-template-preview-logo{width:40px;height:40px;border-radius:12px}.bbppm-v453-preview-logo-large .bbppm-v453-preview-head,.bbppm-template-preview-logo-large .bbppm-template-preview-head{grid-template-columns:58px minmax(0,1fr)}.bbppm-v453-preview-logo-large .bbppm-v453-preview-logo,.bbppm-template-preview-logo-large .bbppm-template-preview-logo{width:54px;height:54px}}



/* v4.5.71 P10-BA — React-style topbar command menus for Quick Add and User account. */
.bbppm-v430-popup-menu.bbppm-v4571-command-menu{
  position:absolute;
  right:0;
  top:56px;
  z-index:80;
  width:min(380px,calc(100vw - 24px));
  max-height:min(72vh,620px);
  overflow:auto;
  padding:12px;
  border:1px solid color-mix(in srgb,var(--bb-v42-border),transparent 8%);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,244,237,.96));
  box-shadow:0 24px 70px rgba(15,23,42,.22),0 1px 0 rgba(255,255,255,.85) inset;
  color:var(--bb-v42-text);
  backdrop-filter:blur(14px);
}
.bbppm-v4571-command-head{display:grid;gap:4px;padding:10px 10px 12px;border-bottom:1px solid color-mix(in srgb,var(--bb-v42-border),transparent 20%);margin-bottom:8px}
.bbppm-v4571-command-kicker{font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--bb-v42-action-primary)}
.bbppm-v4571-command-head strong{font-size:18px;line-height:1.18;color:var(--bb-v42-text)}
.bbppm-v4571-command-head small{font-size:12px;line-height:1.45;color:var(--bb-v42-muted)}
.bbppm-v4571-command-list{display:grid;gap:6px}
.bbppm-v4571-command-item{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:64px;padding:10px;border:1px solid transparent;border-radius:16px;text-decoration:none;color:var(--bb-v42-text);background:transparent;transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.bbppm-v4571-command-item:hover,.bbppm-v4571-command-item:focus{background:var(--bb-v42-surface);border-color:color-mix(in srgb,var(--bb-v42-primary),transparent 78%);box-shadow:0 10px 24px rgba(18,59,54,.08);outline:0;transform:translateY(-1px)}
.bbppm-v4571-command-item:focus-visible{outline:3px solid rgba(238,113,78,.32);outline-offset:2px}
.bbppm-v4571-command-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(180deg,rgba(189,231,215,.8),rgba(189,231,215,.38));color:var(--bb-v42-primary);border:1px solid rgba(18,59,54,.1)}
.bbppm-v4571-command-icon .dashicons{font-size:18px;width:18px;height:18px}
.bbppm-v4571-command-copy{min-width:0;display:grid;gap:2px}
.bbppm-v4571-command-copy strong{display:block;font-size:13px;line-height:1.25;font-weight:850;color:var(--bb-v42-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bbppm-v4571-command-copy small{display:block;font-size:11.5px;line-height:1.35;color:var(--bb-v42-muted)}
.bbppm-v4571-command-arrow{font-size:22px;line-height:1;color:var(--bb-v42-muted);opacity:.72}
.bbppm-v4571-command-empty{margin:0;padding:16px;border-radius:14px;background:var(--bb-v42-surface-2);color:var(--bb-v42-muted);font-size:13px;text-align:center}
.bbppm-v4571-profile-card{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;align-items:center;margin:0 0 10px;padding:12px;border-radius:18px;background:linear-gradient(135deg,var(--bb-v42-primary),color-mix(in srgb,var(--bb-v42-primary),#0ea58f 25%));color:#fff;box-shadow:0 12px 28px rgba(18,59,54,.18)}
.bbppm-v4571-profile-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);font-weight:900;font-size:16px;text-transform:uppercase}
.bbppm-v4571-profile-copy{display:grid;gap:2px;min-width:0}.bbppm-v4571-profile-copy strong{font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bbppm-v4571-profile-copy small{font-size:12px;opacity:.82}
@media(max-width:782px){.bbppm-v430-popup-menu.bbppm-v4571-command-menu{position:fixed;left:12px;right:12px;top:64px;width:auto;max-height:calc(100vh - 96px);border-radius:20px}.bbppm-v4571-command-item{min-height:60px}.bbppm-v4571-command-head strong{font-size:16px}}

/* Native/topbar fallback menus receive the same visual treatment so Bootstrap-like details never leak through. */
body.bbppm-v430-enterprise-ui .bbppm-topbar-menu-panel{
  min-width:320px;
  padding:12px;
  border:1px solid color-mix(in srgb,var(--bb-v42-border,#D7E0DB),transparent 8%);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,244,237,.96));
  box-shadow:0 24px 70px rgba(15,23,42,.22);
}
body.bbppm-v430-enterprise-ui .bbppm-topbar-menu-panel a{
  display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 12px;border-radius:14px;text-decoration:none;color:var(--bb-v42-text,#123B36);font-weight:800;border:1px solid transparent;
}
body.bbppm-v430-enterprise-ui .bbppm-topbar-menu-panel a:hover,body.bbppm-v430-enterprise-ui .bbppm-topbar-menu-panel a:focus{background:#fff;border-color:#D7E0DB;box-shadow:0 8px 18px rgba(18,59,54,.07);outline:0}


/* ===== v4.5.77 P10-BG — Core list card readability polish =====
   Project-style consistency with readable record cards: fewer cramped columns, clearer
   fields and a calmer filter/action bar on desktop and mobile. */
.bbppm-v4575-unified-listbar{
  align-items:stretch;
  border:1px solid rgba(18,59,54,.12);
  background:linear-gradient(135deg,#ffffff 0%,#fbfaf7 62%,#f3f8f5 100%);
}
.bbppm-v4575-unified-listbar__filters{grid-template-columns:minmax(300px,1.5fr) minmax(180px,260px) auto auto;align-items:end}
.bbppm-v4575-unified-listbar__summary{align-self:stretch;min-height:58px}
.bbppm-v4575-records.is-view-cards .bbppm-v45-record-cards{
  grid-template-columns:repeat(auto-fit,minmax(min(360px,100%),1fr));
  gap:14px;
  align-items:start;
}
.bbppm-v4575-records .bbppm-v45-record-cards article{
  min-height:auto;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(18,59,54,.13);
}
.bbppm-v4575-records .bbppm-v45-record-cards article>div:first-child{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.bbppm-v4575-records .bbppm-v45-record-cards article button.bb\:text-left,
.bbppm-v4575-records .bbppm-v45-record-cards article h3,
.bbppm-v4575-records .bbppm-v45-record-cards article strong{
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:auto;
  line-height:1.22;
}
.bbppm-v4575-records .bbppm-v45-record-cards dl{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.bbppm-v4575-records .bbppm-v45-record-cards dl>div{
  min-height:64px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px 11px;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#fbfaf7);
}
.bbppm-v4575-records .bbppm-v45-record-cards dt{
  margin-bottom:5px;
  color:#5f746e;
  font-size:9.5px;
}
.bbppm-v4575-records .bbppm-v45-record-cards dd{
  font-size:13px;
  font-weight:850;
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:auto;
}
.bbppm-v4575-records .bbppm-v45-record-cards article :is(a,button).bbppm-v45-button,
.bbppm-v4575-records .bbppm-v45-record-cards article :is(a,button).bbppm-v42-route-button,
.bbppm-v4575-records .bbppm-v45-record-cards article :is(a,button):not(.bb\:text-left){
  min-height:40px;
  border-radius:12px;
}
.bbppm-v4575-records .bbppm-v45-record-cards article .bb\:grid{gap:8px}
.bbppm-v4575-records.is-view-list .bbppm-v45-record-table{display:block;overflow:auto;max-width:100%}
.bbppm-v4575-records.is-view-list .bbppm-v45-record-table table{min-width:960px}

@media(min-width:1500px){
  .bbppm-v4575-records.is-view-cards .bbppm-v45-record-cards{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}
}
@media(max-width:1180px){
  .bbppm-v4575-unified-listbar__filters{grid-template-columns:1fr 220px auto}
  .bbppm-v4575-unified-listbar__filters .bbppm-v4575-clear-button{grid-column:auto}
}
@media(max-width:782px){
  .bbppm-v4575-unified-listbar{gap:9px;padding:9px;border-radius:18px}
  .bbppm-v4575-unified-listbar__filters{grid-template-columns:1fr;gap:7px}
  .bbppm-v4575-unified-listbar__summary{min-height:0;padding:7px}
  .bbppm-v4575-records.is-view-cards .bbppm-v45-record-cards{grid-template-columns:1fr;gap:10px}
  .bbppm-v4575-records .bbppm-v45-record-cards article{padding:12px;border-radius:17px}
  .bbppm-v4575-records .bbppm-v45-record-cards dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .bbppm-v4575-records .bbppm-v45-record-cards dl>div{min-height:56px;padding:8px}
}
@media(max-width:420px){
  .bbppm-v4575-records .bbppm-v45-record-cards dl{grid-template-columns:1fr 1fr}
  .bbppm-v4575-records .bbppm-v45-record-cards dt{font-size:8.5px}
  .bbppm-v4575-records .bbppm-v45-record-cards dd{font-size:12px;line-height:1.2}
}


/* ===== v4.5.78 P10-BH — Sticky header + mobile sidebar pixel polish =====
   Presentation-only shell polish. Keeps all React routes, permissions and writers intact. */
.bbppm-v430-app{
  --bb-p10bh-header-h:64px;
  --bb-p10bh-mobile-header-h:58px;
  --bb-p10bh-btn:44px;
  --bb-p10bh-sidebar-w:320px;
}
.bbppm-v430-app .bbppm-v42-topbar,
body.bbppm-stage03-shell .bbppm-global-topbar{
  position:sticky;
  top:0;
  z-index:120;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(252,250,246,.93));
  border-bottom:1px solid rgba(18,59,54,.11);
  box-shadow:0 8px 24px rgba(18,59,54,.07),0 1px 0 rgba(255,255,255,.88) inset;
  backdrop-filter:blur(18px) saturate(1.12);
  -webkit-backdrop-filter:blur(18px) saturate(1.12);
}
.bbppm-v430-app .bbppm-v430-topbar-inner{
  min-height:var(--bb-p10bh-header-h);
  height:var(--bb-p10bh-header-h);
  gap:10px;
  padding-inline:18px;
}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v430-notifications,.bbppm-v42-profile,.bbppm-v430-mobile-search,.bbppm-v42-workspaces,.bbppm-v42-page-guide,button[aria-label*="Guide"],button[aria-label*="guide"],button[aria-label*="Workspace"],button[aria-label*="workspace"]),
body.bbppm-stage03-shell :is(.bbppm-app-icon-button,.bbppm-topbar-menu>summary){
  width:var(--bb-p10bh-btn);
  min-width:var(--bb-p10bh-btn);
  height:var(--bb-p10bh-btn);
  min-height:var(--bb-p10bh-btn);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  border:1px solid rgba(18,59,54,.14);
  background:linear-gradient(180deg,#fff,#f8fbf9);
  color:#123B36;
  box-shadow:0 1px 2px rgba(18,59,54,.05),0 8px 18px rgba(18,59,54,.06);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease,color .16s ease;
}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v430-notifications,.bbppm-v42-profile,.bbppm-v430-mobile-search,.bbppm-v42-workspaces,.bbppm-v42-page-guide,button[aria-label*="Guide"],button[aria-label*="guide"],button[aria-label*="Workspace"],button[aria-label*="workspace"]):hover,
body.bbppm-stage03-shell :is(.bbppm-app-icon-button,.bbppm-topbar-menu>summary):hover{
  transform:translateY(-1px);
  border-color:rgba(18,59,54,.24);
  background:#fff;
  box-shadow:0 2px 4px rgba(18,59,54,.07),0 12px 24px rgba(18,59,54,.10);
}
.bbppm-v430-app :is(.bbppm-v42-quick-add,.bbppm-topbar-menu>summary.bbppm-quick-add),
body.bbppm-stage03-shell .bbppm-topbar-menu>summary.bbppm-quick-add{
  min-width:var(--bb-p10bh-btn);
  height:var(--bb-p10bh-btn);
  border-radius:16px;
  background:linear-gradient(180deg,#00B5A1,#049587);
  border-color:#047d73;
  color:#062f2a;
  box-shadow:0 2px 0 #05786e,0 14px 28px rgba(0,181,161,.24);
}
.bbppm-v430-app :is(.bbppm-v42-quick-add,.bbppm-topbar-menu>summary.bbppm-quick-add):hover,
body.bbppm-stage03-shell .bbppm-topbar-menu>summary.bbppm-quick-add:hover{
  background:linear-gradient(180deg,#06c6b0,#048a7e);
  color:#fff;
  transform:translateY(-1px);
}
.bbppm-v430-app :is(.bbppm-v42-profile,.bbppm-app-avatar,.bbppm-v430-profile-button){
  font-weight:900;
  letter-spacing:.01em;
}
/* Hide orphan/empty mobile header controls that can appear after capability filtering. */
.bbppm-v430-app .bbppm-v430-topbar-inner :is(button,a)[aria-label=""],
.bbppm-v430-app .bbppm-v430-topbar-inner :is(button,a):empty,
body.bbppm-stage03-shell .bbppm-topbar-actions :is(button,a):empty{
  display:none;
}

/* Mobile topbar is a compact command rail, not a row of uneven blocks. */
@media(max-width:782px){
  .bbppm-v430-app .bbppm-v42-topbar{height:var(--bb-p10bh-mobile-header-h);min-height:var(--bb-p10bh-mobile-header-h)}
  .bbppm-v430-app .bbppm-v430-topbar-inner{
    height:var(--bb-p10bh-mobile-header-h);
    min-height:var(--bb-p10bh-mobile-header-h);
    padding-inline:10px;
    gap:7px;
  }
  .bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v430-notifications,.bbppm-v42-profile,.bbppm-v430-mobile-search,.bbppm-v42-workspaces,.bbppm-v42-page-guide,button[aria-label*="Guide"],button[aria-label*="guide"],button[aria-label*="Workspace"],button[aria-label*="workspace"]),
  body.bbppm-stage03-shell :is(.bbppm-app-icon-button,.bbppm-topbar-menu>summary){
    width:42px;min-width:42px;height:42px;min-height:42px;border-radius:14px;
  }
  .bbppm-v430-app :is(.bbppm-v42-quick-add,.bbppm-topbar-menu>summary.bbppm-quick-add),
  body.bbppm-stage03-shell .bbppm-topbar-menu>summary.bbppm-quick-add{width:48px;min-width:48px;height:46px;border-radius:16px}
  .bbppm-v430-app .bbppm-v42-main{padding-top:14px}
}
@media(max-width:420px){
  .bbppm-v430-app .bbppm-v430-topbar-inner{padding-inline:8px;gap:6px}
  .bbppm-v430-app .bbppm-v430-mobile-brand,
  .bbppm-v430-app .bbppm-v430-mobile-search{display:none}
  .bbppm-v430-app :is(.bbppm-v42-workspaces,button[aria-label*="Workspace"],button[aria-label*="workspace"]){display:inline-flex}
}

/* Mobile sidebar drawer: polished app drawer with proper footer clearance and no bottom-nav collision. */
@media(max-width:1023px){
  .bbppm-v430-app .bbppm-v430-sidebar{
    width:min(var(--bb-p10bh-sidebar-w),86vw);
    max-width:min(var(--bb-p10bh-sidebar-w),86vw);
    height:100dvh;
    max-height:100dvh;
    border-right:1px solid rgba(189,231,215,.18);
    border-radius:0 22px 22px 0;
    box-shadow:18px 0 54px rgba(0,0,0,.28);
    overflow:hidden;
    isolation:isolate;
  }
  .bbppm-v430-app .bbppm-v430-sidebar::before{
    content:"";
    position:absolute;inset:0 0 auto 0;height:92px;pointer-events:none;
    background:radial-gradient(circle at 20% 0%,rgba(189,231,215,.24),transparent 62%),linear-gradient(180deg,rgba(255,255,255,.05),transparent);
    z-index:0;
  }
  .bbppm-v430-app .bbppm-v430-sidebar>*{position:relative;z-index:1}
  .bbppm-v430-app .bbppm-v430-sidebar>div:first-child{
    min-height:66px;height:66px;padding:10px 12px;border-bottom:1px solid rgba(189,231,215,.17);
  }
  .bbppm-v430-app .bbppm-v430-sidebar nav{
    padding:14px 11px calc(128px + env(safe-area-inset-bottom,0px));
    overflow:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(189,231,215,.45) transparent;
  }
  .bbppm-v430-app .bbppm-v430-sidebar nav h2{margin:14px 0 7px;padding-inline:9px}
  .bbppm-v430-app .bbppm-v430-sidebar nav :is(a,button){
    min-height:46px;
    border-radius:14px;
    margin-block:3px;
    padding:10px 12px;
    border:1px solid transparent;
  }
  .bbppm-v430-app .bbppm-v430-sidebar nav :is(a,button)[aria-current="page"],
  .bbppm-v430-app .bbppm-v430-sidebar nav button[data-bbppm-nav-state="active"]{
    box-shadow:inset 4px 0 0 #EE714E,0 10px 22px rgba(0,0,0,.14);
  }
  .bbppm-v430-app .bbppm-v430-sidebar>div:last-child{
    position:absolute;left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom,0px));
    padding:0;border-top:0;background:transparent;
  }
  .bbppm-v430-app .bbppm-v430-sidebar>div:last-child>div{
    min-height:54px;border-radius:18px;background:rgba(7,34,31,.74);
    border:1px solid rgba(189,231,215,.20);box-shadow:0 10px 30px rgba(0,0,0,.20);
  }
}

/* Better modal/command overlay depth when side drawer or command menu is open. */
.bbppm-v430-app .bbppm-v430-popup-menu,
body.bbppm-stage03-shell .bbppm-topbar-menu-panel{
  border-radius:22px;
  border:1px solid rgba(18,59,54,.12);
  box-shadow:0 26px 70px rgba(15,23,42,.24),0 1px 0 rgba(255,255,255,.85) inset;
}


/* ===== v4.5.79 P10-BI — List workspace visual system refinement =====
   Presentation-only: list pages keep the same REST data, permissions, routes and writers.
   1) Remove the duplicate in-page breadcrumb/back/next bar from list workspaces.
   2) Make the search/filter/action deck consistent, usable and responsive.
   3) Make card/list records readable at desktop, tablet and mobile sizes. */

/* List workspaces already have breadcrumb context in sidebar/topbar. Remove the duplicate
   in-page route strip so users can reach records faster. Page Guide stays in sticky header. */
.bbppm-v430-app:is(.bbppm-route-records-jobs,.bbppm-route-records-customers,.bbppm-route-records-properties,.bbppm-route-records-quotes,.bbppm-route-records-invoices,.bbppm-route-records-projects,.bbppm-route-records-rework,.bbppm-route-records-inventory,.bbppm-route-records-services,.bbppm-route-records-leads,.bbppm-route-records-team,.bbppm-route-jobs,.bbppm-route-customers,.bbppm-route-properties,.bbppm-route-quotes,.bbppm-route-invoices,.bbppm-route-projects) .bbppm-v4521-context{
  display:none;
}

/* Calm list canvas: less dead space, clearer hierarchy. */
.bbppm-v430-app :is(.bbppm-v4575-records,.bbppm-v45-records){
  --bb-list-ink:#123B36;
  --bb-list-muted:#60736e;
  --bb-list-line:#d9e5df;
  --bb-list-surface:#ffffff;
  --bb-list-warm:#fbfaf7;
  --bb-list-mint:#eaf8f1;
  --bb-list-action:#00a894;
}
.bbppm-v4575-records .bbppm-v430-page-title,
.bbppm-v4575-records>.bbppm-v430-page-title{
  margin-bottom:14px;
}
.bbppm-v4575-records .bbppm-v430-page-title h1,
.bbppm-v4575-records>.bbppm-v430-page-title h1{
  font-size:clamp(25px,2.05vw,32px);
  letter-spacing:-.035em;
}
.bbppm-v4575-records .bbppm-v430-page-title p{
  max-width:920px;
  color:#5e736d;
}

/* Advanced unified list bar */
.bbppm-v4575-unified-listbar,
.bbppm-v430-filterbar.bbppm-v4570-list-control-bar,
.bbppm-v45-record-filter.bbppm-v4570-list-control-bar{
  position:relative;
  display:grid;
  grid-template-columns:minmax(420px,1.28fr) minmax(420px,.92fr);
  gap:12px;
  align-items:stretch;
  padding:12px;
  margin-bottom:16px;
  border:1px solid rgba(18,59,54,.13);
  border-radius:22px;
  background:
    radial-gradient(circle at 0% 0%,rgba(189,231,215,.42),transparent 34%),
    linear-gradient(135deg,#fff 0%,#fbfaf7 58%,#f2f8f5 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.88) inset,0 12px 32px rgba(18,59,54,.075);
  overflow:visible;
}
.bbppm-v4575-unified-listbar:before{
  content:"";
  position:absolute;
  left:16px;right:16px;top:-1px;height:3px;
  border-radius:99px;
  background:linear-gradient(90deg,#00B5A1,#BDE7D7,#EE714E);
  opacity:.9;
}
.bbppm-v4575-unified-listbar__filters{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(150px,210px) auto auto;
  gap:10px;
  align-items:end;
  min-width:0;
}
.bbppm-v4575-field{
  display:grid;
  gap:6px;
  min-width:0;
}
.bbppm-v4575-field>span:first-child,
.bbppm-v4575-date-range>span:first-child{
  color:#284942;
  font-size:10.5px;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:900;
}
.bbppm-v4575-inputwrap,
.bbppm-v4575-unified-listbar :is(input[type="search"],input[type="date"],select){
  min-height:42px;
  border-radius:14px;
  border-color:rgba(18,59,54,.18);
  background:#fff;
  box-shadow:0 1px 2px rgba(18,59,54,.04);
}
.bbppm-v4575-inputwrap{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 12px;
}
.bbppm-v4575-inputwrap input{
  border:0;
  box-shadow:none;
  background:transparent;
  min-height:40px;
  width:100%;
  padding:0;
  font-weight:650;
  color:#123B36;
}
.bbppm-v4575-inputwrap:focus-within,
.bbppm-v4575-unified-listbar :is(input[type="search"],input[type="date"],select):focus{
  outline:3px solid rgba(0,181,161,.17);
  border-color:#00a894;
}
.bbppm-v4575-search-button,.bbppm-v4575-clear-button,
.bbppm-v4575-unified-listbar .bbppm-v45-button,
.bbppm-v4575-actions :is(a,button){
  min-height:42px;
  border-radius:14px;
  padding-inline:14px;
  font-weight:850;
  white-space:nowrap;
}
.bbppm-v4575-search-button{
  background:#123B36;
  color:#fff;
  border-color:#123B36;
}
.bbppm-v4575-clear-button{
  background:#fff;
  color:#52665f;
}
.bbppm-v4575-unified-listbar__summary{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto auto auto;
  gap:8px;
  align-items:center;
  min-height:64px;
  padding:8px;
  border:1px solid rgba(18,59,54,.10);
  border-radius:18px;
  background:rgba(255,255,255,.76);
  box-shadow:0 1px 0 rgba(255,255,255,.85) inset;
}
.bbppm-v4575-mini-kpis{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.bbppm-v4575-mini-kpi{
  min-width:68px;
  padding:8px 9px;
  border-radius:15px;
  border:1px solid rgba(18,59,54,.12);
  background:linear-gradient(180deg,#fff,#f8fbf9);
  text-align:center;
  box-shadow:0 1px 2px rgba(18,59,54,.04);
}
.bbppm-v4575-mini-kpi strong{
  color:#123B36;
  font-size:18px;
  line-height:1;
  letter-spacing:-.025em;
}
.bbppm-v4575-mini-kpi small{
  margin-top:4px;
  display:block;
  color:#657873;
  font-size:9px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.bbppm-v4575-status-chips{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  overflow:auto;
  scrollbar-width:none;
  padding:1px;
}
.bbppm-v4575-status-chips::-webkit-scrollbar{display:none}
.bbppm-v4575-status-chips .bbppm-v454-badge{
  min-height:28px;
  border-radius:999px;
  padding:5px 10px;
  border:1px solid rgba(18,59,54,.10);
  background:#f7f8f5;
  color:#4b625b;
  white-space:nowrap;
}
.bbppm-v4575-rows{
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  color:#52665f;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.055em;
  font-size:10px;
}
.bbppm-v4575-rows select{
  min-height:36px;
  max-width:76px;
  padding-block:4px;
}
.bbppm-v4575-view-toggle{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:4px;
  border:1px solid rgba(18,59,54,.12);
  border-radius:16px;
  background:#fff;
}
.bbppm-v4575-view-toggle .bbppm-v45-button{
  min-height:34px;
  border:0;
  border-radius:12px;
  padding:0 12px;
  background:transparent;
  box-shadow:none;
}
.bbppm-v4575-view-toggle .bbppm-v45-button[aria-pressed="true"]{
  background:#00a894;
  color:#fff;
  box-shadow:0 8px 16px rgba(0,168,148,.18);
}
.bbppm-v4575-actions{
  display:flex;
  gap:7px;
  justify-content:flex-end;
  align-items:center;
}
.bbppm-v4575-actions :is(a,button){
  box-shadow:0 1px 2px rgba(18,59,54,.05);
}

/* Better cards: useful readable cards, not cramped table fragments. */
.bbppm-v4575-records .bbppm-v430-panel,
.bbppm-v4575-records .bbppm-v430-panel.bbppm-v430-panel--flush,
.bbppm-v4575-records .bbppm-v45-record-table,
.bbppm-v4575-records .bbppm-v45-record-cards{
  background:transparent;
  border:0;
  box-shadow:none;
}
.bbppm-v4575-records.is-view-cards .bbppm-v45-record-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(410px,100%),1fr));
  gap:16px;
  padding:0;
  align-items:stretch;
}
.bbppm-v4575-records .bbppm-v45-record-cards article{
  position:relative;
  overflow:hidden;
  min-height:0;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(18,59,54,.13);
  background:linear-gradient(180deg,#ffffff 0%,#fbfaf7 100%);
  box-shadow:0 1px 0 rgba(255,255,255,.88) inset,0 10px 28px rgba(18,59,54,.075);
}
.bbppm-v4575-records .bbppm-v45-record-cards article:before{
  content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,#00B5A1,#BDE7D7,#EE714E);opacity:.72;
}
.bbppm-v4575-records .bbppm-v45-record-cards article>div:first-child{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:10px;
  min-height:42px;
  margin:0 0 12px;
}
.bbppm-v4575-records .bbppm-v45-record-cards article button.bb\:text-left,
.bbppm-v4575-records .bbppm-v45-record-cards article h3,
.bbppm-v4575-records .bbppm-v45-record-cards article strong{
  color:#123B36;
  font-weight:900;
  line-height:1.22;
  word-break:normal;
  overflow-wrap:anywhere;
  hyphens:auto;
}
.bbppm-v4575-records .bbppm-v45-record-cards article>div:first-child small,
.bbppm-v4575-records .bbppm-v45-record-cards article>div:first-child span:not(.dashicons){
  color:#5f746e;
  line-height:1.35;
}
.bbppm-v4575-records .bbppm-v45-record-cards dl{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin:10px 0 12px;
}
.bbppm-v4575-records .bbppm-v45-record-cards dl>div{
  min-height:70px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:11px;
  border-radius:16px;
  border:1px solid rgba(18,59,54,.11);
  background:linear-gradient(180deg,#fff,#f7faf8);
}
.bbppm-v4575-records .bbppm-v45-record-cards dt{
  margin:0 0 6px;
  color:#667b74;
  font-size:9.5px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bbppm-v4575-records .bbppm-v45-record-cards dd{
  margin:0;
  color:#123B36;
  font-size:13px;
  font-weight:850;
  line-height:1.25;
  word-break:normal;
  overflow-wrap:anywhere;
}
.bbppm-v4575-records .bbppm-v45-record-cards article :is(a,button).bbppm-v45-button,
.bbppm-v4575-records .bbppm-v45-record-cards article :is(a,button).bbppm-v42-route-button,
.bbppm-v4575-records .bbppm-v45-record-cards article :is(a,button):not(.bb\:text-left){
  min-height:42px;
  border-radius:14px;
  font-weight:850;
}
.bbppm-v4575-records .bbppm-v45-record-cards article .bb\:grid,
.bbppm-v4575-records .bbppm-v45-record-cards article .bb\:flex{
  gap:8px;
}
.bbppm-v4575-records.is-view-list .bbppm-v45-record-table{
  display:block;
  overflow:auto;
  border:1px solid rgba(18,59,54,.12);
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 26px rgba(18,59,54,.055);
}
.bbppm-v4575-records.is-view-list .bbppm-v45-record-table table{
  min-width:980px;
  border-spacing:0;
}

/* Legacy job/customer tables receive a similar polish while they migrate to the shared record component. */
.bbppm-v430-table-wrap{
  border-radius:20px;
  border:1px solid rgba(18,59,54,.12);
  background:#fff;
  box-shadow:0 10px 26px rgba(18,59,54,.055);
}
.bbppm-v430-table-wrap table thead tr{background:#f7faf8}
.bbppm-v430-table-wrap table th{color:#5f746e;font-weight:900;letter-spacing:.055em}

@media(max-width:1380px){
  .bbppm-v4575-unified-listbar{grid-template-columns:1fr}
  .bbppm-v4575-unified-listbar__summary{grid-template-columns:auto minmax(0,1fr) auto auto}
  .bbppm-v4575-actions{justify-content:flex-start}
}
@media(max-width:980px){
  .bbppm-v4575-unified-listbar__filters{grid-template-columns:1fr 190px auto}
  .bbppm-v4575-unified-listbar__filters .bbppm-v4575-clear-button{grid-column:auto}
  .bbppm-v4575-records.is-view-cards .bbppm-v45-record-cards{grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr))}
}
@media(max-width:782px){
  .bbppm-v4575-records .bbppm-v430-page-title{margin-bottom:10px}
  .bbppm-v4575-unified-listbar{
    grid-template-columns:1fr;
    padding:10px;
    gap:10px;
    border-radius:20px;
    margin-bottom:12px;
  }
  .bbppm-v4575-unified-listbar__filters{grid-template-columns:1fr;gap:8px}
  .bbppm-v4575-search-button,.bbppm-v4575-clear-button{width:100%;justify-content:center}
  .bbppm-v4575-unified-listbar__summary{grid-template-columns:1fr;min-height:0;padding:8px;gap:9px}
  .bbppm-v4575-mini-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .bbppm-v4575-mini-kpi{min-width:0;padding:7px}
  .bbppm-v4575-status-chips{padding-bottom:2px}
  .bbppm-v4575-rows{justify-content:space-between}
  .bbppm-v4575-view-toggle{display:grid;grid-template-columns:1fr 1fr;width:100%;box-sizing:border-box}
  .bbppm-v4575-view-toggle .bbppm-v45-button{min-height:38px}
  .bbppm-v4575-actions{display:grid;grid-template-columns:1fr;width:100%}
  .bbppm-v4575-actions>*{justify-content:center;text-align:center;width:100%}
  .bbppm-v4575-records.is-view-cards .bbppm-v45-record-cards{grid-template-columns:1fr;gap:10px}
  .bbppm-v4575-records .bbppm-v45-record-cards article{padding:13px;border-radius:18px}
  .bbppm-v4575-records .bbppm-v45-record-cards dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .bbppm-v4575-records .bbppm-v45-record-cards dl>div{min-height:60px;padding:9px;border-radius:14px}
}
@media(max-width:420px){
  .bbppm-v4575-unified-listbar{margin-left:-2px;margin-right:-2px}
  .bbppm-v4575-mini-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bbppm-v4575-mini-kpi strong{font-size:16px}
  .bbppm-v4575-mini-kpi small{font-size:8px}
  .bbppm-v4575-records .bbppm-v45-record-cards dl{grid-template-columns:1fr 1fr}
  .bbppm-v4575-records .bbppm-v45-record-cards dt{font-size:8.5px}
  .bbppm-v4575-records .bbppm-v45-record-cards dd{font-size:12px}
}


/* ===== v4.5.80 P10-BJ — relationship-aware composer selectors ===== */
.bbppm-v451-entity-results{
  overflow:auto;
  max-height:min(420px,52vh);
  border-radius:18px;
  border:1px solid color-mix(in srgb,var(--bb-v42-border,#d8e3dc) 84%,#0f766e 16%);
  box-shadow:0 18px 44px rgba(15,59,54,.16);
  padding:8px;
}
.bbppm-v4580-context-note{
  margin:2px 2px 8px;
  padding:9px 11px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(189,231,215,.58),rgba(247,244,237,.9));
  color:#16433d;
  font-size:12px;
  font-weight:800;
  letter-spacing:.01em;
}
.bbppm-v451-option.bbppm-v4580-option{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  width:100%;
  min-height:52px;
  padding:11px 13px;
  border-radius:12px;
  text-align:left;
  line-height:1.25;
}
.bbppm-v4580-option__label{
  color:#103b36;
  font-size:14px;
  font-weight:850;
}
.bbppm-v4580-option__subtitle{
  color:#526b67;
  font-size:12px;
  font-weight:650;
  white-space:normal;
}
.bbppm-v451-option.bbppm-v4580-option:hover,
.bbppm-v451-option.bbppm-v4580-option:focus{
  background:rgba(189,231,215,.42);
  outline:2px solid rgba(238,113,78,.25);
  outline-offset:1px;
}
@media (max-width: 640px){
  .bbppm-v451-entity-results{max-height:58vh;border-radius:16px;padding:7px;}
  .bbppm-v451-option.bbppm-v4580-option{min-height:58px;padding:12px 13px;}
}


/* v4.5.81 P10-BK — sticky header language/theme/Page Guide polish + light/dark hardening. */
.bbppm-v430-app .bbppm-v42-topbar{box-shadow:0 1px 0 rgba(18,59,54,.06),0 10px 28px rgba(15,23,42,.045);}
.bbppm-v430-app .bbppm-v430-topbar-inner{min-width:0;}
.bbppm-v430-app .bbppm-v4581-topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:max-content;white-space:nowrap;}
.bbppm-v430-app .bbppm-v4581-topbar-actions :is(button,a){transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease,color .16s ease;}
.bbppm-v430-app .bbppm-v4581-topbar-actions :is(.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){height:44px;min-width:44px;border:1px solid var(--bb-v42-border);border-radius:15px;background:color-mix(in srgb,var(--bb-v42-surface) 94%,transparent);color:var(--bb-v42-text);box-shadow:0 1px 0 rgba(18,59,54,.04),0 8px 20px rgba(15,23,42,.045);}
.bbppm-v430-app .bbppm-v4581-topbar-actions :is(.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile):hover{background:var(--bb-v42-hover);border-color:color-mix(in srgb,var(--bb-v42-primary) 32%,var(--bb-v42-border));transform:translateY(-1px);}
.bbppm-v430-app .bbppm-v42-quick-add{height:44px;border-radius:15px;box-shadow:0 8px 18px rgba(18,59,54,.18),inset 0 1px 0 rgba(255,255,255,.22);}
.bbppm-v430-app .bbppm-v4521-workspaces-trigger,.bbppm-v430-app .bbppm-v4564-page-guide-trigger,.bbppm-v430-app .bbppm-v4581-language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;font-size:13px;font-weight:800;text-decoration:none;}
.bbppm-v430-app .bbppm-v4564-page-guide-trigger>.dashicons{display:none;}
.bbppm-v430-app .bbppm-v4564-page-guide-trigger::before{content:"?";display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:8px;background:color-mix(in srgb,var(--bb-v42-action-primary) 14%,var(--bb-v42-surface));color:var(--bb-v42-action-primary);font-size:13px;font-weight:950;line-height:1;}
.bbppm-v430-app .bbppm-v4581-language-trigger{padding:0 12px;}
.bbppm-v430-app .bbppm-v4581-language-code{font-weight:900;font-size:12px;letter-spacing:.04em;text-transform:uppercase;}
.bbppm-v430-app .bbppm-v4581-language-menu-panel{right:0;left:auto;width:min(340px,calc(100vw - 24px));}
.bbppm-v430-app .bbppm-v4581-language-option.is-current{border-color:color-mix(in srgb,var(--bb-v42-primary) 34%,var(--bb-v42-border));background:color-mix(in srgb,var(--bb-v42-primary) 9%,var(--bb-v42-surface));}
.bbppm-v430-app[data-bbppm-theme="dark"]{color-scheme:dark;}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v42-topbar{background:rgba(10,23,21,.92);border-color:#28423c;box-shadow:0 1px 0 rgba(255,255,255,.04),0 18px 38px rgba(0,0,0,.28);}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v430-content,.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v42-main{background:linear-gradient(180deg,#0A1715,#071210);}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v45-card,.bbppm-v452-record-card,.bbppm-v430-popup-menu,.bbppm-v4571-command-menu,.bbppm-v45-filter-bar,.bbppm-v4570-list-control-bar,.bbppm-v451-section,.bbppm-v4521-context-card,.bbppm-os-panel,.bbppm-os-health){background:#102622;border-color:#29443D;color:#F4F8F6;box-shadow:0 12px 30px rgba(0,0,0,.28);}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(input,select,textarea,.bbppm-v451-entity-search,.bbppm-v451-field input,.bbppm-v451-field select,.bbppm-v451-field textarea){background:#0D211D;border-color:#35534b;color:#F4F8F6;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(input,select,textarea)::placeholder{color:#9FB2AB;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v4571-command-item,.bbppm-v45-button,.bbppm-ui-button,button.button,a.button){border-color:#29443D;color:#F4F8F6;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v4571-command-item:hover,.bbppm-v45-button:hover,.bbppm-ui-button:hover){background:#193831;}
@media (max-width:1280px){
  .bbppm-v430-app .bbppm-v4581-topbar-actions{gap:7px;}
  .bbppm-v430-app .bbppm-v4521-workspaces-trigger span,
  .bbppm-v430-app .bbppm-v4564-page-guide-trigger span,
  .bbppm-v430-app .bbppm-v42-quick-add span{display:none;}
  .bbppm-v430-app .bbppm-v4521-workspaces-trigger,.bbppm-v430-app .bbppm-v4564-page-guide-trigger{padding:0;width:44px;}
}
@media (max-width:640px){
  .bbppm-v430-app .bbppm-v430-topbar-inner{height:64px;padding-inline:10px;gap:7px;}
  .bbppm-v430-app .bbppm-v4581-topbar-actions{gap:6px;}
  .bbppm-v430-app .bbppm-v42-menu-toggle,
  .bbppm-v430-app .bbppm-v4581-topbar-actions :is(.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){width:42px;height:42px;min-width:42px;border-radius:14px;padding:0;}
  .bbppm-v430-app .bbppm-v42-theme-toggle,.bbppm-v430-app .bbppm-v430-notifications{display:none;}
  .bbppm-v430-app .bbppm-v42-quick-add{width:54px;min-width:54px;height:44px;justify-content:center;padding:0;border-radius:15px;}
  .bbppm-v430-app .bbppm-v4581-language-code{font-size:11px;}
  .bbppm-v430-app .bbppm-v4564-page-guide-trigger::before{width:20px;height:20px;font-size:13px;}
}
@media (max-width:380px){
  .bbppm-v430-app .bbppm-v430-topbar-inner{padding-inline:8px;gap:5px;}
  .bbppm-v430-app .bbppm-v4581-topbar-actions{gap:5px;}
  .bbppm-v430-app .bbppm-v42-quick-add{width:50px;min-width:50px;}
  .bbppm-v430-app .bbppm-v42-menu-toggle,
  .bbppm-v430-app .bbppm-v4581-topbar-actions :is(.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v42-profile){width:40px;min-width:40px;height:40px;}
}


/* v4.5.82 P10-BL — final sticky header, language/Page Guide, and theme hardening pass. */
.bbppm-v430-app .bbppm-v42-topbar{background:color-mix(in srgb,var(--bb-v42-bg) 94%,#fff 6%);backdrop-filter:blur(16px) saturate(1.18);-webkit-backdrop-filter:blur(16px) saturate(1.18);box-shadow:0 1px 0 rgba(15,23,42,.06),0 14px 34px rgba(15,23,42,.055);}
.bbppm-v430-app .bbppm-v430-topbar-inner{height:68px;min-height:68px;padding-inline:clamp(12px,1.4vw,24px);gap:10px;}
.bbppm-v430-app .bbppm-v4582-topbar-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;max-width:100%;white-space:nowrap;}
.bbppm-v430-app .bbppm-v4582-topbar-actions :is(button,a){box-sizing:border-box;touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){display:inline-flex;align-items:center;justify-content:center;height:42px;min-width:42px;border:1px solid color-mix(in srgb,var(--bb-v42-border) 86%,transparent);border-radius:14px;background:linear-gradient(180deg,color-mix(in srgb,var(--bb-v42-surface) 96%,#fff 4%),var(--bb-v42-surface));color:var(--bb-v42-text);box-shadow:0 1px 0 rgba(255,255,255,.7) inset,0 7px 20px rgba(15,23,42,.055);line-height:1;text-decoration:none;}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile):hover{border-color:color-mix(in srgb,var(--bb-v42-primary) 34%,var(--bb-v42-border));background:color-mix(in srgb,var(--bb-v42-primary) 7%,var(--bb-v42-surface));transform:translateY(-1px);}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile):focus-visible{outline:3px solid color-mix(in srgb,var(--bb-v42-action-primary) 36%,transparent);outline-offset:2px;}
.bbppm-v430-app .bbppm-v42-quick-add{height:44px;min-width:54px;border-radius:15px;border:1px solid color-mix(in srgb,var(--bb-v42-primary) 72%,#000);background:linear-gradient(180deg,#08B3A6,#009886);color:#062421;box-shadow:0 10px 24px rgba(0,152,134,.24),inset 0 1px 0 rgba(255,255,255,.35);font-weight:900;}
.bbppm-v430-app .bbppm-v42-quick-add .dashicons{font-size:18px;width:18px;height:18px;}
.bbppm-v430-app .bbppm-v4521-workspaces-trigger,.bbppm-v430-app .bbppm-v4564-page-guide-trigger,.bbppm-v430-app .bbppm-v4581-language-trigger{padding:0 12px;gap:8px;font-size:13px;font-weight:850;}
.bbppm-v430-app .bbppm-v4582-language-icon,.bbppm-v430-app .bbppm-v4582-page-guide-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;min-width:20px;border-radius:8px;background:color-mix(in srgb,var(--bb-v42-action-primary) 12%,var(--bb-v42-surface));color:var(--bb-v42-action-primary);font-size:13px;font-weight:950;line-height:1;font-family:system-ui,-apple-system,Segoe UI,sans-serif;}
.bbppm-v430-app .bbppm-v4564-page-guide-trigger>.dashicons{display:none;}
.bbppm-v430-app .bbppm-v4564-page-guide-trigger::before{content:none;}
.bbppm-v430-app .bbppm-v4581-language-code{font-weight:950;font-size:11px;letter-spacing:.05em;text-transform:uppercase;}
.bbppm-v430-app .bbppm-v4581-language-menu-panel{position:absolute;right:0;left:auto;top:calc(100% + 10px);width:min(360px,calc(100vw - 24px));max-height:min(520px,calc(100vh - 92px));overflow:auto;z-index:9999;}
.bbppm-v430-app .bbppm-v4581-language-option.is-current{border-color:color-mix(in srgb,var(--bb-v42-primary) 38%,var(--bb-v42-border));background:color-mix(in srgb,var(--bb-v42-primary) 10%,var(--bb-v42-surface));}
.bbppm-v430-app .bbppm-v430-popup-menu,.bbppm-v430-app .bbppm-v4571-command-menu{z-index:9999;}
.bbppm-v430-app .bbppm-v430-topbar-inner .bbppm-v430-search{min-width:280px;}
@media (max-width:1500px){
  .bbppm-v430-app .bbppm-v4521-workspaces-trigger span,.bbppm-v430-app .bbppm-v4564-page-guide-trigger span{display:none;}
  .bbppm-v430-app .bbppm-v4521-workspaces-trigger,.bbppm-v430-app .bbppm-v4564-page-guide-trigger{width:42px;min-width:42px;padding:0;}
}
@media (max-width:1100px){
  .bbppm-v430-app .bbppm-v430-topbar-inner .bbppm-v430-search{display:none;}
}
@media (max-width:640px){
  .bbppm-v430-app .bbppm-v430-topbar-inner{height:58px;min-height:58px;padding-inline:8px;gap:6px;}
  .bbppm-v430-app .bbppm-v4582-topbar-actions{gap:5px;}
  .bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){width:38px;height:38px;min-width:38px;border-radius:13px;padding:0;}
  .bbppm-v430-app .bbppm-v42-quick-add{width:48px;min-width:48px;height:40px;padding:0;border-radius:14px;}
  .bbppm-v430-app .bbppm-v42-quick-add span{display:none;}
  .bbppm-v430-app .bbppm-v4582-language-icon,.bbppm-v430-app .bbppm-v4582-page-guide-icon{width:18px;height:18px;min-width:18px;font-size:12px;border-radius:7px;}
  .bbppm-v430-app .bbppm-v4581-language-code{display:none;}
}
@media (max-width:380px){
  .bbppm-v430-app .bbppm-v430-topbar-inner{padding-inline:6px;gap:4px;}
  .bbppm-v430-app .bbppm-v4582-topbar-actions{gap:4px;}
  .bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){width:36px;height:36px;min-width:36px;border-radius:12px;}
  .bbppm-v430-app .bbppm-v42-quick-add{width:44px;min-width:44px;height:38px;}
}
/* Dark/light readability hardening for the entire management surface. */
.bbppm-v430-app[data-bbppm-theme="dark"],.bbppm-v430-app.bbppm-theme-dark{color-scheme:dark;--bb-v42-bg:#071210;--bb-v42-surface:#102622;--bb-v42-surface-2:#132D28;--bb-v42-text:#F4F8F6;--bb-v42-muted:#A8B8B2;--bb-v42-border:#29443D;--bb-v42-hover:#193831;}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v42-topbar{background:rgba(7,18,16,.94);border-color:#29443D;box-shadow:0 1px 0 rgba(255,255,255,.05),0 18px 44px rgba(0,0,0,.30);}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v45-card,.bbppm-v452-record-card,.bbppm-v430-popup-menu,.bbppm-v4571-command-menu,.bbppm-v45-filter-bar,.bbppm-v4570-list-control-bar,.bbppm-v451-section,.bbppm-v4521-context-card,.bbppm-os-panel,.bbppm-os-health,.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v430-modal,.bbppm-v451-composer-card){background:#102622;border-color:#29443D;color:#F4F8F6;box-shadow:0 14px 34px rgba(0,0,0,.30);}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(input,select,textarea,.bbppm-v451-entity-search,.bbppm-v451-field input,.bbppm-v451-field select,.bbppm-v451-field textarea,.bbppm-v4570-search-input){background:#0D211D;border-color:#35534B;color:#F4F8F6;box-shadow:none;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(input,select,textarea)::placeholder{color:#9FB2AB;opacity:1;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v4571-command-item,.bbppm-v45-button,.bbppm-ui-button,button.button,a.button,.bbppm-v4570-chip){border-color:#35534B;color:#F4F8F6;background:#132D28;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v4571-command-item:hover,.bbppm-v45-button:hover,.bbppm-ui-button:hover,button.button:hover,a.button:hover){background:#193831;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){background:linear-gradient(180deg,#132D28,#102622);border-color:#35534B;color:#F4F8F6;box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 10px 24px rgba(0,0,0,.24);}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v42-quick-add{background:linear-gradient(180deg,#17C7B8,#03A894);color:#062421;}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4582-language-icon,.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4582-page-guide-icon{background:rgba(238,113,78,.16);color:#FFB299;}


/* v4.5.84 P10-BN — responsive system hardening across management shell, lists, composers and modals. */
:root{
  --bbppm-bn-mobile-header:58px;
  --bbppm-bn-mobile-nav:72px;
  --bbppm-bn-safe-bottom:env(safe-area-inset-bottom,0px);
  --bbppm-bn-shell-gutter:clamp(10px,1.4vw,22px);
  --bbppm-bn-card-radius:16px;
}
html:has(.bbppm-v430-app),body:has(.bbppm-v430-app),
html:has(.bbppm-admin-ui),body:has(.bbppm-admin-ui){
  max-width:100%;
  overflow-x:hidden;
}
.bbppm-v430-app,.bbppm-admin-ui,.bbppm-v4-workspace,.bbppm-app-shell,.bbppm-stage06-app{
  max-width:100%;
  min-width:0;
  overflow-x:clip;
  box-sizing:border-box;
}
.bbppm-v430-app *,
.bbppm-admin-ui *,
.bbppm-v4-workspace *,
.bbppm-stage06-app *{
  box-sizing:border-box;
  min-width:0;
}
.bbppm-v430-main,
.bbppm-v42-main,
.bbppm-v430-content,
.bbppm-v430-page,
.bbppm-v45-workspace,
.bbppm-v451-composer,
.bbppm-v452-record360,
.bbppm-v4575-list-workspace,
.bbppm-v4579-list-workspace{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow-x:clip;
}
.bbppm-v430-app :is(img,svg,video,canvas,iframe){max-width:100%;}
.bbppm-v430-app :is(h1,h2,h3,h4,p,span,strong,small,td,th,button,a,label){overflow-wrap:anywhere;}
.bbppm-v430-app .bbppm-v42-topbar{
  position:sticky;
  top:0;
  z-index:900;
  width:100%;
  max-width:100%;
  overflow:visible;
  border-bottom:1px solid color-mix(in srgb,var(--bb-v42-border,#D8E0DD) 78%,transparent);
}
.bbppm-v430-app .bbppm-v430-topbar-inner,
.bbppm-v430-app .bbppm-v42-topbar-inner{
  width:100%;
  max-width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
  padding-inline:clamp(8px,1.1vw,18px);
}
.bbppm-v430-app .bbppm-v430-topbar-inner > *,
.bbppm-v430-app .bbppm-v42-topbar-inner > *{flex:0 0 auto;}
.bbppm-v430-app .bbppm-v430-topbar-inner .bbppm-v430-search,
.bbppm-v430-app .bbppm-v42-topbar-search,
.bbppm-v430-app .bbppm-v42-global-search{
  flex:1 1 360px;
  min-width:220px;
  max-width:520px;
}
.bbppm-v430-app .bbppm-v4582-topbar-actions,
.bbppm-v430-app .bbppm-v4581-topbar-actions,
.bbppm-v430-app .bbppm-v42-actions{
  margin-left:auto;
  min-width:0;
  max-width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:7px;
}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile,.bbppm-v42-profile-trigger){
  flex:0 0 auto;
  width:auto;
  min-width:42px;
  height:42px;
  max-width:150px;
  border-radius:14px;
  white-space:nowrap;
}
.bbppm-v430-app .bbppm-v42-quick-add{
  flex:0 0 auto;
  min-width:54px;
  height:44px;
  border-radius:14px;
  white-space:nowrap;
}
@media (max-width:1320px){
  .bbppm-v430-app .bbppm-v430-topbar-inner .bbppm-v430-search,
  .bbppm-v430-app .bbppm-v42-topbar-search,
  .bbppm-v430-app .bbppm-v42-global-search{max-width:360px;}
  .bbppm-v430-app .bbppm-v4521-workspaces-trigger span,
  .bbppm-v430-app .bbppm-v4564-page-guide-trigger span{display:none;}
  .bbppm-v430-app :is(.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger){width:42px;min-width:42px;padding-inline:0;justify-content:center;}
}
@media (max-width:1024px){
  .bbppm-v430-app .bbppm-v430-topbar-inner .bbppm-v430-search,
  .bbppm-v430-app .bbppm-v42-topbar-search,
  .bbppm-v430-app .bbppm-v42-global-search{display:none;}
  .bbppm-v430-app .bbppm-v430-sidebar{width:min(82vw,320px);max-width:320px;}
}
@media (max-width:640px){
  .bbppm-v430-app{padding-bottom:calc(var(--bbppm-bn-mobile-nav) + var(--bbppm-bn-safe-bottom));}
  .bbppm-v430-app .bbppm-v42-topbar{min-height:var(--bbppm-bn-mobile-header);height:var(--bbppm-bn-mobile-header);}
  .bbppm-v430-app .bbppm-v430-topbar-inner,
  .bbppm-v430-app .bbppm-v42-topbar-inner{height:var(--bbppm-bn-mobile-header);min-height:var(--bbppm-bn-mobile-header);padding-inline:8px;gap:6px;}
  .bbppm-v430-app .bbppm-v4582-topbar-actions,
  .bbppm-v430-app .bbppm-v4581-topbar-actions,
  .bbppm-v430-app .bbppm-v42-actions{gap:5px;}
  .bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile,.bbppm-v42-profile-trigger){
    width:39px;min-width:39px;height:39px;max-width:39px;padding:0;justify-content:center;
  }
  .bbppm-v430-app .bbppm-v42-quick-add{width:52px;min-width:52px;height:42px;padding:0;justify-content:center;}
  .bbppm-v430-app .bbppm-v42-quick-add span{display:none;}
  .bbppm-v430-app .bbppm-v4581-language-code{display:none;}
  .bbppm-v430-app :is(.bbppm-v430-notifications:empty,.bbppm-v42-theme-toggle:empty,.bbppm-v4564-page-guide-trigger:empty){display:none;}
  .bbppm-v430-app .bbppm-v430-main,
  .bbppm-v430-app .bbppm-v42-main,
  .bbppm-v430-app .bbppm-v430-content{padding:12px 8px 92px;}
}
@media (max-width:380px){
  .bbppm-v430-app .bbppm-v430-topbar-inner,
  .bbppm-v430-app .bbppm-v42-topbar-inner{padding-inline:6px;gap:4px;}
  .bbppm-v430-app .bbppm-v4582-topbar-actions,
  .bbppm-v430-app .bbppm-v4581-topbar-actions{gap:4px;}
  .bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile,.bbppm-v42-profile-trigger){width:36px;min-width:36px;height:36px;max-width:36px;border-radius:12px;}
  .bbppm-v430-app .bbppm-v42-quick-add{width:46px;min-width:46px;height:38px;}
}
/* Sidebar/drawer behavior. */
.bbppm-v430-app .bbppm-v430-sidebar{
  min-width:0;
  overflow-x:hidden;
  overscroll-behavior:contain;
}
.bbppm-v430-app .bbppm-v430-sidebar :is(a,button,.bbppm-v430-nav-item){max-width:100%;white-space:normal;overflow-wrap:anywhere;}
@media (max-width:1024px){
  .bbppm-v430-app .bbppm-v430-sidebar{position:fixed;inset:0 auto 0 0;z-index:980;height:100dvh;max-height:100dvh;padding-bottom:calc(var(--bbppm-bn-mobile-nav) + var(--bbppm-bn-safe-bottom) + 14px);transform:translateX(-104%);transition:transform .22s ease;box-shadow:26px 0 70px rgba(0,0,0,.24);}
  .bbppm-v430-app.is-sidebar-open .bbppm-v430-sidebar,
  .bbppm-v430-app.bbppm-sidebar-open .bbppm-v430-sidebar,
  body.bbppm-sidebar-open .bbppm-v430-app .bbppm-v430-sidebar{transform:translateX(0);}
}
/* Unified list/filter/action bars. */
.bbppm-v430-app :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4579-list-toolbar){
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:visible;
  display:grid;
  grid-template-columns:minmax(260px,1.15fr) minmax(170px,.45fr) auto minmax(220px,.85fr);
  gap:10px;
  align-items:end;
  border-radius:18px;
}
.bbppm-v430-app :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar) :is(input,select,button,a){min-height:42px;}
.bbppm-v430-app :is(.bbppm-v4575-unified-listbar__filters,.bbppm-v4570-list-control-bar__filters,.bbppm-v45-record-filter__fields){display:grid;grid-template-columns:minmax(240px,1.3fr) minmax(160px,.45fr) auto;gap:8px;min-width:0;}
.bbppm-v430-app :is(.bbppm-v4575-unified-listbar__meta,.bbppm-v4570-list-control-bar__meta,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions){display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;min-width:0;}
.bbppm-v430-app :is(.bbppm-v4575-unified-listbar__chips,.bbppm-v4570-list-control-bar__chips){display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;}
@media (max-width:1180px){
  .bbppm-v430-app :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4579-list-toolbar){grid-template-columns:1fr;align-items:stretch;}
  .bbppm-v430-app :is(.bbppm-v4575-unified-listbar__meta,.bbppm-v4570-list-control-bar__meta,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions){justify-content:flex-start;}
}
@media (max-width:640px){
  .bbppm-v430-app :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4579-list-toolbar){padding:10px;border-radius:16px;gap:9px;}
  .bbppm-v430-app :is(.bbppm-v4575-unified-listbar__filters,.bbppm-v4570-list-control-bar__filters,.bbppm-v45-record-filter__fields){grid-template-columns:1fr;gap:8px;}
  .bbppm-v430-app :is(.bbppm-v4575-unified-listbar__meta,.bbppm-v4570-list-control-bar__meta,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
  .bbppm-v430-app :is(.bbppm-v4575-unified-listbar__meta,.bbppm-v4570-list-control-bar__meta,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions) > *{width:100%;justify-content:center;}
}
/* Responsive card/list records. */
.bbppm-v430-app :is(.bbppm-v4575-card-grid,.bbppm-v4579-card-grid,.bbppm-v452-record-grid,.bbppm-v45-card-grid,.bbppm-v430-card-grid,.bbppm-v45-grid){
  display:grid;
  width:100%;
  max-width:100%;
  min-width:0;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
  gap:14px;
  align-items:start;
}
.bbppm-v430-app :is(.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-card,.bbppm-v430-card){
  min-width:0;
  max-width:100%;
  overflow:hidden;
  border-radius:var(--bbppm-bn-card-radius);
}
.bbppm-v430-app :is(.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-card,.bbppm-v430-card) :is(.bbppm-v4579-card-title,.bbppm-v4575-card-title,h3,h4){
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.bbppm-v430-app :is(.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-card) :is(.bbppm-v4579-field-grid,.bbppm-v4575-card-fields,.bbppm-v45-metric-grid,.bbppm-v452-field-grid){
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
@media (min-width:1600px){
  .bbppm-v430-app :is(.bbppm-v4575-card-grid,.bbppm-v4579-card-grid,.bbppm-v452-record-grid,.bbppm-v45-card-grid,.bbppm-v430-card-grid){grid-template-columns:repeat(auto-fit,minmax(320px,1fr));}
}
@media (max-width:760px){
  .bbppm-v430-app :is(.bbppm-v4575-card-grid,.bbppm-v4579-card-grid,.bbppm-v452-record-grid,.bbppm-v45-card-grid,.bbppm-v430-card-grid){grid-template-columns:1fr;gap:10px;}
  .bbppm-v430-app :is(.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-card){padding:12px;}
  .bbppm-v430-app :is(.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-card) :is(.bbppm-v4579-field-grid,.bbppm-v4575-card-fields,.bbppm-v45-metric-grid,.bbppm-v452-field-grid){grid-template-columns:1fr 1fr;gap:7px;}
}
@media (max-width:420px){
  .bbppm-v430-app :is(.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-card) :is(.bbppm-v4579-field-grid,.bbppm-v4575-card-fields,.bbppm-v45-metric-grid,.bbppm-v452-field-grid){grid-template-columns:1fr;}
}
/* Tables and overflowing content must scroll locally, not stretch the whole app. */
.bbppm-v430-app :is(.bbppm-v45-table-wrap,.bbppm-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4579-table-wrap,.bbppm-v4575-table-wrap){
  width:100%;
  max-width:100%;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-inline:contain;
}
.bbppm-v430-app table{max-width:100%;}
.bbppm-v430-app :is(.bbppm-v45-table-wrap,.bbppm-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4579-table-wrap,.bbppm-v4575-table-wrap) table{min-width:760px;}
@media (max-width:760px){
  .bbppm-v430-app :is(.bbppm-v45-table-wrap,.bbppm-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4579-table-wrap,.bbppm-v4575-table-wrap){border-radius:14px;}
  .bbppm-v430-app :is(.bbppm-v45-table-wrap,.bbppm-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4579-table-wrap,.bbppm-v4575-table-wrap)::before{content:'Swipe table';display:block;padding:7px 10px;color:var(--bb-v42-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;background:var(--bb-v42-surface-2);border-bottom:1px solid var(--bb-v42-border);}
}
/* Composer/forms. */
.bbppm-v430-app :is(.bbppm-v451-form-grid,.bbppm-v45-form-grid,.bbppm-v4-form-grid,.bbppm-v430-form-grid,.bbppm-v4579-form-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.bbppm-v430-app :is(.bbppm-v451-field,.bbppm-v45-field,.bbppm-field){min-width:0;}
.bbppm-v430-app :is(input,select,textarea,.bbppm-v451-input){max-width:100%;}
.bbppm-v430-app .bbppm-v451-entity-results{left:0;right:0;max-width:min(100%,calc(100vw - 24px));z-index:9999;}
.bbppm-v430-app .bbppm-v45-sticky-save,
.bbppm-v430-app .bbppm-v451-sticky-save,
.bbppm-v430-app .bbppm-sticky-save,
.bbppm-v430-app .bbppm-v4575-sticky-save{max-width:100%;}
@media (max-width:760px){
  .bbppm-v430-app :is(.bbppm-v451-form-grid,.bbppm-v45-form-grid,.bbppm-v4-form-grid,.bbppm-v430-form-grid,.bbppm-v4579-form-grid){grid-template-columns:1fr;gap:11px;padding:12px;}
  .bbppm-v430-app :is(.bbppm-v451-section-head,.bbppm-v45-section-head,.bbppm-v430-section-head){padding:13px 14px;gap:8px;flex-direction:column;align-items:stretch;}
  .bbppm-v430-app .bbppm-v451-line-row{grid-template-columns:1fr;border:1px solid var(--bb-v42-border);border-radius:14px;padding:10px;background:var(--bb-v42-surface-2);}
  .bbppm-v430-app :is(.bbppm-v45-sticky-save,.bbppm-v451-sticky-save,.bbppm-sticky-save,.bbppm-v4575-sticky-save){position:sticky;bottom:calc(var(--bbppm-bn-mobile-nav) + var(--bbppm-bn-safe-bottom) + 10px);z-index:650;display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch;padding:10px;border-radius:16px;}
  .bbppm-v430-app :is(.bbppm-v45-sticky-save,.bbppm-v451-sticky-save,.bbppm-sticky-save,.bbppm-v4575-sticky-save) :is(button,a,.bbppm-v45-button){width:100%;justify-content:center;}
}
/* Modals, command menus, profile/language panels. */
.bbppm-v430-app :is(.bbppm-v430-modal,.bbppm-v4521-workspaces-modal,.bbppm-v4571-command-menu,.bbppm-v430-popup-menu,.bbppm-v4581-language-menu){
  max-width:min(94vw,720px);
  max-height:min(86dvh,760px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}
@media (max-width:640px){
  .bbppm-v430-app :is(.bbppm-v430-modal,.bbppm-v4521-workspaces-modal){width:calc(100vw - 20px);max-width:calc(100vw - 20px);margin:10px;border-radius:18px;}
  .bbppm-v430-app :is(.bbppm-v4571-command-menu,.bbppm-v430-popup-menu,.bbppm-v4581-language-menu){right:8px;left:auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);}
}
/* Page titles and actions should stack gracefully. */
.bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v45-page-header,.bbppm-v4579-page-head,.bbppm-v4575-page-head){display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v45-page-header,.bbppm-v4579-page-head,.bbppm-v4575-page-head) > *{min-width:0;}
@media (max-width:760px){
  .bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v45-page-header,.bbppm-v4579-page-head,.bbppm-v4575-page-head){display:block;}
  .bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v45-page-header,.bbppm-v4579-page-head,.bbppm-v4575-page-head) :is(h1,h2){font-size:clamp(22px,7vw,30px);line-height:1.12;}
}
/* Dark-mode readability pass for responsive surfaces. */
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4579-list-toolbar,.bbppm-v4575-list-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-card,.bbppm-v430-card){background:#102622;border-color:#29443D;color:#F4F8F6;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4579-list-toolbar) :is(input,select,button,a){border-color:#35534B;}


/* v4.5.85 P10-BO — Single Page UI Audit Center and common visual fixes. */
.bbppm-v4585-ui-audit{display:flex;flex-direction:column;gap:18px;width:100%;max-width:100%;min-width:0;}
.bbppm-v4585-audit-hero{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.bbppm-v4585-audit-hero article{border:1px solid var(--bb-v42-border,#d8e0dd);border-radius:18px;background:linear-gradient(135deg,var(--bb-v42-surface,#fff),color-mix(in srgb,var(--bb-v42-surface,#fff) 88%,var(--bb-v42-primary,#123B36) 12%));box-shadow:var(--bb-v42-shadow,0 10px 30px rgba(18,59,54,.08));padding:16px;min-width:0;}
.bbppm-v4585-audit-hero span{display:block;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--bb-v42-muted,#62706c);}
.bbppm-v4585-audit-hero strong{display:block;margin-top:7px;font-size:clamp(20px,2.4vw,32px);line-height:1.12;color:var(--bb-v42-text,#123B36);overflow-wrap:anywhere;}
.bbppm-v4585-audit-hero small{display:block;margin-top:5px;color:var(--bb-v42-muted,#62706c);}
.bbppm-v4585-scan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;}
.bbppm-v4585-audit-note{border:1px solid var(--bb-v42-border,#d8e0dd);border-radius:14px;padding:12px 14px;background:var(--bb-v42-soft,#f7f4ed);}
.bbppm-v4585-audit-note.is-success{border-color:color-mix(in srgb,#0f7a52 45%,var(--bb-v42-border,#d8e0dd));background:rgba(15,122,82,.07);}
.bbppm-v4585-audit-note.is-warning{border-color:rgba(238,113,78,.45);background:rgba(238,113,78,.08);}
.bbppm-v4585-audit-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:16px;align-items:start;}
.bbppm-v4585-page-list,.bbppm-v4585-fix-list{display:flex;flex-direction:column;gap:10px;}
.bbppm-v4585-page-row,.bbppm-v4585-fix-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid color-mix(in srgb,var(--bb-v42-border,#d8e0dd) 85%,transparent);border-radius:16px;background:color-mix(in srgb,var(--bb-v42-surface,#fff) 96%,var(--bb-v42-primary,#123B36) 4%);padding:13px 14px;}
.bbppm-v4585-page-row h3,.bbppm-v4585-fix-row h3{margin:0 0 4px;font-size:14px;line-height:1.25;color:var(--bb-v42-text,#123B36);}
.bbppm-v4585-page-row p,.bbppm-v4585-fix-row p{margin:0;font-size:12px;line-height:1.5;color:var(--bb-v42-muted,#62706c);}
.bbppm-v4585-page-row small{display:block;margin-top:6px;color:color-mix(in srgb,var(--bb-v42-muted,#62706c) 82%,var(--bb-v42-action-primary,#ee714e));}
.bbppm-v4585-fix-row{grid-template-columns:28px minmax(0,1fr);}
.bbppm-v4585-fix-row .dashicons{color:#0f7a52;background:rgba(15,122,82,.1);border-radius:999px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;}
.bbppm-v4585-checklist{margin:0;padding-left:22px;display:grid;gap:9px;color:var(--bb-v42-text,#123B36);}
@media (max-width:1100px){.bbppm-v4585-audit-hero,.bbppm-v4585-scan-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.bbppm-v4585-audit-grid{grid-template-columns:1fr;}}
@media (max-width:640px){.bbppm-v4585-audit-hero,.bbppm-v4585-scan-grid{grid-template-columns:1fr;}.bbppm-v4585-page-row{grid-template-columns:1fr;}.bbppm-v4585-page-row .bbppm-v45-button{width:100%;justify-content:center;}.bbppm-v4585-ui-audit{gap:12px;}.bbppm-v4585-audit-hero article{padding:13px;border-radius:16px;}}
/* Common fix safety net: single-page rhythm, not isolated page hacks. */
.bbppm-v430-app .bbppm-v430-content > .bbppm-v430-routebar,
.bbppm-v430-app .bbppm-routebar.is-duplicate,
.bbppm-v430-app .bbppm-v45-workspace > .bbppm-v430-routebar{display:none;}
.bbppm-v430-app :is(.bbppm-v4575-list-workspace,.bbppm-v4579-list-workspace,.bbppm-v4512-portfolio,.bbppm-v45-records-page){display:flex;flex-direction:column;gap:14px;width:100%;max-width:100%;min-width:0;}
.bbppm-v430-app :is(.bbppm-v4575-card,.bbppm-v4579-record-card,.bbppm-v4512-project-card,.bbppm-v45-record-card){word-break:normal;overflow-wrap:anywhere;hyphens:auto;}
.bbppm-v430-app :is(.bbppm-v4575-card__title,.bbppm-v4579-record-card__title,.bbppm-v4512-project-card__title){overflow-wrap:anywhere;word-break:normal;line-height:1.25;}
.bbppm-v430-app :is(.bbppm-v4575-field,.bbppm-v4579-card-field,.bbppm-v4512-project-card__metric){min-width:0;overflow:hidden;}
.bbppm-v430-app :is(.bbppm-v4575-field strong,.bbppm-v4579-card-field strong,.bbppm-v4512-project-card__metric strong){overflow-wrap:anywhere;word-break:normal;}
.bbppm-v430-app :is(.bbppm-v45-table-wrap,.bbppm-table-wrap,.bbppm-v4575-list-table-wrap){max-width:100%;overflow:auto;overscroll-behavior-x:contain;border-radius:16px;}
.bbppm-v430-app :is(.bbppm-v451-composer,.bbppm-v45-composer,.bbppm-record-composer) :is(input,select,textarea,.bbppm-entity-search){max-width:100%;min-width:0;}
.bbppm-v430-app :is(.bbppm-entity-results,.bbppm-v451-entity-results,.bbppm-v4580-entity-results){max-width:min(720px,calc(100vw - 28px));overflow:auto;overscroll-behavior:contain;}
.bbppm-v430-app :is(.bbppm-modal,.bbppm-command-panel,.bbppm-v4571-command-panel,.bbppm-v4521-workspace-modal,.bbppm-v4583-language-panel){max-width:min(96vw,720px);max-height:min(86vh,760px);overflow:auto;overscroll-behavior:contain;}
body.bbppm-theme-dark .bbppm-v4585-audit-hero article,
body[data-bbppm-theme="dark"] .bbppm-v4585-audit-hero article{background:linear-gradient(135deg,#112c29,#0f211f);border-color:rgba(189,231,215,.18);}
body.bbppm-theme-dark .bbppm-v4585-page-row,
body[data-bbppm-theme="dark"] .bbppm-v4585-page-row,
body.bbppm-theme-dark .bbppm-v4585-fix-row,
body[data-bbppm-theme="dark"] .bbppm-v4585-fix-row{background:#112622;border-color:rgba(189,231,215,.14);}


/* v4.5.86 P10-BP — Professional deep UI/UX audit polish: top-to-bottom shared visual system. */
:root{
  --bbp-bp-bg:#F7F4ED;
  --bbp-bp-surface:#FFFFFF;
  --bbp-bp-surface-2:#FBFAF6;
  --bbp-bp-text:#102B27;
  --bbp-bp-muted:#667671;
  --bbp-bp-border:rgba(18,59,54,.14);
  --bbp-bp-primary:#123B36;
  --bbp-bp-mint:#BDE7D7;
  --bbp-bp-coral:#EE714E;
  --bbp-bp-shadow-sm:0 6px 18px rgba(18,59,54,.08);
  --bbp-bp-shadow-md:0 18px 44px rgba(18,59,54,.13);
  --bbp-bp-radius-sm:12px;
  --bbp-bp-radius:18px;
  --bbp-bp-radius-lg:24px;
  --bbp-bp-gap:14px;
}
html.bbppm-ux-polish, html.bbppm-ux-polish body{scroll-behavior:smooth;}
.bbppm-v430-app, .bbppm-admin-wrap, .bbppm-cleaner-app{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  font-kerning:normal;
}
.bbppm-v430-app *{box-sizing:border-box;}
.bbppm-v430-app :where(h1,h2,h3,h4){letter-spacing:-.025em;text-wrap:balance;color:var(--bb-v42-text,var(--bbp-bp-text));}
.bbppm-v430-app :where(p,li,small,span){text-wrap:pretty;}
.bbppm-v430-app :where(button,a,input,select,textarea){font:inherit;}
.bbppm-v430-app :where(button,a,[role="button"],input,select,textarea):focus-visible,
.bbppm-cleaner-app :where(button,a,[role="button"],input,select,textarea):focus-visible{
  outline:3px solid color-mix(in srgb,var(--bbp-bp-coral) 75%,#fff 25%);
  outline-offset:3px;
  box-shadow:0 0 0 6px rgba(238,113,78,.14);
}

/* Layer 1 — Shell, sticky header and page frame. */
.bbppm-v430-app :is(.bbppm-v430-shell,.bbppm-v45-shell,.bbppm-application-shell){background:linear-gradient(180deg,#FBFAF6 0%,#F7F4ED 100%);}
.bbppm-v430-app :is(.bbppm-v430-main,.bbppm-v430-content,.bbppm-v45-content,.bbppm-app-content){min-width:0;max-width:100%;}
.bbppm-v430-app :is(.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-v4581-sticky-header,.bbppm-v4573-mobile-header,.bbppm-sticky-header){
  background:color-mix(in srgb,var(--bbp-bp-surface) 90%,transparent);
  border:1px solid rgba(18,59,54,.10);
  box-shadow:0 10px 34px rgba(18,59,54,.10);
  backdrop-filter:saturate(1.22) blur(18px);
  -webkit-backdrop-filter:saturate(1.22) blur(18px);
  border-radius:0 0 20px 20px;
}
.bbppm-v430-app :is(.bbppm-v430-topbar-actions,.bbppm-v4523-topbar-actions,.bbppm-v4581-header-actions,.bbppm-v4573-mobile-header__actions){gap:8px;align-items:center;min-width:0;}
.bbppm-v430-app :is(.bbppm-v430-topbar button,.bbppm-v430-topbar a,.bbppm-v4523-topbar button,.bbppm-v4523-topbar a,.bbppm-v4581-header-actions button,.bbppm-v4581-header-actions a,.bbppm-v4573-mobile-header button,.bbppm-v4573-mobile-header a){
  min-height:40px;
  border-radius:14px;
  border:1px solid rgba(18,59,54,.12);
  background:#fff;
  box-shadow:0 5px 14px rgba(18,59,54,.08);
  color:var(--bbp-bp-primary);
  font-weight:750;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.bbppm-v430-app :is(.bbppm-v430-topbar button:hover,.bbppm-v430-topbar a:hover,.bbppm-v4523-topbar button:hover,.bbppm-v4523-topbar a:hover,.bbppm-v4581-header-actions button:hover,.bbppm-v4581-header-actions a:hover){
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(18,59,54,.13);
}
.bbppm-v430-app :is(.bbppm-v430-topbar .bbppm-primary,.bbppm-quick-add,.bbppm-v4571-quick-add-trigger,.bbppm-v4523-quick-add){
  background:linear-gradient(135deg,#123B36,#1A5B50);
  color:#fff;
  border-color:rgba(18,59,54,.32);
  box-shadow:0 12px 26px rgba(18,59,54,.22);
}
@media (max-width:760px){
  .bbppm-v430-app :is(.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-v4581-sticky-header,.bbppm-v4573-mobile-header){border-radius:0 0 18px 18px;padding:8px 10px;}
  .bbppm-v430-app :is(.bbppm-v430-topbar button,.bbppm-v430-topbar a,.bbppm-v4523-topbar button,.bbppm-v4523-topbar a,.bbppm-v4581-header-actions button,.bbppm-v4581-header-actions a,.bbppm-v4573-mobile-header button,.bbppm-v4573-mobile-header a){min-width:38px;min-height:38px;padding:0 10px;font-size:12px;}
  .bbppm-v430-app :is(.bbppm-v430-topbar .bbppm-button-label,.bbppm-v4581-header-actions .bbppm-label,.bbppm-v4573-mobile-header .bbppm-label){max-width:74px;overflow:hidden;text-overflow:ellipsis;}
}

/* Layer 2 — Sidebar navigation and mobile drawer. */
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-v4523-sidebar,.bbppm-mobile-drawer,.bbppm-v4578-drawer){
  background:linear-gradient(180deg,#123B36 0%,#0F2C28 100%);
  border-right:1px solid rgba(189,231,215,.14);
  box-shadow:18px 0 48px rgba(10,35,31,.18);
}
.bbppm-v430-app :is(.bbppm-v430-sidebar a,.bbppm-v430-sidebar button,.bbppm-v4523-sidebar a,.bbppm-v4523-sidebar button,.bbppm-mobile-drawer a,.bbppm-mobile-drawer button){
  border-radius:14px;
  min-height:42px;
  padding:10px 12px;
  color:rgba(255,255,255,.82);
  transition:background .16s ease,transform .16s ease,color .16s ease;
}
.bbppm-v430-app :is(.bbppm-v430-sidebar a:hover,.bbppm-v430-sidebar button:hover,.bbppm-v4523-sidebar a:hover,.bbppm-v4523-sidebar button:hover,.bbppm-mobile-drawer a:hover,.bbppm-mobile-drawer button:hover){
  background:rgba(255,255,255,.09);
  color:#fff;
  transform:translateX(2px);
}
.bbppm-v430-app :is(.bbppm-v430-sidebar .is-active,.bbppm-v430-sidebar [aria-current="page"],.bbppm-v4523-sidebar .is-active,.bbppm-v4523-sidebar [aria-current="page"],.bbppm-mobile-drawer .is-active,.bbppm-mobile-drawer [aria-current="page"]){
  background:linear-gradient(135deg,rgba(189,231,215,.22),rgba(238,113,78,.18));
  color:#fff;
  box-shadow:inset 3px 0 0 var(--bbp-bp-coral),0 8px 22px rgba(0,0,0,.16);
}

/* Layer 3 — Page rhythm and content hierarchy. */
.bbppm-v430-app :is(.bbppm-v430-route,.bbppm-v45-workspace,.bbppm-v4575-list-workspace,.bbppm-v4579-list-workspace,.bbppm-v4585-ui-audit,.bbppm-v4512-portfolio){
  max-width:1540px;
  margin-inline:auto;
  padding-inline:clamp(12px,2vw,24px);
}
.bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v45-page-header,.bbppm-v4579-page-head,.bbppm-v4575-page-head,.bbppm-page-title){
  margin:0 0 14px;
  padding:clamp(14px,2vw,22px);
  border:1px solid rgba(18,59,54,.10);
  border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#FBFAF6 72%,rgba(189,231,215,.34) 100%);
  box-shadow:var(--bbp-bp-shadow-sm);
}
.bbppm-v430-app :is(.bbppm-v430-page-header h1,.bbppm-v45-page-header h1,.bbppm-v4579-page-head h1,.bbppm-v4575-page-head h1,.bbppm-page-title h1){
  font-size:clamp(24px,3.2vw,42px);
  line-height:1.05;
  margin-bottom:6px;
}
.bbppm-v430-app :is(.bbppm-v430-page-header p,.bbppm-v45-page-header p,.bbppm-v4579-page-head p,.bbppm-v4575-page-head p,.bbppm-page-title p){max-width:76ch;color:var(--bbp-bp-muted);line-height:1.55;}

/* Layer 4 — Professional list/filter/action decks. */
.bbppm-v430-app :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v4579-list-toolbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4512-project-controls){
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  padding:12px;
  border:1px solid rgba(18,59,54,.12);
  border-radius:22px;
  background:linear-gradient(135deg,#fff,#FBFAF6);
  box-shadow:0 14px 36px rgba(18,59,54,.10);
  overflow:visible;
}
.bbppm-v430-app :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v4579-list-toolbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4512-project-controls)::before{
  content:"";position:absolute;left:16px;right:16px;top:0;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--bbp-bp-primary),var(--bbp-bp-mint),var(--bbp-bp-coral));opacity:.86;
}
.bbppm-v430-app :is(.bbppm-v4570-list-control-bar input,.bbppm-v4570-list-control-bar select,.bbppm-v4575-unified-listbar input,.bbppm-v4575-unified-listbar select,.bbppm-v4579-list-toolbar input,.bbppm-v4579-list-toolbar select,.bbppm-v45-record-filter input,.bbppm-v45-record-filter select,.bbppm-v430-filterbar input,.bbppm-v430-filterbar select){
  min-height:44px;
  border-radius:14px;
  border:1px solid rgba(18,59,54,.16);
  background:#fff;
  color:var(--bbp-bp-text);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}
.bbppm-v430-app :is(.bbppm-v4570-list-control-bar button,.bbppm-v4575-unified-listbar button,.bbppm-v4579-list-toolbar button,.bbppm-v45-record-filter button,.bbppm-v430-filterbar button,.bbppm-v4512-project-controls button){
  min-height:42px;
  border-radius:14px;
  font-weight:800;
  box-shadow:0 7px 18px rgba(18,59,54,.08);
}
.bbppm-v430-app :is(.bbppm-chip,.bbppm-v4575-chip,.bbppm-v4579-chip,.bbppm-v4512-status-chip){
  border-radius:999px;
  border:1px solid rgba(18,59,54,.12);
  background:rgba(189,231,215,.32);
  color:var(--bbp-bp-primary);
  font-weight:800;
}
@media (max-width:760px){
  .bbppm-v430-app :is(.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v4579-list-toolbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4512-project-controls){display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:8px;border-radius:18px;}
  .bbppm-v430-app :is(.bbppm-v4570-list-control-bar input,.bbppm-v4575-unified-listbar input,.bbppm-v4579-list-toolbar input,.bbppm-v45-record-filter input,.bbppm-v430-filterbar input){grid-column:1 / -1;width:100%;}
  .bbppm-v430-app :is(.bbppm-v4570-list-control-bar select,.bbppm-v4575-unified-listbar select,.bbppm-v4579-list-toolbar select,.bbppm-v45-record-filter select,.bbppm-v430-filterbar select){width:100%;}
  .bbppm-v430-app :is(.bbppm-v4570-list-control-bar button,.bbppm-v4575-unified-listbar button,.bbppm-v4579-list-toolbar button,.bbppm-v45-record-filter button,.bbppm-v430-filterbar button,.bbppm-v4512-project-controls button){width:100%;justify-content:center;}
}

/* Layer 5 — Record cards and list readability. */
.bbppm-v430-app :is(.bbppm-v4575-grid,.bbppm-v4579-record-grid,.bbppm-record-grid,.bbppm-v4512-project-grid){
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));
  gap:16px;
  align-items:stretch;
}
.bbppm-v430-app :is(.bbppm-v4575-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-record-card,.bbppm-v4512-project-card,.bbppm-v430-card,.bbppm-v45-card){
  border:1px solid rgba(18,59,54,.11);
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#FEFDF9 100%);
  box-shadow:0 12px 32px rgba(18,59,54,.09);
  padding:16px;
  min-width:0;
  overflow:hidden;
}
.bbppm-v430-app :is(.bbppm-v4575-card:hover,.bbppm-v4579-record-card:hover,.bbppm-v452-record-card:hover,.bbppm-v45-record-card:hover,.bbppm-v4512-project-card:hover){
  transform:translateY(-2px);
  box-shadow:0 20px 48px rgba(18,59,54,.13);
}
.bbppm-v430-app :is(.bbppm-v4575-card h3,.bbppm-v4579-record-card h3,.bbppm-v452-record-card h3,.bbppm-v45-record-card h3,.bbppm-v4512-project-card h3){
  font-size:clamp(16px,1.35vw,20px);
  line-height:1.2;
  margin-bottom:8px;
}
.bbppm-v430-app :is(.bbppm-v4575-field,.bbppm-v4579-card-field,.bbppm-v452-field,.bbppm-v45-field,.bbppm-v4512-project-card__metric){
  border:1px solid rgba(18,59,54,.08);
  background:rgba(247,244,237,.52);
  border-radius:14px;
  padding:10px;
  min-width:0;
}
.bbppm-v430-app :is(.bbppm-v4575-field span,.bbppm-v4579-card-field span,.bbppm-v452-field span,.bbppm-v45-field span,.bbppm-v4512-project-card__metric span){
  font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--bbp-bp-muted);font-weight:800;
}
.bbppm-v430-app :is(.bbppm-v4575-field strong,.bbppm-v4579-card-field strong,.bbppm-v452-field strong,.bbppm-v45-field strong,.bbppm-v4512-project-card__metric strong){font-size:13px;color:var(--bbp-bp-text);line-height:1.35;}

/* Layer 6 — Composer forms and sticky save actions. */
.bbppm-v430-app :is(.bbppm-v451-composer,.bbppm-v45-composer,.bbppm-record-composer,.bbppm-v451-form){
  display:grid;
  gap:16px;
  max-width:1180px;
}
.bbppm-v430-app :is(.bbppm-v451-composer section,.bbppm-v45-composer section,.bbppm-record-composer section,.bbppm-v451-form-section){
  border:1px solid rgba(18,59,54,.11);
  border-radius:22px;
  background:#fff;
  box-shadow:var(--bbp-bp-shadow-sm);
  padding:clamp(14px,2vw,20px);
}
.bbppm-v430-app :is(label,.bbppm-field-label,.bbppm-v451-field label){font-weight:800;color:var(--bbp-bp-text);margin-bottom:6px;}
.bbppm-v430-app :is(input,select,textarea,.bbppm-entity-search__control){border-radius:14px;border-color:rgba(18,59,54,.17);min-height:44px;}
.bbppm-v430-app :is(textarea){min-height:112px;line-height:1.5;}
.bbppm-v430-app :is(.bbppm-v451-savebar,.bbppm-sticky-savebar,.bbppm-v4562-mobile-savebar){
  border:1px solid rgba(18,59,54,.12);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-radius:20px 20px 0 0;
  box-shadow:0 -18px 42px rgba(18,59,54,.14);
}

/* Layer 7 — Menus, panels and overlays. */
.bbppm-v430-app :is(.bbppm-v4571-command-panel,.bbppm-v4571-command-menu,.bbppm-v4521-workspaces-modal,.bbppm-v4583-language-panel,.bbppm-v430-popup-menu,.bbppm-command-panel){
  border:1px solid rgba(18,59,54,.13);
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#FBFAF6);
  box-shadow:0 24px 70px rgba(18,59,54,.22);
  overflow:hidden;
}
.bbppm-v430-app :is(.bbppm-v4571-command-panel a,.bbppm-v4571-command-panel button,.bbppm-v4571-command-menu a,.bbppm-v4571-command-menu button,.bbppm-v430-popup-menu a,.bbppm-v430-popup-menu button){
  border-radius:16px;
  min-height:48px;
}

/* Layer 8 — Cleaner App field-first mobile polish. */
.bbppm-cleaner-app :is(.bbppm-cleaner-screen,.bbppm-cleaner-main,.bbppm-cleaner-content){background:linear-gradient(180deg,#F7F4ED,#FFFFFF);}
.bbppm-cleaner-app :is(.bbppm-cleaner-header,.bbppm-cleaner-topbar){
  border:1px solid rgba(18,59,54,.10);
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 30px rgba(18,59,54,.10);
  backdrop-filter:blur(16px);
}
.bbppm-cleaner-app :is(.bbppm-cleaner-card,.bbppm-cleaner-panel,.bbppm-cleaner-job-card,.bbppm-cleaner-guide-card,.bbppm-cleaner-chat,.bbppm-cleaner-message-panel){
  border:1px solid rgba(18,59,54,.10);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 30px rgba(18,59,54,.08);
  padding:14px;
}
.bbppm-cleaner-app :is(.bbppm-cleaner-status,.bbppm-status-pill,.bbppm-cleaner-status-pill){
  display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:6px 10px;font-weight:850;
}
.bbppm-cleaner-app :is(.bbppm-cleaner-bottom-nav,.bbppm-cleaner-nav){
  border:1px solid rgba(18,59,54,.10);
  background:rgba(255,255,255,.96);
  box-shadow:0 -16px 38px rgba(18,59,54,.13);
  backdrop-filter:blur(16px);
  border-radius:22px 22px 0 0;
}
.bbppm-cleaner-app :is(.bbppm-cleaner-chat-thread,.bbppm-job-messages-thread){
  display:flex;flex-direction:column;gap:10px;
  max-height:min(56vh,520px);overflow:auto;padding:10px;
  background:linear-gradient(180deg,rgba(189,231,215,.18),rgba(247,244,237,.52));border-radius:18px;
}
.bbppm-cleaner-app :is(.bbppm-cleaner-message,.bbppm-job-message){
  max-width:88%;border-radius:18px;padding:10px 12px;background:#fff;box-shadow:0 8px 20px rgba(18,59,54,.08);
}
.bbppm-cleaner-app :is(.bbppm-cleaner-message.is-own,.bbppm-job-message.is-own){align-self:flex-end;background:#123B36;color:#fff;}
@media (max-width:430px){
  .bbppm-cleaner-app :is(.bbppm-cleaner-card,.bbppm-cleaner-panel,.bbppm-cleaner-job-card,.bbppm-cleaner-guide-card){padding:12px;border-radius:18px;}
  .bbppm-cleaner-app :is(.bbppm-cleaner-chat-thread,.bbppm-job-messages-thread){max-height:48vh;}
}

/* Layer 9 — Dark and high contrast. */
body.bbppm-theme-dark, body[data-bbppm-theme="dark"], .bbppm-v430-app[data-bbppm-theme="dark"]{
  --bbp-bp-bg:#071916;
  --bbp-bp-surface:#0F2421;
  --bbp-bp-surface-2:#132D28;
  --bbp-bp-text:#F4F8F6;
  --bbp-bp-muted:#B6C9C2;
  --bbp-bp-border:rgba(189,231,215,.18);
}
body.bbppm-theme-dark .bbppm-v430-app :is(.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-v4581-sticky-header,.bbppm-v4573-mobile-header,.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v4579-list-toolbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4575-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-record-card,.bbppm-v4512-project-card,.bbppm-v430-card,.bbppm-v45-card,.bbppm-v451-composer section,.bbppm-v45-composer section,.bbppm-record-composer section,.bbppm-v4571-command-panel,.bbppm-v4571-command-menu,.bbppm-v4521-workspaces-modal,.bbppm-v4583-language-panel),
body[data-bbppm-theme="dark"] .bbppm-v430-app :is(.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-v4581-sticky-header,.bbppm-v4573-mobile-header,.bbppm-v4570-list-control-bar,.bbppm-v4575-unified-listbar,.bbppm-v4579-list-toolbar,.bbppm-v45-record-filter,.bbppm-v430-filterbar,.bbppm-v4575-card,.bbppm-v4579-record-card,.bbppm-v452-record-card,.bbppm-v45-record-card,.bbppm-v4512-project-card,.bbppm-v430-card,.bbppm-v45-card,.bbppm-v451-composer section,.bbppm-v45-composer section,.bbppm-record-composer section,.bbppm-v4571-command-panel,.bbppm-v4571-command-menu,.bbppm-v4521-workspaces-modal,.bbppm-v4583-language-panel){
  background:linear-gradient(180deg,#102622,#0B1F1C);
  color:var(--bbp-bp-text);
  border-color:var(--bbp-bp-border);
}
body.bbppm-theme-dark .bbppm-v430-app :is(input,select,textarea),
body[data-bbppm-theme="dark"] .bbppm-v430-app :is(input,select,textarea){background:#0C1D1A;color:#F4F8F6;border-color:rgba(189,231,215,.22);}
body.bbppm-theme-dark .bbppm-v430-app :is(p,small,.bbppm-v45-muted,.bbppm-muted),
body[data-bbppm-theme="dark"] .bbppm-v430-app :is(p,small,.bbppm-v45-muted,.bbppm-muted){color:#B6C9C2;}
@media (prefers-reduced-motion:reduce){.bbppm-v430-app *,.bbppm-cleaner-app *{transition:none;animation:none;scroll-behavior:auto;}}
@media (forced-colors:active){.bbppm-v430-app :is(button,a,input,select,textarea,.bbppm-v4575-card,.bbppm-v4579-record-card){border:1px solid CanvasText;box-shadow:none;}}


/* v4.5.87 P10-BQ — emergency mobile shell recovery: icons, drawer, full menu and mojibake labels. */
.bbppm-v430-app .bbppm-v42-topbar{overflow:visible;isolation:isolate;}
.bbppm-v430-app .bbppm-v430-topbar-inner{overflow:visible;}
.bbppm-v430-app .bbppm-v4582-topbar-actions{overflow:visible;}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v42-quick-add,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){position:relative;flex-shrink:0;}
/* Force reliable visible icons even when Dashicons, translation files, or browser translation fail. */
.bbppm-v430-app .bbppm-v42-menu-toggle::before,
.bbppm-v430-app .bbppm-v42-theme-toggle::before,
.bbppm-v430-app .bbppm-v42-quick-add::before,
.bbppm-v430-app .bbppm-v4521-workspaces-trigger::before,
.bbppm-v430-app .bbppm-v4564-page-guide-trigger::before,
.bbppm-v430-app .bbppm-v4581-language-trigger::before,
.bbppm-v430-app .bbppm-v430-notifications::before{
  display:inline-flex;align-items:center;justify-content:center;
  width:1.15em;height:1.15em;line-height:1;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:18px;font-weight:900;color:currentColor;text-indent:0;opacity:1;
}
.bbppm-v430-app .bbppm-v42-menu-toggle::before{content:"☰";}
.bbppm-v430-app .bbppm-v42-theme-toggle::before{content:"◉";font-size:15px;}
.bbppm-v430-app .bbppm-v42-quick-add::before{content:"+";font-size:25px;line-height:.8;}
.bbppm-v430-app .bbppm-v4521-workspaces-trigger::before{content:"▦";font-size:20px;}
.bbppm-v430-app .bbppm-v4564-page-guide-trigger::before{content:"?";width:20px;height:20px;border-radius:8px;background:color-mix(in srgb,var(--bb-v42-action-primary,#0ea58d) 14%,var(--bb-v42-surface,#fff));color:var(--bb-v42-action-primary,#0ea58d);font-size:13px;}
.bbppm-v430-app .bbppm-v4581-language-trigger::before{content:"A";font-size:16px;}
.bbppm-v430-app .bbppm-v430-notifications::before{content:"•";font-size:27px;}
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v42-quick-add,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications) > .dashicons,
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v42-quick-add,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications) > .bbppm-v4582-page-guide-icon,
.bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v42-quick-add,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications) > .bbppm-v4582-language-icon{display:none;}
.bbppm-v430-app .bbppm-v42-profile{font-weight:950;text-transform:uppercase;}
.bbppm-v430-app .bbppm-v42-profile:empty::before{content:"M";}
/* Mobile header: keep the controls useful without blanks/crowding. */
@media(max-width:760px){
  .bbppm-v430-app .bbppm-v42-topbar{height:60px;min-height:60px;}
  .bbppm-v430-app .bbppm-v430-topbar-inner{height:60px;min-height:60px;padding:8px 10px;gap:7px;}
  .bbppm-v430-app .bbppm-v4582-topbar-actions{gap:6px;}
  .bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){width:42px;min-width:42px;max-width:42px;height:42px;min-height:42px;padding:0;border-radius:15px;}
  .bbppm-v430-app .bbppm-v42-quick-add{width:56px;min-width:56px;max-width:56px;height:46px;border-radius:16px;}
  .bbppm-v430-app :is(.bbppm-v42-quick-add,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger) span{display:none;}
  .bbppm-v430-app .bbppm-v42-theme-toggle{display:inline-flex;}
}
@media(max-width:390px){
  .bbppm-v430-app .bbppm-v430-topbar-inner{padding-inline:7px;gap:5px;}
  .bbppm-v430-app .bbppm-v4582-topbar-actions{gap:4px;}
  .bbppm-v430-app :is(.bbppm-v42-menu-toggle,.bbppm-v42-theme-toggle,.bbppm-v4521-workspaces-trigger,.bbppm-v4564-page-guide-trigger,.bbppm-v4581-language-trigger,.bbppm-v430-notifications,.bbppm-v42-profile){width:38px;min-width:38px;max-width:38px;height:38px;border-radius:13px;}
  .bbppm-v430-app .bbppm-v42-quick-add{width:50px;min-width:50px;max-width:50px;height:40px;}
}
/* React drawer open state recovery. Earlier responsive overrides required a custom class and could hide the React drawer. */
@media(max-width:1024px){
  .bbppm-v430-app .bbppm-v430-sidebar{visibility:hidden;pointer-events:none;opacity:0;transform:translateX(-104%);transition:transform .22s ease,opacity .18s ease,visibility .18s ease;}
  .bbppm-v430-app .bbppm-v430-sidebar[aria-modal="true"],
  .bbppm-v430-app .bbppm-v430-sidebar.bb\:translate-x-0,
  .bbppm-v430-app .bbppm-v430-sidebar.bbppm-force-open,
  .bbppm-v430-app.is-sidebar-open .bbppm-v430-sidebar,
  .bbppm-v430-app.bbppm-sidebar-open .bbppm-v430-sidebar,
  body.bbppm-management-nav-open .bbppm-v430-app .bbppm-v430-sidebar,
  body.bbppm-sidebar-open .bbppm-v430-app .bbppm-v430-sidebar{
    visibility:visible;pointer-events:auto;opacity:1;transform:translateX(0);
  }
  body.bbppm-management-nav-open,body.bbppm-sidebar-open{overflow:hidden;touch-action:none;}
  .bbppm-v430-sidebar-backdrop,.bbppm-v4587-sidebar-backdrop{position:fixed;inset:0;z-index:970;background:rgba(7,23,20,.48);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);}
}
/* Bottom navigation icon fallback + safe labels. */
.bbppm-v430-app .bbppm-v430-mobilebar button{position:relative;overflow:hidden;}
.bbppm-v430-app .bbppm-v430-mobilebar button .dashicons{font-size:21px;line-height:1;min-height:22px;}
.bbppm-v430-app .bbppm-v430-mobilebar button .dashicons::before{font-family:dashicons;display:inline-block;}
.bbppm-v430-app .bbppm-v430-mobilebar button span:not(.dashicons){max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.bbppm-v430-app .bbppm-v430-mobilebar button span:not(.dashicons):empty::after{content:attr(data-bbppm-fallback-label);}
/* Hide broken mojibake labels briefly while the runtime repairs them. */
.bbppm-v4587-repairing .bbppm-v430-mobilebar button span:not(.dashicons),
.bbppm-v4587-repairing .bbppm-v42-topbar span:not(.dashicons){opacity:.01;}


/* v4.5.92 P10-BV — duplicate/overlap cleanup audit layer. Main management app only; Cleaner App excluded. */
body.bbppm-v420-framework-page .bbppm-v430-app{--bbppm-z-header:80;--bbppm-z-sidebar:110;--bbppm-z-overlay:130;--bbppm-z-mobilebar:125;}
body.bbppm-v420-framework-page .bbppm-v42-topbar{z-index:var(--bbppm-z-header);isolation:isolate;}
body.bbppm-v420-framework-page .bbppm-v430-sidebar{z-index:var(--bbppm-z-sidebar);}
body.bbppm-v420-framework-page .bbppm-v430-mobilebar{z-index:var(--bbppm-z-mobilebar);}
body.bbppm-v420-framework-page :is(.bbppm-management-more-sheet,.bbppm-mobile-more-sheet,.bbppm-v4521-workspaces-modal,.bbppm-v430-popup-menu,.bbppm-v4571-command-menu,.bbppm-v4571-command-panel){z-index:var(--bbppm-z-overlay);}

/* Kill all stale pseudo-icon fallbacks in the main header. Real Dashicons only. */
body.bbppm-v420-framework-page .bbppm-v42-topbar :is(button,a,.bbppm-v4591-single-icon,.bbppm-v4592-single-control)::before,
body.bbppm-v420-framework-page .bbppm-v42-topbar :is(button,a,.bbppm-v4591-single-icon,.bbppm-v4592-single-control)::after{content:none;display:none;visibility:hidden;width:0;height:0;min-width:0;max-width:0;margin:0;padding:0;border:0;}
body.bbppm-v420-framework-page .bbppm-v42-topbar .dashicons{display:inline-flex;align-items:center;justify-content:center;width:20px;min-width:20px;height:20px;font-family:dashicons;font-size:20px;line-height:20px;color:currentColor;opacity:1;visibility:visible;text-indent:0;}
body.bbppm-v420-framework-page .bbppm-v42-topbar .dashicons::before{font-family:dashicons;display:block;color:currentColor;}

/* Removed clean-baseline controls should never take space, even if legacy React/CSS tries to render them. */
body.bbppm-v420-framework-page .bbppm-v430-app :is(.bbppm-language-menu,.bbppm-v4581-language-trigger,.bbppm-v4581-language-wrap,.bbppm-v4564-page-guide-trigger,.bbppm-v4582-page-guide-trigger,.bbppm-v4521-help-toggle,.bbppm-v4532-micro-guide,.bbppm-v4531-page-guide,.bbppm-v4562-page-guide-panel,.bbppm-v4520-guide,.bbppm-v4521-guide,.bbppm-v4583-translation-menu,.bbppm-v4581-language-menu-panel,.bbppm-v4582-language-icon,.bbppm-v4582-page-guide-icon){display:none;visibility:hidden;pointer-events:none;width:0;min-width:0;max-width:0;height:0;min-height:0;max-height:0;margin:0;padding:0;border:0;overflow:hidden;}

/* In-page generic navigation strips are duplicate chrome. Keep breadcrumbs, Back to list and real record actions only. */
body.bbppm-v420-framework-page .bbppm-v430-app :is(.bbppm-v4521-context__actions,.bbppm-v4532-micro-actions,.bbppm-v4521-context__tour){display:none;}
body.bbppm-v420-framework-page .bbppm-v430-app .bbppm-v4521-context{box-shadow:none;}
body.bbppm-v420-framework-page .bbppm-v430-app .bbppm-v4521-context:empty{display:none;}

/* One-row mobile header. Prevent wrapped/overlapping header rows and horizontal action scrolling. */
@media (max-width:820px){
  body.bbppm-v420-framework-page .bbppm-v42-topbar{height:60px;min-height:60px;max-height:60px;overflow:visible;}
  body.bbppm-v420-framework-page .bbppm-v430-topbar-inner{height:60px;min-height:60px;max-height:60px;display:flex;flex-wrap:nowrap;align-items:center;gap:7px;padding:8px 10px;overflow:visible;}
  body.bbppm-v420-framework-page .bbppm-v4590-header-brand,
  body.bbppm-v420-framework-page .bbppm-v42-search{display:none;}
  body.bbppm-v420-framework-page .bbppm-v4582-topbar-actions,
  body.bbppm-v420-framework-page .bbppm-v4581-topbar-actions{display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:7px;margin-left:auto;max-width:none;overflow:visible;padding:0;}
  body.bbppm-v420-framework-page .bbppm-v42-menu-toggle,
  body.bbppm-v420-framework-page .bbppm-v4590-header-icon-btn,
  body.bbppm-v420-framework-page .bbppm-v42-theme-toggle,
  body.bbppm-v420-framework-page .bbppm-v4521-workspaces-trigger,
  body.bbppm-v420-framework-page .bbppm-v430-notifications,
  body.bbppm-v420-framework-page .bbppm-v42-profile{width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;border-radius:14px;padding:0;flex:0 0 40px;}
  body.bbppm-v420-framework-page .bbppm-v42-quick-add{width:48px;min-width:48px;max-width:48px;height:42px;min-height:42px;max-height:42px;border-radius:16px;padding:0;flex:0 0 48px;}
  body.bbppm-v420-framework-page .bbppm-v42-quick-add span:not(.dashicons),
  body.bbppm-v420-framework-page .bbppm-v4521-workspaces-trigger span:not(.dashicons){display:none;}
}
@media (max-width:370px){
  body.bbppm-v420-framework-page .bbppm-v430-topbar-inner{gap:5px;padding-inline:8px;}
  body.bbppm-v420-framework-page .bbppm-v4582-topbar-actions,
  body.bbppm-v420-framework-page .bbppm-v4581-topbar-actions{gap:5px;}
  body.bbppm-v420-framework-page .bbppm-v42-menu-toggle,
  body.bbppm-v420-framework-page .bbppm-v4590-header-icon-btn,
  body.bbppm-v420-framework-page .bbppm-v42-theme-toggle,
  body.bbppm-v420-framework-page .bbppm-v4521-workspaces-trigger,
  body.bbppm-v420-framework-page .bbppm-v430-notifications,
  body.bbppm-v420-framework-page .bbppm-v42-profile{width:38px;min-width:38px;max-width:38px;height:38px;min-height:38px;max-height:38px;flex-basis:38px;border-radius:13px;}
  body.bbppm-v420-framework-page .bbppm-v42-quick-add{width:44px;min-width:44px;max-width:44px;height:40px;min-height:40px;max-height:40px;flex-basis:44px;}
  body.bbppm-v420-framework-page .bbppm-v42-topbar .dashicons{width:19px;min-width:19px;height:19px;font-size:19px;line-height:19px;}
}

/* More sheet / modal collision protection. */
body.bbppm-v420-framework-page .bbppm-management-more-sheet{left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 112px);border-radius:24px;}
body.bbppm-v420-framework-page .bbppm-management-more-sheet__body,
body.bbppm-v420-framework-page .bbppm-mobile-more-sections{max-height:calc(100dvh - 244px);padding-bottom:24px;}
body.bbppm-v420-framework-page .bbppm-management-more-sheet__items,
body.bbppm-v420-framework-page .bbppm-mobile-more-links{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:390px){
  body.bbppm-v420-framework-page .bbppm-management-more-sheet__items,
  body.bbppm-v420-framework-page .bbppm-mobile-more-links{grid-template-columns:1fr;}
}

/* Localize overflow instead of letting one child create body-level horizontal scroll. */
body.bbppm-v420-framework-page .bbppm-v430-main,
body.bbppm-v420-framework-page .bbppm-v430-content,
body.bbppm-v420-framework-page .bbppm-v430-page,
body.bbppm-v420-framework-page .bbppm-v4575-records,
body.bbppm-v420-framework-page .bbppm-v45-records{min-width:0;max-width:100%;overflow-x:clip;}
body.bbppm-v420-framework-page .bbppm-v430-app :is(.bbppm-v45-table-wrap,.bbppm-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4579-table-wrap,.bbppm-v4575-table-wrap,.bbppm-v4584-auto-table-wrap){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
body.bbppm-v420-framework-page .bbppm-v430-app :is(.bbppm-v4579-record-card,.bbppm-v4575-card,.bbppm-v45-record-card,.bbppm-v430-card,.bbppm-v45-card){min-width:0;overflow-wrap:anywhere;}
body.bbppm-v420-framework-page .bbppm-v430-app :is(.bbppm-v4579-record-card,.bbppm-v4575-card,.bbppm-v45-record-card,.bbppm-v430-card,.bbppm-v45-card) :is(h2,h3,strong,p,span,small){min-width:0;overflow-wrap:anywhere;}

/* Audit classes applied by JS. */
body.bbppm-v420-framework-page .bbppm-v4592-hidden-duplicate{display:none;visibility:hidden;pointer-events:none;}
body.bbppm-v420-framework-page .bbppm-v4592-overflow-contained{max-width:100%;overflow-x:auto;}


/* ==========================================================================\n   v4.5.94 P10-BX — Unified List Command Bar & Responsive Presentation\n   Main management app only; Cleaner App intentionally excluded.\n   ========================================================================== */
.bbppm-v4594-listbar{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:0;
  padding:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--bb-v42-border) 82%,transparent);
  border-radius:20px;
  background:var(--bb-v42-surface);
  box-shadow:0 1px 2px rgba(18,59,54,.035),0 12px 32px rgba(18,59,54,.055);
}
.bbppm-v4594-listbar__primary{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:end;
  padding:14px;
  min-width:0;
}
.bbppm-v4594-listbar__filters{
  display:grid;
  grid-template-columns:minmax(300px,1.8fr) minmax(160px,240px) auto auto;
  gap:10px;
  align-items:end;
  min-width:0;
}
.bbppm-v4594-listbar__filters .is-search{min-width:0}
.bbppm-v4594-listbar__actions{
  display:flex;
  align-items:end;
  justify-content:flex-end;
  gap:8px;
  min-width:max-content;
}
.bbppm-v4594-listbar__actions>*{min-height:42px}
.bbppm-v4594-listbar__secondary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
  padding:9px 14px;
  border-top:1px solid color-mix(in srgb,var(--bb-v42-border) 76%,transparent);
  background:color-mix(in srgb,var(--bb-v42-surface-2) 66%,var(--bb-v42-surface));
}
.bbppm-v4594-listbar__results{
  display:flex;
  align-items:center;
  gap:8px 12px;
  flex-wrap:wrap;
  min-width:0;
  color:var(--bb-v42-muted);
  font-size:12px;
  line-height:1.25;
}
.bbppm-v4594-result-count,.bbppm-v4594-result-page,.bbppm-v4594-result-metric{
  display:inline-flex;
  align-items:center;
  gap:4px;
  min-height:28px;
  white-space:nowrap;
}
.bbppm-v4594-result-count strong,.bbppm-v4594-result-metric strong{color:var(--bb-v42-text);font-size:14px}
.bbppm-v4594-result-page:before,.bbppm-v4594-result-metric:before{
  content:"";
  width:1px;
  height:14px;
  background:var(--bb-v42-border);
  margin-right:3px;
}
.bbppm-v4594-filter-chip{
  min-height:30px;
  border:1px solid color-mix(in srgb,var(--bb-v42-action-primary) 20%,var(--bb-v42-border));
  border-radius:999px;
  padding:5px 10px;
  background:color-mix(in srgb,var(--bb-v42-action-primary) 7%,var(--bb-v42-surface));
  color:var(--bb-v42-primary);
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.bbppm-v4594-listbar__display{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
}
.bbppm-v4594-listbar .bbppm-v4575-rows{
  min-height:38px;
  padding:0 7px 0 10px;
  border-radius:12px;
  background:var(--bb-v42-surface);
}
.bbppm-v4594-listbar .bbppm-v4575-rows select{max-width:72px;min-height:32px}
.bbppm-v4594-listbar .bbppm-v4575-view-toggle{border-radius:12px;padding:3px;background:var(--bb-v42-surface)}
.bbppm-v4594-listbar .bbppm-v4575-view-toggle .bbppm-v45-button{min-height:32px;border-radius:9px;padding-inline:12px}
.bbppm-v4594-listbar .bbppm-v4575-clear-button{min-height:42px;align-self:end}

/* Project Portfolio uses the same two-level visual grammar without changing its data flow. */
.bbppm-v4569-portfolio-bar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"filters actions" "summary summary";
  gap:0 14px;
  padding:0;
  overflow:hidden;
  border:1px solid color-mix(in srgb,var(--bb-v42-border) 82%,transparent);
  border-radius:20px;
  background:var(--bb-v42-surface);
  box-shadow:0 1px 2px rgba(18,59,54,.035),0 12px 32px rgba(18,59,54,.055);
}
.bbppm-v4569-portfolio-bar__filters{grid-area:filters;padding:14px;align-items:end}
.bbppm-v4569-portfolio-bar__actions{grid-area:actions;align-self:end;padding:14px 14px 14px 0}
.bbppm-v4569-portfolio-bar__summary{
  grid-area:summary;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-width:0;
  padding:9px 14px;
  border-top:1px solid color-mix(in srgb,var(--bb-v42-border) 76%,transparent);
  background:color-mix(in srgb,var(--bb-v42-surface-2) 66%,var(--bb-v42-surface));
}
.bbppm-v4569-portfolio-bar__mini-kpis{display:flex;gap:10px;align-items:center}
.bbppm-v4569-portfolio-bar__mini-kpi{
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  min-width:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.bbppm-v4569-portfolio-bar__mini-kpi strong{font-size:14px}
.bbppm-v4569-portfolio-bar__mini-kpi span{font-size:11px;color:var(--bb-v42-muted)}
.bbppm-v4569-portfolio-bar__statuses{min-width:0;overflow:auto;scrollbar-width:none}
.bbppm-v4569-portfolio-bar__statuses::-webkit-scrollbar{display:none}
.bbppm-v4569-portfolio-bar__mode{flex:0 0 auto}

/* Calm common filter surfaces outside record lists. */
.bbppm-v430-app .bbppm-v430-filterbar,
.bbppm-v430-app .bbppm-v454-toolbar{
  border-color:color-mix(in srgb,var(--bb-v42-border) 82%,transparent);
  background:var(--bb-v42-surface);
  box-shadow:0 1px 2px rgba(18,59,54,.03),0 8px 22px rgba(18,59,54,.035);
}

@media(max-width:1180px){
  .bbppm-v4594-listbar__primary{grid-template-columns:1fr}
  .bbppm-v4594-listbar__actions{justify-content:flex-start;min-width:0}
  .bbppm-v4594-listbar__filters{grid-template-columns:minmax(260px,1fr) minmax(160px,220px) auto}
  .bbppm-v4569-portfolio-bar{grid-template-columns:1fr;grid-template-areas:"filters" "actions" "summary"}
  .bbppm-v4569-portfolio-bar__actions{padding:0 14px 14px;justify-content:flex-start}
}
@media(max-width:782px){
  .bbppm-v4594-listbar{border-radius:16px}
  .bbppm-v4594-listbar__primary{padding:12px;gap:10px}
  .bbppm-v4594-listbar__filters{grid-template-columns:1fr;gap:9px}
  .bbppm-v4594-listbar__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .bbppm-v4594-listbar__actions>*{width:100%;justify-content:center;text-align:center}
  .bbppm-v4594-listbar__secondary{align-items:stretch;flex-direction:column;padding:10px 12px}
  .bbppm-v4594-listbar__results{width:100%}
  .bbppm-v4594-listbar__display{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
  .bbppm-v4594-listbar .bbppm-v4575-rows{justify-content:space-between}
  .bbppm-v4594-listbar .bbppm-v4575-view-toggle{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .bbppm-v4569-portfolio-bar{border-radius:16px}
  .bbppm-v4569-portfolio-bar__filters{padding:12px;grid-template-columns:1fr}
  .bbppm-v4569-portfolio-bar__actions{display:grid;grid-template-columns:1fr 1fr;width:auto;padding:0 12px 12px}
  .bbppm-v4569-portfolio-bar__summary{align-items:stretch;flex-direction:column;padding:10px 12px}
  .bbppm-v4569-portfolio-bar__mini-kpis{flex-wrap:wrap}
}
@media(max-width:480px){
  .bbppm-v4594-listbar__actions{grid-template-columns:1fr}
  .bbppm-v4594-listbar__display{grid-template-columns:1fr}
  .bbppm-v4594-listbar__results{gap:6px 9px}
  .bbppm-v4594-result-page:before,.bbppm-v4594-result-metric:before{display:none}
  .bbppm-v4594-listbar .bbppm-v4575-field>span:first-child{font-size:10px;line-height:1.15}
  .bbppm-v4569-portfolio-bar__actions{grid-template-columns:1fr}
}

/* v4.5.100 P10-CD — compatibility list export/bulk refinements */
.bbppm-unified-list-ui .bbppm-toolbar-more>summary{display:inline-flex;align-items:center;gap:7px}
.bbppm-unified-list-ui .bbppm-selection-toolbar{position:sticky;bottom:14px;z-index:35;border-radius:14px;box-shadow:0 12px 34px rgba(18,59,54,.16)}

/* ===========================================================================
   v4.5.107 P10-CK — Mobile Workspace Toolbar Optimization
   Fixes cramped mobile list filter bars without changing list/export logic.
   Cleaner App intentionally excluded.
   =========================================================================== */
@media (max-width: 782px) {
  .bbppm-v430-app .bbppm-v4598-toolbar {
    --bbppm-toolbar-mobile-gap: 10px;
    border-radius: 22px ;
    padding: 0 ;
    overflow: visible ;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bb-v42-surface) 96%, #ffffff), var(--bb-v42-surface)) ;
    box-shadow: 0 10px 32px rgba(18, 59, 54, .075) ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar::before {
    height: 4px ;
    border-radius: 22px 22px 0 0 ;
    opacity: .82 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__main {
    display: grid ;
    grid-template-columns: minmax(0, 1fr) ;
    gap: var(--bbppm-toolbar-mobile-gap) ;
    padding: 14px 14px 10px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__search-area {
    display: grid ;
    grid-template-columns: minmax(0, 1fr) ;
    gap: var(--bbppm-toolbar-mobile-gap) ;
    width: 100% ;
    min-width: 0 ;
  }
  .bbppm-v430-app .bbppm-v4598-search,
  .bbppm-v430-app .bbppm-v4598-filter,
  .bbppm-v430-app .bbppm-v4598-date,
  .bbppm-v430-app .bbppm-v4598-clear {
    grid-column: 1 / -1 ;
    width: 100% ;
    min-width: 0 ;
    max-width: none ;
    height: 54px ;
    min-height: 54px ;
    border-radius: 18px ;
    box-sizing: border-box ;
  }
  .bbppm-v430-app .bbppm-v4598-search {
    background: color-mix(in srgb, var(--bb-v42-surface-2) 44%, var(--bb-v42-surface)) ;
  }
  .bbppm-v430-app .bbppm-v4598-search input {
    min-width: 0 ;
    font-size: 16px ;
    font-weight: 780 ;
  }
  .bbppm-v430-app .bbppm-v4598-search input::placeholder {
    color: color-mix(in srgb, var(--bb-v42-muted) 74%, transparent) ;
    font-weight: 760 ;
  }
  .bbppm-v430-app .bbppm-v4598-filter {
    display: grid ;
    grid-template-columns: 24px auto minmax(0, 1fr) ;
    align-items: center ;
    gap: 9px ;
    padding: 0 12px ;
  }
  .bbppm-v430-app .bbppm-v4598-filter__label {
    font-size: 11px ;
    line-height: 1 ;
    white-space: nowrap ;
  }
  .bbppm-v430-app .bbppm-v4598-filter select {
    width: 100% ;
    min-width: 0 ;
    font-size: 16px ;
    font-weight: 860 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions {
    display: grid ;
    grid-template-columns: repeat(2, minmax(0, 1fr)) ;
    gap: var(--bbppm-toolbar-mobile-gap) ;
    width: 100% ;
    margin: 0 ;
    min-width: 0 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > * {
    width: 100% ;
    min-width: 0 ;
    max-width: none ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > :is(a, button),
  .bbppm-v430-app .bbppm-v4598-toolbar__actions .bbppm-v45100-menu__summary {
    width: 100% ;
    min-width: 0 ;
    min-height: 54px ;
    height: 54px ;
    justify-content: center ;
    border-radius: 18px ;
    padding-inline: 12px ;
    font-size: 14px ;
    letter-spacing: -.01em ;
    white-space: nowrap ;
    overflow: hidden ;
    text-overflow: ellipsis ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions .bbppm-v45100-menu__summary span {
    min-width: 0 ;
    overflow: hidden ;
    text-overflow: ellipsis ;
    white-space: nowrap ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > :is(a, button):last-child:nth-child(odd),
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > *:nth-child(3):last-child {
    grid-column: 1 / -1 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions :is(button, a)[disabled],
  .bbppm-v430-app .bbppm-v4598-toolbar__actions :is(button, a)[aria-disabled="true"] {
    background: color-mix(in srgb, var(--bb-v42-surface-2) 72%, var(--bb-v42-surface)) ;
    border-color: color-mix(in srgb, var(--bb-v42-border) 78%, transparent) ;
    color: color-mix(in srgb, var(--bb-v42-muted) 58%, transparent) ;
    box-shadow: none ;
    opacity: .74 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__meta {
    display: grid ;
    grid-template-columns: minmax(0, 1fr) ;
    gap: var(--bbppm-toolbar-mobile-gap) ;
    padding: 0 14px 14px ;
    border-top: 0 ;
    background: transparent ;
    border-radius: 0 0 22px 22px ;
  }
  .bbppm-v430-app .bbppm-v4598-summary {
    display: flex ;
    align-items: center ;
    width: 100% ;
    min-height: auto ;
    padding: 2px 1px 0 ;
    gap: 6px ;
    flex-wrap: wrap ;
  }
  .bbppm-v430-app .bbppm-v4598-summary__text {
    display: block ;
    width: 100% ;
    min-height: 0 ;
    padding: 0 ;
    font-size: 13px ;
    line-height: 1.35 ;
    font-weight: 840 ;
    color: var(--bb-v42-muted) ;
    white-space: normal ;
    overflow-wrap: anywhere ;
  }
  .bbppm-v430-app .bbppm-v4598-summary__metric {
    display: none ;
  }
  .bbppm-v430-app .bbppm-v4598-filter-chip {
    min-height: 34px ;
    border-radius: 999px ;
    padding-inline: 11px ;
    font-size: 12px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__display {
    display: grid ;
    grid-template-columns: minmax(0, 1fr) ;
    gap: var(--bbppm-toolbar-mobile-gap) ;
    width: 100% ;
  }
  .bbppm-v430-app .bbppm-v4598-rows {
    display: grid ;
    grid-template-columns: auto minmax(82px, auto) ;
    align-items: center ;
    gap: 10px ;
    width: 100% ;
    height: 52px ;
    min-height: 52px ;
    padding: 0 12px ;
    border-radius: 18px ;
    box-sizing: border-box ;
  }
  .bbppm-v430-app .bbppm-v4598-rows > span {
    font-size: 12px ;
    letter-spacing: .055em ;
    white-space: nowrap ;
  }
  .bbppm-v430-app .bbppm-v4598-rows select {
    justify-self: end ;
    min-width: 82px ;
    height: 42px ;
    border-radius: 14px ;
    text-align: center ;
    font-size: 16px ;
    font-weight: 860 ;
  }
  .bbppm-v430-app .bbppm-v4598-view {
    width: 100% ;
    min-width: 0 ;
    height: 54px ;
    min-height: 54px ;
    padding: 4px ;
    border-radius: 18px ;
    grid-template-columns: repeat(2, minmax(0, 1fr)) ;
    box-sizing: border-box ;
  }
  .bbppm-v430-app .bbppm-v4598-view button {
    width: 100% ;
    min-width: 0 ;
    height: 46px ;
    min-height: 46px ;
    padding: 0 10px ;
    border-radius: 14px ;
    font-size: 14px ;
    font-weight: 860 ;
    white-space: nowrap ;
    overflow: hidden ;
    text-overflow: ellipsis ;
  }
  .bbppm-v430-app .bbppm-v4598-view button span {
    display: inline ;
    min-width: 0 ;
    white-space: nowrap ;
    word-break: normal ;
    overflow: hidden ;
    text-overflow: ellipsis ;
  }
  .bbppm-v430-app .bbppm-v45100-menu__panel {
    position: absolute ;
    left: 0 ;
    right: auto ;
    top: calc(100% + 8px) ;
    width: min(280px, calc(100vw - 32px)) ;
    max-height: 48vh ;
    overflow: auto ;
    -webkit-overflow-scrolling: touch ;
    z-index: 700 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > *:nth-child(even) .bbppm-v45100-menu__panel {
    left: auto ;
    right: 0 ;
  }
}

@media (max-width: 430px) {
  .bbppm-v430-app .bbppm-v4598-toolbar {
    margin-inline: 0 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__main {
    padding: 12px 12px 9px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__meta {
    padding: 0 12px 12px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions {
    grid-template-columns: 1fr 1fr ;
    gap: 8px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > :is(a, button),
  .bbppm-v430-app .bbppm-v4598-toolbar__actions .bbppm-v45100-menu__summary {
    min-height: 52px ;
    height: 52px ;
    border-radius: 17px ;
    font-size: 13px ;
    padding-inline: 9px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions .dashicons,
  .bbppm-v430-app .bbppm-v4598-view .dashicons {
    flex: 0 0 auto ;
  }
}

@media (max-width: 360px) {
  .bbppm-v430-app .bbppm-v4598-toolbar__actions {
    grid-template-columns: 1fr ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > * {
    grid-column: 1 / -1 ;
  }
}

.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4598-toolbar {
  background: linear-gradient(180deg, #102622, #0d211d) ;
}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4598-search,
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4598-filter,
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4598-rows,
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4598-view,
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4598-toolbar__actions .bbppm-v45100-menu__summary {
  background: #142d28 ;
  border-color: #35534b ;
}



/* ===========================================================================
   v4.5.108 P10-CL — True Mobile Toolbar Reflow
   Phone-first fix for the Universal Workspace Toolbar. The previous mobile
   rules could still leave the toolbar in a left/right split, causing clipped
   Status, Rows, Cards/List and Add/Create controls. This release gives phone
   screens one clear vertical command flow.
   Cleaner App intentionally excluded.
   =========================================================================== */
@media (max-width: 640px) {
  .bbppm-v430-app .bbppm-v4598-toolbar {
    display: flex ;
    flex-direction: column ;
    width: 100% ;
    min-width: 0 ;
    max-width: 100% ;
    border-radius: 22px ;
    overflow: visible ;
    padding: 0 ;
    background: linear-gradient(180deg, color-mix(in srgb, var(--bb-v42-surface) 98%, #fff), var(--bb-v42-surface)) ;
    box-shadow: 0 16px 40px rgba(18, 59, 54, .08) ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar::before {
    height: 4px ;
    border-radius: 22px 22px 0 0 ;
    opacity: .86 ;
  }

  .bbppm-v430-app .bbppm-v4598-toolbar__main,
  .bbppm-v430-app .bbppm-v4598-toolbar__meta {
    display: flex ;
    flex-direction: column ;
    align-items: stretch ;
    justify-content: flex-start ;
    gap: 12px ;
    width: 100% ;
    min-width: 0 ;
    box-sizing: border-box ;
    padding: 16px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__main {
    border-bottom: 1px solid color-mix(in srgb, var(--bb-v42-border) 52%, transparent) ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__meta {
    border-top: 0 ;
    background: color-mix(in srgb, var(--bb-v42-surface-2) 40%, var(--bb-v42-surface)) ;
    border-radius: 0 0 22px 22px ;
    padding-top: 13px ;
  }

  .bbppm-v430-app .bbppm-v4598-toolbar__search-area,
  .bbppm-v430-app .bbppm-v4598-toolbar__actions,
  .bbppm-v430-app .bbppm-v4598-toolbar__display {
    display: flex ;
    flex-direction: column ;
    align-items: stretch ;
    gap: 10px ;
    width: 100% ;
    min-width: 0 ;
    max-width: 100% ;
    margin: 0 ;
  }

  .bbppm-v430-app .bbppm-v4598-search,
  .bbppm-v430-app .bbppm-v4598-filter,
  .bbppm-v430-app .bbppm-v4598-date,
  .bbppm-v430-app .bbppm-v4598-clear,
  .bbppm-v430-app .bbppm-v4598-rows,
  .bbppm-v430-app .bbppm-v4598-view {
    width: 100% ;
    min-width: 0 ;
    max-width: 100% ;
    box-sizing: border-box ;
    border-radius: 18px ;
    height: auto ;
    min-height: 54px ;
    background: var(--bb-v42-surface) ;
    border: 1px solid color-mix(in srgb, var(--bb-v42-border) 78%, transparent) ;
    box-shadow: 0 1px 0 rgba(255,255,255,.58), 0 6px 18px rgba(18,59,54,.045) ;
  }

  .bbppm-v430-app .bbppm-v4598-search {
    display: grid ;
    grid-template-columns: 24px minmax(0, 1fr) auto ;
    align-items: center ;
    gap: 10px ;
    padding: 0 14px ;
  }
  .bbppm-v430-app .bbppm-v4598-search input {
    width: 100% ;
    min-width: 0 ;
    border: 0 ;
    background: transparent ;
    box-shadow: none ;
    padding: 0 ;
    font-size: 16px ;
    line-height: 1.2 ;
    font-weight: 760 ;
  }
  .bbppm-v430-app .bbppm-v4598-search input::placeholder {
    color: color-mix(in srgb, var(--bb-v42-muted) 72%, transparent) ;
    font-weight: 780 ;
  }
  .bbppm-v430-app .bbppm-v4598-search__clear {
    min-width: 38px ;
    min-height: 38px ;
    border-radius: 13px ;
  }

  .bbppm-v430-app .bbppm-v4598-filter {
    display: grid ;
    grid-template-columns: 24px minmax(0, 1fr) minmax(112px, auto) ;
    align-items: center ;
    gap: 10px ;
    padding: 0 12px ;
  }
  .bbppm-v430-app .bbppm-v4598-filter .dashicons,
  .bbppm-v430-app .bbppm-v4598-search .dashicons {
    width: 22px ;
    height: 22px ;
    font-size: 22px ;
    line-height: 22px ;
    color: var(--bb-v42-text) ;
    opacity: .86 ;
  }
  .bbppm-v430-app .bbppm-v4598-filter__label {
    min-width: 0 ;
    white-space: nowrap ;
    overflow: hidden ;
    text-overflow: ellipsis ;
    font-size: 12px ;
    line-height: 1 ;
    letter-spacing: .08em ;
    color: var(--bb-v42-muted) ;
  }
  .bbppm-v430-app .bbppm-v4598-filter select {
    justify-self: stretch ;
    width: 100% ;
    min-width: 0 ;
    max-width: 150px ;
    height: 42px ;
    border-radius: 14px ;
    padding-inline: 12px 28px ;
    font-size: 16px ;
    line-height: 1.1 ;
    font-weight: 860 ;
    color: var(--bb-v42-text) ;
    background: color-mix(in srgb, var(--bb-v42-surface-2) 54%, var(--bb-v42-surface)) ;
    border: 1px solid color-mix(in srgb, var(--bb-v42-border) 78%, transparent) ;
    box-shadow: none ;
  }

  .bbppm-v430-app .bbppm-v4598-toolbar__actions {
    display: grid ;
    grid-template-columns: repeat(2, minmax(0, 1fr)) ;
    gap: 10px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > * {
    width: 100% ;
    min-width: 0 ;
    max-width: 100% ;
    grid-column: auto ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > *:nth-child(3):last-child,
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > :is(a,button):last-child:nth-child(odd) {
    grid-column: 1 / -1 ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > :is(a,button),
  .bbppm-v430-app .bbppm-v4598-toolbar__actions .bbppm-v45100-menu__summary {
    width: 100% ;
    min-width: 0 ;
    max-width: 100% ;
    min-height: 54px ;
    height: 54px ;
    justify-content: center ;
    gap: 8px ;
    border-radius: 18px ;
    padding-inline: 10px ;
    font-size: 14px ;
    font-weight: 840 ;
    white-space: nowrap ;
    overflow: hidden ;
    text-overflow: ellipsis ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions :is(.dashicons, svg) {
    flex: 0 0 auto ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions .bbppm-v45100-menu__summary span,
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > :is(a,button) span {
    min-width: 0 ;
    overflow: hidden ;
    text-overflow: ellipsis ;
    white-space: nowrap ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions :is(button,a)[disabled],
  .bbppm-v430-app .bbppm-v4598-toolbar__actions :is(button,a)[aria-disabled="true"] {
    opacity: .56 ;
    color: color-mix(in srgb, var(--bb-v42-muted) 72%, transparent) ;
    background: color-mix(in srgb, var(--bb-v42-surface-2) 74%, var(--bb-v42-surface)) ;
    border-color: color-mix(in srgb, var(--bb-v42-border) 64%, transparent) ;
    box-shadow: none ;
  }

  .bbppm-v430-app .bbppm-v4598-summary {
    display: flex ;
    align-items: center ;
    width: 100% ;
    min-height: 0 ;
    padding: 0 ;
    gap: 8px ;
    flex-wrap: wrap ;
  }
  .bbppm-v430-app .bbppm-v4598-summary__text {
    display: block ;
    width: 100% ;
    min-width: 0 ;
    min-height: 0 ;
    padding: 0 2px ;
    font-size: 13px ;
    line-height: 1.32 ;
    font-weight: 820 ;
    color: var(--bb-v42-muted) ;
    white-space: normal ;
    overflow: visible ;
    overflow-wrap: anywhere ;
  }
  .bbppm-v430-app .bbppm-v4598-summary__metric {
    display: none ;
  }

  .bbppm-v430-app .bbppm-v4598-toolbar__display {
    display: flex ;
    flex-direction: column ;
    gap: 10px ;
  }
  .bbppm-v430-app .bbppm-v4598-rows {
    display: grid ;
    grid-template-columns: minmax(0, 1fr) minmax(96px, 128px) ;
    align-items: center ;
    gap: 10px ;
    padding: 0 12px ;
  }
  .bbppm-v430-app .bbppm-v4598-rows > span {
    min-width: 0 ;
    white-space: nowrap ;
    overflow: hidden ;
    text-overflow: ellipsis ;
    font-size: 12px ;
    line-height: 1 ;
    letter-spacing: .08em ;
    color: var(--bb-v42-muted) ;
  }
  .bbppm-v430-app .bbppm-v4598-rows select {
    width: 100% ;
    min-width: 0 ;
    height: 42px ;
    border-radius: 14px ;
    text-align: center ;
    font-size: 16px ;
    font-weight: 860 ;
    background: color-mix(in srgb, var(--bb-v42-surface-2) 54%, var(--bb-v42-surface)) ;
    border: 1px solid color-mix(in srgb, var(--bb-v42-border) 74%, transparent) ;
  }
  .bbppm-v430-app .bbppm-v4598-view {
    display: grid ;
    grid-template-columns: 1fr 1fr ;
    gap: 4px ;
    padding: 5px ;
    min-height: 56px ;
  }
  .bbppm-v430-app .bbppm-v4598-view button {
    width: 100% ;
    min-width: 0 ;
    min-height: 46px ;
    height: 46px ;
    border-radius: 14px ;
    padding-inline: 10px ;
    gap: 7px ;
    font-size: 14px ;
    font-weight: 840 ;
    white-space: nowrap ;
    overflow: hidden ;
    text-overflow: ellipsis ;
  }
  .bbppm-v430-app .bbppm-v4598-view button span {
    min-width: 0 ;
    overflow: hidden ;
    text-overflow: ellipsis ;
    white-space: nowrap ;
  }
  .bbppm-v430-app .bbppm-v4598-view button[aria-pressed="true"] {
    background: var(--bb-v42-action-primary) ;
    color: #fff ;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--bb-v42-action-primary) 22%, transparent) ;
  }
  .bbppm-v430-app .bbppm-v45100-menu__panel {
    position: fixed ;
    left: 14px ;
    right: 14px ;
    top: auto ;
    bottom: calc(var(--global-mobile-nav-height, 74px) + env(safe-area-inset-bottom, 0px) + 12px) ;
    width: auto ;
    min-width: 0 ;
    max-height: 56vh ;
    overflow: auto ;
    -webkit-overflow-scrolling: touch ;
    border-radius: 20px ;
    z-index: 900 ;
  }
}

@media (max-width: 380px) {
  .bbppm-v430-app .bbppm-v4598-toolbar__main,
  .bbppm-v430-app .bbppm-v4598-toolbar__meta {
    padding-inline: 12px ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions {
    grid-template-columns: 1fr ;
  }
  .bbppm-v430-app .bbppm-v4598-toolbar__actions > * {
    grid-column: 1 / -1 ;
  }
  .bbppm-v430-app .bbppm-v4598-filter {
    grid-template-columns: 22px minmax(0, 1fr) minmax(86px, 112px) ;
    padding-inline: 10px ;
  }
  .bbppm-v430-app .bbppm-v4598-filter__label,
  .bbppm-v430-app .bbppm-v4598-rows > span {
    font-size: 11px ;
  }
  .bbppm-v430-app .bbppm-v4598-view button {
    font-size: 13px ;
    padding-inline: 8px ;
  }
}

.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v4598-toolbar__meta {
  background: #0d211d ;
}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v4598-search,.bbppm-v4598-filter,.bbppm-v4598-date,.bbppm-v4598-rows,.bbppm-v4598-view) {
  background: #132d28 ;
  border-color: #35534b ;
}


/* ========================================================================== 
   v4.5.110 P10-CN — Full UI Defect Closure Pass
   Scope: current management application only. Cleaner App unchanged.
   Goal: close common UI defects without adding new modules: no clipped toolbar
   labels, no desktop-style two-column filter bar on phones, no harsh black
   focus outlines, safer overflow, cleaner disabled/create states and consistent
   touch targets.
   ========================================================================== */
.bbppm-v430-app,
.bbppm-v430-app *{box-sizing:border-box;}
.bbppm-v430-app{max-width:100vw;overflow-x:hidden;}
.bbppm-v430-app :where(.bbppm-v42-main,.bbppm-v430-content,.bbppm-v454-workspace,.bbppm-v45-records,.bbppm-v4598-toolbar,.bbppm-v45-record-cards,.bbppm-v45-table-wrap){min-width:0;max-width:100%;}
.bbppm-v430-app :where(button,a[href],summary,input,select,textarea){-webkit-tap-highlight-color:transparent;}
.bbppm-v430-app :where(button,a[href],summary,input,select,textarea):focus-visible{
  outline:3px solid color-mix(in srgb,var(--bb-v42-action-primary,#0FAE9D) 28%,transparent);
  outline-offset:2px;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--bb-v42-action-primary,#0FAE9D) 10%,transparent);
}
.bbppm-v430-app :where(button,a[href],summary)[disabled],
.bbppm-v430-app :where(button,a[href],summary)[aria-disabled="true"]{
  opacity:.64;
  color:color-mix(in srgb,var(--bb-v42-muted,#667085) 84%,transparent);
  background:color-mix(in srgb,var(--bb-v42-surface-2,#F7F9F8) 78%,var(--bb-v42-surface,#fff));
  border-color:color-mix(in srgb,var(--bb-v42-border,#D0D5DD) 72%,transparent);
  box-shadow:none;
  cursor:not-allowed;
}
.bbppm-v430-app :where(.bbppm-v45-record-card,.bbppm-record-card,.bbppm-v4575-card,.bbppm-v4579-record-card):focus-within{
  outline:0;
  border-color:color-mix(in srgb,var(--bb-v42-action-primary,#0FAE9D) 32%,var(--bb-v42-border,#D0D5DD));
  box-shadow:0 0 0 3px color-mix(in srgb,var(--bb-v42-action-primary,#0FAE9D) 8%,transparent),0 12px 30px rgba(18,59,54,.08);
}

/* Desktop/tablet cleanup: professional compact command deck. */
.bbppm-v430-app .bbppm-v4598-toolbar{
  --bbppm-toolbar-control-h:46px;
  overflow:visible;
  border-radius:18px;
  border-color:color-mix(in srgb,var(--bb-v42-border,#D0D5DD) 80%,transparent);
  background:linear-gradient(180deg,color-mix(in srgb,var(--bb-v42-surface,#fff) 98%,#fff 2%),var(--bb-v42-surface,#fff));
}
.bbppm-v430-app .bbppm-v4598-toolbar__main,
.bbppm-v430-app .bbppm-v4598-toolbar__meta{min-width:0;}
.bbppm-v430-app .bbppm-v4598-toolbar__search-area,
.bbppm-v430-app .bbppm-v4598-toolbar__actions,
.bbppm-v430-app .bbppm-v4598-toolbar__display{min-width:0;}
.bbppm-v430-app .bbppm-v4598-search input,
.bbppm-v430-app .bbppm-v4598-filter select,
.bbppm-v430-app .bbppm-v4598-rows select{font-size:max(14px,1rem);}
.bbppm-v430-app .bbppm-v4598-view button span:not(.dashicons),
.bbppm-v430-app .bbppm-v4598-toolbar__actions span:not(.dashicons){white-space:nowrap;}

/* Universal compact state: added by JS using real rendered width, so it still
   works if browser desktop mode or WP admin viewport changes the CSS width. */
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar{
  margin-inline:0;
  border-radius:20px;
  overflow:visible;
  box-shadow:0 1px 2px rgba(15,23,42,.04),0 12px 30px rgba(18,59,54,.08);
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__main,
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__meta{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:12px;
  width:100%;
  padding:14px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__meta{
  padding-top:12px;
  border-top:1px solid color-mix(in srgb,var(--bb-v42-border,#D0D5DD) 64%,transparent);
  border-radius:0 0 20px 20px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__search-area{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  width:100%;
}
.bbppm-v430-app.bbppm-ui-phone :is(.bbppm-v4598-search,.bbppm-v4598-filter,.bbppm-v4598-date,.bbppm-v4598-clear){
  width:100%;
  min-width:0;
  max-width:none;
  flex:none;
  height:54px;
  min-height:54px;
  border-radius:18px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-search{
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  gap:12px;
  padding-inline:16px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-search input{
  font-size:16px;
  font-weight:780;
  min-width:0;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-search input::placeholder{font-size:16px;font-weight:780;}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-filter{
  display:grid;
  grid-template-columns:24px minmax(72px,1fr) minmax(126px,auto);
  gap:12px;
  padding-inline:16px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-filter__label{
  font-size:12px;
  line-height:1;
  letter-spacing:.09em;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-filter select{
  width:100%;
  max-width:none;
  min-width:0;
  height:42px;
  padding-inline:12px 30px;
  border-radius:14px;
  font-size:16px;
  font-weight:850;
  background:color-mix(in srgb,var(--bb-v42-surface-2,#F7F9F8) 55%,var(--bb-v42-surface,#fff));
  border:1px solid color-mix(in srgb,var(--bb-v42-border,#D0D5DD) 72%,transparent);
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  width:100%;
  margin:0;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions>*{
  width:100%;
  min-width:0;
  max-width:100%;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions>*:nth-child(3),
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions>*:only-child{
  grid-column:1/-1;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions :is(a,button,.bbppm-v45100-menu__summary){
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:54px;
  height:54px;
  justify-content:center;
  text-align:center;
  border-radius:18px;
  padding:0 12px;
  gap:8px;
  font-size:14px;
  font-weight:850;
  line-height:1.1;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions :is(a,button,.bbppm-v45100-menu__summary) span:not(.dashicons){
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-summary{
  width:100%;
  display:block;
  min-height:0;
  padding:0 2px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-summary__text{
  display:block;
  width:100%;
  font-size:13px;
  line-height:1.35;
  font-weight:820;
  color:var(--bb-v42-muted,#667085);
  white-space:normal;
  overflow:visible;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-summary__metric{display:none;}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__display{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  width:100%;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-rows{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(96px,128px);
  align-items:center;
  width:100%;
  min-width:0;
  height:54px;
  min-height:54px;
  padding:0 14px;
  border-radius:18px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-rows>span{
  font-size:12px;
  line-height:1;
  letter-spacing:.08em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-rows select{
  width:100%;
  min-width:0;
  max-width:none;
  height:42px;
  min-height:42px;
  border-radius:14px;
  text-align:center;
  font-size:16px;
  font-weight:850;
  background:color-mix(in srgb,var(--bb-v42-surface-2,#F7F9F8) 55%,var(--bb-v42-surface,#fff));
  border:1px solid color-mix(in srgb,var(--bb-v42-border,#D0D5DD) 72%,transparent);
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-view{
  display:grid;
  grid-template-columns:1fr 1fr;
  width:100%;
  min-width:0;
  height:auto;
  min-height:58px;
  gap:5px;
  padding:5px;
  border-radius:18px;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-view button{
  width:100%;
  min-width:0;
  min-height:48px;
  height:48px;
  padding-inline:10px;
  gap:8px;
  border-radius:14px;
  font-size:14px;
  font-weight:850;
  overflow:hidden;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-view button span:not(.dashicons){
  min-width:0;
  overflow:hidden;
  text-overflow:clip;
  white-space:nowrap;
}
.bbppm-v430-app.bbppm-ui-phone .bbppm-v45100-menu__panel{
  position:fixed;
  left:14px;
  right:14px;
  top:auto;
  bottom:calc(var(--global-mobile-nav-height,74px) + env(safe-area-inset-bottom,0px) + 12px);
  min-width:0;
  width:auto;
  max-height:56vh;
  overflow:auto;
  border-radius:22px;
  z-index:1000;
}
@media(max-width:980px){
  .bbppm-v430-app .bbppm-v4598-toolbar{border-radius:20px;overflow:visible;}
  .bbppm-v430-app .bbppm-v4598-toolbar__main,
  .bbppm-v430-app .bbppm-v4598-toolbar__meta{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%;padding:14px;}
  .bbppm-v430-app .bbppm-v4598-toolbar__search-area{display:flex;flex-direction:column;gap:10px;width:100%;}
  .bbppm-v430-app :is(.bbppm-v4598-search,.bbppm-v4598-filter,.bbppm-v4598-date,.bbppm-v4598-clear){width:100%;max-width:none;min-width:0;flex:none;}
  .bbppm-v430-app .bbppm-v4598-toolbar__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;}
  .bbppm-v430-app .bbppm-v4598-toolbar__display{display:flex;flex-direction:column;gap:10px;width:100%;}
}
@media(max-width:420px){
  .bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions{grid-template-columns:1fr 1fr;}
  .bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-filter{grid-template-columns:24px minmax(0,1fr) minmax(94px,118px);padding-inline:12px;}
  .bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-view button{font-size:13.5px;padding-inline:8px;gap:6px;}
}
@media(max-width:360px){
  .bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__main,
  .bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__meta{padding:12px;}
  .bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions{grid-template-columns:1fr;}
  .bbppm-v430-app.bbppm-ui-phone .bbppm-v4598-toolbar__actions>*{grid-column:1/-1;}
}


/* ===========================================================================
   v4.5.111 P10-CO — Attention, Health & Operations UI Polish
   UI-only upgrade. No new modules. Cleaner App intentionally unchanged.
   Goals: make exception-heavy screens readable, modern, and action-oriented;
   prevent warning/attention pages from feeling like raw logs; improve mobile
   triage, system health, dashboard, live operations, schedule and owner cards.
   =========================================================================== */
.bbppm-v430-app{--bb-ui-radius-xl:24px;--bb-ui-radius-lg:18px;--bb-ui-radius-md:14px;--bb-ui-shadow-soft:0 18px 48px rgba(18,59,54,.08);--bb-ui-shadow-card:0 10px 30px rgba(18,59,54,.065);--bb-ui-line:color-mix(in srgb,var(--bb-v42-border,#D5DDD7) 68%,transparent);}
.bbppm-v430-app .bbppm-os-workspace{min-width:0;max-width:100%;}
.bbppm-v430-app :is(.bbppm-os-workspace,.bbppm-os-section,.bbppm-os-panel,.bbppm-os-card,.bbppm-os-health,.bbppm-os-exception,.bbppm-os-live-row,.bbppm-os-job-row,.bbppm-os-schedule-day,.bbppm-os-routine,.bbppm-owner-routine,.bbppm-owner-signal){overflow-wrap:anywhere;word-break:normal;}

/* Page title should feel like a professional product page, not a utility log. */
.bbppm-v430-app :is(.bbppm-os-workspace .bbppm-page-title,.bbppm-os-workspace .bbppm-v45-page-head){border-radius:var(--bb-ui-radius-xl);padding:18px 20px;border:1px solid var(--bb-ui-line);background:linear-gradient(135deg,color-mix(in srgb,var(--bb-v42-surface,#fff) 98%,#fff),color-mix(in srgb,var(--bb-v42-surface-2,#F6F7F4) 74%,transparent));box-shadow:0 1px 0 rgba(255,255,255,.72),0 12px 32px rgba(18,59,54,.055);}
.bbppm-v430-app :is(.bbppm-page-title h1,.bbppm-v45-page-head h1){letter-spacing:-.045em;}
.bbppm-v430-app :is(.bbppm-page-title p,.bbppm-v45-page-head p){max-width:760px;color:color-mix(in srgb,var(--bb-v42-muted,#667085) 92%,var(--bb-v42-text,#123B36));}

/* Attention filter tabs: turn tiny buttons into scan-friendly triage chips. */
.bbppm-v430-app .bbppm-os-filter-tabs{display:flex;flex-wrap:wrap;gap:10px;width:100%;min-width:0;margin:14px 0 18px;padding:8px;border:1px solid var(--bb-ui-line);border-radius:22px;background:color-mix(in srgb,var(--bb-v42-surface-2,#F6F7F4) 48%,var(--bb-v42-surface,#fff));box-shadow:inset 0 1px 0 rgba(255,255,255,.68);}
.bbppm-v430-app .bbppm-os-filter-tabs button{display:inline-grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;min-width:120px;min-height:50px;border:1px solid transparent;border-radius:17px;padding:8px 12px;background:transparent;color:var(--bb-v42-text,#123B36);font-size:13px;font-weight:850;line-height:1;text-align:left;white-space:nowrap;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;}
.bbppm-v430-app .bbppm-os-filter-tabs button span{min-width:0;overflow:hidden;text-overflow:ellipsis;}
.bbppm-v430-app .bbppm-os-filter-tabs button strong{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:color-mix(in srgb,var(--bb-v42-muted,#667085) 10%,transparent);font-size:12px;font-weight:950;font-variant-numeric:tabular-nums;}
.bbppm-v430-app .bbppm-os-filter-tabs button:hover{background:var(--bb-v42-surface,#fff);border-color:var(--bb-ui-line);box-shadow:0 8px 18px rgba(18,59,54,.055);}
.bbppm-v430-app .bbppm-os-filter-tabs button.is-active{background:var(--bb-v42-surface,#fff);border-color:color-mix(in srgb,var(--bb-v42-action-primary,#EE714E) 38%,var(--bb-v42-border,#D5DDD7));box-shadow:0 10px 24px color-mix(in srgb,var(--bb-v42-action-primary,#EE714E) 13%,transparent);}
.bbppm-v430-app .bbppm-os-filter-tabs button.is-active strong{background:var(--bb-v42-action-primary,#EE714E);color:#fff;}

/* Priority banner becomes clear and less alarming unless there are urgent items. */
.bbppm-v430-app .bbppm-os-priority-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border-radius:22px;padding:16px 18px;border:1px solid color-mix(in srgb,#F04438 24%,var(--bb-v42-border,#D5DDD7));background:linear-gradient(135deg,color-mix(in srgb,#F04438 8%,var(--bb-v42-surface,#fff)),var(--bb-v42-surface,#fff));box-shadow:0 14px 38px rgba(180,35,24,.08);}
.bbppm-v430-app .bbppm-os-priority-banner__icon{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:color-mix(in srgb,#F04438 12%,transparent);color:#B42318;}
.bbppm-v430-app .bbppm-os-priority-banner strong{font-size:16px;letter-spacing:-.01em;color:var(--bb-v42-text,#123B36);}
.bbppm-v430-app .bbppm-os-priority-banner small{display:block;margin-top:3px;color:var(--bb-v42-muted,#667085);font-weight:650;line-height:1.45;}
.bbppm-v430-app .bbppm-os-priority-banner button{min-height:46px;border:1px solid color-mix(in srgb,#F04438 26%,transparent);border-radius:15px;background:#fff;color:#B42318;font-weight:900;padding:0 16px;}

/* Exception cards: modern triage cards with stronger hierarchy and readable metadata. */
.bbppm-v430-app .bbppm-os-exception-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:14px;align-items:stretch;}
.bbppm-v430-app .bbppm-os-exception{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:13px;padding:16px;border:1px solid var(--bb-ui-line);border-left:0;border-radius:22px;background:linear-gradient(180deg,var(--bb-v42-surface,#fff),color-mix(in srgb,var(--bb-v42-surface-2,#F6F7F4) 24%,var(--bb-v42-surface,#fff)));box-shadow:var(--bb-ui-shadow-card);overflow:hidden;}
.bbppm-v430-app .bbppm-os-exception:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--bb-v430-amber,#F59E0B);}
.bbppm-v430-app .bbppm-os-exception[data-severity="urgent"]:before{background:#F04438;}
.bbppm-v430-app .bbppm-os-exception[data-severity="info"]:before{background:var(--bb-v430-primary,#016CF9);}
.bbppm-v430-app .bbppm-os-exception__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0;}
.bbppm-v430-app .bbppm-os-exception__kind{display:flex;align-items:center;gap:8px;min-width:0;}
.bbppm-v430-app .bbppm-os-exception__kind .bbppm-badge{flex:0 0 auto;}
.bbppm-v430-app .bbppm-os-exception__kind>span:last-child{display:inline-flex;max-width:180px;min-height:26px;align-items:center;border-radius:999px;padding:0 9px;background:color-mix(in srgb,var(--bb-v42-muted,#667085) 8%,transparent);font-size:11px;font-weight:900;letter-spacing:.025em;text-transform:none;color:var(--bb-v42-muted,#667085);}
.bbppm-v430-app .bbppm-os-exception__age{flex:0 0 auto;display:inline-flex;align-items:center;min-height:26px;border-radius:999px;padding:0 8px;background:color-mix(in srgb,var(--bb-v42-surface-2,#F6F7F4) 74%,transparent);font-size:11px;font-weight:850;color:var(--bb-v42-muted,#667085);white-space:nowrap;}
.bbppm-v430-app .bbppm-os-exception__text{margin:0;padding-inline-start:4px;font-size:15px;font-weight:760;line-height:1.5;color:var(--bb-v42-text,#123B36);}
.bbppm-v430-app .bbppm-os-exception__meta{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding-inline-start:4px;color:var(--bb-v42-muted,#667085);font-size:12px;line-height:1.4;}
.bbppm-v430-app .bbppm-os-exception__meta span{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:0 9px;background:color-mix(in srgb,var(--bb-v42-surface-2,#F6F7F4) 66%,transparent);font-weight:750;}
.bbppm-v430-app .bbppm-os-exception__action{justify-self:start;display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;border-radius:15px;padding:0 14px;background:color-mix(in srgb,var(--bb-v42-action-primary,#EE714E) 10%,transparent);color:var(--bb-v42-action-primary,#EE714E);font-size:13px;font-weight:950;text-decoration:none;}
.bbppm-v430-app .bbppm-os-exception__action:hover{background:var(--bb-v42-action-primary,#EE714E);color:#fff;}

/* Panels and KPI cards: reduce hard edges and keep rows readable. */
.bbppm-v430-app :is(.bbppm-os-panel,.bbppm-os-card,.bbppm-os-health,.bbppm-owner-routine,.bbppm-owner-signal,.bbppm-os-schedule-day){border-radius:22px;border-color:var(--bb-ui-line);box-shadow:0 10px 28px rgba(18,59,54,.055);}
.bbppm-v430-app :is(.bbppm-os-kpis,.bbppm-owner-signals){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;}
.bbppm-v430-app .bbppm-os-live-list{border-radius:22px;overflow:hidden;border:1px solid var(--bb-ui-line);box-shadow:var(--bb-ui-shadow-card);}
.bbppm-v430-app .bbppm-os-live-head{background:color-mix(in srgb,var(--bb-v42-surface-2,#F6F7F4) 78%,var(--bb-v42-surface,#fff));font-size:12px;font-weight:950;letter-spacing:.04em;text-transform:uppercase;color:var(--bb-v42-muted,#667085);}
.bbppm-v430-app .bbppm-os-live-row{border-bottom:1px solid var(--bb-ui-line);}
.bbppm-v430-app .bbppm-os-live-row:last-child{border-bottom:0;}

/* Mobile operational pages: readable cards, no cramped log rows. */
@media (max-width:700px){
  .bbppm-v430-app .bbppm-os-filter-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px;border-radius:20px;margin:12px 0 16px;}
  .bbppm-v430-app .bbppm-os-filter-tabs button{width:100%;min-width:0;min-height:54px;border-radius:16px;padding:8px 10px;font-size:13px;}
  .bbppm-v430-app .bbppm-os-filter-tabs button strong{min-width:30px;height:30px;font-size:12px;}

  .bbppm-v430-app .bbppm-os-priority-banner{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:14px;border-radius:20px;}
  .bbppm-v430-app .bbppm-os-priority-banner__icon{width:44px;height:44px;border-radius:15px;}
  .bbppm-v430-app .bbppm-os-priority-banner button{grid-column:1/-1;width:100%;min-height:48px;}

  .bbppm-v430-app .bbppm-os-exception-list{grid-template-columns:1fr;gap:12px;}
  .bbppm-v430-app .bbppm-os-exception{padding:15px;border-radius:21px;}
  .bbppm-v430-app .bbppm-os-exception__heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;}
  .bbppm-v430-app .bbppm-os-exception__kind{align-items:flex-start;flex-direction:column;gap:6px;}
  .bbppm-v430-app .bbppm-os-exception__kind>span:last-child{max-width:100%;white-space:normal;line-height:1.25;padding-block:6px;height:auto;}
  .bbppm-v430-app .bbppm-os-exception__text{font-size:15px;line-height:1.55;}
  .bbppm-v430-app .bbppm-os-exception__meta{display:grid;grid-template-columns:1fr;gap:6px;}
  .bbppm-v430-app .bbppm-os-exception__meta span{border-radius:14px;min-height:36px;justify-content:flex-start;}
  .bbppm-v430-app .bbppm-os-exception__action{width:100%;justify-self:stretch;min-height:50px;border-radius:17px;}

  .bbppm-v430-app :is(.bbppm-os-kpis,.bbppm-owner-signals){grid-template-columns:1fr 1fr;gap:10px;}
  .bbppm-v430-app :is(.bbppm-os-card,.bbppm-owner-signal){min-height:112px;padding:14px;border-radius:20px;}
  .bbppm-v430-app :is(.bbppm-os-card strong,.bbppm-owner-signal strong){font-size:24px;line-height:1.1;}
  .bbppm-v430-app .bbppm-os-live-head{display:none;}
  .bbppm-v430-app .bbppm-os-live-list{display:grid;gap:10px;border:0;box-shadow:none;background:transparent;overflow:visible;}
  .bbppm-v430-app .bbppm-os-live-row{display:grid;grid-template-columns:1fr;gap:10px;padding:14px;border:1px solid var(--bb-ui-line);border-radius:21px;background:var(--bb-v42-surface,#fff);box-shadow:var(--bb-ui-shadow-card);}
  .bbppm-v430-app .bbppm-os-live-cell,
  .bbppm-v430-app .bbppm-os-live-row__state,
  .bbppm-v430-app .bbppm-os-live-row__job,
  .bbppm-v430-app .bbppm-os-live-row__next{width:100%;min-width:0;}
  .bbppm-v430-app .bbppm-os-live-row__person{min-height:50px;}
}

@media (max-width:380px){
  .bbppm-v430-app .bbppm-os-filter-tabs{grid-template-columns:1fr;}
  .bbppm-v430-app :is(.bbppm-os-kpis,.bbppm-owner-signals){grid-template-columns:1fr;}
}

/* Dark mode parity for exception-heavy screens. */
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-os-workspace .bbppm-page-title,.bbppm-os-workspace .bbppm-v45-page-head,.bbppm-os-panel,.bbppm-os-card,.bbppm-os-health,.bbppm-os-exception,.bbppm-os-live-row,.bbppm-owner-routine,.bbppm-owner-signal){background:#102622;border-color:#2E4942;color:#F4F8F6;box-shadow:0 14px 38px rgba(0,0,0,.24);}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-os-filter-tabs{background:#0D211D;border-color:#2E4942;}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-os-filter-tabs button.is-active{background:#132D28;}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-os-exception__meta span,
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-os-exception__age,
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-os-exception__kind>span:last-child{background:#173630;color:#CFE1DC;}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-os-priority-banner{background:linear-gradient(135deg,rgba(240,68,56,.18),#102622);border-color:rgba(240,68,56,.34);}


/* ==========================================================================
   v4.5.112 P10-CP — Settings, Admin & Touch Comfort UI Sweep
   UI-only. No new modules. No data mutation. Preserves v4.5.111 runtime.
   Focus: remaining form-heavy Settings/Governance/Admin surfaces, payroll and
   health panels, dense setup pages, sticky actions, and mobile safe areas.
   ========================================================================== */
.bbppm-v430-app{--bb-cp-radius-xl:24px;--bb-cp-radius-lg:18px;--bb-cp-radius-md:14px;--bb-cp-line:color-mix(in srgb,var(--bb-v42-border,#D5DDD7) 70%,transparent);--bb-cp-soft:0 18px 45px rgba(18,59,54,.07);--bb-cp-card:0 10px 28px rgba(18,59,54,.055);}
.bbppm-v430-app :is(.bbppm-v45-settings,.bbppm-v45-governance,.bbppm-v453-panel,.bbppm-v453-preview-panel,.bbppm-v453-admin-link,.bbppm-v45-system-health,.bbppm-v45-health-item,.bbppm-v4562-cleaner-admin,.bbppm-v430-panel,.bbppm-panel,.bbppm-v4-panel,.bbppm-v4540-quality-resolution,.bbppm-v4542-recovery-card__form){border-radius:var(--bb-cp-radius-xl);border-color:var(--bb-cp-line);background:linear-gradient(180deg,var(--bb-v42-surface,#fff),color-mix(in srgb,var(--bb-v42-surface-2,#F6F7F4) 24%,var(--bb-v42-surface,#fff)));box-shadow:var(--bb-cp-card);min-width:0;overflow:hidden;}
.bbppm-v430-app :is(.bbppm-v45-settings-section,.bbppm-v453-panel,.bbppm-v430-panel,.bbppm-panel,.bbppm-v4-panel){padding:18px;}
.bbppm-v430-app :is(.bbppm-v45-settings-section h2,.bbppm-v453-panel h2,.bbppm-v430-panel h2,.bbppm-panel h2,.bbppm-v4-panel h2,.bbppm-v45-settings-section h3,.bbppm-v453-panel h3,.bbppm-v430-panel h3){font-size:clamp(16px,2vw,20px);line-height:1.2;letter-spacing:-.025em;margin:0 0 8px;color:var(--bb-v42-text,#123B36);}
.bbppm-v430-app :is(.bbppm-v45-settings-section p,.bbppm-v453-panel p,.bbppm-v430-panel p,.bbppm-panel p,.bbppm-v4-panel p){line-height:1.55;color:var(--bb-v42-muted,#667085);max-width:78ch;}

/* Form grids: avoid compressed columns on tablets and phones. */
.bbppm-v430-app :is(.bbppm-v45-form-grid,.bbppm-v451-form-grid,.bbppm-v4514-form-grid,.bbppm-v453-form-grid,.bbppm-v453-settings-grid,.bbppm-v454-document-form,.bbppm-v454-toolbar__fields,.bbppm-p10ae-form-grid,.bbppm-p10af-form-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;align-items:start;min-width:0;}
.bbppm-v430-app :is(.bbppm-v453-form-grid--single,.bbppm-v453-settings-grid--wide){grid-template-columns:1fr;}
.bbppm-v430-app :is(.bbppm-v45-field,.bbppm-v451-field,.bbppm-v4514-field,.bbppm-v452-field,.bbppm-v453-field,.bbppm-v454-field,.bbppm-form-field,.bbppm-field,.bbppm-v45-toggle-field){min-width:0;display:grid;gap:7px;align-content:start;}
.bbppm-v430-app :is(.bbppm-v45-field__label,.bbppm-v45-toggle-field__label,.bbppm-label,label){font-weight:850;color:var(--bb-v42-text,#123B36);line-height:1.3;}
.bbppm-v430-app :is(input[type="text"],input[type="email"],input[type="number"],input[type="tel"],input[type="url"],input[type="date"],input[type="time"],input[type="password"],select,textarea,.bbppm-v45-field__control){min-height:46px;border-radius:15px;border:1px solid var(--bb-cp-line);background:var(--bb-v42-surface,#fff);color:var(--bb-v42-text,#123B36);box-shadow:inset 0 1px 0 rgba(255,255,255,.75);font-size:14px;line-height:1.4;max-width:100%;}
.bbppm-v430-app textarea{min-height:112px;resize:vertical;}
.bbppm-v430-app :is(input,select,textarea,button,a):focus-visible{outline:3px solid color-mix(in srgb,var(--bb-v42-action-primary,#EE714E) 25%,transparent);outline-offset:2px;}
.bbppm-v430-app :is(.bbppm-v45-field__suffix,.description,.help,.bbppm-help-text){font-size:12px;color:var(--bb-v42-muted,#667085);line-height:1.45;}

/* Toggle rows and governance controls become readable cards. */
.bbppm-v430-app .bbppm-v45-toggle-field{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid var(--bb-cp-line);border-radius:18px;padding:12px 14px;background:color-mix(in srgb,var(--bb-v42-surface,#fff) 84%,var(--bb-v42-surface-2,#F6F7F4));}
.bbppm-v430-app .bbppm-v45-toggle-field__track{width:54px;min-width:54px;height:32px;border-radius:999px;}
.bbppm-v430-app :is(.bbppm-v45-delegation-form,.bbppm-p10ad-form,.bbppm-p10ae-form,.bbppm-p10af-scenario-form,.bbppm-p10ag-form,.bbppm-p10ai-item-form){display:grid;gap:14px;border-radius:22px;border:1px solid var(--bb-cp-line);padding:16px;background:color-mix(in srgb,var(--bb-v42-surface,#fff) 88%,var(--bb-v42-surface-2,#F6F7F4));box-shadow:var(--bb-cp-card);}
.bbppm-v430-app :is(.bbppm-p10ad-form-actions,.bbppm-form-action,.bbppm-sticky-actions,.bbppm-v4562-panel-savebar){display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center;min-width:0;}
.bbppm-v430-app :is(.button,.bbppm-button,.bbppm-v4535-button,.bbppm-v4-action,.bbppm-auth-primary,.bbppm-form-action button,.bbppm-p10ad-form-actions button){min-height:44px;border-radius:14px;font-weight:850;white-space:nowrap;}

/* Health/payroll/resolution blocks: clearer summaries and action zones. */
.bbppm-v430-app :is(.bbppm-v45-health-grid,.bbppm-v45-health-list){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;min-width:0;}
.bbppm-v430-app .bbppm-v45-health-item{padding:16px;display:grid;gap:8px;}
.bbppm-v430-app .bbppm-v45-health-object{font-weight:900;letter-spacing:-.012em;color:var(--bb-v42-text,#123B36);overflow-wrap:anywhere;}
.bbppm-v430-app .bbppm-v45-health-value{font-size:clamp(22px,4vw,34px);font-weight:950;letter-spacing:-.04em;line-height:1.05;}
.bbppm-v430-app .bbppm-v4540-quality-resolution,
.bbppm-v430-app .bbppm-v4542-recovery-card__form{display:grid;gap:14px;}
.bbppm-v430-app :is(.bbppm-v4540-quality-resolution,.bbppm-v4542-recovery-card__form) .button-primary{min-height:48px;border-radius:16px;}

/* Admin links are now product cards instead of cramped utility rows. */
.bbppm-v430-app .bbppm-v453-admin-grid,
.bbppm-v430-app .bbppm-v453-admin-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;align-items:stretch;}
.bbppm-v430-app .bbppm-v453-admin-link{display:grid;gap:8px;align-content:start;padding:16px;text-decoration:none;color:inherit;min-height:112px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;}
.bbppm-v430-app .bbppm-v453-admin-link:hover{transform:translateY(-1px);box-shadow:var(--bb-cp-soft);border-color:color-mix(in srgb,var(--bb-v42-action-primary,#EE714E) 35%,var(--bb-cp-line));}
.bbppm-v430-app .bbppm-v453-admin-link strong{font-size:15px;letter-spacing:-.015em;}
.bbppm-v430-app .bbppm-v453-admin-link span{color:var(--bb-v42-muted,#667085);line-height:1.45;}

/* Mobile: everything becomes full-width and thumb-safe. */
@media (max-width:700px){
  .bbppm-v430-app{--bb-cp-radius-xl:21px;--bb-cp-radius-lg:17px;}
  .bbppm-v430-app :is(.bbppm-v45-settings-section,.bbppm-v453-panel,.bbppm-v430-panel,.bbppm-panel,.bbppm-v4-panel){padding:15px;border-radius:21px;}
  .bbppm-v430-app :is(.bbppm-v45-form-grid,.bbppm-v451-form-grid,.bbppm-v4514-form-grid,.bbppm-v453-form-grid,.bbppm-v453-settings-grid,.bbppm-v454-document-form,.bbppm-v454-toolbar__fields,.bbppm-p10ae-form-grid,.bbppm-p10af-form-grid){grid-template-columns:1fr;gap:12px;}
  .bbppm-v430-app :is(input[type="text"],input[type="email"],input[type="number"],input[type="tel"],input[type="url"],input[type="date"],input[type="time"],input[type="password"],select,textarea,.bbppm-v45-field__control){width:100%;min-height:50px;font-size:16px;}
  .bbppm-v430-app .bbppm-v45-toggle-field{grid-template-columns:1fr;align-items:start;padding:13px;}
  .bbppm-v430-app .bbppm-v45-toggle-field__track{justify-self:start;}
  .bbppm-v430-app :is(.bbppm-p10ad-form-actions,.bbppm-form-action,.bbppm-sticky-actions,.bbppm-v4562-panel-savebar){display:grid;grid-template-columns:1fr;gap:9px;position:sticky;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:22;padding:10px;border:1px solid var(--bb-cp-line);border-radius:19px;background:color-mix(in srgb,var(--bb-v42-surface,#fff) 94%,transparent);box-shadow:0 18px 45px rgba(18,59,54,.14);backdrop-filter:blur(14px);}
  .bbppm-v430-app :is(.bbppm-p10ad-form-actions,.bbppm-form-action,.bbppm-sticky-actions,.bbppm-v4562-panel-savebar) :is(button,a,.button){width:100%;justify-content:center;min-height:50px;}
  .bbppm-v430-app :is(.bbppm-v45-health-grid,.bbppm-v45-health-list,.bbppm-v453-admin-grid,.bbppm-v453-admin-links){grid-template-columns:1fr;}
  .bbppm-v430-app .bbppm-v453-admin-link{min-height:auto;border-radius:20px;}
}

.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v45-settings,.bbppm-v45-governance,.bbppm-v453-panel,.bbppm-v453-preview-panel,.bbppm-v453-admin-link,.bbppm-v45-system-health,.bbppm-v45-health-item,.bbppm-v4562-cleaner-admin,.bbppm-v430-panel,.bbppm-panel,.bbppm-v4-panel,.bbppm-v4540-quality-resolution,.bbppm-v4542-recovery-card__form){background:#102622;border-color:#2E4942;color:#F4F8F6;box-shadow:0 14px 34px rgba(0,0,0,.23);}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(input,select,textarea,.bbppm-v45-field__control){background:#0D211D;border-color:#2E4942;color:#F4F8F6;}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-v45-toggle-field{background:#132D28;border-color:#2E4942;}


/* ==========================================================================
   v4.5.113 P10-CQ — Navigation, Header & Command Surface UI Polish
   UI-only. No new modules. No data mutation. Builds on v4.5.112.
   Focus: shell, sidebar, sticky header, mobile drawer, topbar actions,
   command menus, profile/search/quick-add overlays, bottom nav and safe areas.
   ========================================================================== */
.bbppm-v430-app{--bb-cq-sidebar:252px;--bb-cq-line:color-mix(in srgb,var(--bb-v42-border,#D5DDD7) 70%,transparent);--bb-cq-soft:0 18px 48px rgba(18,59,54,.08);--bb-cq-card:0 10px 30px rgba(18,59,54,.06);--bb-cq-radius:22px;--bb-cq-radius-sm:16px;}
.bbppm-v430-app :is(.bbppm-v430-shell,.bbppm-stage03-shell,.bbppm-application-shell,.bbppm-native-shell){min-width:0;max-width:100%;background:color-mix(in srgb,var(--bb-v42-surface-2,#F7F4ED) 42%,#fff);}
.bbppm-v430-app :is(.bbppm-v430-content,.bbppm-v42-main,.bbppm-v430-main,.bbppm-v430-route,.bbppm-v430-page){min-width:0;max-width:100%;}
@media (min-width:1024px){.bbppm-v430-app .bbppm-v430-content{padding-left:var(--bb-cq-sidebar);transition:padding-left .18s ease;}.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar){width:var(--bb-cq-sidebar);}}

/* Premium sidebar: clearer active states, safer text, more comfortable scroll. */
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar){background:linear-gradient(180deg,#123B36 0%,#0D2C28 58%,#081D1A 100%);border-right:1px solid rgba(189,231,215,.16);box-shadow:8px 0 28px rgba(18,59,54,.12);color:#EAF7F2;overflow:hidden;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar)>div:first-child{min-height:72px;height:auto;padding:14px 16px;border-bottom:1px solid rgba(189,231,215,.14);background:rgba(255,255,255,.025);}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav{display:block;height:calc(100vh - 150px);overflow:auto;padding:14px 12px 20px;scrollbar-width:thin;scrollbar-color:rgba(189,231,215,.42) transparent;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav::-webkit-scrollbar{width:8px}.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav::-webkit-scrollbar-thumb{background:rgba(189,231,215,.34);border-radius:999px}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav section{margin:0 0 18px;min-width:0;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav h2{padding:0 10px 8px;margin:0;color:#BDE7D7;font-size:11px;line-height:1.25;font-weight:900;letter-spacing:.095em;text-transform:uppercase;opacity:.86;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav :is(a,button,.bbppm-v430-nav-item,.bbppm-nav-item){position:relative;display:flex;align-items:center;gap:11px;width:100%;min-height:46px;min-width:0;margin:1px 0;padding:10px 12px;border:1px solid transparent;border-radius:15px;background:transparent;color:#E7F3EF;font-size:14px;font-weight:760;line-height:1.18;text-align:left;text-decoration:none;white-space:normal;overflow:hidden;transition:background .16s ease,border-color .16s ease,transform .16s ease,color .16s ease;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav :is(a,button) :is(.dashicons,svg){flex:0 0 22px;width:22px;height:22px;font-size:20px;line-height:1;color:#BDE7D7;opacity:.95;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav :is(a,button) :is(span,.bbppm-nav-label){min-width:0;overflow:hidden;text-overflow:ellipsis;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav :is(a,button):hover{background:rgba(189,231,215,.105);border-color:rgba(189,231,215,.16);color:#fff;transform:translateX(1px);}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav :is(a,button)[aria-current="page"],
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav button[data-bbppm-nav-state="active"],
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav .is-active{background:linear-gradient(135deg,#BDE7D7,#E7FFF5);color:#123B36;border-color:rgba(189,231,215,.72);box-shadow:inset 4px 0 0 #EE714E,0 12px 24px rgba(0,0,0,.16);}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav :is(a,button)[aria-current="page"] :is(.dashicons,svg,span),
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav button[data-bbppm-nav-state="active"] :is(.dashicons,svg,span),
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav .is-active :is(.dashicons,svg,span){color:#123B36;}
.bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar)>div:last-child{border-top:1px solid rgba(189,231,215,.14);padding:12px;background:rgba(0,0,0,.12);}
.bbppm-v430-app :is(.bbppm-sidebar-user-name,.bbppm-sidebar-user-role){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* Sticky product header and action cluster. */
.bbppm-v430-app :is(.bbppm-v42-topbar,.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-global-topbar){position:sticky;top:0;z-index:720;background:color-mix(in srgb,var(--bb-v42-surface,#fff) 94%,transparent);border-bottom:1px solid var(--bb-cq-line);box-shadow:0 10px 26px rgba(18,59,54,.055);backdrop-filter:blur(18px);}
.bbppm-v430-app :is(.bbppm-v42-topbar-inner,.bbppm-v430-topbar-inner){min-height:66px;height:auto;display:flex;align-items:center;gap:12px;max-width:none;padding:10px 20px;min-width:0;}
.bbppm-v430-app :is(.bbppm-topbar-left,.bbppm-v430-mobile-brand){display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto;}
.bbppm-v430-app :is(.bbppm-v430-page-title,.bbppm-v430-mobile-brand strong,.bbppm-topbar-left strong){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:950;letter-spacing:-.035em;}
.bbppm-v430-app :is(.bbppm-topbar-actions,.bbppm-v430-topbar-actions,.bbppm-v4523-topbar-actions,.bbppm-v4581-topbar-actions,.bbppm-v4582-topbar-actions){display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex:0 0 auto;}
.bbppm-v430-app :is(.bbppm-topbar-actions,.bbppm-v430-topbar-actions,.bbppm-v4523-topbar-actions,.bbppm-v4581-topbar-actions,.bbppm-v4582-topbar-actions) :is(button,a,.button){min-width:44px;min-height:44px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;font-weight:850;}
.bbppm-v430-app :is(.bbppm-v430-desktop-search,.bbppm-v42-topbar-search,.bbppm-top-search){min-width:220px;max-width:420px;flex:1 1 320px;}
.bbppm-v430-app :is(.bbppm-v430-desktop-search input,.bbppm-v42-topbar-search input,.bbppm-top-search input){width:100%;min-height:44px;border-radius:16px;border:1px solid var(--bb-cq-line);background:color-mix(in srgb,var(--bb-v42-surface-2,#F7F9F8) 55%,var(--bb-v42-surface,#fff));}

/* Page header / route bar: consistent modern surface under sticky header. */
.bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v430-routebar,.bbppm-v45-page-head,.bbppm-page-title){min-width:0;max-width:100%;border-radius:24px;border:1px solid var(--bb-cq-line);background:linear-gradient(135deg,var(--bb-v42-surface,#fff),color-mix(in srgb,var(--bb-v42-surface-2,#F7F4ED) 58%,var(--bb-v42-surface,#fff)));box-shadow:var(--bb-cq-card);padding:18px 20px;overflow:hidden;}
.bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v430-routebar,.bbppm-v45-page-head,.bbppm-page-title) h1{font-size:clamp(22px,3vw,34px);line-height:1.05;letter-spacing:-.055em;margin:0;color:var(--bb-v42-text,#123B36);overflow-wrap:anywhere;}
.bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v430-routebar,.bbppm-v45-page-head,.bbppm-page-title) p{max-width:76ch;color:var(--bb-v42-muted,#667085);line-height:1.5;}
.bbppm-v430-app :is(.bbppm-v430-actions,.bbppm-v430-command-item,.bbppm-v430-toolbar,.bbppm-context-action-bar){min-width:0;max-width:100%;}

/* Command/profile/dropdown menus: consistent, high z-index, not clipped. */
.bbppm-v430-app :is(.bbppm-v430-profile-menu,.bbppm-v430-popup-menu,.bbppm-topbar-menu-panel,.bbppm-v45100-menu__panel,.bbppm-v4598-menu__panel,.bbppm-v430-notifications){z-index:1100;border-radius:22px;border:1px solid var(--bb-cq-line);background:color-mix(in srgb,var(--bb-v42-surface,#fff) 97%,transparent);box-shadow:0 24px 70px rgba(18,59,54,.18);backdrop-filter:blur(16px);overflow:hidden;}
.bbppm-v430-app :is(.bbppm-v430-profile-menu,.bbppm-v430-popup-menu,.bbppm-topbar-menu-panel,.bbppm-v45100-menu__panel,.bbppm-v4598-menu__panel) :is(a,button){min-height:46px;border-radius:14px;font-weight:780;white-space:normal;text-align:left;}

/* Mobile drawer, overlay and bottom nav. */
@media (max-width:1023px){
  .bbppm-v430-app{--bb-cq-sidebar:320px;}
  .bbppm-v430-app :is(.bbppm-v430-content,.bbppm-v42-main,.bbppm-v430-main){padding-left:0;padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));}
  .bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar){position:fixed;inset:0 auto 0 0;width:min(88vw,var(--bb-cq-sidebar));max-width:360px;height:100dvh;z-index:1000;transform:translateX(-105%);transition:transform .22s ease;border-radius:0 26px 26px 0;box-shadow:22px 0 60px rgba(0,0,0,.28);}
  body.bbppm-nav-open .bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar),
  body.bbppm-management-nav-open .bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar),
  .bbppm-v430-app.bbppm-nav-open :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar),
  .bbppm-v430-app .bbppm-v430-sidebar.is-open{transform:translateX(0);}
  .bbppm-v430-app :is(.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar) nav{height:calc(100dvh - 152px);padding-bottom:calc(26px + env(safe-area-inset-bottom,0px));}
  .bbppm-v430-app :is(.bbppm-v430-sidebar-backdrop,.bbppm-v4587-sidebar-backdrop){position:fixed;inset:0;z-index:990;background:rgba(4,19,17,.46);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .18s ease;}
  body.bbppm-nav-open .bbppm-v430-app :is(.bbppm-v430-sidebar-backdrop,.bbppm-v4587-sidebar-backdrop),
  body.bbppm-management-nav-open .bbppm-v430-app :is(.bbppm-v430-sidebar-backdrop,.bbppm-v4587-sidebar-backdrop),
  .bbppm-v430-app.bbppm-nav-open :is(.bbppm-v430-sidebar-backdrop,.bbppm-v4587-sidebar-backdrop){opacity:1;pointer-events:auto;}
}
@media (max-width:782px){
  .bbppm-v430-app :is(.bbppm-v42-topbar-inner,.bbppm-v430-topbar-inner){min-height:58px;padding:8px 12px;gap:8px;}
  .bbppm-v430-app :is(.bbppm-v430-desktop-search,.bbppm-v42-topbar-search,.bbppm-top-search){display:none;}
  .bbppm-v430-app :is(.bbppm-topbar-actions,.bbppm-v430-topbar-actions,.bbppm-v4523-topbar-actions,.bbppm-v4581-topbar-actions,.bbppm-v4582-topbar-actions){gap:6px;}
  .bbppm-v430-app :is(.bbppm-topbar-actions,.bbppm-v430-topbar-actions,.bbppm-v4523-topbar-actions,.bbppm-v4581-topbar-actions,.bbppm-v4582-topbar-actions) :is(button,a,.button){min-width:42px;min-height:42px;padding-inline:10px;border-radius:14px;}
  .bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v430-routebar,.bbppm-v45-page-head,.bbppm-page-title){padding:16px;border-radius:22px;}
  .bbppm-v430-app :is(.bbppm-v430-page-header,.bbppm-v430-routebar,.bbppm-v45-page-head,.bbppm-page-title) h1{font-size:clamp(21px,7vw,28px);}
  .bbppm-v430-app :is(.bbppm-v430-mobile-search,.bbppm-v430-mobile-brand){min-width:0;}
  .bbppm-v430-app :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav){position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:760;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;min-height:68px;height:auto;padding:6px;border:1px solid var(--bb-cq-line);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 20px 55px rgba(18,59,54,.18);backdrop-filter:blur(18px);}
  .bbppm-v430-app :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav) :is(a,button){min-width:0;min-height:54px;border-radius:18px;padding:5px;display:grid;place-items:center;gap:2px;font-size:11px;font-weight:900;line-height:1.08;text-align:center;color:#123B36;text-decoration:none;white-space:normal;}
  .bbppm-v430-app :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav) :is(.active,.is-active,[aria-current="page"]){background:#123B36;color:#fff;box-shadow:0 8px 18px rgba(18,59,54,.18);}
  .bbppm-v430-app :is(.bbppm-v430-profile-menu,.bbppm-v430-popup-menu,.bbppm-topbar-menu-panel,.bbppm-v45100-menu__panel,.bbppm-v4598-menu__panel){position:fixed;left:12px;right:12px;top:auto;bottom:calc(88px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;max-height:62vh;overflow:auto;border-radius:24px;}
}
@media (max-width:390px){
  .bbppm-v430-app :is(.bbppm-v42-topbar-inner,.bbppm-v430-topbar-inner){padding-inline:8px;gap:6px;}
  .bbppm-v430-app :is(.bbppm-topbar-actions,.bbppm-v430-topbar-actions,.bbppm-v4523-topbar-actions,.bbppm-v4581-topbar-actions,.bbppm-v4582-topbar-actions) :is(button,a,.button){min-width:40px;min-height:40px;padding-inline:8px;}
  .bbppm-v430-app :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav){left:6px;right:6px;gap:4px;border-radius:21px;}
  .bbppm-v430-app :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav) :is(a,button){font-size:10px;min-height:50px;border-radius:16px;}
}

/* Dark mode parity. */
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v42-topbar,.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-global-topbar,.bbppm-v430-page-header,.bbppm-v430-routebar,.bbppm-v45-page-head,.bbppm-page-title,.bbppm-v430-profile-menu,.bbppm-v430-popup-menu,.bbppm-topbar-menu-panel,.bbppm-v45100-menu__panel,.bbppm-v4598-menu__panel,.bbppm-v430-notifications){background:#102622;border-color:#2E4942;color:#F4F8F6;box-shadow:0 18px 42px rgba(0,0,0,.26);}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v430-desktop-search input,.bbppm-v42-topbar-search input,.bbppm-top-search input){background:#0D211D;border-color:#2E4942;color:#F4F8F6;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav){background:rgba(16,38,34,.96);border-color:#2E4942;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav) :is(a,button){color:#F4F8F6;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav) :is(.active,.is-active,[aria-current="page"]){background:#BDE7D7;color:#123B36;}


/* ========================================================================== 
   v4.5.114 P10-CR — Installed Visual Acceptance & UI Defect Closure
   UI-only. No new modules. No data writes. Last broad UI defect guard.
   Covers: list toolbars, filters, record cards, tables, forms, modals,
   sticky actions, command menus, bottom nav, warnings, dark mode and print.
   ========================================================================== */
.bbppm-v430-app{--bb-cr-line:color-mix(in srgb,var(--bb-v42-border,#D5DDD7) 72%,transparent);--bb-cr-card:#fff;--bb-cr-soft:#F7F4ED;--bb-cr-text:#123B36;--bb-cr-muted:#667085;--bb-cr-accent:#EE714E;--bb-cr-mint:#BDE7D7;--bb-cr-shadow:0 16px 42px rgba(18,59,54,.075);--bb-cr-ring:0 0 0 3px rgba(238,113,78,.18);}
.bbppm-v430-app,.bbppm-v430-app *,.bbppm-v430-app *::before,.bbppm-v430-app *::after{box-sizing:border-box;}
.bbppm-v430-app :is(.bbppm-v430-route,.bbppm-v430-page,.bbppm-v430-main,.bbppm-v42-main,.bbppm-v430-content,.bbppm-route-body,.bbppm-page-body,.bbppm-v45-page,.bbppm-v4575-list-workspace,.bbppm-v4579-list-workspace){min-width:0;max-width:100%;}
.bbppm-v430-app :is(img,svg,canvas,video,iframe){max-width:100%;height:auto;}
.bbppm-v430-app :is(button,a,.button,input,select,textarea,[role="button"]):focus-visible{outline:0;box-shadow:var(--bb-cr-ring);border-color:color-mix(in srgb,var(--bb-cr-accent) 60%,var(--bb-cr-line));}
.bbppm-v430-app :is(button,a,.button,[role="button"]){touch-action:manipulation;}

/* Shared surfaces and cards — stops remaining cramped/uneven panels. */
.bbppm-v430-app :is(.bbppm-card,.bbppm-panel,.bbppm-v4-panel,.bbppm-v430-panel,.bbppm-v45-card,.bbppm-v453-panel,.bbppm-v454-card,.bbppm-v4575-list-card,.bbppm-v4598-card,.bbppm-os-exception-card,.bbppm-os-job-card,.bbppm-v45-health-item,.bbppm-v45-settings-section,.bbppm-v453-admin-link,.bbppm-v4542-recovery-card,.bbppm-v4562-cleaner-admin){min-width:0;max-width:100%;border:1px solid var(--bb-cr-line);border-radius:22px;background:var(--bb-v42-surface,#fff);box-shadow:var(--bb-cr-shadow);overflow:hidden;}
.bbppm-v430-app :is(.bbppm-card,.bbppm-panel,.bbppm-v4-panel,.bbppm-v430-panel,.bbppm-v45-card,.bbppm-v453-panel,.bbppm-v454-card,.bbppm-v4575-list-card,.bbppm-v4598-card,.bbppm-os-exception-card,.bbppm-os-job-card,.bbppm-v45-health-item,.bbppm-v45-settings-section,.bbppm-v453-admin-link) :is(h1,h2,h3,h4,strong,p,span,small,dd,dt,li){min-width:0;overflow-wrap:anywhere;}

/* Final universal list/filter toolbar closure. */
.bbppm-v430-app :is(.bbppm-v4598-toolbar,.bbppm-v4598-toolbar-compact,.bbppm-v4598-toolbar__main,.bbppm-v4594-listbar,.bbppm-v4575-unified-listbar,.bbppm-v4570-list-control-bar,.bbppm-v4579-list-toolbar,.bbppm-v430-toolbar,.bbppm-v42-toolbar,.bbppm-v45-filter-bar,.bbppm-v430-filterbar,.bbppm-filterbar,.bbppm-os-schedule-controls,.bbppm-os-schedule-filters,.bbppm-v4512-portfolio__filters,.bbppm-v4512-project-controls,.bbppm-v4514-controls,.bbppm-v4518-filters){min-width:0;max-width:100%;gap:10px;align-items:center;}
.bbppm-v430-app :is(.bbppm-v4598-toolbar,.bbppm-v4594-listbar,.bbppm-v4575-unified-listbar,.bbppm-v4570-list-control-bar,.bbppm-v4579-list-toolbar,.bbppm-v430-toolbar,.bbppm-v42-toolbar,.bbppm-v45-filter-bar,.bbppm-v430-filterbar,.bbppm-filterbar) :is(input,select,button,a,.button){min-width:0;}
.bbppm-v430-app :is(.bbppm-v4598-toolbar__search-area,.bbppm-v4594-listbar__primary,.bbppm-v4575-unified-listbar__filters,.bbppm-v4570-list-control-bar__filters,.bbppm-v45-record-filter__fields,.bbppm-v4598-toolbar__actions,.bbppm-v4594-listbar__actions,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions,.bbppm-v4598-toolbar__display,.bbppm-v4594-listbar__display,.bbppm-v4598-toolbar__meta,.bbppm-v4594-listbar__results,.bbppm-v4575-unified-listbar__summary,.bbppm-v4570-list-control-bar__meta){min-width:0;max-width:100%;}
.bbppm-v430-app :is(.bbppm-v4598-toolbar__search-area input,.bbppm-v4594-listbar__primary input,.bbppm-v4575-unified-listbar__filters input,.bbppm-v4570-list-control-bar__filters input,.bbppm-v45-record-filter__fields input){width:100%;}
.bbppm-v430-app :is(.bbppm-v4598-toolbar__actions,.bbppm-v4594-listbar__actions,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions) :is(button,a,.button){white-space:nowrap;min-height:44px;border-radius:14px;font-weight:820;}
.bbppm-v430-app :is(.bbppm-v4598-toolbar__display,.bbppm-v4594-listbar__display,.bbppm-v4575-unified-listbar__chips,.bbppm-v4570-list-control-bar__chips){display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;}
.bbppm-v430-app :is(.bbppm-v4598-toolbar__display,.bbppm-v4594-listbar__display) :is(button,a,.button){flex:1 1 auto;min-width:86px;text-align:center;justify-content:center;}

/* Tables: local scrolling only, no page-level horizontal breakage. */
.bbppm-v430-app :is(.bbppm-list-table-wrap,.bbppm-v4575-list-table-wrap,.bbppm-table-wrap,.bbppm-data-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4598-table-wrap,.bbppm-v45-table-wrap){max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;border-radius:20px;border:1px solid var(--bb-cr-line);background:var(--bb-v42-surface,#fff);box-shadow:0 10px 28px rgba(18,59,54,.055);}
.bbppm-v430-app :is(table,.wp-list-table){border-collapse:separate;border-spacing:0;width:100%;}
.bbppm-v430-app :is(table,.wp-list-table) th{position:sticky;top:0;z-index:2;background:color-mix(in srgb,var(--bb-v42-surface,#fff) 96%,#F7F4ED);white-space:nowrap;font-size:12px;text-transform:uppercase;letter-spacing:.055em;color:var(--bb-cr-muted);}
.bbppm-v430-app :is(table,.wp-list-table) :is(th,td){padding:12px 14px;vertical-align:middle;min-width:0;}
.bbppm-v430-app :is(table,.wp-list-table) td{overflow-wrap:anywhere;}

/* Forms and composers. */
.bbppm-v430-app :is(.bbppm-form-grid,.bbppm-v45-form-grid,.bbppm-v451-form-grid,.bbppm-v4514-form-grid,.bbppm-v453-form-grid,.bbppm-v453-settings-grid,.bbppm-v454-document-form,.bbppm-v45-record-filter__fields,.bbppm-p10ae-form-grid,.bbppm-p10af-form-grid,.bbppm-composer-grid,.bbppm-record-form-grid){min-width:0;max-width:100%;}
.bbppm-v430-app :is(label,.bbppm-field-label,.bbppm-v45-field__label){font-weight:820;color:var(--bb-v42-text,#123B36);line-height:1.25;}
.bbppm-v430-app :is(input[type="text"],input[type="email"],input[type="number"],input[type="tel"],input[type="url"],input[type="date"],input[type="time"],input[type="password"],input[type="search"],select,textarea,.bbppm-v45-field__control){max-width:100%;min-width:0;border-radius:14px;border:1px solid var(--bb-cr-line);background:var(--bb-v42-surface,#fff);color:var(--bb-v42-text,#123B36);}
.bbppm-v430-app textarea{resize:vertical;}
.bbppm-v430-app :is(.bbppm-line-item,.bbppm-line-items-row,.bbppm-v45-line-item,.bbppm-invoice-line,.bbppm-quote-line){min-width:0;max-width:100%;border-radius:18px;border:1px solid var(--bb-cr-line);background:color-mix(in srgb,var(--bb-v42-surface,#fff) 94%,#F7F4ED);}

/* Modals, dialogs and dropdowns: prevent clipping behind header/bottom nav. */
.bbppm-v430-app :is(.bbppm-modal,.bbppm-dialog,.bbppm-drawer,.bbppm-sheet,[role="dialog"],dialog){max-width:min(96vw,840px);max-height:calc(100dvh - 34px);overflow:auto;border-radius:24px;border:1px solid var(--bb-cr-line);box-shadow:0 28px 90px rgba(18,59,54,.22);}
.bbppm-v430-app :is(.bbppm-dropdown,.bbppm-menu,.bbppm-popover,.bbppm-v4598-menu__panel,.bbppm-v45100-menu__panel,.bbppm-topbar-menu-panel,.bbppm-v430-popup-menu,.bbppm-v430-profile-menu){max-width:min(96vw,420px);z-index:1200;}

/* Warning / health / attention cards. */
.bbppm-v430-app :is(.bbppm-os-exception-card,.bbppm-v453-attention-list > *,.bbppm-attention-card,.bbppm-health-card,.bbppm-v45-health-item){display:grid;gap:10px;align-items:start;}
.bbppm-v430-app :is(.bbppm-os-exception-card,.bbppm-attention-card,.bbppm-health-card) :is(.bbppm-card-actions,.bbppm-actions,.bbppm-os-exception-actions){display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.bbppm-v430-app :is(.bbppm-os-exception-card,.bbppm-attention-card,.bbppm-health-card) :is(.bbppm-card-actions,.bbppm-actions,.bbppm-os-exception-actions) :is(button,a,.button){min-height:42px;border-radius:14px;font-weight:820;}

/* Sticky action bars. */
.bbppm-v430-app :is(.bbppm-sticky-actions,.bbppm-savebar,.bbppm-form-action,.bbppm-p10ad-form-actions,.bbppm-v4562-panel-savebar,.bbppm-record-actions-sticky){max-width:100%;min-width:0;border-radius:20px;border:1px solid var(--bb-cr-line);background:color-mix(in srgb,var(--bb-v42-surface,#fff) 94%,transparent);box-shadow:0 20px 54px rgba(18,59,54,.13);backdrop-filter:blur(14px);}

/* Phone acceptance: single-column, readable, thumb-safe. */
@media (max-width:782px){
  html{overflow-x:hidden;}
  .bbppm-v430-app{overflow-x:clip;}
  .bbppm-v430-app :is(.bbppm-v430-content,.bbppm-v42-main,.bbppm-v430-main,.bbppm-v430-route,.bbppm-v430-page,.bbppm-route-body,.bbppm-page-body){padding-inline:clamp(10px,3.2vw,16px);}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar,.bbppm-v4598-toolbar-compact,.bbppm-v4598-toolbar__main,.bbppm-v4594-listbar,.bbppm-v4575-unified-listbar,.bbppm-v4570-list-control-bar,.bbppm-v4579-list-toolbar,.bbppm-v430-toolbar,.bbppm-v42-toolbar,.bbppm-v45-filter-bar,.bbppm-v430-filterbar,.bbppm-filterbar,.bbppm-os-schedule-controls,.bbppm-os-schedule-filters,.bbppm-v4512-portfolio__filters,.bbppm-v4512-project-controls,.bbppm-v4514-controls,.bbppm-v4518-filters){display:grid;grid-template-columns:1fr;width:100%;padding:12px;border-radius:22px;border:1px solid var(--bb-cr-line);background:linear-gradient(180deg,var(--bb-v42-surface,#fff),color-mix(in srgb,var(--bb-v42-surface-2,#F7F4ED) 52%,var(--bb-v42-surface,#fff)));box-shadow:0 14px 34px rgba(18,59,54,.08);overflow:visible;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar,.bbppm-v4594-listbar,.bbppm-v4575-unified-listbar,.bbppm-v4570-list-control-bar,.bbppm-v4579-list-toolbar,.bbppm-v430-toolbar,.bbppm-v42-toolbar,.bbppm-v45-filter-bar,.bbppm-filterbar) > *,
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__main,.bbppm-v4598-toolbar__search-area,.bbppm-v4598-toolbar__actions,.bbppm-v4598-toolbar__display,.bbppm-v4598-toolbar__meta,.bbppm-v4594-listbar__primary,.bbppm-v4594-listbar__filters,.bbppm-v4594-listbar__actions,.bbppm-v4594-listbar__results,.bbppm-v4594-listbar__display,.bbppm-v4575-unified-listbar__filters,.bbppm-v4575-unified-listbar__actions,.bbppm-v4575-unified-listbar__summary,.bbppm-v4575-unified-listbar__chips,.bbppm-v4570-list-control-bar__filters,.bbppm-v4570-list-control-bar__actions,.bbppm-v4570-list-control-bar__meta,.bbppm-v4570-list-control-bar__chips){grid-column:1/-1;width:100%;max-width:100%;min-width:0;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar,.bbppm-v4594-listbar,.bbppm-v4575-unified-listbar,.bbppm-v4570-list-control-bar,.bbppm-v45-filter-bar,.bbppm-filterbar) :is(input,select,textarea){width:100%;min-height:50px;font-size:16px;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__actions,.bbppm-v4594-listbar__actions,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__actions,.bbppm-v4594-listbar__actions,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions) :is(button,a,.button){width:100%;min-width:0;min-height:50px;padding:10px 12px;justify-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__actions,.bbppm-v4594-listbar__actions,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions) :is(.bbppm-primary,.button-primary,[data-action*="create"],[data-action*="add"],a[href*="create"],a[href*="new"]){grid-column:1/-1;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__display,.bbppm-v4594-listbar__display,.bbppm-v4575-unified-listbar__chips,.bbppm-v4570-list-control-bar__chips){display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__display,.bbppm-v4594-listbar__display,.bbppm-v4575-unified-listbar__chips,.bbppm-v4570-list-control-bar__chips) :is(button,a,.button,select,label){width:100%;min-height:48px;justify-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__meta,.bbppm-v4594-listbar__results,.bbppm-v4575-unified-listbar__summary,.bbppm-v4570-list-control-bar__meta){font-size:12px;line-height:1.35;color:var(--bb-v42-muted,#667085);text-align:left;padding-inline:2px;}
  .bbppm-v430-app :is(.bbppm-card,.bbppm-panel,.bbppm-v4-panel,.bbppm-v430-panel,.bbppm-v45-card,.bbppm-v453-panel,.bbppm-v454-card,.bbppm-v4575-list-card,.bbppm-v4598-card,.bbppm-os-exception-card,.bbppm-os-job-card,.bbppm-v45-health-item,.bbppm-v45-settings-section,.bbppm-v453-admin-link){border-radius:20px;padding:14px;}
  .bbppm-v430-app :is(.bbppm-grid,.bbppm-card-grid,.bbppm-record-grid,.bbppm-v430-grid,.bbppm-v45-grid,.bbppm-v453-grid,.bbppm-v454-grid,.bbppm-v45-health-grid,.bbppm-v453-admin-grid,.bbppm-v453-admin-links,.bbppm-os-live-list,.bbppm-os-job-list,.bbppm-os-exception-list){display:grid;grid-template-columns:1fr;gap:12px;}
  .bbppm-v430-app :is(.bbppm-form-grid,.bbppm-v45-form-grid,.bbppm-v451-form-grid,.bbppm-v4514-form-grid,.bbppm-v453-form-grid,.bbppm-v453-settings-grid,.bbppm-v454-document-form,.bbppm-p10ae-form-grid,.bbppm-p10af-form-grid,.bbppm-composer-grid,.bbppm-record-form-grid){display:grid;grid-template-columns:1fr;gap:12px;}
  .bbppm-v430-app :is(input[type="text"],input[type="email"],input[type="number"],input[type="tel"],input[type="url"],input[type="date"],input[type="time"],input[type="password"],input[type="search"],select,textarea,.bbppm-v45-field__control){width:100%;min-height:50px;font-size:16px;}
  .bbppm-v430-app :is(.bbppm-list-table-wrap,.bbppm-v4575-list-table-wrap,.bbppm-table-wrap,.bbppm-data-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4598-table-wrap,.bbppm-v45-table-wrap){border-radius:18px;margin-inline:0;}
  .bbppm-v430-app :is(table,.wp-list-table){min-width:640px;}
  .bbppm-v430-app :is(.bbppm-sticky-actions,.bbppm-savebar,.bbppm-form-action,.bbppm-p10ad-form-actions,.bbppm-v4562-panel-savebar,.bbppm-record-actions-sticky){position:sticky;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:700;display:grid;grid-template-columns:1fr;gap:8px;padding:10px;}
  .bbppm-v430-app :is(.bbppm-sticky-actions,.bbppm-savebar,.bbppm-form-action,.bbppm-p10ad-form-actions,.bbppm-v4562-panel-savebar,.bbppm-record-actions-sticky) :is(button,a,.button){width:100%;min-height:50px;justify-content:center;}
  .bbppm-v430-app :is(.bbppm-modal,.bbppm-dialog,.bbppm-drawer,.bbppm-sheet,[role="dialog"],dialog){position:fixed;left:10px;right:10px;top:10px;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;max-height:none;margin:0;border-radius:22px;}
  .bbppm-v430-app :is(.bbppm-dropdown,.bbppm-menu,.bbppm-popover,.bbppm-v4598-menu__panel,.bbppm-v45100-menu__panel,.bbppm-topbar-menu-panel,.bbppm-v430-popup-menu,.bbppm-v430-profile-menu){position:fixed;left:10px;right:10px;top:auto;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;max-height:62dvh;overflow:auto;border-radius:22px;}
  .bbppm-v430-app :is(.bbppm-os-exception-card,.bbppm-attention-card,.bbppm-health-card) :is(.bbppm-card-actions,.bbppm-actions,.bbppm-os-exception-actions){display:grid;grid-template-columns:1fr;width:100%;}
  .bbppm-v430-app :is(.bbppm-os-exception-card,.bbppm-attention-card,.bbppm-health-card) :is(.bbppm-card-actions,.bbppm-actions,.bbppm-os-exception-actions) :is(button,a,.button){width:100%;justify-content:center;}
}

@media (max-width:390px){
  .bbppm-v430-app :is(.bbppm-v430-content,.bbppm-v42-main,.bbppm-v430-main,.bbppm-v430-route,.bbppm-v430-page,.bbppm-route-body,.bbppm-page-body){padding-inline:8px;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar,.bbppm-v4594-listbar,.bbppm-v4575-unified-listbar,.bbppm-v4570-list-control-bar,.bbppm-v45-filter-bar,.bbppm-filterbar){padding:10px;border-radius:20px;gap:8px;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__actions,.bbppm-v4594-listbar__actions,.bbppm-v4575-unified-listbar__actions,.bbppm-v4570-list-control-bar__actions){grid-template-columns:1fr 1fr;gap:7px;}
  .bbppm-v430-app :is(.bbppm-v4598-toolbar__display,.bbppm-v4594-listbar__display,.bbppm-v4575-unified-listbar__chips,.bbppm-v4570-list-control-bar__chips){grid-template-columns:1fr;}
  .bbppm-v430-app :is(.bbppm-card,.bbppm-panel,.bbppm-v4-panel,.bbppm-v430-panel,.bbppm-v45-card,.bbppm-v453-panel,.bbppm-v454-card,.bbppm-v4575-list-card,.bbppm-v4598-card,.bbppm-os-exception-card,.bbppm-os-job-card){padding:12px;border-radius:18px;}
}

/* Print comfort baseline before dedicated document pass. */
@media print{
  body{background:#fff;}
  #wpadminbar,.notice,.updated,.error,.bbppm-v430-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar,.bbppm-v42-topbar,.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-global-topbar,.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav,.bbppm-sticky-actions,.bbppm-savebar,.bbppm-form-action,.bbppm-p10ad-form-actions,.bbppm-v4562-panel-savebar,button,.button,[role="button"]{display:none;}
  .bbppm-v430-app,.bbppm-v430-app :is(.bbppm-v430-content,.bbppm-v42-main,.bbppm-v430-main,.bbppm-v430-route,.bbppm-v430-page){padding:0;margin:0;max-width:100%;background:#fff;box-shadow:none;}
  .bbppm-v430-app :is(.bbppm-card,.bbppm-panel,.bbppm-v4-panel,.bbppm-v430-panel,.bbppm-v45-card,.bbppm-v453-panel,.bbppm-v454-card,.bbppm-v4575-list-card,.bbppm-v4598-card){box-shadow:none;border-color:#ddd;break-inside:avoid;}
  .bbppm-v430-app :is(.bbppm-list-table-wrap,.bbppm-v4575-list-table-wrap,.bbppm-table-wrap,.bbppm-data-table-wrap,.bbppm-v430-table-wrap,.bbppm-v4598-table-wrap,.bbppm-v45-table-wrap){overflow:visible;border:0;box-shadow:none;}
  .bbppm-v430-app table{min-width:0;width:100%;font-size:11px;}
}

.bbppm-v430-app[data-bbppm-theme="dark"]{--bb-cr-card:#102622;--bb-cr-soft:#0D211D;--bb-cr-text:#F4F8F6;--bb-cr-muted:#B7C6C1;--bb-cr-line:#2E4942;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(.bbppm-card,.bbppm-panel,.bbppm-v4-panel,.bbppm-v430-panel,.bbppm-v45-card,.bbppm-v453-panel,.bbppm-v454-card,.bbppm-v4575-list-card,.bbppm-v4598-card,.bbppm-os-exception-card,.bbppm-os-job-card,.bbppm-v45-health-item,.bbppm-v45-settings-section,.bbppm-v453-admin-link,.bbppm-v4542-recovery-card,.bbppm-v4562-cleaner-admin,.bbppm-v4598-toolbar,.bbppm-v4594-listbar,.bbppm-v4575-unified-listbar,.bbppm-v4570-list-control-bar,.bbppm-v45-filter-bar,.bbppm-filterbar){background:#102622;border-color:#2E4942;color:#F4F8F6;box-shadow:0 16px 42px rgba(0,0,0,.26);}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(input,select,textarea,.bbppm-v45-field__control){background:#0D211D;border-color:#2E4942;color:#F4F8F6;}
.bbppm-v430-app[data-bbppm-theme="dark"] :is(table,.wp-list-table) th{background:#132D28;color:#B7C6C1;}

/* ==========================================================================
   v4.5.117 P10-CU — Foundation consistency layer
   Purpose: one visual contract for tokens, spacing, typography, contrast and
   focus across Management, classic admin workspaces, Cleaner and shared lists.
   ========================================================================== */
:root,
.bbppm-admin-ui,
.bbppm-v430-app,
.bbppm-list-workspace,
.bbppm-cleaner-app,
body.bbppm-stage03-shell {
  --bb-foundation-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bb-foundation-navy: #123B36;
  --bb-foundation-navy-strong: #0D2F2B;
  --bb-foundation-canvas: #F7F4ED;
  --bb-foundation-surface: #FFFFFF;
  --bb-foundation-surface-soft: #F8FAF8;
  --bb-foundation-surface-muted: #EFF5F2;
  --bb-foundation-border: #D7E3DE;
  --bb-foundation-border-strong: #B9CBC4;
  --bb-foundation-text: #123B36;
  --bb-foundation-text-secondary: #314D47;
  --bb-foundation-text-muted: #5C706A;
  --bb-foundation-action: #00A894;
  --bb-foundation-action-hover: #008E7D;
  --bb-foundation-action-soft: #E6F7F3;
  --bb-foundation-accent: #EE714E;
  --bb-foundation-danger: #B42318;
  --bb-foundation-warning: #A15C00;
  --bb-foundation-success: #067647;
  --bb-foundation-focus: rgba(0, 168, 148, .30);
  --bb-foundation-shadow-sm: 0 1px 2px rgba(18, 59, 54, .06);
  --bb-foundation-shadow-md: 0 10px 28px rgba(18, 59, 54, .08);
  --bb-foundation-space-1: 4px;
  --bb-foundation-space-2: 8px;
  --bb-foundation-space-3: 12px;
  --bb-foundation-space-4: 16px;
  --bb-foundation-space-5: 20px;
  --bb-foundation-space-6: 24px;
  --bb-foundation-control-height: 44px;
  --bb-foundation-control-radius: 14px;
  --bb-foundation-card-radius: 18px;
  --bb-foundation-sheet-radius: 22px;
  --bb-foundation-line-tight: 1.18;
  --bb-foundation-line-body: 1.5;

  /* Legacy and surface aliases. */
  --bb-font-sans: var(--bb-foundation-font);
  --bb-color-brand-navy: var(--bb-foundation-navy);
  --bb-color-brand-blue: var(--bb-foundation-navy);
  --bb-color-brand-blue-hover: var(--bb-foundation-navy-strong);
  --bb-color-brand-orange: var(--bb-foundation-accent);
  --bb-color-text: var(--bb-foundation-text);
  --bb-color-text-secondary: var(--bb-foundation-text-secondary);
  --bb-color-muted: var(--bb-foundation-text-muted);
  --bb-color-border: var(--bb-foundation-border);
  --bb-color-surface: var(--bb-foundation-surface);
  --bb-color-surface-soft: var(--bb-foundation-surface-soft);
  --bb-color-canvas: var(--bb-foundation-canvas);
  --bb-v42-text: var(--bb-foundation-text);
  --bb-v42-muted: var(--bb-foundation-text-muted);
  --bb-v42-border: var(--bb-foundation-border);
  --bb-v42-surface: var(--bb-foundation-surface);
  --bb-v42-surface-2: var(--bb-foundation-surface-soft);
  --bb-v42-bg: var(--bb-foundation-canvas);
  --bb-v42-action-primary: var(--bb-foundation-action);
  --bbpc-foreground: var(--bb-foundation-text);
  --bbpc-muted-fg: var(--bb-foundation-text-muted);
  --bbpc-card: var(--bb-foundation-surface);
  --bbpc-muted: var(--bb-foundation-canvas);
  --bbpc-border: var(--bb-foundation-border);
  --bbpc-primary: var(--bb-foundation-navy);
  --bbpc-primary-hover: var(--bb-foundation-navy-strong);
  --bbpc-r-control: var(--bb-foundation-control-radius);
  --bbpc-r-card: var(--bb-foundation-card-radius);
}

.bbppm-admin-ui,
.bbppm-v430-app,
.bbppm-list-workspace,
.bbppm-cleaner-app,
body.bbppm-stage03-shell {
  color: var(--bb-foundation-text);
  font-family: var(--bb-foundation-font) ;
  font-size: 14px;
  line-height: var(--bb-foundation-line-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.bbppm-admin-ui :where(h1,h2,h3,h4),
.bbppm-v430-app :where(h1,h2,h3,h4),
.bbppm-list-workspace :where(h1,h2,h3,h4),
.bbppm-cleaner-app :where(h1,h2,h3,h4) {
  color: var(--bb-foundation-text) ;
  font-family: var(--bb-foundation-font) ;
  line-height: var(--bb-foundation-line-tight) ;
  letter-spacing: -.025em ;
  text-wrap: balance;
}

.bbppm-admin-ui :where(p,li,small,span,dt,dd,label),
.bbppm-v430-app :where(p,li,small,span,dt,dd,label),
.bbppm-list-workspace :where(p,li,small,span,dt,dd,label),
.bbppm-cleaner-app :where(p,li,small,span,dt,dd,label) {
  line-height: var(--bb-foundation-line-body);
}

.bbppm-admin-ui :where(.bbppm-muted,.bbppm-v42-muted,.bbppm-v45-muted,small),
.bbppm-v430-app :where(.bbppm-muted,.bbppm-v42-muted,.bbppm-v45-muted,small),
.bbppm-list-workspace :where(.bbppm-muted,.bbppm-v42-muted,.bbppm-v45-muted,small),
.bbppm-cleaner-app :where(.bbppm-muted,.bbppm-v42-muted,.bbppm-v45-muted,small) {
  color: var(--bb-foundation-text-muted) ;
}

.bbppm-admin-ui :where(button,.button,a.button,input,select,textarea),
.bbppm-v430-app :where(button,.button,a.button,input,select,textarea),
.bbppm-list-workspace :where(button,.button,a.button,input,select,textarea),
.bbppm-cleaner-app :where(button,.button,a.button,input,select,textarea) {
  font-family: var(--bb-foundation-font) ;
}

.bbppm-admin-ui :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
.bbppm-v430-app :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
.bbppm-list-workspace :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
.bbppm-cleaner-app :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  min-height: var(--bb-foundation-control-height) ;
  border-color: var(--bb-foundation-border) ;
  border-radius: var(--bb-foundation-control-radius) ;
  color: var(--bb-foundation-text) ;
  background-color: var(--bb-foundation-surface) ;
  box-shadow: var(--bb-foundation-shadow-sm) ;
}

.bbppm-admin-ui :where(input::placeholder,textarea::placeholder),
.bbppm-v430-app :where(input::placeholder,textarea::placeholder),
.bbppm-list-workspace :where(input::placeholder,textarea::placeholder),
.bbppm-cleaner-app :where(input::placeholder,textarea::placeholder) {
  color: var(--bb-foundation-text-muted) ;
  opacity: 1 ;
}

.bbppm-admin-ui :where(button,.button,a.button),
.bbppm-v430-app :where(button,.button,a.button),
.bbppm-list-workspace :where(button,.button,a.button),
.bbppm-cleaner-app :where(button,.button,a.button) {
  min-height: var(--bb-foundation-control-height);
  border-radius: var(--bb-foundation-control-radius) ;
  font-weight: 800 ;
}

.bbppm-admin-ui :where(.button-primary,[class*="button--primary"],[class*="bb:bg-[var(--bb-v42-action-primary)]"]),
.bbppm-v430-app :where(.button-primary,[class*="button--primary"],[class*="bb:bg-[var(--bb-v42-action-primary)]"]),
.bbppm-list-workspace :where(.button-primary,[class*="button--primary"],[class*="bb:bg-[var(--bb-v42-action-primary)]"]),
.bbppm-cleaner-app :where(.button-primary,[class*="button--primary"],[class*="bb:bg-[var(--bb-v42-action-primary)]"]) {
  background-color: var(--bb-foundation-action) ;
  border-color: var(--bb-foundation-action) ;
  color: #fff ;
}

.bbppm-admin-ui :where(.button-primary,[class*="button--primary"]):hover,
.bbppm-v430-app :where(.button-primary,[class*="button--primary"]):hover,
.bbppm-list-workspace :where(.button-primary,[class*="button--primary"]):hover,
.bbppm-cleaner-app :where(.button-primary,[class*="button--primary"]):hover {
  background-color: var(--bb-foundation-action-hover) ;
  border-color: var(--bb-foundation-action-hover) ;
}

.bbppm-admin-ui :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,
.bbppm-v430-app :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,
.bbppm-list-workspace :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,
.bbppm-cleaner-app :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
  outline: 3px solid var(--bb-foundation-focus) ;
  outline-offset: 2px ;
  box-shadow: 0 0 0 1px var(--bb-foundation-action), 0 0 0 5px var(--bb-foundation-focus) ;
}

.bbppm-admin-ui :where(button,.button,a.button,input,select,textarea):disabled,
.bbppm-v430-app :where(button,.button,a.button,input,select,textarea):disabled,
.bbppm-list-workspace :where(button,.button,a.button,input,select,textarea):disabled,
.bbppm-cleaner-app :where(button,.button,a.button,input,select,textarea):disabled,
.bbppm-admin-ui :where([aria-disabled="true"]),
.bbppm-v430-app :where([aria-disabled="true"]),
.bbppm-list-workspace :where([aria-disabled="true"]),
.bbppm-cleaner-app :where([aria-disabled="true"]) {
  opacity: .70 ;
  cursor: not-allowed ;
  color: var(--bb-foundation-text-muted) ;
  border-color: var(--bb-foundation-border-strong) ;
  box-shadow: none ;
}

.bbppm-admin-ui :where(.bbppm-card,.bbppm-panel,.bbppm-v45-panel,.bbppm-record-card,.bbppm-data-table-wrap),
.bbppm-v430-app :where(.bbppm-card,.bbppm-panel,.bbppm-v45-panel,.bbppm-record-card,.bbppm-data-table-wrap),
.bbppm-list-workspace :where(.bbppm-card,.bbppm-panel,.bbppm-v45-panel,.bbppm-record-card,.bbppm-data-table-wrap),
.bbppm-cleaner-app :where(.bbppm-card,.bbppm-panel,.bbppm-v45-panel,.bbppm-record-card,.bbppm-data-table-wrap) {
  border-color: var(--bb-foundation-border) ;
  border-radius: var(--bb-foundation-card-radius) ;
  background: var(--bb-foundation-surface) ;
  box-shadow: var(--bb-foundation-shadow-sm) ;
}

@media (prefers-reduced-motion: reduce) {
  .bbppm-admin-ui *,
  .bbppm-v430-app *,
  .bbppm-list-workspace *,
  .bbppm-cleaner-app * {
    scroll-behavior: auto ;
    transition-duration: .01ms ;
    animation-duration: .01ms ;
    animation-iteration-count: 1 ;
  }
}


/* ==========================================================================
   v4.5.120 P10-CX — Page hierarchy contract
   Every React page follows: Title → guide/description → actions → primary content.
   ========================================================================== */
.bbppm-v430-app .bbppm-v4521-context,
.bbppm-v430-app .bbppm-v4531-context{
  display:none;
}
.bbppm-v45120-page-title{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
  margin:0 0 22px;
  padding:0;
}
.bbppm-v45120-page-title__intro{
  display:grid;
  gap:6px;
  min-width:0;
}
.bbppm-v45120-page-title__eyebrow{
  order:1;
  margin:0;
}
.bbppm-v45120-page-title__heading{
  order:2;
  margin:0;
  max-width:1040px;
  line-height:1.12;
}
.bbppm-v45120-page-title__guide{
  order:3;
  margin:2px 0 0;
  max-width:920px;
  color:var(--bb-v42-muted);
}
.bbppm-v45120-page-title__actions{
  order:4;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:9px;
  padding-top:2px;
}
.bbppm-v45120-page-title__actions :is(a,button){
  min-height:40px;
  border-radius:12px;
  white-space:nowrap;
}
.bbppm-v45120-page-title + :is(.bbppm-v430-panel,.bbppm-v45-card,.bbppm-v45-record-filter,.bbppm-v451-composer-card,.bbppm-v454-toolbar,.bbppm-v45-system-health,.bbppm-v45-health-summary){
  margin-top:0;
}
@media(min-width:960px){
  .bbppm-v45120-page-title{
    grid-template-columns:minmax(0,1fr);
  }
  .bbppm-v45120-page-title__actions{
    max-width:1180px;
  }
}
@media(max-width:782px){
  .bbppm-v45120-page-title{
    gap:12px;
    margin-bottom:16px;
  }
  .bbppm-v45120-page-title__heading{
    font-size:24px;
  }
  .bbppm-v45120-page-title__actions{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
  }
  .bbppm-v45120-page-title__actions :is(a,button){
    width:100%;
    justify-content:center;
  }
}

/* v4.5.123 P10-DA — shared overlay viewport contract */
.bbppm-v430-app :is(.bbppm-overlay-panel,.bbui-bottom-sheet,.bbppm-v430-popup-menu,.bbppm-v45100-menu__panel,.bbppm-toolbar-more>div,[role="listbox"]){
  max-width:calc(100vw - 24px);
  overscroll-behavior:contain;
  box-sizing:border-box;
}


/* ===========================================================================
   v4.5.125 P10-DC — Document Preview & Print Alignment Contract
   Live document samples use A4 proportions and the same presentation choices
   as print. Print output strips application chrome and keeps document geometry.
   =========================================================================== */
.bbppm-v453-template-preview{overflow:hidden}
.bbppm-v453-preview-stage{display:grid;place-items:start center;overflow:auto;padding:14px;border:1px solid #DCE5E0;border-radius:16px;background:linear-gradient(180deg,#F3F6F3,#E9EFEB)}
.bbppm-v453-preview-paper,
.bbppm-template-preview-paper{
  --bbppm-doc-ink:#17312D;--bbppm-doc-muted:#65766F;--bbppm-doc-line:#DDE5E1;--bbppm-doc-soft:#F7F4ED;--bbppm-doc-brand:#123B36;
  width:min(100%,420px);aspect-ratio:210/297;min-height:0;margin:0 auto;padding:22px;
  display:grid;grid-template-rows:auto auto auto auto 1fr auto;align-content:start;gap:14px;
  border:1px solid #D7E0DB;border-radius:7px;background:#fff;color:var(--bbppm-doc-ink);
  box-shadow:0 18px 42px rgba(18,59,54,.13);overflow:hidden;
}
.bbppm-v453-preview-head,.bbppm-template-preview-head{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:18px;align-items:start;padding:0 0 12px;border-bottom:1px solid var(--bbppm-doc-line)}
.bbppm-v453-preview-docmeta{display:grid;gap:3px;min-width:0;text-align:left}
.bbppm-v453-preview-kicker{font-size:9px;line-height:1.3;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:var(--bbppm-doc-brand)}
.bbppm-v453-preview-docmeta>strong{font-size:15px;line-height:1.15;color:var(--bbppm-doc-brand);overflow-wrap:anywhere}
.bbppm-v453-preview-docmeta>small{font-size:8.5px;line-height:1.35;color:var(--bbppm-doc-muted)}
.bbppm-v453-preview-company,.bbppm-template-preview-head>div:last-child{display:grid;grid-template-columns:44px minmax(0,1fr);gap:9px;align-items:start;min-width:0;text-align:right;color:var(--bbppm-doc-brand)}
.bbppm-v453-preview-brandcopy{display:grid;gap:2px;min-width:0;text-align:right}
.bbppm-v453-preview-brandcopy>strong{font-size:10px;line-height:1.25;overflow-wrap:anywhere}
.bbppm-v453-preview-brandcopy>span,.bbppm-v453-preview-brandcopy>small{font-size:7.5px;line-height:1.35;color:var(--bbppm-doc-muted)}
.bbppm-v453-preview-logo,.bbppm-template-preview-logo{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;background:#BDE7D7;border:1px solid #91D6BF;color:#123B36;font-size:11px;font-weight:900}
.bbppm-v453-preview-recipient{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px;border:1px solid var(--bbppm-doc-line);border-radius:8px;background:#FBFCFB}
.bbppm-v453-preview-recipient>div{display:grid;gap:2px}.bbppm-v453-preview-recipient span{font-size:7.5px;color:var(--bbppm-doc-muted)}.bbppm-v453-preview-recipient strong{font-size:9px;color:var(--bbppm-doc-ink)}
.bbppm-v453-preview-intro{margin:0;font-size:8.5px;line-height:1.5;color:var(--bbppm-doc-muted)}
.bbppm-v453-preview-table{display:grid;padding:0;border:1px solid var(--bbppm-doc-line);border-radius:8px;overflow:hidden;background:#fff;color:var(--bbppm-doc-ink)}
.bbppm-v453-preview-table-head,.bbppm-v453-preview-table-row{display:grid;grid-template-columns:minmax(0,1fr) 34px 72px;gap:6px;align-items:center;padding:7px 8px;font-size:8px}
.bbppm-v453-preview-table-head{background:var(--bbppm-doc-soft);color:var(--bbppm-doc-muted);font-weight:800}.bbppm-v453-preview-table-row{border-top:1px solid var(--bbppm-doc-line)}
.bbppm-v453-preview-table-head>:nth-child(n+2),.bbppm-v453-preview-table-row>:nth-child(n+2){text-align:right}
.bbppm-v453-preview-lower{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:10px;align-items:start}
.bbppm-v453-preview-note,.bbppm-v453-preview-totals{display:grid;gap:5px;padding:9px;border:1px solid var(--bbppm-doc-line);border-radius:8px;font-size:7.7px;line-height:1.4}
.bbppm-v453-preview-note>strong{font-size:8px;color:var(--bbppm-doc-brand)}.bbppm-v453-preview-note>span{color:var(--bbppm-doc-muted)}
.bbppm-v453-preview-totals>span{display:flex;justify-content:space-between;gap:6px;color:var(--bbppm-doc-muted)}.bbppm-v453-preview-totals strong{color:var(--bbppm-doc-ink)}.bbppm-v453-preview-totals .is-total{padding-top:5px;border-top:1px solid var(--bbppm-doc-line);font-weight:850;color:var(--bbppm-doc-brand)}
.bbppm-v453-preview-footer,.bbppm-v453-preview-paper footer,.bbppm-template-preview-paper footer{align-self:end;padding-top:8px;border-top:1px solid var(--bbppm-doc-line);font-size:7.5px;line-height:1.4;color:var(--bbppm-doc-muted)}
.bbppm-v453-preview-layout-stacked_right .bbppm-v453-preview-head,.bbppm-template-preview-layout-stacked_right .bbppm-template-preview-head{grid-template-columns:minmax(0,1fr)}.bbppm-v453-preview-layout-stacked_right .bbppm-v453-preview-company{justify-self:end;width:min(100%,220px)}
.bbppm-v453-preview-layout-minimal .bbppm-v453-preview-logo,.bbppm-template-preview-layout-minimal .bbppm-template-preview-logo{display:none}.bbppm-v453-preview-layout-minimal .bbppm-v453-preview-company{grid-template-columns:1fr}
.bbppm-v453-preview-logo-small .bbppm-v453-preview-logo,.bbppm-template-preview-logo-small .bbppm-template-preview-logo{width:32px;height:32px;font-size:9px}.bbppm-v453-preview-logo-small .bbppm-v453-preview-company{grid-template-columns:36px minmax(0,1fr)}
.bbppm-v453-preview-logo-large .bbppm-v453-preview-logo,.bbppm-template-preview-logo-large .bbppm-template-preview-logo{width:50px;height:50px;font-size:13px}.bbppm-v453-preview-logo-large .bbppm-v453-preview-company{grid-template-columns:54px minmax(0,1fr)}
@media(max-width:520px){.bbppm-v453-preview-stage{padding:8px}.bbppm-v453-preview-paper,.bbppm-template-preview-paper{padding:14px;gap:10px}.bbppm-v453-preview-head{grid-template-columns:1fr;gap:8px}.bbppm-v453-preview-company{justify-self:stretch}.bbppm-v453-preview-recipient,.bbppm-v453-preview-lower{grid-template-columns:1fr}.bbppm-v453-preview-totals{width:100%}}

@media print{
  /* Universal application chrome removal. Standalone invoice/proposal pages are unaffected. */
  #wpadminbar,#adminmenumain,#adminmenuwrap,#adminmenuback,#wpfooter,.update-nag,.notice,.updated,.error,
  .bbppm-global-topbar,.bbppm-app-sidebar,.bbppm-management-sidebar,.bbppm-native-sidebar,.bbppm-v430-sidebar,
  .bbppm-v42-topbar,.bbppm-v430-topbar,.bbppm-v4523-topbar,.bbppm-v430-mobilebar,.bbppm-mobile-nav,.bbppm-stage03-mobile-nav,.bbppm-bn-mobile-nav,
  .bbppm-context-action-bar,.bbppm-sticky-save,.bbppm-enterprise-save,.bbppm-control-save,.bbppm-sticky-actions,.bbppm-savebar,.bbppm-form-action,.bbppm-p10ad-form-actions,.bbppm-v4562-panel-savebar,
  .bbppm-assistant-fab,[data-bbppm-no-print],.no-print{display:none}
  body.bbppm-stage03-shell :is(#wpcontent,#wpbody,#wpbody-content,.bbppm-v430-content,.bbppm-v42-main,.bbppm-v430-main,.bbppm-v430-route,.bbppm-v430-page,.wrap){margin:0;padding:0;width:auto;max-width:none;min-width:0;overflow:visible}
  body.bbppm-stage03-shell .bbppm-v430-app{min-height:0;background:#fff;color:#111;box-shadow:none}
  /* Settings live previews are screen aids; never accidentally print them as app content. */
  body.bbppm-stage03-shell [data-bbppm-document-preview]{display:none}
  /* Explicit document target mode: print only the selected rendered document. */
  body.bbppm-print-document-only .bbppm-v4-workspace>*:not([data-bbppm-print-target]),
  body.bbppm-print-document-only .bbppm-v4-pagehead{display:none}
  body.bbppm-print-document-only [data-bbppm-print-target]{display:block;width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff;color:#111}
  body.bbppm-print-document-only [data-bbppm-print-target] *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* ========================================================================== 
   v4.5.126 P10-DD — Theme Readability & Clean Baseline Lock
   Semantic light/dark tokens remain legible across shared surfaces. The
   retired generic helper/translation controls are presentation-inert forever.
   ========================================================================== */
@media screen {
  body[data-bbppm-theme="light"],
  body.bbppm-theme-light,
  .bbppm-v430-app[data-bbppm-theme="light"],
  .bbppm-cleaner-app[data-bbppm-theme="light"] {
    color-scheme: light;
    --bb-foundation-canvas:#F7F4ED;
    --bb-foundation-surface:#FFFFFF;
    --bb-foundation-surface-soft:#F8FAF8;
    --bb-foundation-surface-muted:#EFF5F2;
    --bb-foundation-border:#D7E3DE;
    --bb-foundation-border-strong:#B9CBC4;
    --bb-foundation-text:#123B36;
    --bb-foundation-text-secondary:#314D47;
    --bb-foundation-text-muted:#5C706A;
    --bb-foundation-action:#087568;
    --bb-foundation-action-hover:#0B6F65;
    --bb-foundation-action-foreground:#FFFFFF;
    --workspace-canvas:var(--bb-foundation-canvas);
    --surface-primary:var(--bb-foundation-surface);
    --surface-subtle:var(--bb-foundation-surface-soft);
    --text-primary:var(--bb-foundation-text);
    --text-secondary:var(--bb-foundation-text-muted);
    --border-subtle:var(--bb-foundation-border);
    --action-primary:var(--bb-foundation-action);
    --action-primary-hover:var(--bb-foundation-action-hover);
    --action-primary-foreground:var(--bb-foundation-action-foreground);
  }

  body[data-bbppm-theme="dark"],
  body.bbppm-theme-dark,
  .bbppm-v430-app[data-bbppm-theme="dark"],
  .bbppm-cleaner-app[data-bbppm-theme="dark"] {
    color-scheme: dark;
    --bb-foundation-canvas:#071916;
    --bb-foundation-surface:#102622;
    --bb-foundation-surface-soft:#132D28;
    --bb-foundation-surface-muted:#17342F;
    --bb-foundation-border:#315149;
    --bb-foundation-border-strong:#486B62;
    --bb-foundation-text:#F4F8F6;
    --bb-foundation-text-secondary:#D1DDD9;
    --bb-foundation-text-muted:#B6C9C2;
    --bb-foundation-action:#BDE7D7;
    --bb-foundation-action-hover:#A5D9C7;
    --bb-foundation-action-foreground:#123B36;
    --bb-foundation-danger:#FFB4AC;
    --bb-foundation-warning:#FFD08A;
    --bb-foundation-success:#8BE0B4;
    --workspace-canvas:var(--bb-foundation-canvas);
    --surface-primary:var(--bb-foundation-surface);
    --surface-subtle:var(--bb-foundation-surface-soft);
    --text-primary:var(--bb-foundation-text);
    --text-secondary:var(--bb-foundation-text-muted);
    --border-subtle:var(--bb-foundation-border);
    --action-primary:var(--bb-foundation-action);
    --action-primary-hover:var(--bb-foundation-action-hover);
    --action-primary-foreground:var(--bb-foundation-action-foreground);
    --state-positive:#8BE0B4;
    --state-positive-soft:#113B2A;
    --state-attention:#FFD08A;
    --state-attention-soft:#3A2A12;
    --state-danger:#FFB4AC;
    --state-danger-soft:#3A1E1C;
    --state-info:#9FD1FF;
    --state-info-soft:#102E46;
    --state-neutral:#B6C9C2;
    --state-neutral-soft:#172E2A;
  }

  :is(body[data-bbppm-theme="dark"],body.bbppm-theme-dark) :is(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-list-workspace,.bbppm-cleaner-app),
  :is(.bbppm-v430-app,.bbppm-cleaner-app)[data-bbppm-theme="dark"] {
    background-color:var(--bb-foundation-canvas);
    color:var(--bb-foundation-text);
  }

  :is(body[data-bbppm-theme="dark"],body.bbppm-theme-dark) :is(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-list-workspace,.bbppm-cleaner-app) :where(h1,h2,h3,h4,h5,h6,strong,label,legend,th),
  :is(.bbppm-v430-app,.bbppm-cleaner-app)[data-bbppm-theme="dark"] :where(h1,h2,h3,h4,h5,h6,strong,label,legend,th) {
    color:var(--bb-foundation-text);
  }

  :is(body[data-bbppm-theme="dark"],body.bbppm-theme-dark) :is(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-list-workspace,.bbppm-cleaner-app) :where(.bbppm-muted,.bbppm-v42-muted,.bbppm-v45-muted,.description,.howto,small),
  :is(.bbppm-v430-app,.bbppm-cleaner-app)[data-bbppm-theme="dark"] :where(.bbppm-muted,.bbppm-v42-muted,.bbppm-v45-muted,.description,.howto,small) {
    color:var(--bb-foundation-text-muted);
  }

  :is(body[data-bbppm-theme="dark"],body.bbppm-theme-dark) :is(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-list-workspace,.bbppm-cleaner-app) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
  :is(.bbppm-v430-app,.bbppm-cleaner-app)[data-bbppm-theme="dark"] :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
    background:var(--bb-foundation-surface-soft);
    color:var(--bb-foundation-text);
    border-color:var(--bb-foundation-border);
    caret-color:var(--bb-foundation-text);
  }

  :is(body[data-bbppm-theme="dark"],body.bbppm-theme-dark) :is(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-list-workspace,.bbppm-cleaner-app) :where(input::placeholder,textarea::placeholder),
  :is(.bbppm-v430-app,.bbppm-cleaner-app)[data-bbppm-theme="dark"] :where(input::placeholder,textarea::placeholder) {
    color:var(--bb-foundation-text-muted);
    opacity:1;
  }

  :is(body[data-bbppm-theme="dark"],body.bbppm-theme-dark) :is(.bbppm-admin-ui,.bbppm-v430-app,.bbppm-list-workspace,.bbppm-cleaner-app) :where(.button-primary,.bbppm-action-primary,[class*="button--primary"]),
  :is(.bbppm-v430-app,.bbppm-cleaner-app)[data-bbppm-theme="dark"] :where(.button-primary,.bbppm-action-primary,[class*="button--primary"]) {
    background:var(--bb-foundation-action);
    border-color:var(--bb-foundation-action);
    color:var(--bb-foundation-action-foreground);
  }
}

/* Retired clean-baseline controls stay hidden even before JS hydration/remount cleanup. */
:is(.bbppm-v430-app,.bbppm-admin-ui) :is(
  .bbppm-language-menu,
  .bbppm-v4581-language-trigger,
  .bbppm-v4581-language-wrap,
  .bbppm-v4564-page-guide-trigger,
  .bbppm-v4582-page-guide-trigger,
  .bbppm-v4521-help-toggle,
  .bbppm-v4532-micro-guide,
  .bbppm-v4531-page-guide,
  .bbppm-v4562-page-guide-panel,
  .bbppm-v4520-guide,
  .bbppm-v4521-guide,
  .bbppm-v4583-translation-menu,
  .bbppm-v4581-language-menu-panel,
  [data-bbppm-clean-baseline-retired="true"]
) {
  display:none;
  visibility:hidden;
  pointer-events:none;
}
:is(.bbppm-v430-app,.bbppm-admin-ui) :is(
  a[href*="operations/ui-guide"],
  a[href*="operations/onboarding"],
  [data-bbppm-route="operations/ui-guide"],
  [data-bbppm-route="operations/onboarding"]
) {
  display:none;
  visibility:hidden;
  pointer-events:none;
}

/* v4.5.127 P10-DE policy: cascade priority is resolved by source order, scoped roots and selector specificity. */
\n/* P10-DF2 Form Flow Comfort: progressive, fully mounted Composer sections. */
.bbppm-v430-app .bbppm-p10df2-flow{display:grid;gap:10px;min-width:0;margin:0 0 13px;padding:12px;border:1px solid var(--bb-v42-border);border-radius:16px;background:var(--bb-v42-surface);color:var(--bb-v42-text)}
.bbppm-v430-app .bbppm-p10df2-flow__intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.bbppm-v430-app .bbppm-p10df2-flow__status{font-size:13px;font-weight:700;color:var(--bb-v42-muted)}
.bbppm-v430-app .bbppm-p10df2-next,.bbppm-v430-app .bbppm-p10df2-section__toggle{border:1px solid var(--bb-v42-border);border-radius:10px;padding:8px 12px;min-height:40px;background:var(--bb-v42-surface-2);color:var(--bb-v42-text);font-size:13px;font-weight:750;cursor:pointer}
.bbppm-v430-app .bbppm-p10df2-next{border-color:var(--bb-v42-action-primary);background:var(--bb-v42-action-primary);color:var(--bb-v42-surface)}
.bbppm-v430-app[data-bbppm-theme="dark"] .bbppm-p10df2-next{color:#123B36;background:#BDE7D7;border-color:#BDE7D7}
.bbppm-v430-app .bbppm-p10df2-flow__steps{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 0 5px}
.bbppm-v430-app .bbppm-p10df2-step{display:inline-flex;gap:7px;align-items:center;min-height:40px;flex:0 0 auto;max-width:min(260px,78vw);padding:7px 11px;border-radius:11px;border:1px solid var(--bb-v42-border);background:var(--bb-v42-surface);color:var(--bb-v42-text);cursor:pointer;text-align:left;font-size:12px}
.bbppm-v430-app .bbppm-p10df2-step[aria-expanded="true"]{border-color:var(--bb-v42-action-primary);background:color-mix(in srgb,var(--bb-v42-action-primary) 9%,var(--bb-v42-surface))}
.bbppm-v430-app .bbppm-p10df2-step__number{display:grid;place-items:center;min-width:21px;height:21px;border-radius:8px;background:var(--bb-v42-surface-2);font-weight:750}
.bbppm-v430-app .bbppm-p10df2-step__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bbppm-v430-app .bbppm-p10df2-step__count{font-variant-numeric:tabular-nums;color:var(--bb-v42-muted)}
.bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-section-head{min-height:0;padding:12px 16px;border-radius:16px;display:flex;align-items:center;gap:12px}
.bbppm-v430-app .bbppm-p10df2-section.is-collapsed .bbppm-v451-section-head{border-bottom:0}
.bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-section-head h2{font-size:16px;margin:0}
.bbppm-v430-app .bbppm-p10df2-section__toggle{margin-left:auto;flex-shrink:0}
.bbppm-v430-app .bbppm-p10df2-section__summary{display:block;margin-top:5px;color:var(--bb-v42-muted);font-size:12px}
.bbppm-v430-app .bbppm-p10df2-section__body[hidden]{display:none}
.bbppm-v430-app .bbppm-p10df2-section__body{scroll-margin-top:90px}
.bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-form-grid{gap:12px;padding:14px 16px}
.bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-field .bbppm-v451-label{margin-bottom:5px}
.bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-help{margin-top:4px}
.bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-textarea{min-height:86px}
.bbppm-v430-app .bbppm-p10df2-section__footer{display:flex;justify-content:flex-end;padding:10px 16px 14px;border-top:1px solid var(--bb-v42-border)}
.bbppm-v430-app .bbppm-p10df2-section__footer button{max-width:100%;min-height:44px}
.bbppm-v430-app .bbppm-p10df2-flow :is(button):focus-visible,.bbppm-v430-app .bbppm-p10df2-section :is(button):focus-visible{outline:3px solid var(--bb-v42-action-primary);outline-offset:2px}
.bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-field :is(input,select,textarea):focus-visible{scroll-margin-top:108px;scroll-margin-bottom:120px}
/* Target already supported short-form editors too, without changing their fields or save handlers. */
.bbppm-v430-app :is(.bbppm-v4514-editor,.bbppm-v454-document-form,.bbppm-p10ae-form,.bbppm-p10af-form) :is(label,textarea,input,select){min-width:0;max-width:100%}
.bbppm-v430-app :is(.bbppm-v4514-editor,.bbppm-v454-document-form,.bbppm-p10ae-form,.bbppm-p10af-form) :is(input,select,textarea):focus-visible{scroll-margin-block:95px 130px}
@media(max-width:782px){
  .bbppm-v430-app .bbppm-p10df2-flow{padding:10px;gap:7px;margin-bottom:10px}
  .bbppm-v430-app .bbppm-p10df2-flow__intro{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .bbppm-v430-app .bbppm-p10df2-flow__status{font-size:12px}
  .bbppm-v430-app .bbppm-p10df2-next{max-width:54vw;padding:7px 9px}
  .bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-section-head{flex-direction:row;align-items:center;padding:11px 12px}
  .bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-form-grid{padding:12px;gap:10px}
  .bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-field{grid-column:1/-1}
  .bbppm-v430-app .bbppm-p10df2-section__footer{padding:10px 12px 12px}
  .bbppm-v430-app .bbppm-p10df2-section .bbppm-v451-textarea{min-height:78px}
  .bbppm-v430-app .bbppm-p10df2-section__footer button{width:100%}
}
@media(max-width:390px){.bbppm-v430-app .bbppm-p10df2-flow__intro{grid-template-columns:1fr}.bbppm-v430-app .bbppm-p10df2-next{max-width:100%;width:100%}.bbppm-v430-app .bbppm-p10df2-section__toggle{padding:7px 9px;font-size:12px}}
@media print{.bbppm-v430-app .bbppm-p10df2-flow,.bbppm-v430-app .bbppm-p10df2-section__toggle,.bbppm-v430-app .bbppm-p10df2-section__footer{display:none}}

/* Keep the existing save contract visible without making mobile input screens half-height. */
@media(max-width:420px){
  .bbppm-v430-app .bbppm-v451-savebar>.bb\:flex{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .bbppm-v430-app .bbppm-v451-savebar>.bb\:flex>.bbppm-v451-primary-button{grid-column:1/-1;order:-1}
  .bbppm-v430-app .bbppm-v451-savebar{gap:7px;padding:8px 10px}
  .bbppm-v430-app .bbppm-v451-savebar button{width:100%;min-width:0;white-space:normal}
  .bbppm-v430-app .bbppm-v451-savebar .bbppm-v451-save-status{font-size:11px}
}
