:root{--bb-navy:#0f2342;--bb-blue:#435ff7;--bb-bg:#f5f7fb;--bb-border:#e5eaf2;--bb-text:#15223b;--bb-muted:#6d7890;--bb-green:#1ba65c;--bb-red:#e44b52;--bb-amber:#d99319}
#wpcontent{padding-left:0!important}.bb-wrap{margin:0!important}.bb-shortcode-wrap{margin:0}.bb-app{display:flex;min-height:calc(100vh - 32px);background:var(--bb-bg);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--bb-text)}
.bb-sidebar{width:238px;background:linear-gradient(180deg,#102746,#0b1d36);color:#fff;padding:22px 12px;display:flex;flex-direction:column;position:sticky;top:32px;height:calc(100vh - 32px);box-sizing:border-box}.bb-brand{display:flex;gap:12px;align-items:center;padding:0 12px 28px}.bb-logo{width:40px;height:40px;border:2px solid #f5c86a;border-radius:10px;display:grid;place-items:center;color:#f5c86a;font-weight:800}.bb-brand strong{display:block;font-size:17px}.bb-brand small,.bb-user small{display:block;color:#b8c5d9;margin-top:2px}.bb-nav{display:flex;flex-direction:column;gap:5px}.bb-nav button{border:0;background:transparent;color:#eef4ff;text-align:left;padding:12px 13px;border-radius:9px;font-size:14px;cursor:pointer;display:flex;gap:11px;align-items:center}.bb-nav button:hover,.bb-nav button.active{background:linear-gradient(90deg,#3155d9,#5169f5)}.bb-nav b{margin-left:auto;background:#ed5471;border-radius:10px;padding:1px 7px;font-size:11px}.bb-user{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 8px}.bb-avatar{width:36px;height:36px;border-radius:50%;background:#fff;color:var(--bb-navy);display:grid;place-items:center;font-weight:700}
.bb-main{flex:1;min-width:0}.bb-topbar{height:88px;background:#fff;border-bottom:1px solid var(--bb-border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;box-sizing:border-box;position:sticky;top:32px;z-index:5}.bb-topbar h1{font-size:24px;margin:0}.bb-topbar p{margin:4px 0 0;color:var(--bb-muted)}.bb-top-actions{display:flex;gap:10px}.bb-top-actions input{width:360px;border:1px solid var(--bb-border);border-radius:10px;padding:10px 13px}.bb-icon-btn{border:1px solid var(--bb-border);background:#fff;border-radius:9px;padding:8px 11px}.bb-content{padding:24px}.bb-loading{padding:50px;text-align:center;color:var(--bb-muted)}
.bb-cards{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:14px;margin-bottom:18px}.bb-card{background:#fff;border:1px solid var(--bb-border);border-radius:14px;padding:18px;box-shadow:0 5px 20px rgba(25,45,80,.04)}.bb-card small{color:var(--bb-muted);font-weight:650}.bb-card strong{display:block;font-size:28px;margin-top:5px}.bb-card.green strong{color:var(--bb-green)}.bb-card.red strong{color:var(--bb-red)}.bb-card.amber strong{color:var(--bb-amber)}
.bb-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--bb-border);border-radius:14px;padding:14px 16px;margin-bottom:18px}.bb-workspace-title{display:flex;align-items:center;gap:18px}.bb-workspace-title small{display:block;color:var(--bb-muted);font-size:10px;font-weight:800;letter-spacing:.08em}.bb-workspace-title strong{display:block;font-size:17px;margin-top:2px}.bb-input,.bb-select{border:1px solid #d9dfeb;border-radius:8px;padding:9px 11px;background:#fff;min-width:185px}.bb-btn{border:0;border-radius:8px;padding:10px 15px;font-weight:650;cursor:pointer}.bb-btn.primary{background:var(--bb-blue);color:#fff}.bb-btn.light{background:#fff;border:1px solid var(--bb-border);color:var(--bb-text)}
.bb-board-section{margin:0 0 22px}.bb-section-head{display:flex;justify-content:space-between;align-items:center;margin:0 2px 10px}.bb-section-head>div{display:flex;align-items:center;gap:8px}.bb-section-head h2{margin:0;font-size:17px}.bb-section-head b{font-size:12px;background:#e9edf5;border-radius:14px;padding:3px 9px}.bb-section-dot{width:9px;height:9px;border-radius:50%;background:#4d67f5}.bb-board-section.overdue .bb-section-dot{background:var(--bb-red)}.bb-board-section.upcoming .bb-section-dot{background:var(--bb-amber)}.bb-board-section.completed .bb-section-dot{background:var(--bb-green)}
.bb-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:12px;align-items:start}.bb-column{background:#fff;border:1px solid var(--bb-border);border-radius:14px;overflow:hidden;box-shadow:0 3px 14px rgba(25,45,80,.035)}.bb-col-head{padding:14px 15px;font-weight:750;display:flex;justify-content:space-between;align-items:center;border-top:4px solid var(--area-color,#4f46e5)}.bb-col-count{background:#eef2ff;color:#3852d8;border-radius:8px;padding:2px 8px;font-size:12px}.bb-task-list{padding:0 12px 8px;min-height:58px}.bb-task{border-bottom:1px solid #eef1f5;padding:11px 3px;display:grid;grid-template-columns:20px 1fr auto;gap:8px;align-items:start}.bb-task:last-child{border-bottom:0}.bb-task.done{opacity:.58}.bb-task.done .bb-task-name{text-decoration:line-through}.bb-task-name{font-size:13px;font-weight:650}.bb-task-meta{font-size:11px;color:var(--bb-muted);margin-top:4px;line-height:1.45}.bb-task.overdue{background:linear-gradient(90deg,rgba(228,75,82,.055),transparent)}.bb-task.upcoming{background:linear-gradient(90deg,rgba(217,147,25,.05),transparent)}.bb-status{font-size:10px;padding:3px 6px;border-radius:6px;white-space:nowrap}.bb-status.Pending{background:#fff3dc;color:#b66d00}.bb-status.Overdue{background:#ffe7e8;color:#d33a43}.bb-status.Completed{background:#e5f7ec;color:#1b8f4e}.bb-status.In\ Progress{background:#e8f1ff;color:#2d67c8}.bb-col-footer{padding:11px 12px;border-top:1px solid var(--bb-border)}.bb-empty-mini{padding:18px 4px;text-align:center;color:#9aa4b6;font-size:12px}.bb-completed-list{background:#fff;border:1px solid var(--bb-border);border-radius:14px;padding:0 14px}.bb-completed-list .bb-task{grid-template-columns:20px 1fr auto}
.bb-panel{background:#fff;border:1px solid var(--bb-border);border-radius:14px;overflow:hidden}.bb-panel-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--bb-border)}.bb-panel-head h2{margin:0;font-size:20px}.bb-panel-head small{display:block;color:var(--bb-muted);margin-top:3px}.bb-table{width:100%;border-collapse:collapse}.bb-table th,.bb-table td{padding:13px 16px;border-bottom:1px solid var(--bb-border);text-align:left;font-size:13px;vertical-align:top}.bb-table th{background:#fbfcfe;color:#536079;font-size:12px}.bb-pill{display:inline-block;padding:4px 9px;border-radius:20px;font-size:11px;background:#eef2ff;color:#4355bf;margin:1px}.bb-pill.active{background:#e6f7ed;color:#18834a}.bb-actions{display:flex;gap:6px}.bb-mini{border:1px solid var(--bb-border);background:#fff;border-radius:7px;padding:6px 8px;cursor:pointer}.bb-empty{padding:40px;text-align:center;color:var(--bb-muted)}.bb-gap{margin-top:18px}.pad{padding:16px}
.bb-modal{display:none;position:fixed;inset:0;background:rgba(10,22,42,.52);z-index:99999;align-items:center;justify-content:center;padding:24px}.bb-modal.open{display:flex}.bb-modal-card{background:#fff;width:min(980px,96vw);max-height:92vh;overflow:auto;border-radius:16px;position:relative;box-shadow:0 24px 80px rgba(0,0,0,.24)}.bb-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#6c7890}.bb-form{padding:28px}.bb-form h2{margin:0 0 20px}.bb-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.bb-field label{display:block;font-size:12px;font-weight:750;margin-bottom:6px}.bb-field input,.bb-field select,.bb-field textarea{width:100%;box-sizing:border-box;border:1px solid #d9dfeb;border-radius:8px;padding:10px;background:#fff}.bb-field.full{grid-column:1/-1}.bb-checklist-editor{display:flex;flex-direction:column;gap:7px}.bb-check-row{display:flex;gap:6px}.bb-check-row input{flex:1}.bb-add-check{margin-top:8px}.bb-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.bb-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bb-check-choice{display:flex;gap:8px;align-items:center;border:1px solid var(--bb-border);border-radius:9px;padding:10px}.bb-check-choice input{width:auto}.bb-note{margin-top:16px;background:#f6f8ff;border:1px solid #dfe5ff;border-radius:10px;padding:12px;color:#44506a;font-size:12px;line-height:1.5}.bb-toast{position:fixed;right:22px;bottom:22px;background:#11233f;color:#fff;border-radius:9px;padding:11px 15px;opacity:0;transform:translateY(10px);transition:.2s;z-index:100000}.bb-toast.show{opacity:1;transform:translateY(0)}
.bb-score{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.bb-score-card{background:#fff;border:1px solid var(--bb-border);border-radius:14px;padding:18px}.bb-score-card small{color:var(--bb-muted)}.bb-score-row{display:flex;justify-content:space-between;align-items:center;margin-top:12px;font-size:12px}.bb-score-row b{font-size:17px}.bb-progress{height:8px;background:#edf0f5;border-radius:10px;overflow:hidden;margin-top:8px}.bb-progress i{display:block;height:100%;background:#20a565}.bb-empty-state{padding:48px;text-align:center}.bb-empty-state h2{margin:0 0 8px;font-size:24px}.bb-empty-state p{max-width:680px;margin:0 auto 18px;color:var(--bb-muted);line-height:1.55}
@media(max-width:1100px){.bb-sidebar{width:80px}.bb-brand>div:last-child,.bb-nav button{font-size:0}.bb-nav button span{font-size:18px}.bb-user>div:last-child{display:none}.bb-cards{grid-template-columns:repeat(3,1fr)}.bb-top-actions input{width:240px}.bb-form-grid{grid-template-columns:1fr}.bb-choice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.bb-sidebar{display:none}.bb-topbar{top:0;height:auto;padding:14px;align-items:flex-start}.bb-top-actions input{display:none}.bb-content{padding:12px}.bb-cards{grid-template-columns:1fr 1fr}.bb-toolbar{align-items:stretch;flex-direction:column}.bb-workspace-title{align-items:stretch;flex-direction:column;gap:8px}.bb-table{display:block;overflow-x:auto}.bb-board{grid-template-columns:1fr}.bb-topbar h1{font-size:19px}.bb-choice-grid{grid-template-columns:1fr}}

/* v2.2 Workspace visual refinement */
.bb-board-cards{grid-template-columns:repeat(5,minmax(160px,1fr));gap:12px}.bb-card-icon{display:flex;align-items:center;gap:13px;min-height:92px}.bb-card-icon strong{font-size:26px;line-height:1}.bb-card-icon em{display:block;font-style:normal;font-size:11px;color:#8a94a8;margin-top:7px}.bb-card-ico{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:800;flex:0 0 auto}.bb-card-ico.blue{background:#eaf1ff;color:#2f68d8}.bb-card-ico.green{background:#e6f7ed;color:#189653}.bb-card-ico.red{background:#ffe9ea;color:#df3e49}.bb-card-ico.amber{background:#fff2d9;color:#cf830c}
.bb-board-toolbar{margin-bottom:10px}.bb-toolbar-actions{display:flex;gap:8px}.bb-filterbar{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--bb-border);border-radius:14px;padding:13px 15px;margin-bottom:16px}.bb-filter-select{min-width:170px}.bb-filterbar .bb-btn{margin-left:auto}
.bb-workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:14px;align-items:start}.bb-board-scroll{overflow-x:auto;padding-bottom:8px}.bb-board-single{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;min-width:max-content}.bb-workarea-column{width:278px;min-height:610px;display:flex;flex-direction:column}.bb-col-head{background:linear-gradient(180deg,color-mix(in srgb,var(--area-color) 12%,white),#fff);border-top:0;border-bottom:1px solid #edf1f6;padding:13px 14px}.bb-col-title{display:flex;align-items:center;gap:9px;font-size:14px}.bb-col-title i{display:block;width:9px;height:9px;border-radius:3px;background:var(--area-color)}.bb-col-count{background:var(--area-color);color:#fff}.bb-bucket{border-bottom:1px solid #eef1f6}.bb-bucket-head{display:flex;justify-content:space-between;align-items:center;padding:9px 13px 4px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#667188}.bb-bucket-head b{font-size:10px;border-radius:999px;padding:2px 7px;background:#eef2f7}.bb-bucket-overdue .bb-bucket-head{color:#cf3743}.bb-bucket-overdue .bb-bucket-head b{background:#ffe9ea}.bb-bucket-upcoming .bb-bucket-head{color:#b87508}.bb-bucket-upcoming .bb-bucket-head b{background:#fff3dd}.bb-bucket-completed{margin-top:auto}.bb-bucket-completed .bb-bucket-head{color:#198f4f}.bb-bucket-completed .bb-bucket-head b{background:#e6f7ed}.bb-task-list{padding:2px 10px 7px}.bb-task{grid-template-columns:20px 1fr;padding:9px 4px;border-bottom:1px solid #f0f2f6}.bb-task input[type=checkbox]{width:15px;height:15px;margin:2px 0 0;accent-color:#4a63ef}.bb-task-line{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.bb-task-name{font-size:12px;line-height:1.35}.bb-task-meta{font-size:10px;margin-top:3px}.bb-priority{font-size:9px;border-radius:5px;padding:2px 5px;white-space:nowrap}.bb-priority.High,.bb-priority.Critical{background:#ffe8ea;color:#d63b46}.bb-priority.Low{background:#e9f7ee;color:#18874b}.bb-task.overdue{background:linear-gradient(90deg,#fff5f5,#fff)}.bb-task.upcoming{background:linear-gradient(90deg,#fffaf1,#fff)}.bb-completed-inline .bb-task{opacity:.55}.bb-col-footer{margin-top:0;padding:10px 12px}.bb-add-inline{border:0;background:transparent;color:var(--area-color);font-weight:750;font-size:12px;cursor:pointer}
.bb-right-rail{display:flex;flex-direction:column;gap:12px;position:sticky;top:136px}.bb-side-card{background:#fff;border:1px solid var(--bb-border);border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(25,45,80,.035)}.bb-side-head{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;border-bottom:1px solid #edf1f6}.bb-side-head strong{font-size:13px}.bb-side-head span{font-size:10px;color:#4b64ef}.bb-activity-row{display:grid;grid-template-columns:25px 1fr;gap:8px;padding:10px 12px;border-bottom:1px solid #f0f2f6}.bb-activity-row:last-child{border-bottom:0}.bb-activity-dot{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:800}.bb-activity-dot.done{background:#1da25c}.bb-activity-dot.late{background:#df4650}.bb-activity-row b,.bb-rank-row b{display:block;font-size:11px;line-height:1.3}.bb-activity-row small,.bb-rank-row small{display:block;color:#8a94a8;font-size:9px;margin-top:2px}.bb-rank-row{display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:10px 12px;border-bottom:1px solid #f0f2f6}.bb-rank-row:last-child{border-bottom:0}.bb-rank{width:20px;height:20px;border-radius:50%;background:#eef2ff;color:#435ff7;display:grid;place-items:center;font-size:10px;font-weight:800}.bb-rank-row>strong{font-size:12px;color:#1a9a56}
@media(max-width:1280px){.bb-workspace-layout{grid-template-columns:1fr}.bb-right-rail{position:static;display:grid;grid-template-columns:1fr 1fr}.bb-board-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.bb-filterbar{flex-wrap:wrap}.bb-filterbar .bb-btn{margin-left:0}.bb-board-cards{grid-template-columns:1fr 1fr}.bb-right-rail{grid-template-columns:1fr}}

/* =========================================================
   v2.3.0 — Phase 1 Design System Foundation
   Consistent typography, spacing, sizing, radii, shadows,
   buttons, fields, badges, tables and interactive states.
   ========================================================= */
:root{
  --bb-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --bb-navy:#10233f;
  --bb-navy-2:#0a1b32;
  --bb-blue:#4f63f2;
  --bb-blue-hover:#4053df;
  --bb-bg:#f6f8fc;
  --bb-surface:#ffffff;
  --bb-surface-soft:#fafbfe;
  --bb-border:#e4e9f1;
  --bb-border-strong:#d5dce8;
  --bb-text:#17233b;
  --bb-text-2:#39465e;
  --bb-muted:#7a8599;
  --bb-green:#1e9b58;
  --bb-red:#df4853;
  --bb-amber:#d88913;
  --bb-info:#3478d4;

  --bb-space-1:4px;
  --bb-space-2:8px;
  --bb-space-3:12px;
  --bb-space-4:16px;
  --bb-space-5:20px;
  --bb-space-6:24px;
  --bb-space-7:32px;
  --bb-space-8:40px;

  --bb-radius-xs:6px;
  --bb-radius-sm:8px;
  --bb-radius-md:12px;
  --bb-radius-lg:16px;
  --bb-radius-xl:20px;
  --bb-radius-pill:999px;

  --bb-shadow-xs:0 1px 2px rgba(20,38,70,.04);
  --bb-shadow-sm:0 4px 14px rgba(20,38,70,.05);
  --bb-shadow-md:0 10px 28px rgba(20,38,70,.08);
  --bb-shadow-lg:0 22px 60px rgba(10,24,48,.18);

  --bb-control-h:40px;
  --bb-control-h-sm:34px;
  --bb-sidebar-w:244px;
  --bb-topbar-h:84px;
}

.bb-app,
.bb-app button,
.bb-app input,
.bb-app select,
.bb-app textarea{font-family:var(--bb-font)}
.bb-app{background:var(--bb-bg);color:var(--bb-text);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.bb-app *{box-sizing:border-box}
.bb-app button,.bb-app input,.bb-app select,.bb-app textarea{font-size:13px}
.bb-app button:focus-visible,.bb-app input:focus-visible,.bb-app select:focus-visible,.bb-app textarea:focus-visible{outline:3px solid rgba(79,99,242,.15);outline-offset:1px}

/* Sidebar */
.bb-sidebar{width:var(--bb-sidebar-w);padding:22px 14px 18px;background:linear-gradient(180deg,var(--bb-navy),var(--bb-navy-2));box-shadow:10px 0 30px rgba(10,24,48,.04)}
.bb-brand{gap:11px;padding:0 10px 26px}
.bb-logo{width:42px;height:42px;border-radius:var(--bb-radius-md);font-size:17px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.bb-brand strong{font-size:16px;letter-spacing:-.01em}
.bb-brand small,.bb-user small{font-size:11px;color:#aebcd0}
.bb-nav{gap:4px}
.bb-nav button{min-height:44px;padding:0 12px;border-radius:var(--bb-radius-sm);font-size:13px;font-weight:600;transition:background .16s ease,transform .16s ease,color .16s ease}
.bb-nav button span{width:20px;text-align:center;font-size:15px;opacity:.95}
.bb-nav button:hover{background:rgba(255,255,255,.08);transform:translateX(1px)}
.bb-nav button.active{background:linear-gradient(90deg,#3555d6,#5269f5);box-shadow:0 8px 18px rgba(30,55,165,.26)}
.bb-nav b{font-weight:700;line-height:18px;min-width:20px;text-align:center;padding:0 6px}
.bb-user{padding:14px 8px 2px;border-top:1px solid rgba(255,255,255,.08);margin-top:auto}
.bb-avatar{width:36px;height:36px;border:1px solid rgba(255,255,255,.3);box-shadow:var(--bb-shadow-xs)}
.bb-user strong{font-size:12px}

/* Header & page spacing */
.bb-topbar{height:var(--bb-topbar-h);padding:0 30px;border-bottom:1px solid var(--bb-border);box-shadow:0 1px 0 rgba(15,35,66,.02);background:rgba(255,255,255,.98)}
.bb-topbar h1{font-size:23px;line-height:1.2;font-weight:750;letter-spacing:-.02em;color:var(--bb-text)}
.bb-topbar p{font-size:12px;margin-top:5px;color:var(--bb-muted)}
.bb-top-actions{gap:8px;align-items:center}
.bb-top-actions input{height:var(--bb-control-h);width:360px;border-color:var(--bb-border-strong);border-radius:var(--bb-radius-sm);padding:0 13px;background:var(--bb-surface-soft);transition:border-color .15s,box-shadow .15s,background .15s}
.bb-top-actions input:focus{border-color:#9eabff;background:#fff;box-shadow:0 0 0 3px rgba(79,99,242,.09)}
.bb-icon-btn{height:var(--bb-control-h);min-width:40px;padding:0 10px;border-radius:var(--bb-radius-sm);display:inline-grid;place-items:center;cursor:pointer;transition:.15s ease}
.bb-icon-btn:hover{background:#f7f8fc;border-color:var(--bb-border-strong)}
.bb-content{padding:24px 28px 32px}

/* Unified surfaces */
.bb-card,.bb-toolbar,.bb-column,.bb-panel,.bb-completed-list,.bb-score-card,.bb-side-card{background:var(--bb-surface);border:1px solid var(--bb-border);border-radius:var(--bb-radius-lg);box-shadow:var(--bb-shadow-sm)}
.bb-card{padding:18px 20px}
.bb-panel{overflow:hidden}

/* Cards */
.bb-cards{gap:14px;margin-bottom:18px}
.bb-card small{font-size:11px;font-weight:650;color:var(--bb-muted)}
.bb-card strong{font-size:27px;font-weight:750;letter-spacing:-.02em;margin-top:5px}
.bb-card-icon{gap:13px;min-height:88px}
.bb-card-ico{width:46px;height:46px;border-radius:14px;font-size:19px}
.bb-card-icon em{font-size:10px;line-height:1.35;margin-top:6px}

/* Controls */
.bb-input,.bb-select,.bb-field input,.bb-field select,.bb-field textarea{border:1px solid var(--bb-border-strong);border-radius:var(--bb-radius-sm);background:#fff;color:var(--bb-text);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.bb-input,.bb-select{height:var(--bb-control-h);padding:0 11px;min-width:185px}
.bb-field input,.bb-field select{height:var(--bb-control-h);padding:0 11px}
.bb-field textarea{padding:10px 11px;min-height:92px;resize:vertical}
.bb-input:hover,.bb-select:hover,.bb-field input:hover,.bb-field select:hover,.bb-field textarea:hover{border-color:#c7cfdd}
.bb-input:focus,.bb-select:focus,.bb-field input:focus,.bb-field select:focus,.bb-field textarea:focus{border-color:#97a4fb;box-shadow:0 0 0 3px rgba(79,99,242,.09);outline:none}
.bb-field label{font-size:11px;font-weight:700;color:var(--bb-text-2);margin-bottom:6px}
.bb-field{min-width:0}

/* Buttons */
.bb-btn{min-height:var(--bb-control-h);padding:0 15px;border-radius:var(--bb-radius-sm);font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}
.bb-btn:hover{transform:translateY(-1px)}
.bb-btn.primary{background:var(--bb-blue);color:#fff;box-shadow:0 5px 12px rgba(79,99,242,.18)}
.bb-btn.primary:hover{background:var(--bb-blue-hover);box-shadow:0 7px 16px rgba(79,99,242,.22)}
.bb-btn.light{border:1px solid var(--bb-border-strong);background:#fff;color:var(--bb-text-2)}
.bb-btn.light:hover{background:#f8f9fc}
.bb-mini{height:32px;min-width:32px;padding:0 8px;border-color:var(--bb-border);border-radius:var(--bb-radius-xs);display:inline-grid;place-items:center;transition:.15s ease}
.bb-mini:hover{background:#f7f8fb;border-color:var(--bb-border-strong)}

/* Toolbars */
.bb-toolbar{padding:14px 16px;margin-bottom:16px;gap:12px}
.bb-workspace-title{gap:14px}
.bb-workspace-title small{font-size:9px;letter-spacing:.08em;color:var(--bb-muted)}
.bb-workspace-title strong{font-size:16px;letter-spacing:-.01em}
.bb-filterbar{padding:12px 14px;gap:10px;margin-bottom:16px;border-radius:var(--bb-radius-lg);box-shadow:var(--bb-shadow-xs)}
.bb-filter-select{min-width:168px}

/* Board columns and tasks */
.bb-board-scroll{scrollbar-width:thin;scrollbar-color:#cdd5e3 transparent}
.bb-board-scroll::-webkit-scrollbar{height:8px}.bb-board-scroll::-webkit-scrollbar-thumb{background:#cdd5e3;border-radius:999px}.bb-board-scroll::-webkit-scrollbar-track{background:transparent}
.bb-board-single{gap:12px}
.bb-workarea-column{width:282px;min-height:610px;border-radius:var(--bb-radius-lg);box-shadow:var(--bb-shadow-sm)}
.bb-col-head{min-height:52px;padding:12px 14px;background:linear-gradient(180deg,color-mix(in srgb,var(--area-color) 10%,white),#fff);border-bottom:1px solid var(--bb-border)}
.bb-col-title{font-size:13px;font-weight:750;letter-spacing:-.01em;gap:8px}
.bb-col-title i{width:8px;height:8px;border-radius:50%}
.bb-col-count{min-width:24px;text-align:center;border-radius:var(--bb-radius-pill);padding:2px 7px;font-size:10px;line-height:17px}
.bb-bucket-head{padding:10px 12px 5px;font-size:9px;font-weight:800;letter-spacing:.07em}
.bb-bucket-head b{padding:2px 7px;font-size:9px}
.bb-task-list{padding:2px 10px 8px}
.bb-task{padding:10px 3px;grid-template-columns:21px 1fr;gap:8px;min-height:48px}
.bb-task input[type=checkbox]{appearance:none;-webkit-appearance:none;width:17px;height:17px;border:1.5px solid #b9c3d3;border-radius:5px;background:#fff;display:grid;place-items:center;cursor:pointer;margin:1px 0 0;transition:.15s ease}
.bb-task input[type=checkbox]:hover{border-color:#8190f5;box-shadow:0 0 0 3px rgba(79,99,242,.08)}
.bb-task input[type=checkbox]:checked{background:var(--bb-blue);border-color:var(--bb-blue)}
.bb-task input[type=checkbox]:checked:after{content:"✓";color:#fff;font-size:11px;font-weight:800;line-height:1}
.bb-task-name{font-size:12px;font-weight:650;color:var(--bb-text);line-height:1.4}
.bb-task-meta{font-size:10px;color:var(--bb-muted);line-height:1.45;margin-top:3px}
.bb-priority,.bb-status,.bb-pill{font-weight:700;letter-spacing:.01em}
.bb-priority{font-size:9px;padding:2px 6px;border-radius:var(--bb-radius-xs)}
.bb-status{font-size:9px;padding:3px 7px;border-radius:var(--bb-radius-pill)}
.bb-pill{font-size:10px;padding:4px 8px;border-radius:var(--bb-radius-pill)}
.bb-task.done{opacity:.52}.bb-task.done .bb-task-name{text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:#8d98aa}
.bb-col-footer{padding:10px 12px;border-top:1px solid var(--bb-border)}
.bb-add-inline{font-size:11px;font-weight:750;padding:4px 0}

/* Panels and tables */
.bb-panel-head{padding:17px 18px}
.bb-panel-head h2{font-size:18px;font-weight:750;letter-spacing:-.015em}
.bb-panel-head small{font-size:11px;color:var(--bb-muted)}
.bb-table th,.bb-table td{padding:13px 15px;border-bottom:1px solid var(--bb-border);font-size:12px;line-height:1.45}
.bb-table th{height:42px;background:#fafbfe;color:#667188;font-size:10px;text-transform:uppercase;letter-spacing:.045em;font-weight:750;vertical-align:middle}
.bb-table tbody tr{transition:background .13s ease}.bb-table tbody tr:hover{background:#fbfcff}.bb-table tbody tr:last-child td{border-bottom:0}
.bb-actions{gap:5px;align-items:center}

/* Forms and modal */
.bb-modal{backdrop-filter:blur(3px);background:rgba(10,22,42,.48)}
.bb-modal-card{border-radius:var(--bb-radius-xl);box-shadow:var(--bb-shadow-lg);border:1px solid rgba(255,255,255,.45)}
.bb-modal-close{right:16px;top:11px;width:34px;height:34px;border-radius:50%;font-size:23px;line-height:1;display:grid;place-items:center;transition:.15s ease}
.bb-modal-close:hover{background:#f1f3f7;color:var(--bb-text)}
.bb-form{padding:28px 30px}
.bb-form h2{font-size:21px;font-weight:750;letter-spacing:-.02em;margin-bottom:22px}
.bb-form-grid{gap:15px 14px}
.bb-form-actions{padding-top:18px;margin-top:20px;border-top:1px solid var(--bb-border);gap:8px}
.bb-choice-grid{gap:8px}
.bb-check-choice{min-height:40px;padding:9px 10px;border-radius:var(--bb-radius-sm);font-size:12px}
.bb-note{border-radius:var(--bb-radius-sm);font-size:11px;padding:11px 12px}
.bb-checklist-editor{gap:7px}.bb-check-row{gap:7px}.bb-check-row input{height:38px}

/* Right rail */
.bb-workspace-layout{gap:14px}
.bb-right-rail{gap:12px}
.bb-side-card{border-radius:var(--bb-radius-lg);box-shadow:var(--bb-shadow-sm)}
.bb-side-head{min-height:46px;padding:12px 13px}
.bb-side-head strong{font-size:12px;font-weight:750}.bb-side-head span{font-size:9px;font-weight:650}
.bb-activity-row{grid-template-columns:24px 1fr;gap:8px;padding:10px 12px}
.bb-activity-dot{width:21px;height:21px;font-size:10px}
.bb-activity-row b,.bb-rank-row b{font-size:10.5px}.bb-activity-row small,.bb-rank-row small{font-size:9px;line-height:1.35}
.bb-rank-row{padding:10px 12px}.bb-rank{width:20px;height:20px}.bb-rank-row>strong{font-size:11px}

/* Score cards */
.bb-score{gap:14px}.bb-score-card{padding:17px 18px;border-radius:var(--bb-radius-lg);box-shadow:var(--bb-shadow-sm)}
.bb-score-card small{font-size:10px}.bb-score-row{font-size:11px}.bb-score-row b{font-size:16px}.bb-progress{height:7px}

/* Empty and feedback states */
.bb-empty,.bb-empty-state{color:var(--bb-muted)}
.bb-empty-state{padding:52px 24px}.bb-empty-state h2{font-size:22px;letter-spacing:-.02em}.bb-empty-state p{font-size:12px}
.bb-loading{font-size:12px;color:var(--bb-muted)}
.bb-toast{right:24px;bottom:24px;border-radius:var(--bb-radius-sm);padding:11px 14px;font-size:12px;box-shadow:var(--bb-shadow-md)}

/* Responsive normalization */
@media(max-width:1100px){
  .bb-sidebar{width:82px;padding-left:10px;padding-right:10px}
  .bb-nav button{justify-content:center;padding:0}.bb-nav button span{width:auto;font-size:17px}
  .bb-content{padding:20px}
}
@media(max-width:720px){
  .bb-topbar{padding:13px 14px;min-height:68px}
  .bb-content{padding:12px 10px 20px}
  .bb-card{padding:14px}
  .bb-cards{gap:10px}
  .bb-btn{min-height:38px}
  .bb-form{padding:22px 16px}
  .bb-modal{padding:10px}.bb-modal-card{width:100%;max-height:95vh;border-radius:14px}
}

/* === Phase 2: Workspace Board refinement (v2.4.0) === */
.bb-board-metrics{margin-bottom:16px}
.bb-card-ico.violet{background:#f0eaff;color:#7148d8}
.bb-board-toolbar{padding:12px 15px;margin-bottom:10px;box-shadow:0 2px 10px rgba(25,45,80,.025)}
.bb-workspace-switch{min-width:210px;background:#f9fbff;font-weight:650}
.bb-filterbar{padding:12px 14px;gap:14px;align-items:flex-end;box-shadow:0 2px 10px rgba(25,45,80,.025)}
.bb-filter-field{display:flex;flex-direction:column;gap:5px;min-width:170px}
.bb-filter-field label{font-size:10px;font-weight:750;color:#667188;letter-spacing:.01em}
.bb-filter-field .bb-select{min-width:170px}
.bb-clear-filters{margin-left:auto;height:39px}
.bb-workspace-layout{grid-template-columns:minmax(0,1fr) 260px;gap:14px}
.bb-board-scroll{background:transparent;border-radius:16px;padding:0 0 8px}
.bb-board-single{display:flex;gap:12px;align-items:stretch;min-width:max-content}
.bb-workarea-column{width:286px;min-width:286px;min-height:640px;border-radius:14px;box-shadow:0 3px 15px rgba(25,45,80,.045);border:1px solid #e7ebf2;background:#fff}
.bb-col-head{min-height:52px;background:linear-gradient(180deg,color-mix(in srgb,var(--area-color) 12%,white),color-mix(in srgb,var(--area-color) 4%,white));border-bottom:1px solid color-mix(in srgb,var(--area-color) 14%,#e7ebf2);padding:12px 13px}
.bb-col-title{font-size:14px;font-weight:800;color:color-mix(in srgb,var(--area-color) 85%,#18213a)}
.bb-col-title i{width:24px;height:24px;border-radius:8px;background:color-mix(in srgb,var(--area-color) 16%,white);border:1px solid color-mix(in srgb,var(--area-color) 24%,white);position:relative}
.bb-col-title i:after{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:var(--area-color);inset:0;margin:auto}
.bb-col-head-actions{display:flex;align-items:center;gap:8px}
.bb-col-count{min-width:25px;height:25px;padding:0 7px;display:grid;place-items:center;border-radius:8px;font-weight:800}
.bb-col-menu{font-size:17px;color:var(--area-color);line-height:1;opacity:.8}
.bb-bucket{border-bottom:1px solid #f0f2f6}
.bb-bucket-head{padding:9px 12px 5px;font-size:10px;letter-spacing:.06em}
.bb-bucket-current .bb-bucket-head{color:#506077}
.bb-bucket-current .bb-bucket-head b{background:#eef2f7;color:#506077}
.bb-bucket-overdue .bb-bucket-head{color:#d13e47}
.bb-bucket-upcoming .bb-bucket-head{color:#b57813}
.bb-task-list{padding:2px 9px 8px}
.bb-task{position:relative;grid-template-columns:21px minmax(0,1fr);gap:8px;padding:10px 7px;border:1px solid transparent;border-radius:9px;margin:3px 0;background:#fff;transition:.15s ease}
.bb-task:hover{border-color:#dfe5ef;box-shadow:0 3px 10px rgba(30,48,80,.055);transform:translateY(-1px)}
.bb-task.overdue{background:#fff8f8;border-left:3px solid #e3545b}
.bb-task.upcoming{background:#fffdf8;border-left:3px solid #e7ab45}
.bb-task.current{border-left:3px solid color-mix(in srgb,var(--area-color,#4f46e5) 65%,#fff)}
.bb-task input[type=checkbox]{width:16px;height:16px;margin:2px 0 0;cursor:pointer}
.bb-task-name{font-size:12.5px;line-height:1.38;font-weight:700;color:#273249}
.bb-task-line{gap:7px}
.bb-task-meta-row{display:flex;flex-wrap:wrap;gap:4px 5px;align-items:center;margin-top:6px}
.bb-assignee-mini{display:inline-flex;align-items:center;gap:4px;font-size:9.5px;color:#68758b;max-width:100%}
.bb-assignee-mini i{font-style:normal;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#eef2f8;color:#53627a;font-size:7px;font-weight:800}
.bb-meta-chip{font-size:8.5px;line-height:1;padding:3px 5px;border-radius:5px;background:#f2f5f9;color:#6b778b;white-space:nowrap}
.bb-due-chip{background:#edf4ff;color:#4771b6}
.bb-result-chip{background:#e7f7ed;color:#21864d}
.bb-priority{font-size:8.5px;padding:3px 5px;font-weight:750}
.bb-bucket-completed{margin-top:auto;border-bottom:0;background:#fcfdfd}
.bb-bucket-completed .bb-bucket-head{width:100%;border:0;background:transparent;cursor:pointer;text-transform:none;letter-spacing:0;font-size:11px;padding:10px 12px;display:flex;color:#188a4b}
.bb-completed-head-right{display:flex;align-items:center;gap:7px}
.bb-completed-head-right i{font-style:normal;font-size:11px;transition:transform .15s ease}
.bb-bucket-completed.is-collapsed .bb-completed-head-right i{transform:rotate(-90deg)}
.bb-bucket-completed.is-collapsed .bb-completed-inline{display:none}
.bb-completed-inline .bb-task{opacity:.5;margin:1px 0;padding-top:8px;padding-bottom:8px}
.bb-completed-inline .bb-task:hover{opacity:.72}
.bb-col-footer{padding:11px 12px;border-top:1px solid #eef1f5;background:#fff}
.bb-add-inline{width:100%;text-align:left;padding:3px 1px;font-size:11.5px}
.bb-right-rail{position:sticky;top:94px;display:flex;flex-direction:column;gap:12px}
.bb-side-card{border-radius:14px;box-shadow:0 3px 15px rgba(25,45,80,.045)}
.bb-side-head{padding:12px 13px}
.bb-activity-row{padding:10px 12px}
.bb-activity-row b{font-size:11px}.bb-activity-row small{font-size:9.5px;line-height:1.4}
.bb-rank-row{padding:9px 12px}.bb-rank-row b{font-size:10.5px}.bb-rank-row small{font-size:9px}.bb-rank-row>strong{font-size:12px;color:#1b9150}
@media(max-width:1280px){.bb-workspace-layout{grid-template-columns:1fr}.bb-right-rail{position:static;display:grid;grid-template-columns:1fr 1fr}.bb-workarea-column{width:278px;min-width:278px}}
@media(max-width:900px){.bb-filterbar{align-items:stretch}.bb-filter-field{min-width:calc(50% - 8px);flex:1}.bb-filter-field .bb-select{width:100%;min-width:0}.bb-clear-filters{margin-left:0}.bb-board-single{display:flex}.bb-workarea-column{width:82vw;min-width:280px;max-width:330px}}

/* Business Board 2.5 — Phase 3: Forms & Masters */
.bb-master-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.bb-master-stat{background:#fff;border:1px solid var(--bb-border);border-radius:15px;min-height:88px;padding:16px 18px;display:flex;align-items:center;gap:13px;box-shadow:0 6px 20px rgba(26,39,68,.045)}
.bb-master-stat small{display:block;color:var(--bb-muted);font-size:11px;font-weight:650;margin-bottom:4px}.bb-master-stat strong{display:block;font-size:25px;line-height:1;color:var(--bb-text);letter-spacing:-.03em}.bb-stat-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-size:18px;font-weight:800}.bb-stat-icon.violet{background:#eeedff;color:#5a55da}.bb-stat-icon.green{background:#e9f8ef;color:#169457}.bb-stat-icon.blue{background:#eaf2ff;color:#2d6cdf}.bb-stat-icon.amber{background:#fff4df;color:#d88911}.bb-stat-icon.red{background:#ffeded;color:#d84444}
.bb-master-panel{overflow:hidden}.bb-master-hero{padding:20px 22px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--bb-border);background:linear-gradient(180deg,#fff,#fdfdff)}.bb-master-hero h2{margin:2px 0 4px;font-size:21px;letter-spacing:-.025em}.bb-master-hero p{margin:0;color:var(--bb-muted);font-size:12px}.bb-eyebrow{font-size:9px;letter-spacing:.12em;font-weight:800;color:#6c73d8}.bb-master-toolbar{min-height:60px;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--bb-border);background:#fbfcff}.bb-inline-search{height:38px;min-width:300px;display:flex;align-items:center;gap:8px;border:1px solid #dfe4ef;background:#fff;border-radius:9px;padding:0 11px;color:#7b879d}.bb-inline-search input{border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;min-height:0!important;height:34px!important;padding:0!important;width:100%!important;font-size:12px!important}.bb-record-count{font-size:11px;color:var(--bb-muted);font-weight:650}.bb-table-wrap{overflow-x:auto}.bb-master-table th{white-space:nowrap}.bb-master-table td{vertical-align:middle}.bb-master-name,.bb-employee-cell{display:flex;align-items:center;gap:11px;min-width:190px}.bb-master-name strong,.bb-employee-cell strong{display:block;font-size:12px;color:var(--bb-text)}.bb-master-name small,.bb-employee-cell small{display:block;font-size:10px;color:var(--bb-muted);margin-top:2px;max-width:220px}.bb-master-icon,.bb-employee-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:11px;display:grid;place-items:center;font-size:13px;font-weight:800}.bb-master-icon.workspace{background:#eeedff;color:#5c57dd}.bb-employee-avatar{border-radius:50%;background:#edf2ff;color:#5262c8;font-size:10px}.bb-color-dot{width:14px;height:38px;border-radius:8px;background:var(--dot);box-shadow:inset 0 0 0 4px rgba(255,255,255,.72);border:1px solid var(--dot)}.bb-pill-wrap{display:flex;flex-wrap:wrap;gap:3px;max-width:250px}.bb-pill.muted{background:#f2f3f6;color:#7b8494}.bb-pill.inactive{background:#f0f1f4;color:#7f8794}.bb-metric{display:inline-flex;min-width:28px;height:25px;padding:0 7px;border-radius:8px;align-items:center;justify-content:center;font-size:11px;font-weight:800}.bb-metric.current{background:#edf3ff;color:#376ad0}.bb-metric.overdue{background:#ffeded;color:#d34848}.bb-metric.done{background:#eaf8ef;color:#188c50}.bb-score-number{color:#1f9a5b;font-size:12px}.bb-code{font-size:11px;font-weight:750;color:#5968d8}.bb-mini.danger:hover{border-color:#f1bbbb;background:#fff1f1;color:#bd3737}
.bb-form-heading,.bb-task-form-head{display:flex;align-items:center;gap:13px;margin-bottom:20px;padding-right:42px}.bb-form-heading h2,.bb-task-form-head h2{margin:0 0 3px}.bb-form-heading p,.bb-task-form-head p{margin:0;color:var(--bb-muted);font-size:11px}.bb-form-icon{width:42px;height:42px;border-radius:12px;background:#eeedff;color:#5b55da;display:grid;place-items:center;font-size:18px;font-weight:800}.bb-form-section{border:1px solid var(--bb-border);border-radius:13px;padding:17px;margin-top:14px;background:#fff}.bb-form-section>h3,.bb-section-title h3{font-size:13px;margin:0 0 14px;color:#26324a}.bb-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.bb-section-title h3{margin:0 0 3px}.bb-section-title p{margin:0;color:var(--bb-muted);font-size:10px}.bb-field label em{font-style:normal;color:#e54848}.bb-field label small{font-weight:500;color:var(--bb-muted)}.bb-soft-badge{display:inline-flex;align-items:center;white-space:nowrap;background:#f1efff;color:#625aca;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:750}.bb-select-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bb-select-card{position:relative;border:1px solid var(--bb-border);border-radius:11px;padding:11px 12px 11px 40px;cursor:pointer;background:#fbfcff;min-height:48px;display:flex;align-items:center;transition:.15s}.bb-select-card:hover{border-color:#c9cff2;background:#f9f9ff}.bb-select-card input{position:absolute;opacity:0}.bb-select-card input:checked~.bb-select-mark{background:#5d5be0;color:#fff;border-color:#5d5be0}.bb-select-mark{position:absolute;left:12px;width:19px;height:19px;border:1px solid #ccd3df;border-radius:6px;display:grid;place-items:center;color:transparent;font-size:10px}.bb-select-card b{display:block;font-size:11px}.bb-select-card small{display:block;color:var(--bb-muted);font-size:9px;margin-top:2px}.bb-color-field{height:42px;border:1px solid #d9dfeb;border-radius:8px;padding:5px 9px;display:flex;align-items:center;gap:9px}.bb-color-field input{width:28px!important;height:28px!important;padding:0!important;border:0!important;border-radius:6px}.bb-color-field span{font-size:10px;color:var(--bb-muted)}
.bb-task-form{padding:0}.bb-task-form .bb-task-form-head{padding:24px 28px 20px;margin:0;border-bottom:1px solid var(--bb-border);justify-content:space-between}.bb-task-form-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;align-items:start}.bb-task-form-main{padding:6px 24px 24px}.bb-task-summary{border-left:1px solid var(--bb-border);background:#fbfcff;min-height:100%;padding:20px 18px;position:sticky;top:0}.bb-summary-title{display:flex;gap:10px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--bb-border);margin-bottom:4px}.bb-summary-title>span{width:34px;height:34px;border-radius:10px;background:#efedff;color:#6158d5;display:grid;place-items:center}.bb-summary-title strong{display:block;font-size:12px}.bb-summary-title small{display:block;color:var(--bb-muted);font-size:9px;margin-top:2px}.bb-summary-row{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #e8ebf2;font-size:10px}.bb-summary-row span{color:var(--bb-muted)}.bb-summary-row b{text-align:right;color:#283550;max-width:150px}.bb-summary-help{margin-top:16px;border:1px solid #f0dfb3;background:#fffaf0;border-radius:11px;padding:12px}.bb-summary-help strong{font-size:10px;color:#9a6815}.bb-summary-help p{font-size:9px;line-height:1.55;color:#7d715d;margin:5px 0 0}.bb-schedule-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bb-check-row{align-items:center}.bb-drag{color:#b2bac8;cursor:grab;font-size:11px}.bb-lean-note{display:flex;gap:10px;border:1px solid #dde4fa;background:#f6f8ff;border-radius:11px;padding:11px 13px;margin-top:14px;color:#44506a}.bb-lean-note>span{color:#526ad5}.bb-lean-note b{font-size:10px}.bb-lean-note p{margin:2px 0 0;font-size:9px;line-height:1.5;color:#68758e}.bb-task-actions{padding:16px 24px 20px;margin:0;border-top:1px solid var(--bb-border);background:#fff;position:sticky;bottom:0;z-index:2}.bb-task-form~*{}.bb-task-form .bb-form-section:first-child{margin-top:14px}
#bb-task-form.bb-task-form{max-width:none}.bb-modal:has(.bb-task-form) .bb-modal-card{width:min(1180px,97vw)}
@media(max-width:1100px){.bb-master-cards{grid-template-columns:repeat(2,1fr)}.bb-task-form-layout{grid-template-columns:1fr}.bb-task-summary{border-left:0;border-top:1px solid var(--bb-border);position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:0 16px}.bb-summary-title,.bb-summary-help{grid-column:1/-1}.bb-schedule-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.bb-master-cards{grid-template-columns:1fr 1fr;gap:8px}.bb-master-stat{min-height:72px;padding:12px}.bb-stat-icon{width:36px;height:36px;border-radius:10px}.bb-master-stat strong{font-size:20px}.bb-master-hero{align-items:flex-start;gap:12px;flex-direction:column}.bb-master-hero .bb-btn{width:100%}.bb-master-toolbar{align-items:stretch;gap:8px;flex-direction:column}.bb-inline-search{min-width:0;width:100%;box-sizing:border-box}.bb-select-card-grid{grid-template-columns:1fr}.bb-task-form .bb-task-form-head{padding:20px 18px 16px}.bb-task-form-main{padding:2px 12px 16px}.bb-form-section{padding:13px}.bb-task-summary{grid-template-columns:1fr;padding:16px}.bb-summary-title,.bb-summary-help{grid-column:auto}.bb-schedule-grid{grid-template-columns:1fr}.bb-task-actions{padding:12px;}.bb-task-actions .bb-btn{flex:1}}

/* Business Board 2.6 — Phase 4: Dashboard, Scoreboard & Activity */
.bb-dashboard-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:16px}.bb-kpi-card{background:#fff;border:1px solid var(--bb-border);border-radius:16px;padding:16px;display:flex;align-items:center;gap:12px;min-height:86px;box-shadow:0 7px 24px rgba(28,40,70,.045)}.bb-kpi-card.score{background:linear-gradient(135deg,#fff,#f8f7ff)}.bb-kpi-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;font-weight:850;font-size:16px;flex:0 0 43px}.bb-kpi-icon.blue{background:#eaf3ff;color:#2e6cd6}.bb-kpi-icon.indigo{background:#eff0ff;color:#5659d9}.bb-kpi-icon.red{background:#ffeded;color:#d84646}.bb-kpi-icon.green{background:#e9f8ef;color:#159054}.bb-kpi-icon.violet{background:#f0edff;color:#6b58da}.bb-kpi-card small{display:block;color:var(--bb-muted);font-size:10px;font-weight:700}.bb-kpi-card strong{display:block;font-size:25px;line-height:1.05;letter-spacing:-.04em;margin:3px 0}.bb-kpi-card em{display:block;color:#8a94a7;font-size:9px;font-style:normal}
.bb-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}.bb-dashboard-main{overflow:hidden}.bb-dashboard-head{padding:18px 20px}.bb-dashboard-head h2,.bb-panel-head h2{margin:2px 0 3px}.bb-dashboard-head p,.bb-panel-head p{margin:0;color:var(--bb-muted);font-size:10px}.bb-performance-grid{padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bb-performance-card{appearance:none;text-align:left;border:1px solid #e3e7ef;background:#fff;border-radius:13px;padding:14px;cursor:pointer;transition:.17s;box-shadow:none}.bb-performance-card:hover{transform:translateY(-1px);border-color:#cfd5ef;box-shadow:0 8px 20px rgba(34,45,78,.06)}.bb-performance-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.bb-performance-top>div{display:flex;align-items:center;gap:8px}.bb-performance-top strong{font-size:11px;color:var(--bb-text)}.bb-performance-top>b{font-size:18px;color:#1c9858}.bb-performance-icon{width:28px;height:28px;border-radius:8px;background:#efefff;color:#5c5fd6;display:grid;place-items:center}.bb-performance-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:9px;color:#7c8799;margin:10px 0}.bb-performance-meta span{display:flex;align-items:center;gap:4px}.bb-performance-meta i{width:6px;height:6px;border-radius:50%;background:#5f77d7}.bb-performance-meta i.overdue{background:#dd4b4b}.bb-performance-meta i.current{background:#4d73df}.bb-dashboard-side{position:sticky;top:12px}.bb-activity-card .bb-side-head>div small{display:block;color:var(--bb-muted);font-size:9px;margin-top:2px}.bb-activity-timeline{padding:2px 0 6px}.bb-timeline-row{display:grid;grid-template-columns:27px 1fr;gap:9px;padding:10px 12px;position:relative}.bb-timeline-row:not(:last-child):after{content:"";position:absolute;left:25px;top:35px;bottom:-6px;width:1px;background:#e8ebf1}.bb-timeline-row b{font-size:10.5px;display:block}.bb-timeline-row small{display:block;font-size:9px;color:#68758c;line-height:1.4;margin-top:2px}.bb-timeline-row em{display:block;font-size:8.5px;color:#a0a8b5;font-style:normal;margin-top:2px}.bb-dashboard-lower{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.bb-count-badge{min-width:26px;height:24px;padding:0 8px;border-radius:15px;display:grid;place-items:center;font-size:10px;font-weight:800}.bb-count-badge.danger{background:#ffeded;color:#d64646}.bb-eyebrow.danger{color:#d54b4b}.bb-attention-list{padding:4px 14px 12px}.bb-attention-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 2px;border-bottom:1px solid #eef0f5}.bb-attention-row:last-child{border-bottom:0}.bb-attention-mark{width:25px;height:25px;border-radius:8px;background:#ffeded;color:#d84444;display:grid;place-items:center;font-weight:900}.bb-attention-copy strong{display:block;font-size:10.5px}.bb-attention-copy small{display:block;color:var(--bb-muted);font-size:9px;margin-top:2px}.bb-attention-due{font-size:9px;font-weight:700;color:#cb4747;white-space:nowrap}.bb-text-btn{border:0;background:transparent;color:#5968d8;font-size:10px;font-weight:750;cursor:pointer}.bb-dashboard-ranking{padding:4px 14px 12px}.bb-dashboard-rank{display:grid;grid-template-columns:28px 34px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #eef0f5}.bb-dashboard-rank:last-child{border:0}.bb-rank.top{background:#fff0c9;color:#a76d0c;border-color:#f6d888}.bb-dashboard-rank>div>strong{display:block;font-size:10.5px}.bb-dashboard-rank>div>small{display:block;font-size:9px;color:var(--bb-muted);margin-top:2px}.bb-mini-score{text-align:right}.bb-mini-score b{display:block;color:#168e51;font-size:12px}.bb-mini-score span{display:block;font-size:8.5px;color:#8b94a4;margin-top:2px}
.bb-score-hero{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:12px;margin-bottom:12px}.bb-score-gauge,.bb-score-stat{background:#fff;border:1px solid var(--bb-border);border-radius:16px;padding:17px;box-shadow:0 6px 20px rgba(27,39,70,.04)}.bb-score-gauge{background:linear-gradient(135deg,#595bd8,#7b67e6);color:#fff}.bb-score-gauge span,.bb-score-gauge small{display:block;font-size:9px;opacity:.8}.bb-score-gauge strong{font-size:31px;display:block;line-height:1.05;margin:4px 0}.bb-score-stat{display:flex;align-items:center;gap:10px}.bb-score-stat>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-weight:900}.bb-score-stat>span.good{background:#eaf8ef;color:#168f52}.bb-score-stat>span.late{background:#fff4e2;color:#ce8113}.bb-score-stat>span.missed{background:#ffeded;color:#d64949}.bb-score-stat small,.bb-score-stat em{display:block;font-size:9px;color:var(--bb-muted);font-style:normal}.bb-score-stat strong{font-size:20px;line-height:1.1}.bb-score-explainer{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f7f8fc;border:1px solid var(--bb-border);border-radius:12px;padding:9px 12px;margin-bottom:14px;font-size:9px;color:#69758a}.bb-score-explainer>span{font-weight:800;color:#3c475d;margin-right:3px}.bb-score-explainer b{background:#fff;border:1px solid #e0e4ec;border-radius:20px;padding:4px 8px;color:#46526a}.bb-score-explainer em{font-style:normal;margin-left:auto}.bb-scoreboard-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bb-scoreboard-table{padding:5px 14px 12px}.bb-scoreboard-row{display:grid;grid-template-columns:28px 36px minmax(120px,1.1fr) minmax(150px,1.2fr) minmax(110px,.8fr) 54px;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #eef0f5}.bb-scoreboard-row:last-child{border:0}.bb-score-identity{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#edf2ff;color:#5969d7;font-size:9px;font-weight:850}.bb-score-identity.area{border-radius:10px;background:color-mix(in srgb,var(--score-color) 13%,white);color:var(--score-color)}.bb-score-name strong{font-size:10.5px;display:block}.bb-score-name small{font-size:8.5px;color:var(--bb-muted);display:block;margin-top:2px}.bb-score-breakdown{display:flex;gap:5px;flex-wrap:wrap}.bb-score-breakdown span{border-radius:15px;padding:3px 6px;font-size:8px;font-weight:700}.bb-score-breakdown .good{background:#eaf8ef;color:#168c50}.bb-score-breakdown .late{background:#fff4e1;color:#bd7611}.bb-score-breakdown .missed{background:#ffeded;color:#c84343}.bb-scorebar small{font-size:8px;color:#8791a3;display:block;margin-top:3px}.bb-score-big{text-align:right;color:#158b4f;font-size:13px}
@media(max-width:1250px){.bb-dashboard-kpis{grid-template-columns:repeat(3,1fr)}.bb-dashboard-grid{grid-template-columns:1fr}.bb-dashboard-side{position:static}.bb-scoreboard-layout{grid-template-columns:1fr}.bb-score-hero{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.bb-dashboard-kpis{grid-template-columns:repeat(2,1fr)}.bb-performance-grid,.bb-dashboard-lower{grid-template-columns:1fr}.bb-scoreboard-row{grid-template-columns:26px 34px 1fr 50px}.bb-score-breakdown,.bb-scorebar{grid-column:3/-1}.bb-score-big{grid-column:4;grid-row:1}.bb-score-explainer em{width:100%;margin-left:0}.bb-score-hero{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.bb-dashboard-kpis{grid-template-columns:1fr 1fr;gap:8px}.bb-kpi-card{padding:12px;min-height:74px}.bb-kpi-icon{width:36px;height:36px;flex-basis:36px}.bb-kpi-card strong{font-size:20px}.bb-score-hero{grid-template-columns:1fr}.bb-attention-row{grid-template-columns:26px 1fr}.bb-attention-due{grid-column:2}.bb-dashboard-rank{grid-template-columns:25px 30px 1fr}.bb-mini-score{grid-column:3;text-align:left}.bb-scoreboard-row{grid-template-columns:24px 32px 1fr 45px;gap:6px}}

/* v2.7.0 — Workspace Templates */
.bb-master-icon.template{background:linear-gradient(135deg,#ede9fe,#ddd6fe);color:#6d28d9}
.bb-template-actions{flex-wrap:nowrap}
.bb-source-template{display:inline-flex;margin-top:5px;padding:3px 8px;border-radius:999px;background:#f3e8ff;color:#6b21a8;font-size:11px;font-weight:700;width:max-content}
.bb-template-link-chip{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #ddd6fe;background:#faf5ff;color:#6d28d9;border-radius:10px;font-size:12px;font-weight:800;white-space:nowrap}
.bb-template-note,.bb-template-safety{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;margin:0 20px 18px;border:1px solid #e9d5ff;background:#faf5ff;border-radius:12px;color:#5b21b6}
.bb-template-note strong,.bb-template-safety strong{white-space:nowrap}
.bb-template-note span,.bb-template-safety span{color:#6b7280}
.bb-template-safety{margin:16px 0 0}
.bb-check-option{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;cursor:pointer}
.bb-check-option input{width:18px;height:18px;margin-top:2px}
.bb-check-option span{display:flex;flex-direction:column;gap:3px}
.bb-check-option small{color:#6b7280}
.bb-form-spacer{flex:1}
.bb-btn.danger-soft{background:#fff1f2;border-color:#fecdd3;color:#be123c}
.bb-diff-modal{padding:4px}
.bb-diff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.bb-diff-section{border:1px solid #e5e7eb;border-radius:12px;padding:14px;background:#fff}
.bb-diff-section h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px;font-size:14px}
.bb-diff-section h3 span{min-width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f3f4f6;font-size:11px}
.bb-diff-section ul{margin:0;padding-left:18px;max-height:150px;overflow:auto}
.bb-diff-section li{padding:3px 0;color:#374151}
.bb-diff-section p{margin:0;color:#9ca3af;font-size:12px}
.bb-diff-section.missing{border-color:#fed7aa;background:#fffaf5}
.bb-diff-section.changed{border-color:#fde68a;background:#fffbeb}
.bb-diff-section.local{border-color:#bfdbfe;background:#eff6ff}
.bb-mini.primary{background:#eef2ff;color:#4338ca}
@media(max-width:900px){.bb-diff-grid{grid-template-columns:1fr}.bb-template-note,.bb-template-safety{flex-direction:column}.bb-template-note strong,.bb-template-safety strong{white-space:normal}.bb-template-link-chip{display:none}}
/* Phase 5: Access, audit and recurrence hardening */
.bb-permission-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin:18px 0;padding:16px;border:1px solid var(--bb-border,#e5e7eb);border-radius:14px;background:#f8fafc}.bb-permission-grid label{display:flex;align-items:center;gap:9px;font-weight:600;color:#334155}.bb-permission-grid input{width:18px;height:18px}.bb-source-template{display:inline-flex;margin-top:5px;font-size:11px;padding:3px 7px;border-radius:999px;background:#eef2ff;color:#4338ca}.bb-status.paused,.bb-pill.paused{background:#f1f5f9;color:#475569}.bb-activity-action{text-transform:capitalize}.bb-table td .bb-actions{white-space:nowrap}.bb-table td{vertical-align:middle}
@media(max-width:760px){.bb-permission-grid{grid-template-columns:1fr 1fr}.bb-table-wrap{overflow-x:auto}.bb-table{min-width:760px}}

/* Business Board 2.9 — Phase 6: Notifications, mobile UX and attachments */
.bb-topbar-left{display:flex;align-items:center;gap:12px}.bb-mobile-menu{display:none;width:38px;height:38px;border:1px solid var(--bb-border);border-radius:10px;background:#fff;color:#25324a;font-size:18px;cursor:pointer}.bb-notification-btn{position:relative}.bb-notification-btn b{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#e34848;color:#fff;font-size:9px;display:grid;place-items:center;border:2px solid #fff}
.bb-notification-drawer{position:fixed;right:-390px;top:0;width:min(380px,94vw);height:100vh;background:#fff;z-index:100000;border-left:1px solid var(--bb-border);box-shadow:-18px 0 50px rgba(17,29,55,.14);display:flex;flex-direction:column;transition:right .22s ease}.bb-notification-drawer.open{right:0}.bb-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;padding:20px;border-bottom:1px solid var(--bb-border)}.bb-drawer-head strong{font-size:17px;display:block}.bb-drawer-head small{font-size:10px;color:var(--bb-muted);display:block;margin-top:3px}.bb-drawer-close{border:0;background:#f4f6f9;width:32px;height:32px;border-radius:9px;font-size:20px;cursor:pointer}.bb-notification-drawer #bb-notification-list{overflow:auto;flex:1;padding:8px 0}.bb-notification{display:grid;grid-template-columns:32px 1fr;gap:10px;padding:13px 16px;border-bottom:1px solid #f0f2f6}.bb-notification.unread{background:#f7f9ff}.bb-notification-ico{width:30px;height:30px;border-radius:9px;background:#eef2ff;color:#5664d8;display:grid;place-items:center;font-weight:900}.bb-notification strong{font-size:11px;display:block}.bb-notification p{margin:3px 0;font-size:10px;color:#5f6d83;line-height:1.45}.bb-notification small{font-size:8.5px;color:#98a1b0}.bb-drawer-foot{padding:12px 16px;border-top:1px solid var(--bb-border)}.bb-drawer-foot .bb-btn{width:100%}.bb-mobile-backdrop{position:fixed;inset:0;background:rgba(12,24,45,.38);z-index:99990;opacity:0;visibility:hidden;transition:.18s}.bb-mobile-backdrop.show{opacity:1;visibility:visible}
.bb-task-link{border:0;background:transparent;padding:0;text-align:left;cursor:pointer;width:100%;font:inherit;color:inherit}.bb-task-link:hover{color:#5864d8}.bb-upload-box{position:relative;border:1.5px dashed #cfd6e3;border-radius:12px;background:#fafbfe;min-height:84px;display:flex;align-items:center;gap:12px;padding:15px;overflow:hidden}.bb-upload-box.compact{min-height:72px}.bb-upload-box input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.bb-upload-box>span{width:38px;height:38px;border-radius:10px;background:#eef2ff;color:#5965d8;display:grid;place-items:center;font-size:18px}.bb-upload-box strong,.bb-upload-box small{display:block}.bb-upload-box strong{font-size:11px}.bb-upload-box small{font-size:9px;color:var(--bb-muted);margin-top:3px}.bb-file-preview{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.bb-file-chip{font-size:9px;border:1px solid #e0e5ed;background:#fff;border-radius:999px;padding:5px 8px;color:#596579}.bb-attachment-list{display:grid;gap:7px;margin-top:10px}.bb-attachment-item{display:grid;grid-template-columns:34px 1fr 30px;gap:8px;align-items:center;padding:8px 9px;border:1px solid #e8ebf1;border-radius:10px;background:#fff}.bb-attachment-item img{width:34px;height:34px;object-fit:cover;border-radius:8px}.bb-file-icon{width:34px;height:34px;border-radius:8px;background:#f3f5f8;display:grid;place-items:center}.bb-attachment-item a{display:block;font-size:10px;font-weight:700;color:#38455d;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bb-attachment-item small{display:block;font-size:8.5px;color:var(--bb-muted);margin-top:2px}.bb-attachment-empty{margin-top:8px}.bb-task-detail{padding:28px}.bb-task-detail-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.bb-task-detail-head h2{margin:4px 0 3px;font-size:22px}.bb-task-detail-head p{margin:0;color:var(--bb-muted);font-size:11px}.bb-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.bb-detail-grid>div{border:1px solid var(--bb-border);border-radius:11px;padding:10px}.bb-detail-grid small,.bb-detail-grid strong{display:block}.bb-detail-grid small{font-size:8px;color:var(--bb-muted);text-transform:uppercase;letter-spacing:.05em}.bb-detail-grid strong{font-size:10.5px;margin-top:4px}.bb-detail-section{border-top:1px solid var(--bb-border);padding-top:15px;margin-top:15px}.bb-detail-section h3{font-size:13px;margin:0 0 9px}.bb-detail-section p,.bb-detail-section li{font-size:10.5px;color:#4e5b70;line-height:1.55}.bb-detail-section ul{padding-left:18px}.bb-settings-form{display:grid;gap:4px}.bb-switch-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid #eef1f5}.bb-switch-row strong,.bb-switch-row small{display:block}.bb-switch-row strong{font-size:11px}.bb-switch-row small{font-size:9px;color:var(--bb-muted);margin-top:2px}.bb-switch-row input{width:20px;height:20px}.bb-mobile-area-tabs{display:none}
@media(max-width:900px){
  .bb-app{display:block}.bb-sidebar{position:fixed;left:-290px;top:0;bottom:0;width:270px!important;z-index:99999;padding:18px 12px;transition:left .2s ease;display:flex!important}.bb-sidebar.mobile-open{left:0}.bb-sidebar .bb-brand>div:last-child,.bb-sidebar .bb-nav button:not(.active){display:flex}.bb-sidebar .bb-nav button{justify-content:flex-start!important;padding:0 12px!important}.bb-sidebar .bb-nav button span{width:28px!important}.bb-sidebar .bb-user>div:last-child{display:block}.bb-main{margin-left:0!important;width:100%}.bb-mobile-menu{display:grid;place-items:center}.bb-topbar{padding:12px 14px}.bb-top-actions input{display:none}.bb-topbar h1{font-size:18px}.bb-topbar p{font-size:9px}.bb-content{padding:12px}.bb-mobile-area-tabs{display:flex;gap:7px;overflow-x:auto;padding:0 0 10px;scrollbar-width:none}.bb-mobile-area-tabs::-webkit-scrollbar{display:none}.bb-mobile-area-chip{border:1px solid #e0e5ed;background:#fff;color:#566175;padding:8px 11px;border-radius:999px;white-space:nowrap;font-size:10px;font-weight:750}.bb-mobile-area-chip.active{background:#293b61;color:#fff;border-color:#293b61}.bb-board-scroll{overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.bb-workarea-column{width:calc(100vw - 40px)!important;min-width:calc(100vw - 40px)!important;max-width:calc(100vw - 40px)!important;scroll-snap-align:start;min-height:auto}.bb-right-rail{grid-template-columns:1fr}.bb-board-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bb-board-toolbar{align-items:stretch}.bb-workspace-title{width:100%}.bb-toolbar-actions{width:100%;justify-content:flex-end}.bb-filterbar{display:none}.bb-col-footer{position:sticky;bottom:0;background:#fff;z-index:2}.bb-add-inline{min-height:38px;border-radius:9px;background:#f4f7ff;padding:0 10px}.bb-modal{align-items:flex-end;padding:0}.bb-modal-card{max-height:94vh;border-radius:18px 18px 0 0;width:100%;animation:bbSheetIn .18s ease}.bb-task-detail{padding:22px 16px 26px}.bb-detail-grid{grid-template-columns:1fr 1fr}.bb-task-form-layout{grid-template-columns:1fr!important}.bb-task-summary{display:none!important}.bb-form-actions.bb-task-actions{position:sticky;bottom:0;background:#fff;z-index:5;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.bb-master-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bb-notification-drawer{width:min(360px,96vw)}
}
@media(max-width:540px){.bb-board-metrics{grid-template-columns:1fr 1fr!important}.bb-card em{display:none}.bb-master-cards{grid-template-columns:1fr 1fr!important}.bb-detail-grid{grid-template-columns:1fr 1fr}.bb-task-detail-head{flex-direction:column}.bb-form-grid{grid-template-columns:1fr!important}.bb-form-grid .full{grid-column:auto!important}}
@keyframes bbSheetIn{from{transform:translateY(20px);opacity:.6}to{transform:none;opacity:1}}

/* v3.0 Reports / Backup / Template Versioning */
.bb-report-filter-panel{overflow:visible}.bb-report-filters{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr)) auto;gap:12px;padding:18px 20px;align-items:end}.bb-report-run{min-width:120px}.bb-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}.bb-report-table-panel{margin-top:16px}.bb-report-table-panel td small{display:block;color:var(--bb-muted,#718096);margin-top:3px}.bb-archive-note{padding:13px 16px;border:1px solid #f2d89b;background:#fffaf0;border-radius:12px;color:#7a5a16;margin:14px 0}.bb-pill.early,.bb-pill.on-time{background:#e8f8f0;color:#16794d}.bb-pill.late{background:#fff4df;color:#9a6415}.bb-pill.missed{background:#fff0f0;color:#b42318}.bb-pill.pending{background:#eef3fb;color:#4b6484}
.bb-settings-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:start}.bb-backup-card{display:flex;gap:16px;align-items:center;padding:16px;border:1px solid #e8edf5;border-radius:14px;background:#fbfcfe}.bb-backup-card>span{width:42px;height:42px;border-radius:12px;background:#eef2ff;display:grid;place-items:center;font-size:22px;color:#5b5bd6;flex:0 0 auto}.bb-backup-card>div{flex:1}.bb-backup-card p{margin:4px 0 0;color:#6b778c;font-size:13px;line-height:1.5}.bb-health-grid{display:grid;grid-template-columns:repeat(6,minmax(100px,1fr));gap:12px}.bb-health-grid>div{padding:14px;border:1px solid #e8edf5;border-radius:12px;background:#fbfcfe}.bb-health-grid small{display:block;color:#7b8798;margin-bottom:5px}.bb-health-grid strong{font-size:16px}.bb-cron-list{margin-top:14px;border-top:1px solid #edf0f5}.bb-cron-list>div{display:flex;justify-content:space-between;gap:20px;padding:10px 2px;border-bottom:1px solid #f0f2f6}.bb-cron-list span{color:#637083}.bb-cron-list b{font-weight:600;color:#283548;text-align:right}
.bb-version-list{display:flex;flex-direction:column;gap:10px;max-height:430px;overflow:auto;margin:18px 0}.bb-version-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px;border:1px solid #e7ebf1;border-radius:12px;background:#fbfcfe}.bb-version-row strong{display:block}.bb-version-row small{display:block;color:#7a8699;margin-top:4px}
@media(max-width:1200px){.bb-report-filters{grid-template-columns:repeat(3,minmax(150px,1fr))}.bb-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-health-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}}
@media(max-width:760px){.bb-report-filters{grid-template-columns:1fr 1fr;padding:14px}.bb-report-run{grid-column:1/-1}.bb-report-summary,.bb-settings-grid{grid-template-columns:1fr}.bb-health-grid{grid-template-columns:1fr 1fr}.bb-backup-card{align-items:flex-start;flex-wrap:wrap}.bb-backup-card .bb-btn{width:100%}.bb-version-row{align-items:flex-start;flex-direction:column}.bb-version-row .bb-btn{width:100%}}

/* v3.1.0 · Portable Workspace packages */
.bb-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bb-import-preview{margin-top:16px}
.bb-import-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-bottom:18px}
.bb-import-summary>div{padding:14px 16px;border:1px solid var(--bb-border,#e5e7eb);border-radius:14px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}
.bb-import-summary small{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#64748b;font-weight:700}
.bb-import-summary strong{font-size:16px;color:#0f172a}
.bb-import-map-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.bb-import-map-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr);gap:16px;align-items:center;padding:12px 14px;border:1px solid var(--bb-border,#e5e7eb);border-radius:12px;background:#fff}
.bb-import-map-row>div{display:flex;flex-direction:column;gap:3px}
.bb-import-map-row small{color:#64748b}
.bb-import-map-row select{width:100%;min-height:42px;border:1px solid var(--bb-border,#dbe2ea);border-radius:10px;padding:0 12px;background:#fff}
@media(max-width:700px){.bb-import-summary{grid-template-columns:1fr}.bb-import-map-row{grid-template-columns:1fr;gap:8px}.bb-hero-actions{width:100%}.bb-hero-actions .bb-btn{flex:1}}

/* v3.2 frontend login + department access */
.bb-login-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:linear-gradient(135deg,#f7f8fc 0%,#eef2ff 100%);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033}
.bb-login-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.bb-login-brand .bb-logo{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#5b5ce2;color:#fff;font-weight:800;font-size:22px;box-shadow:0 10px 30px rgba(91,92,226,.24)}.bb-login-brand strong{display:block;font-size:20px}.bb-login-brand small{display:block;color:#7b8497;margin-top:2px}
.bb-login-card{width:min(440px,100%);background:#fff;border:1px solid #e7eaf1;border-radius:20px;box-shadow:0 20px 55px rgba(37,44,74,.12);padding:10px 28px 28px}.bb-login-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f3f5f9;border-radius:12px;padding:4px;margin:10px 0 24px}.bb-login-tabs button{border:0;background:transparent;padding:11px 8px;border-radius:9px;font-weight:700;color:#7a8497;cursor:pointer}.bb-login-tabs button.active{background:#fff;color:#30354a;box-shadow:0 2px 8px rgba(40,48,80,.08)}
.bb-login-form h2{margin:0 0 6px;font-size:25px}.bb-login-form>p{margin:0 0 20px;color:#7d8698}.bb-login-form label{display:block;font-size:13px;font-weight:700;margin:0 0 15px;color:#50596b}.bb-login-form input{width:100%;box-sizing:border-box;margin-top:7px;height:46px;border:1px solid #dfe3eb;border-radius:10px;padding:0 13px;font-size:15px;outline:0}.bb-login-form input:focus{border-color:#7779ea;box-shadow:0 0 0 3px rgba(91,92,226,.11)}.bb-login-form .bb-btn{width:100%;height:46px;margin-top:4px}.bb-login-error{min-height:20px;margin-top:12px;color:#c73546;font-size:13px;text-align:center}
.bb-user{position:relative}.bb-logout-btn{margin-left:auto;border:0;background:rgba(255,255,255,.08);color:inherit;width:31px;height:31px;border-radius:9px;cursor:pointer;font-size:16px}.bb-logout-btn:hover{background:rgba(255,255,255,.15)}
.bb-check-option{min-height:64px}
@media(max-width:600px){.bb-login-page{padding:18px}.bb-login-card{padding:8px 18px 22px;border-radius:16px}.bb-login-brand{margin-bottom:16px}}
/* v3.3 workspace-owned Work Areas + automatic IDs */
.bb-auto-id{min-height:44px;display:flex;align-items:center;padding:0 13px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;color:#64748b;font-size:13px;font-weight:600}
.bb-inline-area-list{display:grid;gap:10px;margin-top:12px}
.bb-inline-area{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.bb-inline-area>div:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}.bb-inline-area strong{font-size:14px;color:#172033}.bb-inline-area small{font-size:12px;color:#718096;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* v3.4 Workspace routing + app-shell refinements */
body.business-board-blank-app{overflow-x:hidden;background:#f7f9fc!important}
body.business-board-blank-app #wpadminbar{display:none!important}
body.business-board-blank-app .bb-shortcode-wrap{margin:0!important;max-width:none!important;width:100%!important}
.bb-workspace-open-link{appearance:none;border:0;background:transparent;padding:0;margin:0;color:#111827;font:inherit;font-weight:800;cursor:pointer;text-align:left}
.bb-workspace-open-link:hover{color:#2563eb;text-decoration:underline}
\n\n/* v3.5 compact Workspace + collapsible desktop sidebar */\n.bb-sidebar-toggle{width:38px;height:38px;border:1px solid var(--bb-border);border-radius:10px;background:#fff;color:#25324a;font-size:18px;cursor:pointer;display:grid;place-items:center;flex:0 0 auto}\n.bb-sidebar-toggle:hover{background:#f7f8fc;border-color:var(--bb-border-strong)}\n.bb-sidebar{transition:width .18s ease,padding .18s ease}\n.bb-main{transition:width .18s ease}\n.bb-sidebar-collapsed .bb-sidebar{width:74px;padding-left:9px;padding-right:9px}\n.bb-sidebar-collapsed .bb-brand{padding-left:7px;padding-right:7px;justify-content:center}\n.bb-sidebar-collapsed .bb-brand>div:last-child,.bb-sidebar-collapsed .bb-nav button:not(.active){font-size:0}\n.bb-sidebar-collapsed .bb-brand>div:last-child,.bb-sidebar-collapsed .bb-user>div:nth-child(2){display:none}\n.bb-sidebar-collapsed .bb-brand{gap:0}.bb-sidebar-collapsed .bb-logo{width:38px;height:38px}\n.bb-sidebar-collapsed .bb-nav button{justify-content:center;padding-left:8px;padding-right:8px;gap:0}\n.bb-sidebar-collapsed .bb-nav button span{width:auto;font-size:18px}\n.bb-sidebar-collapsed .bb-nav button b{position:absolute;transform:translate(13px,-13px);min-width:16px;height:16px;line-height:16px;padding:0 4px;font-size:8px}\n.bb-sidebar-collapsed .bb-user{justify-content:center;padding-left:0;padding-right:0}.bb-sidebar-collapsed .bb-logout-btn{display:none}\n\n/* Only two compact rows before the Workspace board */\n.bb-workspace-compact-head,.bb-workspace-control-row{background:#fff;border:1px solid var(--bb-border);box-shadow:var(--bb-shadow-xs);border-radius:12px}\n.bb-workspace-compact-head{min-height:46px;padding:7px 10px 7px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}\n.bb-workspace-identity{display:flex;align-items:center;gap:9px;min-width:0}.bb-workspace-identity>div{display:flex;align-items:baseline;gap:8px;min-width:0}.bb-workspace-identity small{font-size:8px;letter-spacing:.08em;color:var(--bb-muted);font-weight:800}.bb-workspace-identity strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bb-back-workspaces{width:28px;height:28px;border:1px solid var(--bb-border);border-radius:8px;background:#fff;color:var(--bb-text-2);cursor:pointer}.bb-back-workspaces:hover{background:#f7f8fc}.bb-workspace-compact-actions{display:flex;gap:5px;align-items:center}\n.bb-workspace-control-row{min-height:48px;padding:6px 8px 6px 10px;display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:10px}\n.bb-compact-kpis{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;min-width:0;overflow-x:auto;scrollbar-width:none}.bb-compact-kpis::-webkit-scrollbar{display:none}.bb-kpi-chip{height:30px;display:inline-flex;align-items:center;gap:5px;padding:0 9px;border-radius:8px;font-size:9px;font-weight:700;white-space:nowrap;background:#f7f9fc;color:#647087;border:1px solid #edf0f5}.bb-kpi-chip b{font-size:13px;color:var(--bb-text)}.bb-kpi-chip.current{background:#eef4ff}.bb-kpi-chip.overdue{background:#fff0f1}.bb-kpi-chip.overdue b{color:#df4351}.bb-kpi-chip.upcoming{background:#fff7e9}.bb-kpi-chip.upcoming b{color:#d98500}.bb-kpi-chip.completed{background:#eefaf3}.bb-kpi-chip.completed b{color:#159853}.bb-kpi-chip.areas{background:#f4efff}.bb-kpi-chip.areas b{color:#6e45d8}\n.bb-compact-filters{display:flex;align-items:center;gap:5px;flex:0 0 auto}.bb-filter-field-compact{min-width:0}.bb-filter-field-compact label{display:none}.bb-filter-field-compact .bb-select{height:32px;min-width:132px;padding:0 28px 0 9px;font-size:10px;border-radius:8px;background:#fff}.bb-compact-filters .bb-icon-btn{height:32px;min-width:32px;width:32px;padding:0}.bb-compact-filters .bb-clear-filters{margin-left:0}\n.bb-content:has(.bb-workspace-compact-head){padding-top:12px}\n.bb-workarea-add{width:25px;height:25px;border:1px solid color-mix(in srgb,var(--area-color) 28%,#dfe4ec);border-radius:7px;background:#fff;color:var(--area-color);font-size:16px;line-height:1;display:grid;place-items:center;cursor:pointer;font-weight:800}.bb-workarea-add:hover{background:color-mix(in srgb,var(--area-color) 8%,white);transform:translateY(-1px)}\n.bb-workarea-column{min-height:560px}.bb-col-head{min-height:48px;padding-top:9px;padding-bottom:9px}\n.bb-col-footer{display:none!important}\n\n@media(max-width:760px){.bb-workspace-control-row{align-items:flex-start;flex-direction:column}.bb-compact-filters{width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.bb-compact-filters::-webkit-scrollbar{display:none}.bb-filter-field-compact{flex:0 0 auto}.bb-filter-field-compact .bb-select{width:auto;min-width:126px}}\n@media(max-width:900px){.bb-sidebar-toggle{display:none}.bb-workspace-compact-head{margin-bottom:7px}.bb-workspace-control-row{padding:6px;margin-bottom:8px}.bb-compact-filters{display:none}.bb-kpi-chip{height:28px;padding:0 7px}.bb-workarea-add{width:28px;height:28px}.bb-content:has(.bb-workspace-compact-head){padding-top:8px}}\n@media(max-width:540px){.bb-workspace-identity small{display:none}.bb-workspace-identity strong{font-size:14px}.bb-template-link-chip{display:none}.bb-kpi-chip{font-size:8.5px}.bb-kpi-chip b{font-size:12px}}\n

/* v3.5.1: Keep Workspace filters on one horizontal row on desktop */
@media(min-width:901px){
  .bb-workspace-control-row{flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;}
  .bb-compact-filters{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;width:auto!important;gap:6px!important;overflow:visible!important;}
  .bb-compact-filters .bb-filter-field,.bb-filter-field-compact{display:block!important;flex:0 0 auto!important;min-width:0!important;width:auto!important;}
  .bb-filter-field-compact .bb-select{display:block!important;width:138px!important;min-width:138px!important;max-width:160px!important;height:32px!important;}
  .bb-compact-filters .bb-clear-filters{flex:0 0 32px!important;width:32px!important;min-width:32px!important;}
}

/* v3.6 Workspace-contained Work Areas + task pinning */
.bb-btn-compact{height:30px!important;min-height:30px!important;padding:0 10px!important;font-size:10px!important;border-radius:8px!important}
.bb-col-menu{width:24px;height:24px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;border-radius:6px;padding:0}
button.bb-col-menu:hover{background:color-mix(in srgb,var(--area-color) 9%,white)}
.bb-add-area-column{width:278px;min-width:278px;min-height:220px;align-self:stretch;border:1.5px dashed #cfd7e5;border-radius:14px;background:rgba(255,255,255,.58);color:#66728a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;padding:24px;transition:.15s ease}
.bb-add-area-column:hover{border-color:#7f8cf1;background:#f8f9ff;color:#4f5ed8;box-shadow:0 6px 18px rgba(48,64,110,.07);transform:translateY(-1px)}
.bb-add-area-column>span{width:36px;height:36px;border-radius:10px;background:#eef1ff;color:#5262e1;display:grid;place-items:center;font-size:22px;font-weight:800}
.bb-add-area-column>strong{font-size:12px;color:inherit}.bb-add-area-column>small{font-size:9px;color:#929db0;max-width:165px;line-height:1.45;text-align:center}
.bb-task{grid-template-columns:21px minmax(0,1fr) 24px!important}
.bb-task-pin{width:22px;height:22px;border:0;border-radius:6px;background:transparent;opacity:.23;filter:grayscale(1);cursor:pointer;padding:0;display:grid;place-items:center;font-size:12px;line-height:1;transition:.15s ease}
.bb-task:hover .bb-task-pin{opacity:.6}.bb-task-pin:hover{opacity:1!important;background:#fff4cc;filter:none;transform:rotate(-8deg)}
.bb-task-pin.is-pinned{opacity:1;filter:none;background:#fff4cc;box-shadow:inset 0 0 0 1px #f4dea0}
.bb-task.is-pinned{box-shadow:0 2px 9px rgba(36,48,80,.05)}
.bb-task.is-pinned:before{content:"";position:absolute;left:-1px;top:7px;bottom:7px;width:2px;border-radius:2px;background:#e5ad26}
.bb-completed-inline .bb-task-pin{opacity:.35}.bb-completed-inline .bb-task-pin.is-pinned{opacity:.8}
@media(max-width:900px){.bb-add-area-column{width:calc(100vw - 40px);min-width:calc(100vw - 40px);min-height:150px;scroll-snap-align:start}.bb-workspace-compact-actions .bb-btn-compact{display:none}.bb-task-pin{opacity:.5}}

/* v3.6.1 - inline master creation beside table-driven dropdowns */
.bb-select-add{display:flex;align-items:stretch;gap:7px;width:100%;min-width:0}
.bb-select-add select{flex:1 1 auto;min-width:0;width:auto!important}
.bb-inline-plus{flex:0 0 40px;width:40px;min-width:40px;height:40px;border:1px solid #d8dfeb;border-radius:10px;background:#f8faff;color:#4054d9;font-size:22px;line-height:1;font-weight:700;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.16s ease;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.bb-inline-plus:hover{background:#eef2ff;border-color:#aab6ff;color:#3347d1;transform:translateY(-1px)}
.bb-inline-plus:focus{outline:3px solid rgba(79,70,229,.12);outline-offset:1px}
.bb-quick-add-form{max-width:620px;margin:0 auto}
.bb-quick-add-form .bb-form-grid{grid-template-columns:1fr 1fr}
.bb-quick-add-form .bb-lean-note{grid-column:1/-1}
@media(max-width:640px){.bb-inline-plus{flex-basis:42px;width:42px;min-width:42px}.bb-quick-add-form .bb-form-grid{grid-template-columns:1fr}}
/* v3.7.0 simplified contextual task form */
.bb-task-form-simple .bb-task-form-head-simple{padding:18px 24px 12px;border-bottom:1px solid var(--bb-border);margin:0;display:block}
.bb-task-form-simple .bb-task-form-head-simple h2{margin:0;font-size:20px}
.bb-task-form-simple .bb-task-form-main{padding:2px 20px 18px;max-width:980px;margin:0 auto;width:100%;box-sizing:border-box}
.bb-task-form-simple .bb-form-section{margin-top:12px;padding:14px}
.bb-task-form-simple .bb-task-context{display:flex;align-items:center;gap:10px;margin-top:6px;font-size:10px;color:var(--bb-muted)}
.bb-task-form-simple .bb-task-context strong{color:#4f46e5;font-size:11px}
.bb-task-form-simple .bb-task-context span:before{content:'•';margin-right:10px;color:#b7becb}
.bb-task-form-simple.is-contextual .bb-form-section:first-child .bb-form-grid{grid-template-columns:minmax(0,1fr) 220px}
.bb-task-form-simple.is-contextual .bb-form-section:first-child .bb-field.full{grid-column:1/2}
.bb-task-form-simple.is-contextual .bb-form-section:first-child .bb-field:last-child{grid-column:2/3;grid-row:1}
.bb-task-form-simple .bb-section-title{margin-bottom:8px}
.bb-task-form-simple .bb-upload-box{min-height:74px}
@media(max-width:720px){.bb-task-form-simple.is-contextual .bb-form-section:first-child .bb-form-grid{grid-template-columns:1fr}.bb-task-form-simple.is-contextual .bb-form-section:first-child .bb-field.full,.bb-task-form-simple.is-contextual .bb-form-section:first-child .bb-field:last-child{grid-column:auto;grid-row:auto}.bb-task-form-simple .bb-task-context{align-items:flex-start;flex-direction:column;gap:2px}.bb-task-form-simple .bb-task-context span:before{display:none}}


/* v3.7.1 - desktop Workspace filter strip + direct task edit */
@media (min-width: 768px){
  .bb-workspace-control-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  .bb-workspace-control-row > .bb-compact-filters{
    display:grid!important;
    grid-template-columns:150px 150px 150px 34px!important;
    align-items:center!important;
    gap:6px!important;
    width:auto!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .bb-workspace-control-row > .bb-compact-filters > .bb-filter-field-compact{
    display:block!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    margin:0!important;
    padding:0!important;
    flex:none!important;
  }
  .bb-workspace-control-row > .bb-compact-filters > .bb-filter-field-compact > select.bb-filter-select{
    display:block!important;
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    height:32px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  .bb-workspace-control-row > .bb-compact-filters > .bb-clear-filters{
    width:34px!important;
    min-width:34px!important;
    height:32px!important;
    margin:0!important;
  }
}
@media (max-width:1100px) and (min-width:768px){
  .bb-workspace-control-row{grid-template-columns:1fr!important;}
  .bb-workspace-control-row > .bb-compact-filters{justify-self:start!important;}
}
.bb-task{grid-template-columns:21px minmax(0,1fr) auto!important;position:relative}
.bb-task-actions-inline{display:flex;align-items:center;gap:2px;align-self:start}
.bb-task-edit,.bb-task-pin{width:22px;height:22px;border:0;border-radius:6px;background:transparent;cursor:pointer;padding:0;display:grid;place-items:center;font-size:12px;line-height:1;transition:.15s ease}
.bb-task-edit{opacity:.28;color:#56647d}
.bb-task:hover .bb-task-edit{opacity:.65}
.bb-task-edit:hover{opacity:1!important;background:#edf2ff;color:#3656d4}
@media(max-width:767px){
  .bb-task-edit{opacity:.55}
}

/* v3.7.2 — Workspace cleanup + true sidebar hide */
.bb-workspace-layout-full{display:block!important;grid-template-columns:none!important}
.bb-workspace-layout-full .bb-board-scroll{width:100%;max-width:100%}

/* Desktop toggle now truly shows/hides the left menu instead of leaving a half-collapsed rail. */
@media(min-width:901px){
  .bb-sidebar-collapsed .bb-sidebar{display:none!important}
  .bb-sidebar-collapsed .bb-main{width:100%!important;flex:1 1 100%!important}
  .bb-sidebar-collapsed .bb-topbar{width:100%}
}

/* v3.7.3 — premium single-line Workspace toolbar */
.bb-content:has(.bb-workspace-toolbar){padding-top:10px}
.bb-workspace-toolbar{
  min-height:46px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:6px 8px;
  margin-bottom:8px;
  background:#fff;
  border:1px solid var(--bb-border);
  border-radius:12px;
  box-shadow:var(--bb-shadow-xs);
}
.bb-workspace-toolbar-left{display:flex;align-items:center;gap:6px;white-space:nowrap}
.bb-workspace-toolbar .bb-back-workspaces{width:32px;height:32px;flex:0 0 32px}
.bb-workspace-toolbar .bb-add-area-top{height:32px;padding:0 11px;border-radius:8px;font-size:10px;font-weight:800}
.bb-template-toolbar-actions{display:inline-flex;gap:4px;align-items:center}
.bb-workspace-toolbar .bb-compact-kpis{justify-content:center;overflow:hidden;gap:4px}
.bb-workspace-toolbar .bb-kpi-chip{height:28px;padding:0 8px;border-radius:7px}
.bb-workspace-toolbar .bb-kpi-chip b{font-size:12px}
.bb-workspace-toolbar .bb-compact-filters{display:grid!important;grid-template-columns:132px 132px 132px 32px!important;gap:5px!important;align-items:center!important;width:auto!important;overflow:visible!important}
.bb-workspace-toolbar .bb-filter-field-compact{width:132px!important;min-width:132px!important;max-width:132px!important}
.bb-workspace-toolbar .bb-filter-field-compact .bb-select{width:132px!important;min-width:132px!important;max-width:132px!important;height:32px!important;border-radius:8px!important;font-size:10px!important;padding-left:9px!important}
.bb-workspace-toolbar .bb-clear-filters{width:32px!important;height:32px!important;min-width:32px!important;margin:0!important;border-radius:8px!important}
.bb-workspace-toolbar + .bb-mobile-area-tabs{margin-bottom:6px}
.bb-workspace-toolbar ~ .bb-workspace-layout-full{margin-top:0}

/* Workspace title already lives in the app header; remove obsolete duplicate-band spacing. */
.bb-workspace-compact-head{display:none!important}

@media (max-width:1250px) and (min-width:901px){
  .bb-workspace-toolbar{grid-template-columns:auto 1fr;grid-template-areas:"actions kpis" "filters filters";row-gap:5px}
  .bb-workspace-toolbar-left{grid-area:actions}
  .bb-workspace-toolbar .bb-compact-kpis{grid-area:kpis;justify-content:flex-end}
  .bb-workspace-toolbar .bb-compact-filters{grid-area:filters;justify-self:end}
}
@media (max-width:900px){
  .bb-workspace-toolbar{display:flex;align-items:center;gap:6px;overflow-x:auto;scrollbar-width:none;padding:5px 6px}
  .bb-workspace-toolbar::-webkit-scrollbar{display:none}
  .bb-workspace-toolbar-left,.bb-workspace-toolbar .bb-compact-kpis,.bb-workspace-toolbar .bb-compact-filters{flex:0 0 auto}
  .bb-workspace-toolbar .bb-compact-filters{display:flex!important;gap:5px!important}
  .bb-workspace-toolbar .bb-filter-field-compact,.bb-workspace-toolbar .bb-filter-field-compact .bb-select{width:120px!important;min-width:120px!important;max-width:120px!important}
}
@media (max-width:600px){
  .bb-workspace-toolbar .bb-add-area-top{font-size:0;width:32px;padding:0}
  .bb-workspace-toolbar .bb-add-area-top:after{content:'＋';font-size:16px}
  .bb-workspace-toolbar .bb-kpi-chip{font-size:8px;padding:0 6px}
}

/* v3.8.0 — denser typography, multi-select filters, work-area ordering and cleaner task cards */
:root{--bb-text:#0b0f19;--bb-muted:#4b5565}
.bb-app{font-family:Arial,"Segoe UI",sans-serif!important;color:#0b0f19!important;font-weight:500}
.bb-app button,.bb-app input,.bb-app select,.bb-app textarea,.bb-app table{font-family:Arial,"Segoe UI",sans-serif}
.bb-topbar h1,.bb-col-title,.bb-task-name,.bb-bucket-head,.bb-table th,.bb-field label,.bb-kpi-chip,.bb-btn,.bb-panel-head h2{font-weight:700!important}
.bb-topbar p:empty{display:none!important}.bb-topbar p{color:#424b5e!important}
.bb-task-name{color:#111!important;font-size:13px!important;font-weight:600!important}
.bb-task-meta-row,.bb-task-meta-clean,.bb-assignee-text,.bb-due-inline{color:#20242d!important;font-weight:500!important}
.bb-empty-mini{color:#7b8493!important;font-weight:500}
.bb-bucket-head{color:#263247!important}
.bb-priority.compact{min-width:20px;height:20px;padding:0 5px!important;display:inline-flex;align-items:center;justify-content:center;border-radius:6px!important;font-size:10px!important;font-weight:800!important;color:#111!important;box-sizing:border-box}
.bb-priority.compact.Urgent{background:#ffd9dc!important}.bb-priority.compact.High{background:#ffe7cc!important}.bb-priority.compact.Medium{background:#fff1b9!important}.bb-priority.compact.Low{background:#dff4e7!important}
.bb-task-flags{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}.bb-recurring-icon{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;font-size:15px;font-weight:800;color:#424b57;line-height:1}
.bb-task-meta-clean{display:flex;align-items:center;gap:7px;margin-top:5px;font-size:10.5px}.bb-assignee-text{white-space:nowrap}.bb-due-inline{white-space:nowrap}.bb-task-meta-clean .bb-meta-chip{font-size:9px}
.bb-assignee-mini{display:none!important}
.bb-area-move{display:inline-flex;gap:1px}.bb-area-move button{width:21px;height:22px;border:0;background:transparent;border-radius:5px;color:#3f4c63;font-size:18px;line-height:1;cursor:pointer;padding:0}.bb-area-move button:hover{background:#e8ecff;color:#3e52df}

/* Multi-select dropdown filters */
.bb-multi-filter{position:relative;width:132px;min-width:132px;max-width:132px;height:32px;box-sizing:border-box}
.bb-multi-filter>summary{list-style:none;height:32px;border:1px solid #cbd2df;border-radius:8px;background:#fff;display:flex;align-items:center;padding:0 27px 0 10px;box-sizing:border-box;font-size:10px;color:#111;font-weight:600;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative}
.bb-multi-filter>summary::-webkit-details-marker{display:none}.bb-multi-filter>summary:after{content:'⌄';position:absolute;right:9px;top:7px;font-size:12px;color:#4f5868}.bb-multi-filter[open]>summary:after{content:'⌃'}
.bb-multi-menu{position:absolute;z-index:40;top:36px;left:0;width:210px;max-height:240px;overflow:auto;background:#fff;border:1px solid #d5dbe6;border-radius:9px;box-shadow:0 12px 28px rgba(15,23,42,.14);padding:6px}
.bb-multi-menu label{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:6px;font-size:11px;color:#111;cursor:pointer}.bb-multi-menu label:hover{background:#f1f4fb}.bb-multi-menu input{width:14px;height:14px;margin:0;accent-color:#4b5ff4}.bb-multi-menu small{display:block;padding:8px;color:#687386}
.bb-workspace-toolbar .bb-compact-filters{grid-template-columns:132px 132px 132px 32px!important}

@media(max-width:900px){.bb-multi-filter{width:120px;min-width:120px;max-width:120px}.bb-multi-filter>summary{width:120px}}


/* v3.8.4 — prevent Workspace toolbar from sliding underneath sticky app header */
@media (min-width:901px){
  .bb-topbar{
    top:0!important;
    z-index:60!important;
  }
  .bb-content:has(.bb-workspace-toolbar){
    position:relative;
  }
  .bb-workspace-toolbar{
    position:sticky!important;
    top:var(--bb-topbar-h)!important;
    z-index:50!important;
    margin-top:0!important;
  }
}
/* If WordPress admin bar is deliberately visible for a real WP administrator, keep both sticky layers separated. */
@media (min-width:901px){
  body.admin-bar .bb-topbar{top:32px!important}
  body.admin-bar .bb-workspace-toolbar{top:calc(var(--bb-topbar-h) + 32px)!important}
}
@media (max-width:782px){
  body.admin-bar .bb-topbar{top:46px!important}
  body.admin-bar .bb-workspace-toolbar{top:calc(var(--bb-topbar-h) + 46px)!important}
}


/* v3.8.5 — Workspace header/toolbar polish and overlap cleanup */
:root{
  --bb-topbar-h:70px;
}

/* Blank app never reserves space for the hidden WP admin bar. */
body.business-board-blank-app.admin-bar .bb-topbar{top:0!important}
body.business-board-blank-app.admin-bar .bb-workspace-toolbar{top:auto!important}
body.business-board-blank-app{padding-top:0!important;margin-top:0!important}
html{margin-top:0!important}

/* Cleaner, shorter application header. */
.bb-topbar{
  height:var(--bb-topbar-h)!important;
  min-height:var(--bb-topbar-h)!important;
  padding:0 24px!important;
  top:0!important;
  z-index:60!important;
  box-shadow:0 1px 0 rgba(15,35,66,.035)!important;
}
.bb-topbar-left{gap:10px!important}
.bb-topbar h1{font-size:21px!important;line-height:1.1!important;letter-spacing:-.025em!important}
.bb-topbar p{display:none!important}
.bb-sidebar-toggle{width:32px!important;height:32px!important;border-radius:8px!important;font-size:16px!important}
.bb-top-actions{gap:7px!important}
.bb-top-actions input{height:38px!important;width:320px!important;border-radius:9px!important;background:#fbfcff!important}
.bb-notification-btn,.bb-topbar .bb-icon-btn{height:38px!important;min-width:38px!important;border-radius:9px!important}

/* Workspace page starts immediately below the app header. */
.bb-content:has(.bb-workspace-toolbar){padding:10px 22px 24px!important}

/* One compact premium toolbar; it scrolls away with the board rather than covering columns. */
.bb-workspace-toolbar{
  position:relative!important;
  top:auto!important;
  z-index:10!important;
  min-height:42px!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:8px!important;
  padding:5px 7px!important;
  margin:0 0 10px!important;
  border-color:#dfe5ee!important;
  border-radius:11px!important;
  box-shadow:0 2px 8px rgba(20,38,70,.035)!important;
}
.bb-workspace-toolbar-left{gap:5px!important}
.bb-workspace-toolbar .bb-back-workspaces{width:30px!important;height:30px!important;border-radius:7px!important}
.bb-workspace-toolbar .bb-add-area-top{height:30px!important;padding:0 10px!important;font-size:10px!important;border-radius:7px!important}
.bb-workspace-toolbar .bb-compact-kpis{gap:4px!important;justify-content:flex-start!important}
.bb-workspace-toolbar .bb-kpi-chip{
  height:28px!important;
  padding:0 8px!important;
  border:0!important;
  border-radius:7px!important;
  font-size:9px!important;
  color:#354052!important;
}
.bb-workspace-toolbar .bb-kpi-chip b{font-size:12px!important;margin-right:1px}
.bb-workspace-toolbar .bb-compact-filters{
  display:grid!important;
  grid-template-columns:145px 145px 145px 30px!important;
  gap:5px!important;
  align-items:center!important;
}
.bb-workspace-toolbar .bb-multi-filter{width:145px!important;min-width:145px!important;max-width:145px!important;height:30px!important}
.bb-workspace-toolbar .bb-multi-filter>summary{height:30px!important;font-size:10px!important;border-radius:7px!important;border-color:#cfd6e2!important;padding-left:10px!important}
.bb-workspace-toolbar .bb-clear-filters{width:30px!important;height:30px!important;min-width:30px!important;border-radius:7px!important}

/* Give the actual board clear breathing room and stronger visual hierarchy. */
.bb-workspace-toolbar + .bb-mobile-area-tabs{margin:0!important;padding:0!important;height:0!important;overflow:hidden!important}
.bb-workspace-layout-full{margin-top:0!important}
.bb-board-scroll{padding-top:0!important}
.bb-board-single{gap:12px!important}
.bb-workarea-column{min-height:540px!important;border-radius:12px!important;box-shadow:0 2px 10px rgba(20,38,70,.035)!important}
.bb-col-head{min-height:44px!important;padding:7px 10px!important;background:linear-gradient(180deg,color-mix(in srgb,var(--area-color) 9%,white),#fff)!important}
.bb-col-title{font-size:14px!important;font-weight:700!important}
.bb-col-head-actions{gap:4px!important}
.bb-col-count{height:28px!important;min-width:28px!important;padding:0 7px!important;display:grid!important;place-items:center!important;border-radius:8px!important}
.bb-workarea-add{width:28px!important;height:28px!important;border-radius:7px!important}
.bb-col-menu{width:28px!important;height:28px!important}
.bb-area-move button{width:20px!important;height:24px!important;font-size:17px!important}
.bb-bucket-head{padding:10px 12px 5px!important;font-size:11px!important;color:#1f2937!important}
.bb-task-list{padding:3px 10px 8px!important}
.bb-task{border-radius:9px!important;margin-bottom:3px!important;padding:9px 7px!important}
.bb-empty-mini{padding:22px 5px!important;color:#8791a2!important}

/* Add-area card should not visually dominate the Workspace. */
.bb-add-area-column{
  border-color:#d8dee9!important;
  background:rgba(255,255,255,.46)!important;
  min-height:540px!important;
  border-radius:12px!important;
  opacity:.78;
}
.bb-add-area-column:hover{opacity:1}

/* True WP-admin screens can still account for a visible admin bar. */
body:not(.business-board-blank-app).admin-bar .bb-topbar{top:32px!important}

@media(max-width:1280px) and (min-width:901px){
  .bb-workspace-toolbar{grid-template-columns:auto 1fr!important;grid-template-areas:"actions kpis" "filters filters"!important;row-gap:5px!important}
  .bb-workspace-toolbar-left{grid-area:actions!important}
  .bb-workspace-toolbar .bb-compact-kpis{grid-area:kpis!important;justify-content:flex-end!important}
  .bb-workspace-toolbar .bb-compact-filters{grid-area:filters!important;justify-self:end!important}
}
@media(max-width:900px){
  :root{--bb-topbar-h:60px}
  .bb-topbar{height:60px!important;min-height:60px!important;padding:0 12px!important}
  .bb-content:has(.bb-workspace-toolbar){padding:8px 10px 18px!important}
  .bb-workspace-toolbar{display:flex!important;overflow-x:auto!important;padding:5px!important}
  .bb-workspace-toolbar .bb-compact-filters{display:flex!important}
  .bb-workspace-toolbar .bb-multi-filter{width:120px!important;min-width:120px!important;max-width:120px!important}
}

/* v3.8.6 — hard reset of WordPress admin-bar spacing in the standalone app */
body.business-board-blank-app,
body.business-board-blank-app.admin-bar{
  margin:0!important;
  padding:0!important;
  top:0!important;
}
body.business-board-blank-app #wpadminbar{display:none!important}
body.business-board-blank-app .bb-app{
  min-height:100vh!important;
  margin:0!important;
  padding:0!important;
}
body.business-board-blank-app .bb-sidebar{
  top:0!important;
  height:100vh!important;
}
body.business-board-blank-app .bb-topbar{
  top:0!important;
}
html{margin-top:0!important;padding-top:0!important}

/* v3.9.0 Sub Tasks */
.bb-subtask-progress{border:1px solid #d7ddec;background:#f7f8fc;color:#111827;border-radius:6px;padding:1px 6px;font-size:11px;font-weight:700;line-height:18px;cursor:pointer}.bb-subtask-progress:hover{border-color:#9aa7c2;background:#eef2ff}.bb-subtask-progress-static{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;vertical-align:middle}.bb-subtask-modal{padding:26px;min-width:min(560px,88vw)}.bb-subtask-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:4px}.bb-subtask-modal-head small{font-size:10px;font-weight:800;letter-spacing:.12em;color:#667085}.bb-subtask-modal-head h2{margin:3px 0 0;font-size:22px;color:#111827}.bb-subtask-modal-count{font-size:16px;padding:7px 10px;border-radius:8px;background:#eef2ff;color:#3730a3}.bb-subtask-help{margin:6px 0 18px;color:#667085;font-size:12px}.bb-subtask-list{display:flex;flex-direction:column;gap:8px}.bb-subtask-row{display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid #dfe4ee;border-radius:9px;background:#fff;cursor:pointer;color:#111827;font-weight:600}.bb-subtask-row input{width:18px;height:18px;accent-color:#4f46e5}.bb-subtask-row.done{background:#f7fbf8;color:#4b5563}.bb-subtask-row.done span{text-decoration:line-through}.bb-detail-subtasks li.done{text-decoration:line-through;color:#6b7280}.bb-section-title h3{color:#111827}

/* v4.0.0 ownership, update-task and activity refinements */
.bb-assignment-editor{display:flex;flex-direction:column;gap:10px}
.bb-assignment-list{display:flex;flex-direction:column;gap:8px}
.bb-assignment-row{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(110px,.8fr) minmax(120px,.9fr) 34px;gap:8px;align-items:center}
.bb-assignment-row select{min-width:0}
.bb-section-title.compact{margin-bottom:2px}
.bb-section-title.compact p{margin:3px 0 0;color:#4b5563;font-size:12px}
.bb-inherited-rights{margin-top:12px;padding:10px 12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.bb-inherited-rights>strong{font-size:12px;color:#111827;margin-right:3px}
.bb-inherited-rights>span{font-size:11px;color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:5px 8px}
.bb-check-row{display:block;padding:7px 8px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.bb-check-main{display:grid;grid-template-columns:20px 1fr 34px 34px;gap:7px;align-items:center}
.bb-check-row .bb-subtask-people-editor{display:none;margin:10px 0 2px 27px;padding:10px;background:#f8fafc;border-radius:9px;border:1px solid #e5e7eb}
.bb-check-row.show-people .bb-subtask-people-editor{display:block}
.bb-subtask-people{font-size:13px}
.bb-task-view,.bb-task-edit,.bb-task-pin{border:0;background:transparent;cursor:pointer;min-width:26px;height:26px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:#111827}
.bb-task-view:hover,.bb-task-edit:hover,.bb-task-pin:hover{background:#f3f4f6}
.bb-remark-count{border:0;background:#eef2ff;color:#3730a3;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:700;cursor:pointer}
.bb-inprogress-dot{font-size:10px;font-weight:800;color:#9a6700;background:#fff7d6;border:1px solid #f4d66b;border-radius:999px;padding:2px 7px;white-space:nowrap}
.bb-task-update{max-width:860px;margin:auto}
.bb-update-status-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}
.bb-update-status-actions .bb-btn.active{background:#111827;color:#fff;border-color:#111827}
.bb-update-status-actions>span{font-size:12px;color:#6b7280;margin-left:auto}
.bb-people-summary{display:flex;flex-direction:column;gap:7px}
.bb-people-summary>span{padding:8px 10px;border:1px solid #e5e7eb;border-radius:9px;background:#fff;font-size:12px;color:#111827}
.bb-people-summary small{color:#6b7280;margin-left:5px}
#bb-task-remark-form textarea{width:100%;resize:vertical}
.bb-task-timeline{display:flex;flex-direction:column;gap:0}
.bb-timeline-row{display:grid;grid-template-columns:14px 1fr;gap:10px;position:relative;padding:0 0 15px}
.bb-timeline-row:before{content:"";position:absolute;left:5px;top:12px;bottom:-2px;width:1px;background:#e5e7eb}
.bb-timeline-row:last-child:before{display:none}
.bb-timeline-dot{width:11px;height:11px;border-radius:50%;background:#111827;margin-top:4px;z-index:1}
.bb-timeline-row strong{text-transform:capitalize;font-size:12px;color:#111827}
.bb-timeline-row p{margin:3px 0;color:#374151;font-size:13px;white-space:pre-wrap}
.bb-timeline-row small{color:#6b7280;font-size:11px}
@media(max-width:700px){.bb-assignment-row{grid-template-columns:1fr 1fr}.bb-assignment-row .bb-assignment-user{grid-column:1/-1}.bb-check-row .bb-subtask-people-editor{margin-left:0}.bb-update-status-actions>span{width:100%;margin-left:0}}
/* v4.0.1 - compact task update + owner-only sharing */
.bb-task-update-v2{max-width:900px;margin:auto}
.bb-task-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.bb-task-meta-strip{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 10px;padding:9px 10px;border:1px solid #e5e7eb;border-radius:10px;background:#fafafa}
.bb-task-meta-strip span{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#111827;padding-right:10px;border-right:1px solid #e5e7eb}
.bb-task-meta-strip span:last-child{border-right:0}.bb-task-meta-strip b{font-size:9px;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}
.bb-update-status-actions.compact{margin:8px 0 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bb-update-status-actions.compact>span{font-size:10px;color:#6b7280;margin-left:auto}
.bb-latest-remark{margin-top:12px;padding:10px 12px;border:1px solid #dbeafe;background:#eff6ff;border-radius:10px;display:grid;gap:3px}.bb-latest-remark b{font-size:10px;color:#1d4ed8}.bb-latest-remark span{font-size:12px;color:#111827}.bb-latest-remark small{font-size:9px;color:#64748b}
.bb-detail-section.compact-section{padding-top:10px;margin-top:10px}.bb-people-summary.compact{display:flex;flex-direction:row;flex-wrap:wrap;gap:7px}.bb-people-summary.compact>span{display:flex;align-items:center;gap:6px;padding:7px 9px}.bb-people-summary.compact small{margin-left:0}.bb-people-empty{font-size:10px;color:#94a3b8;padding:4px 0}.bb-mini-text{border:0;background:transparent;color:#4f46e5;font-size:10px;font-weight:700;cursor:pointer;padding:4px}
.bb-share-form{max-width:760px}.bb-share-task{white-space:nowrap}
@media(max-width:640px){.bb-task-meta-strip{gap:6px}.bb-task-meta-strip span{border-right:0;padding-right:4px}.bb-task-head-actions{justify-content:flex-start}.bb-update-status-actions.compact>span{width:100%;margin-left:0}}

/* v4.0.2 ordering controls */
.bb-task-move{display:inline-flex;flex-direction:column;gap:1px;margin-right:2px;vertical-align:middle}
.bb-task-move button{width:20px;height:15px;min-width:20px;padding:0;border:0;background:transparent;color:#334155;font-size:12px;line-height:12px;cursor:pointer;border-radius:4px}
.bb-task-move button:hover{background:#eef2ff;color:#111827}
.bb-area-move button{cursor:pointer}


/* v4.0.3 - polished task sharing */
.bb-share-form-polished{max-width:780px}
.bb-share-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:4px 2px 16px;border-bottom:1px solid #e8ebf0}
.bb-share-head h2{margin:3px 0 5px;font-size:23px;line-height:1.2;color:#111827;font-weight:800}
.bb-share-head p{margin:0;max-width:620px;color:#5b6474;font-size:13px;line-height:1.5}
.bb-modal-x{border:0;background:#f4f6f8;width:34px;height:34px;border-radius:9px;font-size:22px;line-height:1;cursor:pointer;color:#3d4655}
.bb-modal-x:hover{background:#e9edf2;color:#111827}
.bb-share-section{padding:17px 0 2px}
.bb-share-section+.bb-share-section{border-top:1px solid #eef0f3;margin-top:13px}
.bb-share-section .bb-section-title{margin-bottom:10px}
.bb-share-section .bb-section-title h3{font-size:14px;margin:0 0 2px;color:#111827;font-weight:800}
.bb-share-section .bb-section-title p{font-size:11.5px;margin:0;color:#6b7280}
.bb-share-editor{gap:7px}
.bb-share-editor .bb-assignment-row{padding:8px;background:#f8fafc;border:1px solid #e7ebf0;border-radius:10px}
.bb-share-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bb-share-people-grid.compact{grid-template-columns:1fr;gap:6px}
.bb-share-person-card{display:grid;grid-template-columns:32px minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:9px 10px;border:1px solid #e7ebf0;border-radius:10px;background:#fff;min-width:0}
.bb-share-person-card.inherited{background:#fafbfc}
.bb-share-avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e9eef8;color:#26344d;font-size:10px;font-weight:800}
.bb-share-person-main{display:flex;flex-direction:column;min-width:0}
.bb-share-person-main b{font-size:12px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bb-share-person-main small{font-size:10px;color:#7a8494;margin-top:1px}
.bb-share-role,.bb-share-rights{font-size:9.5px;font-weight:800;border-radius:999px;padding:4px 7px;white-space:nowrap}
.bb-share-role.owner{background:#ede9fe;color:#5b21b6}.bb-share-role.assignee{background:#e0f2fe;color:#075985}
.bb-share-rights{background:#f1f5f9;color:#475569}
.bb-lock-note{font-size:10.5px;color:#6b7280;background:#f4f6f8;padding:5px 8px;border-radius:999px}
.bb-share-empty{padding:11px 12px;border:1px dashed #d7dce3;border-radius:9px;color:#7a8494;font-size:11.5px;background:#fbfcfd}
.bb-share-empty.compact{padding:8px 10px}
.bb-share-footnote{display:flex;gap:9px;align-items:flex-start;margin-top:16px;padding:10px 12px;background:#f8fafc;border:1px solid #e8ecf1;border-radius:10px;color:#566173}
.bb-share-footnote p{margin:0;font-size:11px;line-height:1.5}.bb-share-footnote b{color:#1f2937}
.bb-share-actions{border-top:1px solid #e8ebf0;margin-top:16px;padding-top:14px}
.bb-task-sharing-overview{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bb-task-share-group{border:1px solid #e8ebf0;border-radius:10px;padding:9px;background:#fbfcfd}
.bb-task-share-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-size:11px;color:#475569}
.bb-task-share-label b{font-size:11.5px;color:#111827}.bb-task-share-label span{min-width:20px;text-align:center;background:#eef2f7;border-radius:999px;padding:2px 6px;font-size:9.5px;font-weight:800}
@media(max-width:700px){.bb-share-people-grid,.bb-task-sharing-overview{grid-template-columns:1fr}.bb-share-person-card{grid-template-columns:32px minmax(0,1fr) auto}.bb-share-rights{grid-column:2/-1;justify-self:start}.bb-share-head h2{font-size:19px}}

/* v4.0.4 - option 2 clean task card */
.bb-task-clean{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:9px;align-items:flex-start;padding:11px 10px 10px;background:#fff;border:1px solid #edf0f5;border-left:3px solid #d8dee9;border-radius:11px;box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.bb-task-clean.current{border-left-color:#7c83ff}.bb-task-clean.overdue{border-left-color:#ef4444}.bb-task-clean.upcoming{border-left-color:#f59e0b}.bb-task-clean.completed{border-left-color:#22c55e}
.bb-task-clean:hover{box-shadow:0 5px 16px rgba(15,23,42,.07);border-color:#dde3ec;transform:translateY(-1px)}
.bb-task-clean .bb-task-toggle{margin-top:2px}
.bb-task-line-clean{display:flex;align-items:flex-start;gap:8px;min-width:0}
.bb-task-line-clean .bb-task-name{flex:1;min-width:0;color:#111827;font-size:14px;font-weight:800;line-height:1.3;text-align:left;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding:0;border:0;background:transparent;cursor:pointer}
.bb-task-flags-clean{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;white-space:nowrap}
.bb-task-flags-clean .bb-recurring-icon{font-size:14px;color:#475569;font-weight:800}
.bb-task-flags-clean .bb-priority.compact{min-width:22px;height:22px;border-radius:7px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
.bb-pin-badge{font-size:11px;line-height:1;filter:none}
.bb-task-meta-two{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:7px;color:#475569;font-size:11px;line-height:1.2}
.bb-task-meta-two .bb-assignee-text{font-weight:700;color:#334155}.bb-task-meta-two .bb-due-inline{color:#64748b}
.bb-task-progress-row{margin-top:8px}.bb-subtask-progress-bar{border:0!important;background:transparent!important;padding:0!important;display:inline-flex;align-items:center;gap:7px;color:#334155!important;font-size:11px!important;font-weight:800!important}
.bb-subtask-track{width:54px;height:5px;background:#e9edf5;border-radius:999px;overflow:hidden;display:inline-block}.bb-subtask-track i{display:block;height:100%;background:#6366f1;border-radius:999px}
.bb-task-actions-clean{display:inline-flex;align-items:flex-start;gap:2px}.bb-task-actions-clean .bb-task-view{opacity:.72}.bb-task-actions-clean .bb-task-view:hover{opacity:1;background:#eef2ff}
.bb-task-more{position:relative}.bb-task-more>summary{list-style:none;width:26px;height:26px;border-radius:7px;display:grid;place-items:center;cursor:pointer;color:#475569;font-size:17px;font-weight:700;user-select:none}.bb-task-more>summary::-webkit-details-marker{display:none}.bb-task-more>summary:hover,.bb-task-more[open]>summary{background:#f3f4f6;color:#111827}
.bb-task-more-menu{position:absolute;right:0;top:30px;z-index:50;min-width:132px;padding:5px;background:#fff;border:1px solid #e5e7eb;border-radius:9px;box-shadow:0 10px 25px rgba(15,23,42,.14);display:flex;flex-direction:column;gap:2px}.bb-task-more-menu button{border:0;background:transparent;text-align:left;padding:7px 9px;border-radius:7px;color:#111827;font-size:11px;font-weight:700;cursor:pointer}.bb-task-more-menu button:hover{background:#f3f4f6}.bb-task-more-menu button.is-pinned{color:#9a6700;background:#fff8db}
.bb-task-clean.done .bb-task-name{color:#6b7280;text-decoration:line-through}.bb-task-clean.done{opacity:.82}
@media(max-width:640px){.bb-task-clean{grid-template-columns:20px minmax(0,1fr) auto}.bb-task-line-clean .bb-task-name{font-size:13px}.bb-task-more-menu{right:-2px}}
\n\n/* v4.0.6 — mobile navigation cleanup + simplified sidebar brand */\n.bb-brand small{display:none!important}\n@media(max-width:900px){\n  .bb-sidebar-toggle{display:none!important}\n  .bb-mobile-menu{display:grid!important;place-items:center!important}\n  .bb-topbar-left{gap:10px!important}\n}\n@media(min-width:901px){\n  .bb-mobile-menu{display:none!important}\n  .bb-sidebar-toggle{display:grid!important;place-items:center!important}\n}\n
/* v4.1.0 — compact, action-first Dashboard (especially mobile) */
.bb-dashboard-kpis-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}
.bb-dashboard-kpis-compact .bb-kpi-card{min-height:72px;padding:12px 14px;border-radius:13px;box-shadow:0 3px 12px rgba(28,40,70,.035);cursor:pointer;text-align:left;width:100%}
.bb-dashboard-kpis-compact .bb-kpi-card:hover{border-color:#cfd5e8;background:#fdfdff}
.bb-dashboard-kpis-compact .bb-kpi-icon{width:36px;height:36px;flex-basis:36px;border-radius:10px;font-size:14px}
.bb-dashboard-kpis-compact .bb-kpi-card strong{font-size:21px;margin:1px 0}
.bb-dashboard-kpis-compact .bb-kpi-card em{font-size:8.5px}
.bb-score-strip{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--bb-border);border-radius:13px;padding:10px 14px;margin-bottom:12px;box-shadow:0 3px 12px rgba(28,40,70,.03)}
.bb-score-strip-main{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.bb-score-strip-main span{font-size:10px;font-weight:750;color:#59657a}.bb-score-strip-main strong{font-size:24px;color:#148e52;line-height:1}
.bb-score-strip-stats{display:flex;gap:6px;flex-wrap:wrap}.bb-score-strip-stats span{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 8px;font-size:8.5px;font-weight:700}.bb-score-strip-stats .good{background:#eaf8ef;color:#168c50}.bb-score-strip-stats .late{background:#fff4e1;color:#b87512}.bb-score-strip-stats .missed{background:#ffeded;color:#c84343}.bb-score-strip-context{margin-left:auto;font-size:8.5px;color:#8993a3;white-space:nowrap}
.bb-dashboard-focus-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:12px;align-items:start}.bb-dashboard-compact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.bb-dashboard-section-head{padding:13px 15px!important;min-height:0}.bb-dashboard-section-head h2{font-size:16px!important;margin:0 0 2px!important}.bb-dashboard-section-head p{font-size:9px!important}.bb-dashboard-mini-meta{font-size:9px;color:#69758a;font-weight:700}
.bb-attention-list-compact{padding:0 12px 8px}.bb-attention-list-compact .bb-attention-row{padding:9px 0;gap:8px}.bb-attention-list-compact .bb-attention-mark{width:24px;height:24px;border-radius:7px}.bb-attention-list-compact .bb-attention-copy strong{font-size:10.5px}.bb-attention-list-compact .bb-attention-copy small{font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bb-attention-list-compact .bb-attention-due{font-size:8.5px}
.bb-performance-list{display:block;padding:4px 12px 10px}.bb-performance-list .bb-performance-card{display:block;width:100%;border:0;border-bottom:1px solid #eef0f5;border-radius:0;padding:10px 2px}.bb-performance-list .bb-performance-card:last-child{border-bottom:0}.bb-performance-list .bb-performance-card:hover{transform:none;box-shadow:none;background:#fafbff}.bb-performance-list .bb-performance-top strong{font-size:10.5px}.bb-performance-list .bb-performance-top>b{font-size:15px}.bb-performance-list .bb-performance-icon{width:25px;height:25px}.bb-performance-list .bb-performance-meta{margin:6px 0;font-size:8.5px}.bb-performance-meta i.upcoming{background:#d58a13}
.bb-activity-compact .bb-timeline-row{padding:8px 12px;grid-template-columns:24px 1fr;gap:7px}.bb-activity-compact .bb-timeline-row:not(:last-child):after{left:23px;top:31px}.bb-activity-compact .bb-activity-dot{width:22px;height:22px;font-size:10px}.bb-activity-compact .bb-timeline-row b{font-size:10px}.bb-activity-compact .bb-timeline-row small{font-size:8.5px}.bb-activity-compact .bb-timeline-row em{font-size:8px}
.bb-dashboard-ranking-compact{padding:2px 12px 8px}.bb-dashboard-ranking-compact .bb-dashboard-rank{grid-template-columns:26px minmax(0,1fr) auto;padding:8px 0;gap:7px}.bb-dashboard-ranking-compact .bb-mini-score b{font-size:11px}.bb-dashboard-ranking-compact .bb-mini-score span{font-size:8px}.bb-dashboard-ranking-compact .bb-dashboard-rank>div>strong{font-size:10px}
@media(max-width:900px){
  .bb-dashboard-focus-grid,.bb-dashboard-compact-grid{grid-template-columns:1fr}
  .bb-dashboard-kpis-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bb-score-strip{flex-wrap:wrap;gap:8px 12px}.bb-score-strip-context{width:100%;margin-left:0}
}
@media(max-width:520px){
  #bb-content{padding-top:10px}
  .bb-dashboard-kpis-compact{gap:7px;margin-bottom:8px}
  .bb-dashboard-kpis-compact .bb-kpi-card{min-height:66px;padding:9px 10px;gap:8px;border-radius:12px}
  .bb-dashboard-kpis-compact .bb-kpi-icon{width:32px;height:32px;flex-basis:32px;border-radius:9px;font-size:13px}
  .bb-dashboard-kpis-compact .bb-kpi-card small{font-size:8.5px}.bb-dashboard-kpis-compact .bb-kpi-card strong{font-size:18px}.bb-dashboard-kpis-compact .bb-kpi-card em{font-size:7.5px;line-height:1.2}
  .bb-score-strip{padding:9px 10px;border-radius:12px;margin-bottom:9px;gap:7px}.bb-score-strip-main strong{font-size:21px}.bb-score-strip-stats{gap:4px}.bb-score-strip-stats span{padding:3px 6px;font-size:7.8px}.bb-score-strip-context{font-size:7.8px}
  .bb-dashboard-focus-grid,.bb-dashboard-compact-grid{gap:9px}.bb-dashboard-compact-grid{margin-top:9px}
  .bb-panel{border-radius:13px!important;box-shadow:0 2px 10px rgba(28,40,70,.025)!important}
  .bb-dashboard-section-head{padding:11px 12px!important}.bb-dashboard-section-head h2{font-size:14px!important}.bb-dashboard-section-head p{display:none}
  .bb-attention-list-compact{padding:0 10px 5px}.bb-attention-list-compact .bb-attention-row{grid-template-columns:24px minmax(0,1fr);padding:8px 0}.bb-attention-list-compact .bb-attention-due{grid-column:2;margin-top:-1px}.bb-attention-list-compact .bb-attention-copy small{max-width:100%}
  .bb-performance-list{padding:2px 10px 6px}.bb-performance-list .bb-performance-card{padding:9px 0}
  .bb-activity-compact .bb-timeline-row{padding:7px 10px}.bb-dashboard-ranking-compact{padding:0 10px 5px}.bb-dashboard-ranking-compact .bb-dashboard-rank{padding:7px 0}
  .bb-topbar{padding-left:10px!important;padding-right:10px!important}.bb-topbar-left{gap:7px!important}.bb-mobile-menu{width:34px!important;height:34px!important}.bb-notification-btn{width:34px!important;min-width:34px!important;height:34px!important}.bb-topbar h1{font-size:17px!important}
}


/* v4.2.0 — refined neon accent system + minimal Workspace picker */
:root{
  --bb-neon:#6c63ff;
  --bb-neon-2:#35b7ff;
  --bb-neon-green:#32d583;
  --bb-neon-amber:#f4b740;
  --bb-neon-red:#ff5c6c;
  --bb-neon-soft:rgba(108,99,255,.16);
}

/* Minimal Workspaces screen: names only */
.bb-workspace-list-shell{max-width:1180px;margin:0 auto;padding:2px 0 28px}
.bb-workspace-list-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.bb-workspace-search{max-width:420px;flex:1}
.bb-workspace-name-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.bb-workspace-name-card{
  min-height:76px;padding:18px 20px;border-radius:14px;background:#fff;color:#111827;
  border:1px solid rgba(108,99,255,.58);text-align:left;cursor:pointer;
  box-shadow:0 0 0 1px rgba(108,99,255,.04),0 7px 22px rgba(45,55,110,.06);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.bb-workspace-name-card span{font-size:16px;font-weight:800;letter-spacing:-.015em;line-height:1.3}
.bb-workspace-name-card:hover,.bb-workspace-name-card:focus-visible{
  transform:translateY(-2px);border-color:var(--bb-neon);
  box-shadow:0 0 0 1px rgba(108,99,255,.20),0 0 18px rgba(108,99,255,.20),0 10px 26px rgba(45,55,110,.10);
  outline:none;background:linear-gradient(180deg,#fff,#fdfcff);
}

/* Subtle neon — selected navigation and primary controls only */
.bb-nav button.active{
  border:1px solid rgba(116,128,255,.65);
  box-shadow:inset 3px 0 0 #8f8aff,0 0 15px rgba(89,101,255,.24);
}
.bb-btn.primary{
  border:1px solid rgba(131,124,255,.65);
  box-shadow:0 0 0 1px rgba(108,99,255,.06),0 0 14px rgba(108,99,255,.16);
}
.bb-btn.primary:hover{box-shadow:0 0 0 1px rgba(108,99,255,.14),0 0 20px rgba(108,99,255,.23)}
.bb-input:focus,.bb-select:focus,.bb-field input:focus,.bb-field select:focus,.bb-field textarea:focus,.bb-top-actions input:focus,.bb-inline-search:focus-within{
  border-color:var(--bb-neon)!important;box-shadow:0 0 0 2px rgba(108,99,255,.10),0 0 13px rgba(108,99,255,.12)!important;
}

/* Board/task neon is status-led, intentionally restrained */
.bb-task-card,.bb-task{transition:box-shadow .16s ease,border-color .16s ease,transform .16s ease}
.bb-task-card:hover,.bb-task:hover{box-shadow:0 0 14px rgba(108,99,255,.10)}
.bb-task-card.current{border-left-color:var(--bb-neon-2)!important}
.bb-task-card.overdue,.bb-task.overdue{border-left-color:var(--bb-neon-red)!important}
.bb-task-card.upcoming,.bb-task.upcoming{border-left-color:var(--bb-neon-amber)!important}
.bb-task-card.done,.bb-task.done{border-left-color:var(--bb-neon-green)!important}
.bb-priority{border:1px solid rgba(108,99,255,.20);box-shadow:0 0 8px rgba(108,99,255,.07)}
.bb-progress i{box-shadow:0 0 9px rgba(50,213,131,.26)}

@media(max-width:720px){
  .bb-workspace-list-shell{padding:0 2px 18px}
  .bb-workspace-list-actions{align-items:stretch;flex-direction:column;margin-bottom:12px}
  .bb-workspace-search{max-width:none;width:100%}
  .bb-workspace-list-actions .bb-hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
  .bb-workspace-name-grid{grid-template-columns:1fr;gap:10px}
  .bb-workspace-name-card{min-height:64px;padding:15px 16px;border-radius:12px}
  .bb-workspace-name-card span{font-size:15px}
}


/* v4.2.1 — mobile Workspace usability + reliable reordering */
.bb-mobile-filter-toggle{display:none;border:1px solid #d8deeb;background:#fff;color:#111827;border-radius:8px;height:30px;padding:0 9px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.bb-area-more{position:relative}.bb-area-more>summary{list-style:none;width:26px;height:28px;display:grid;place-items:center;border-radius:7px;cursor:pointer;color:#4b5563;font-weight:800;font-size:17px}.bb-area-more>summary::-webkit-details-marker{display:none}.bb-area-more>summary:hover,.bb-area-more[open]>summary{background:#eef0ff;color:#493fe7}
.bb-area-more-menu{position:absolute;right:0;top:31px;z-index:80;min-width:150px;padding:5px;background:#fff;border:1px solid #e2e5ee;border-radius:9px;box-shadow:0 12px 30px rgba(15,23,42,.16);display:flex;flex-direction:column;gap:2px}.bb-area-more-menu button{border:0;background:transparent;text-align:left;padding:8px 9px;border-radius:7px;color:#111827;font-size:11px;font-weight:750;cursor:pointer}.bb-area-more-menu button:hover{background:#f3f4ff}

@media(max-width:900px){
  /* One hamburger only, regardless of theme/admin CSS. */
  .bb-sidebar-toggle{display:none!important;visibility:hidden!important;width:0!important;height:0!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important}
  .bb-mobile-menu{display:grid!important;visibility:visible!important;width:34px!important;height:34px!important;place-items:center!important}

  /* Keep the permanent Workspace bar to KPIs + actions. Filters open only on demand. */
  .bb-workspace-toolbar{overflow:visible!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important}
  .bb-workspace-toolbar-left{order:1!important;display:flex!important;align-items:center!important;gap:5px!important}
  .bb-workspace-toolbar .bb-compact-kpis{order:2!important;display:flex!important;flex:1 1 220px!important;overflow-x:auto!important;scrollbar-width:none!important;gap:3px!important;padding-bottom:1px!important}
  .bb-workspace-toolbar .bb-compact-kpis::-webkit-scrollbar{display:none}
  .bb-mobile-filter-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .bb-workspace-toolbar .bb-compact-filters{display:none!important;order:3!important;width:100%!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:7px!important;background:#fafbff!important;border:1px solid #e4e7f0!important;border-radius:10px!important}
  .bb-workspace-toolbar.filters-open .bb-compact-filters{display:grid!important}
  .bb-workspace-toolbar .bb-multi-filter{width:100%!important;min-width:0!important;max-width:none!important;height:34px!important}
  .bb-workspace-toolbar .bb-multi-filter>summary{width:100%!important;height:34px!important}
  .bb-workspace-toolbar .bb-clear-filters{width:34px!important;height:34px!important;min-width:34px!important}

  /* Mobile Work Area header: keep + and menu. Reordering is inside the menu. */
  .bb-area-move{display:none!important}
  .bb-col-head-actions{gap:5px!important}
  .bb-area-more-menu{right:-3px;min-width:164px}

  /* Empty buckets should not waste most of the phone screen. */
  .bb-bucket.is-empty{min-height:0!important;height:auto!important;padding:0!important;border-bottom:1px solid #edf0f5!important}
  .bb-bucket.is-empty .bb-bucket-head{min-height:46px!important;padding:0 14px!important;margin:0!important;display:flex!important;align-items:center!important}
  .bb-bucket.is-empty .bb-task-list{display:none!important;min-height:0!important;padding:0!important;margin:0!important}
  .bb-bucket-completed.is-empty{min-height:0!important}
  .bb-bucket-completed.is-empty .bb-completed-inline{display:none!important}

  /* More menu is the clear, touch-friendly place for reorder/edit/pin. */
  .bb-task-more-menu{min-width:170px!important;padding:6px!important}
  .bb-task-more-menu button{min-height:38px!important;font-size:12px!important;padding:9px 10px!important}
}

@media(max-width:520px){
  .bb-workspace-toolbar .bb-compact-kpis{flex-basis:100%!important;order:2!important}
  .bb-workspace-toolbar-left{width:100%!important}
  .bb-workspace-toolbar-left .bb-mobile-filter-toggle{margin-left:auto!important}
  .bb-workspace-toolbar .bb-compact-filters{grid-template-columns:1fr 1fr!important}
  .bb-workspace-toolbar .bb-compact-filters .bb-clear-filters{grid-column:2;justify-self:end}
}

/* v4.2.2 — organized mobile Workspace toolbar + compact empty Work Areas */
@media(max-width:900px){
  /* Mobile Workspace controls: one clear Add Work Area button on the left, Filter on the right. */
  .bb-workspace-toolbar{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    padding:7px!important;
    border-radius:12px!important;
  }
  .bb-workspace-toolbar-left{
    width:100%!important;
    order:1!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
  }
  .bb-workspace-toolbar .bb-back-workspaces{display:none!important}
  .bb-workspace-toolbar .bb-add-area-top{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:36px!important;
    padding:0 13px!important;
    border-radius:9px!important;
    font-size:11px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .bb-workspace-toolbar .bb-add-area-top:after{content:none!important;display:none!important}
  .bb-workspace-toolbar-left .bb-mobile-filter-toggle{
    margin-left:auto!important;
    height:36px!important;
    padding:0 13px!important;
    border-radius:9px!important;
    font-size:11px!important;
  }

  /* KPI chips get their own clean second row. */
  .bb-workspace-toolbar .bb-compact-kpis{
    order:2!important;
    flex:1 0 100%!important;
    width:100%!important;
    display:flex!important;
    gap:5px!important;
    overflow-x:auto!important;
    padding:0!important;
    scrollbar-width:none!important;
  }
  .bb-workspace-toolbar .bb-compact-kpis::-webkit-scrollbar{display:none!important}
  .bb-workspace-toolbar .bb-kpi-chip{
    flex:0 0 auto!important;
    height:34px!important;
    padding:0 10px!important;
    border-radius:9px!important;
    font-size:9.5px!important;
  }
  .bb-workspace-toolbar .bb-kpi-chip b{font-size:14px!important}

  /* Filter drawer remains a third row only when explicitly opened. */
  .bb-workspace-toolbar .bb-compact-filters{order:3!important;margin-top:0!important}

  /* An empty Work Area should never stretch to the height of the phone. */
  .bb-workarea-column{
    min-height:0!important;
    height:auto!important;
    align-self:flex-start!important;
  }
  .bb-bucket-completed{margin-top:0!important}
  .bb-bucket.is-empty,
  .bb-bucket-completed.is-empty{
    min-height:0!important;
    height:auto!important;
    flex:0 0 auto!important;
  }
  .bb-bucket.is-empty .bb-bucket-head,
  .bb-bucket-completed.is-empty .bb-bucket-head{
    min-height:48px!important;
    height:48px!important;
    padding:0 14px!important;
  }
  .bb-bucket.is-empty .bb-task-list,
  .bb-bucket-completed.is-empty .bb-task-list{display:none!important}

  /* Keep the next Work Area peek deliberate and modest. */
  .bb-workarea-column{
    width:calc(100vw - 56px)!important;
    min-width:calc(100vw - 56px)!important;
    max-width:calc(100vw - 56px)!important;
  }
}

@media(max-width:520px){
  .bb-workspace-toolbar{padding:7px!important}
  .bb-workspace-toolbar .bb-add-area-top,
  .bb-workspace-toolbar-left .bb-mobile-filter-toggle{height:36px!important}
}

/* v4.3.0 — mobile operational Workspace layout */
.bb-mobile-analysis-toggle,.bb-mobile-add-area,.bb-mobile-filter-top{display:none}
.bb-mobile-analysis-toggle svg,.bb-mobile-add-area svg,.bb-mobile-filter-top svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:640px){
  /* Phone actions: analysis, add Work Area, funnel, notifications. Tablets keep the desktop board. */
  .bb-workspace-active .bb-mobile-analysis-toggle,
  .bb-workspace-active .bb-mobile-add-area,
  .bb-workspace-active .bb-mobile-filter-top{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important}
  .bb-top-actions{gap:5px!important}

  /* The old in-board Add/Filter controls are replaced by header icons on mobile. */
  .bb-workspace-toolbar-left{display:none!important}
  .bb-workspace-toolbar{
    display:none!important;
    padding:6px!important;
    margin-bottom:7px!important;
  }
  .bb-workspace-toolbar.analysis-open,
  .bb-workspace-toolbar.filters-open{display:block!important}
  .bb-workspace-toolbar.analysis-open .bb-compact-kpis{display:flex!important}
  .bb-workspace-toolbar:not(.analysis-open) .bb-compact-kpis{display:none!important}
  .bb-workspace-toolbar .bb-compact-kpis{gap:5px!important;overflow-x:auto!important;scrollbar-width:none!important}
  .bb-workspace-toolbar .bb-kpi-chip.upcoming,
  .bb-workspace-toolbar .bb-kpi-chip.areas{display:none!important}
  .bb-workspace-toolbar.filters-open .bb-compact-filters{display:grid!important}
  .bb-workspace-toolbar:not(.filters-open) .bb-compact-filters{display:none!important}

  /* Mobile is a vertical operational list, not a horizontal kanban scroller. */
  .bb-mobile-area-tabs{display:none!important}
  .bb-board-scroll{overflow:visible!important;padding:0!important;scroll-snap-type:none!important}
  .bb-board.bb-board-single{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important}
  .bb-workarea-column{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    scroll-snap-align:none!important;
  }
  .bb-workarea-column[data-mobile-visible="0"]{display:block!important}
  .bb-add-area-column{display:none!important}

  /* Only actionable sections that contain tasks are shown. Upcoming is intentionally omitted. */
  .bb-bucket.is-empty,
  .bb-bucket-completed.is-empty{display:none!important}
  .bb-bucket-upcoming{display:none!important}
  .bb-bucket{min-height:0!important;height:auto!important}
  .bb-bucket .bb-task-list{padding-bottom:5px!important}
  .bb-bucket-completed{margin-top:0!important}

  /* No horizontal Work Area navigation controls on the stacked mobile layout. */
  .bb-area-move{display:none!important}
}
@media(max-width:540px){
  .bb-workspace-active .bb-topbar-left h1{font-size:17px!important}
  .bb-workspace-active .bb-top-actions .bb-icon-btn{border-radius:9px!important}
}


/* v4.3.1 — compact phone filter row and outside-click friendly panel */
@media(max-width:640px){
  .bb-workspace-toolbar.filters-open{
    width:100%!important;
    padding:6px!important;
    margin:0 0 7px!important;
    background:#fff!important;
    border:1px solid #e1e5ef!important;
    border-radius:10px!important;
    box-shadow:0 5px 16px rgba(26,36,70,.06)!important;
  }
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr)) 32px!important;
    gap:5px!important;
    align-items:start!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    overflow:visible!important;
  }
  .bb-workspace-toolbar.filters-open .bb-multi-filter{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:32px!important;
  }
  .bb-workspace-toolbar.filters-open .bb-multi-filter>summary{
    width:100%!important;
    height:32px!important;
    min-width:0!important;
    padding:0 22px 0 8px!important;
    font-size:9.5px!important;
    border-radius:7px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .bb-workspace-toolbar.filters-open .bb-multi-menu{
    min-width:100%!important;
    width:max-content!important;
    max-width:min(250px,85vw)!important;
    z-index:10040!important;
  }
  .bb-workspace-toolbar.filters-open .bb-clear-filters{
    grid-column:4!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    align-self:start!important;
    justify-self:end!important;
  }
}
@media(max-width:420px){
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    grid-template-columns:repeat(3,minmax(0,1fr)) 30px!important;
    gap:4px!important;
  }
  .bb-workspace-toolbar.filters-open .bb-multi-filter>summary{
    font-size:9px!important;
    padding-left:6px!important;
    padding-right:18px!important;
  }
  .bb-workspace-toolbar.filters-open .bb-clear-filters{width:30px!important;min-width:30px!important;height:32px!important;}
}

/* v4.4.0 — Google Keep-style Quick Add Task */
.bb-quick-task-card{margin:8px 8px 4px;padding:7px;background:#fff;border:1px solid rgba(99,102,241,.32);border-radius:11px;box-shadow:0 3px 12px rgba(79,70,229,.07)}
.bb-quick-task-main{display:grid;grid-template-columns:minmax(0,1fr) 34px auto;align-items:center;gap:6px}
.bb-quick-task-title{min-width:0;height:36px!important;border:0!important;box-shadow:none!important;padding:0 6px!important;font-size:14px!important;font-weight:650;color:#111827;background:transparent!important;outline:0}
.bb-quick-task-title::placeholder{color:#8b93a5;font-weight:500}
.bb-quick-task-options-toggle{width:34px;height:34px;border:0;border-radius:8px;background:#f5f3ff;color:#5b4fd5;font-size:15px;cursor:pointer;display:grid;place-items:center}
.bb-quick-task-options-toggle:hover,.bb-quick-task-card.options-open .bb-quick-task-options-toggle{background:#ede9fe;box-shadow:0 0 0 1px rgba(99,102,241,.18),0 0 12px rgba(99,102,241,.12)}
.bb-quick-task-add{height:34px;border:0;border-radius:8px;padding:0 12px;background:#5b4fd5;color:#fff;font-weight:750;font-size:12px;cursor:pointer}
.bb-quick-task-add:hover{background:#4f46c8}
.bb-quick-task-options-row{display:grid;grid-template-columns:92px 52px 104px minmax(100px,1fr);gap:6px;margin-top:7px;padding-top:7px;border-top:1px solid #eef0f5}
.bb-quick-task-options-row[hidden]{display:none!important}
.bb-quick-task-options-row select,.bb-quick-task-options-row input{height:32px!important;min-width:0;border:1px solid #dde1ea!important;border-radius:7px!important;padding:0 7px!important;background:#fff!important;color:#111827!important;font-size:11.5px!important;font-weight:650!important;box-shadow:none!important}
.bb-quick-task-card.is-saving{opacity:.68;pointer-events:none}
@media(max-width:700px){
  .bb-quick-task-card{margin:7px 7px 3px;padding:6px}
  .bb-quick-task-main{grid-template-columns:minmax(0,1fr) 32px 45px;gap:5px}
  .bb-quick-task-title{height:34px!important;font-size:13.5px!important}
  .bb-quick-task-options-toggle{width:32px;height:32px}
  .bb-quick-task-add{height:32px;padding:0 8px;font-size:11.5px}
  .bb-quick-task-options-row{grid-template-columns:68px 44px 86px minmax(96px,1fr);gap:4px;margin-top:6px;padding-top:6px}
  .bb-quick-task-options-row select,.bb-quick-task-options-row input{height:30px!important;padding:0 4px!important;font-size:10.5px!important}
}

/* v4.5.0 — Dual Quick Add: Daily recurring + One-Time */
.bb-workarea-quick-actions{display:inline-flex;align-items:center;gap:4px}
.bb-workarea-add-daily{font-size:11px!important;font-weight:850!important;letter-spacing:-.4px;min-width:32px}
.bb-workarea-add-once{min-width:30px}
.bb-quick-task-mode{display:flex;align-items:center;gap:4px;margin:0 2px 5px;color:#6558d8;font-size:10px;font-weight:800;line-height:1}
.bb-quick-task-mode span{color:#6b7280;font-weight:700;letter-spacing:.01em}
.bb-quick-task-options-row.is-one-time{grid-template-columns:112px 52px 104px minmax(100px,1fr)}
@media(max-width:700px){
  .bb-workarea-quick-actions{gap:3px}
  .bb-workarea-add-daily{min-width:30px;padding:0 5px!important}
  .bb-workarea-add-once{min-width:28px;padding:0 5px!important}
  .bb-quick-task-mode{margin-bottom:4px}
  .bb-quick-task-options-row.is-one-time{grid-template-columns:94px 44px 86px minmax(96px,1fr)}
}


/* v4.6.1 — preserve v4.5 layout; add drag ordering only */
.bb-task-drag-handle,.bb-area-drag-handle{border:0;background:transparent;color:#98a2b3;cursor:grab;display:inline-grid;place-items:center;padding:2px;line-height:1;font-size:15px;touch-action:none;user-select:none;-webkit-user-select:none;opacity:.6}
.bb-task-drag-handle:hover,.bb-area-drag-handle:hover{opacity:1;color:#5965d8}
.bb-task-drag-handle:active,.bb-area-drag-handle:active{cursor:grabbing}
.bb-task-clean{grid-template-columns:18px 20px minmax(0,1fr) auto!important}
.bb-task.bb-dragging,.bb-workarea-column.bb-dragging{opacity:.94;transform:translateY(-2px);box-shadow:0 12px 30px rgba(79,70,229,.16)!important;z-index:80;transition:none!important}
body.bb-sort-active{user-select:none;-webkit-user-select:none}
.bb-task-more-menu,.bb-area-more-menu{background:#fff!important;opacity:1!important;z-index:9999!important}
@media(max-width:640px){
  .bb-board.bb-board-single{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important;min-width:0!important}
  .bb-board-scroll{overflow:visible!important}
  .bb-workarea-column{width:100%!important;min-width:0!important;max-width:none!important}
  .bb-workarea-column[data-mobile-visible="0"]{display:block!important}
  .bb-bucket.is-empty,.bb-bucket-completed.is-empty{display:none!important}
  .bb-bucket-upcoming{display:none!important}
  #bb-task-form #bb-checklist-editor,#bb-task-form .bb-check-row,#bb-task-form .bb-check-main{visibility:visible!important;opacity:1!important}
  #bb-task-form #bb-checklist-editor{display:block!important;width:100%!important;overflow:visible!important}
  .bb-task-clean{grid-template-columns:18px 20px minmax(0,1fr) auto!important}
}
@media(min-width:641px){.bb-board.bb-board-single{flex-direction:row!important}}

/* v4.6.2 — three-row task card: title / actions / assignee+due */
.bb-task-three-row{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  padding:10px 11px!important;
  min-width:0;
}
.bb-task-three-row .bb-task-row{display:flex;align-items:center;min-width:0}
.bb-task-three-row .bb-task-row-title{gap:9px}
.bb-task-three-row .bb-task-row-title .bb-task-toggle{flex:0 0 auto;margin:0!important}
.bb-task-three-row .bb-task-row-title .bb-task-name{
  flex:1;min-width:0;margin:0;padding:0;border:0;background:transparent;
  color:#111827;font-size:14px;font-weight:800;line-height:1.3;text-align:left;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;cursor:pointer
}
.bb-task-three-row .bb-task-row-actions{
  gap:6px;min-height:25px;padding-left:29px;flex-wrap:wrap
}
.bb-task-three-row .bb-task-row-actions .bb-task-drag-handle{margin-right:1px}
.bb-task-three-row .bb-task-row-actions .bb-task-view{
  width:26px;height:26px;display:grid;place-items:center;border:0;border-radius:7px;
  background:transparent;cursor:pointer;opacity:.78;padding:0
}
.bb-task-three-row .bb-task-row-actions .bb-task-view:hover{background:#eef2ff;opacity:1}
.bb-task-three-row .bb-task-row-actions .bb-task-more{margin-left:0}
.bb-task-three-row .bb-task-row-actions .bb-remark-count,
.bb-task-three-row .bb-task-row-actions .bb-subtask-progress{
  min-height:24px;border:1px solid #e5e7eb;background:#f8fafc;border-radius:7px;
  color:#334155;font-size:10px;font-weight:800;padding:3px 7px;cursor:pointer
}
.bb-task-three-row .bb-task-row-actions .bb-inprogress-dot{font-size:9px;font-weight:800;color:#2563eb;background:#eff6ff;border-radius:999px;padding:4px 7px}
.bb-task-three-row .bb-task-row-actions .bb-meta-chip{font-size:9px;padding:3px 6px;border-radius:7px}
.bb-task-three-row .bb-task-row-meta{
  gap:6px;padding-left:29px;color:#334155;font-size:11px;line-height:1.2;flex-wrap:wrap
}
.bb-task-three-row .bb-task-row-meta .bb-assignee-text{font-weight:700;color:#20242d}
.bb-task-three-row .bb-task-row-meta .bb-due-inline{color:#4b5563;font-weight:600}
.bb-task-three-row .bb-task-row-meta .bb-due-inline:before{content:'·';margin-right:6px;color:#9ca3af}
.bb-task-three-row.done .bb-task-name{text-decoration:line-through;color:#6b7280}
@media(max-width:640px){
  .bb-task-three-row{padding:10px!important;gap:6px!important}
  .bb-task-three-row .bb-task-row-title .bb-task-name{font-size:14px!important}
  .bb-task-three-row .bb-task-row-actions,.bb-task-three-row .bb-task-row-meta{padding-left:29px}
}

/* v4.7.0 — compact collapsible task cards + reliable arrow ordering */
.bb-area-drag-handle,.bb-task-drag-handle{display:none!important}
.bb-area-move-controls,.bb-task-move-controls{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto}
.bb-area-move-controls button,.bb-task-move-controls button{
  width:24px;height:24px;border:0;border-radius:7px;background:transparent;color:#475569;
  display:grid;place-items:center;font-size:15px;font-weight:850;line-height:1;cursor:pointer;padding:0
}
.bb-area-move-controls button:hover,.bb-task-move-controls button:hover{background:#eef2ff;color:#4f46e5}
.bb-area-move-controls button:disabled{opacity:.22;cursor:default;background:transparent}
.bb-task-three-row.bb-task-collapsible{gap:0!important;padding:9px 10px!important}
.bb-task-collapsible .bb-task-row-title{gap:8px;min-height:30px}
.bb-task-collapsible .bb-task-row-title .bb-task-name{font-size:14px;font-weight:800;line-height:1.3}
.bb-task-expand-toggle{
  flex:0 0 auto;width:25px;height:25px;border:0;border-radius:7px;background:transparent;color:#64748b;
  display:grid;place-items:center;font-size:16px;font-weight:800;cursor:pointer;padding:0;transition:transform .15s ease,background .15s ease
}
.bb-task-expand-toggle:hover{background:#eef2ff;color:#4f46e5}
.bb-task-collapsible.is-expanded .bb-task-expand-toggle{transform:rotate(180deg)}
.bb-task-collapsible-details{display:none;padding-top:7px}
.bb-task-collapsible.is-expanded .bb-task-collapsible-details{display:block}
.bb-task-collapsible .bb-task-row-actions{padding-left:29px!important;gap:6px!important;min-height:25px}
.bb-task-collapsible .bb-task-row-meta{padding-left:29px!important;margin-top:6px;gap:6px!important}
.bb-task-collapsible:not(.is-expanded){min-height:48px}
.bb-task-collapsible:not(.is-expanded) .bb-task-row-title{align-items:center}
.bb-task-collapsible .bb-task-move-controls{margin-left:auto}
.bb-task-collapsible .bb-task-move-controls + .bb-task-expand-toggle{margin-left:1px}
.bb-col-head-actions{gap:4px!important}
.bb-area-move-controls{margin-right:1px}
@media(max-width:640px){
  .bb-area-move-controls button,.bb-task-move-controls button{width:26px;height:26px;font-size:16px}
  .bb-task-collapsible{padding:9px!important}
  .bb-task-collapsible .bb-task-row-actions,.bb-task-collapsible .bb-task-row-meta{padding-left:29px!important}
}

/* v4.7.1 — compact conditional buckets + near/far upcoming */
.bb-workarea-column .bb-bucket-overdue:empty,.bb-workarea-column .bb-bucket-upcoming:empty{display:none!important}
.bb-workarea-column .bb-bucket-completed{margin-top:0!important}
.bb-more-upcoming{border-bottom:1px solid #eef1f6;background:#fff}
.bb-more-upcoming>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;cursor:pointer;color:#8b6512;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.bb-more-upcoming>summary::-webkit-details-marker{display:none}
.bb-more-upcoming>summary b{margin-left:auto;background:#fff3dd;color:#a66a00;border-radius:999px;padding:2px 7px;font-size:10px}
.bb-more-upcoming>summary i{font-style:normal;transition:transform .18s ease}
.bb-more-upcoming[open]>summary i{transform:rotate(180deg)}
.bb-more-upcoming .bb-task-list{padding-top:0}
@media(max-width:640px){.bb-more-upcoming{display:none!important}}


/* v4.8.0 — reliable assignee filtering, Work Area score strip, robust header actions */
.bb-workarea-score-row{
  display:flex;align-items:stretch;gap:7px;overflow-x:auto;scrollbar-width:none;
  padding:0 1px 8px;margin-top:-1px
}
.bb-workarea-score-row::-webkit-scrollbar{display:none}
.bb-workarea-score-card{
  flex:0 0 auto;min-width:150px;max-width:220px;height:40px;border:1px solid color-mix(in srgb,var(--area-color) 22%,#e4e8f0);
  border-radius:10px;background:#fff;padding:0 10px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;
  color:#111827;cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.025);text-align:left
}
.bb-workarea-score-card:hover{border-color:color-mix(in srgb,var(--area-color) 55%,#cfd6e3);box-shadow:0 0 0 2px color-mix(in srgb,var(--area-color) 9%,transparent)}
.bb-workarea-score-card span{font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-workarea-score-card b{font-size:12px;color:var(--area-color)}
.bb-workarea-score-card em{font-style:normal;font-size:10px;font-weight:750;color:#64748b}
.bb-col-head{display:flex!important;min-width:0!important}
.bb-col-title{flex:1 1 auto!important;min-width:0!important;overflow:hidden!important}
.bb-col-title>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-col-head-actions{flex:0 0 auto!important;min-width:0!important;gap:3px!important}
.bb-area-more{display:block!important;flex:0 0 26px!important;min-width:26px!important;overflow:visible!important;z-index:4}
.bb-area-more>summary{display:grid!important}
.bb-workarea-quick-actions{display:inline-flex;gap:3px;flex:0 0 auto}
.bb-area-move-controls{flex:0 0 auto}
@media(max-width:640px){
  .bb-workarea-score-row{padding:0 0 7px;gap:6px}
  .bb-workarea-score-card{min-width:135px;height:38px;padding:0 9px}
  .bb-workarea-score-card span{font-size:10.5px}
}

/* v4.8.1 — wrap Work Area names instead of truncating */
.bb-col-title{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:visible!important;
  align-items:flex-start!important;
}
.bb-col-title>span{
  display:block!important;
  min-width:0!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.25!important;
}
.bb-col-head{align-items:flex-start!important}
.bb-col-head-actions{align-self:flex-start!important}
.bb-workarea-score-card span{
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.15!important;
}

/* v4.9.0 — role-only sharing */
.bb-assignment-row{grid-template-columns:minmax(150px,1fr) minmax(220px,1.25fr) auto!important}
@media(max-width:640px){.bb-assignment-row{grid-template-columns:1fr!important}.bb-assignment-row .bb-remove-assignment{justify-self:end}}


/* v4.9.6 — simplified Work Area header */
.bb-col-title>i{display:none!important}
.bb-col-count{display:none!important}
.bb-col-title{padding-left:0!important}

/* v4.9.7 — use each Work Area theme color for its visible borders */
.bb-workarea-column{
  border:1px solid var(--area-color,#4f46e5)!important;
}
.bb-workarea-column .bb-col-head{
  border-bottom:1px solid color-mix(in srgb,var(--area-color,#4f46e5) 38%,#e7ebf2)!important;
}
.bb-workarea-score-card{
  border-color:var(--area-color,#4f46e5)!important;
}

/* v4.9.8 — Task card outline follows Work Area theme color */
.bb-workarea-column .bb-task-clean,
.bb-workarea-column .bb-task-card,
.bb-workarea-column .bb-task{
  border-color:var(--area-color)!important;
  border-left-color:var(--area-color)!important;
}
.bb-workarea-column .bb-task-clean:hover,
.bb-workarea-column .bb-task-card:hover,
.bb-workarea-column .bb-task:hover{
  border-color:var(--area-color)!important;
  border-left-color:var(--area-color)!important;
}

/* v4.9.10 — complete task outline border fix */
.bb-workarea-column .bb-task-clean,
.bb-workarea-column .bb-task-card,
.bb-workarea-column .bb-task{
  box-sizing:border-box!important;
  border:1px solid var(--area-color,#4f46e5)!important;
  border-radius:10px!important;
  background:#fff!important;
  background-clip:padding-box!important;
  overflow:visible!important;
}
.bb-workarea-column .bb-task-clean:hover,
.bb-workarea-column .bb-task-card:hover,
.bb-workarea-column .bb-task:hover{
  border:1px solid var(--area-color,#4f46e5)!important;
}
.bb-workarea-column .bb-task-list{
  overflow:visible!important;
}

/* v4.9.11 — crisp Work Area outer corners without clipping menus */
.bb-workarea-column{
  position:relative!important;
  border-radius:12px!important;
  border:1px solid var(--area-color,#4f46e5)!important;
  overflow:visible!important;
  background:#fff!important;
}
.bb-workarea-column::after{
  content:"";
  position:absolute;
  inset:-1px;
  border:1px solid var(--area-color,#4f46e5);
  border-radius:12px;
  pointer-events:none;
  z-index:30;
  box-sizing:border-box;
}
.bb-workarea-column .bb-col-head{
  border-radius:11px 11px 0 0!important;
  background-clip:padding-box!important;
}

/* v4.9.12 — force a continuous visible Work Area outline at rounded corners */
.bb-workarea-column{
  position:relative!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:13px!important;
  overflow:visible!important;
  background:#fff!important;
}
.bb-workarea-column::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  border:1.5px solid var(--area-color,#4f46e5)!important;
  border-radius:13px!important;
  box-sizing:border-box!important;
  pointer-events:none!important;
  z-index:999!important;
  display:block!important;
}
.bb-workarea-column .bb-col-head{
  position:relative!important;
  z-index:1!important;
  border-radius:12px 12px 0 0!important;
  margin:1.5px 1.5px 0!important;
  width:auto!important;
}
.bb-workarea-column .bb-bucket,
.bb-workarea-column .bb-more-upcoming{
  margin-left:1.5px!important;
  margin-right:1.5px!important;
}

/* v4.9.13 — stronger dark outline for workspace control bar */
.bb-workspace-toolbar{
  border:1.5px solid #374151!important;
  box-shadow:0 2px 8px rgba(20,38,70,.04)!important;
}
.bb-workspace-toolbar .bb-multi-filter>summary,
.bb-workspace-toolbar .bb-clear-filters,
.bb-workspace-toolbar .bb-back-workspaces,
.bb-workspace-toolbar .bb-add-area-top{
  border-color:#4b5563!important;
}


/* v4.9.14 — opaque filter dropdowns and search-aware Work Area visibility */
.bb-workspace-toolbar{position:relative!important;z-index:5000!important}
.bb-workspace-toolbar .bb-multi-filter{z-index:5001}
.bb-workspace-toolbar .bb-multi-filter[open]{z-index:6000!important}
.bb-workspace-toolbar .bb-multi-menu{
  z-index:7000!important;
  background:#fff!important;
  opacity:1!important;
  border:1px solid #cbd2df!important;
  background-image:none!important;
  isolation:isolate!important;
}
.bb-workspace-toolbar .bb-multi-menu label{background:#fff!important;color:#111827!important}
.bb-workspace-toolbar .bb-multi-menu label:hover{background:#f3f4f6!important}
.bb-search-empty{margin-top:8px!important}

/* v4.9.15 — distinct dark outline for KPI summary chips */
.bb-workspace-toolbar .bb-kpi-chip{
  border-width:1.5px!important;
  border-style:solid!important;
  box-shadow:none!important;
}
.bb-workspace-toolbar .bb-kpi-chip.current{
  border-color:#315b9d!important;
}
.bb-workspace-toolbar .bb-kpi-chip.overdue{
  border-color:#b4232f!important;
}
.bb-workspace-toolbar .bb-kpi-chip.upcoming{
  border-color:#9a5d00!important;
}
.bb-workspace-toolbar .bb-kpi-chip.completed{
  border-color:#167447!important;
}


/* v4.9.16 — keep only view header sticky; always-visible horizontal board scroller */
.bb-topbar{
  position:sticky!important;
  top:32px!important;
  z-index:9000!important;
}
body.business-board-blank-app .bb-topbar{top:0!important}
.bb-workspace-toolbar{
  position:relative!important;
  top:auto!important;
  z-index:auto!important;
}
.bb-workspace-toolbar .bb-multi-filter[open]{z-index:6000!important}
.bb-board-scroll{scrollbar-gutter:stable!important}
.bb-board-scroll-proxy{
  position:fixed!important;
  bottom:0!important;
  height:17px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  background:#fff!important;
  border-top:1px solid #cbd5e1!important;
  box-shadow:0 -2px 8px rgba(15,23,42,.08)!important;
  z-index:8500!important;
  display:none;
}
.bb-board-scroll-proxy-inner{height:1px!important;min-height:1px!important;pointer-events:none!important}
@media(max-width:640px){.bb-board-scroll-proxy{display:none!important}}


/* v4.9.19 - Todoist-style compact task cards */
.bb-workarea-column .bb-task.bb-task-todo{display:grid!important;grid-template-columns:20px minmax(0,1fr) 28px!important;align-items:start!important;gap:8px!important;padding:9px 7px!important;min-height:50px!important}
.bb-task-todo .bb-task-toggle{margin-top:2px!important}
.bb-todo-body{min-width:0;display:block}
.bb-task-todo .bb-task-name{display:block;width:100%;font-size:12px;font-weight:650;line-height:1.38;white-space:normal;overflow-wrap:anywhere;color:var(--bb-text);margin:0}
.bb-todo-meta{display:flex;align-items:center;gap:0;flex-wrap:wrap;margin-top:4px;min-height:16px;color:#7b8495;font-size:9.5px;line-height:1.35}
.bb-todo-meta-item{display:inline-flex;align-items:center;white-space:nowrap}
.bb-todo-meta-item:not(:first-child):before,.bb-todo-label:before{content:'·';margin:0 5px;color:#b1b7c2}
.bb-todo-due{font-weight:700;color:#667188}.bb-task-todo.overdue .bb-todo-due{color:#cf3743}.bb-task-todo.upcoming .bb-todo-due{color:#b87508}
.bb-todo-assignee{max-width:90px;overflow:hidden;text-overflow:ellipsis}.bb-todo-recurring{color:#667188}
.bb-todo-label{display:inline-flex;align-items:center;white-space:nowrap;color:#596579;font-weight:650}
.bb-todo-eye{width:26px!important;height:26px!important;min-width:26px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:7px!important;display:grid!important;place-items:center!important;font-size:13px!important;cursor:pointer;opacity:.68}
.bb-todo-eye:hover{background:#f1f4f8!important;opacity:1}
.bb-task-todo.done .bb-todo-meta{opacity:.75}
@media(max-width:540px){.bb-todo-meta{font-size:9px}.bb-todo-assignee{max-width:72px}.bb-task-todo .bb-task-name{font-size:11.5px}}

/* v4.9.20 — Todoist-style unified Quick Add */
.bb-workarea-add-unified{min-width:30px!important;font-size:18px!important}
.bb-quick-task-card{margin:8px 8px 5px;padding:9px 10px;background:#fff;border:1px solid #e2e5ea;border-radius:12px;box-shadow:0 4px 14px rgba(17,24,39,.07)}
.bb-quick-task-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.bb-quick-task-title{height:38px!important;padding:0 4px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:15px!important;font-weight:650!important;color:#111827!important}
.bb-quick-task-add{height:34px;border:0;border-radius:8px;padding:0 12px;background:#dc4c3e;color:#fff;font-size:12px;font-weight:750;cursor:pointer}
.bb-quick-task-add:hover{filter:brightness(.96)}
.bb-quick-description{width:100%;margin:2px 0 4px;padding:6px 4px!important;border:0!important;border-top:1px solid #f0f1f4!important;border-radius:0!important;box-shadow:none!important;resize:vertical;font-size:12.5px!important}
.bb-quick-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:5px}
.bb-quick-action-toggle{height:30px;padding:0 9px;border:1px solid #e1e4e9;border-radius:7px;background:#fff;color:#4b5563;font-size:11.5px;font-weight:650;cursor:pointer;display:inline-flex;align-items:center;gap:5px}
.bb-quick-action-toggle:hover,.bb-quick-action-toggle.active{background:#f7f7f8;border-color:#cfd4dc;color:#111827}
.bb-quick-panels{margin-top:6px}
.bb-quick-panel{padding:8px;border:1px solid #e8eaee;border-radius:9px;background:#fafafa;display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.bb-quick-panel[hidden]{display:none!important}
.bb-quick-panel label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:700;color:#6b7280;min-width:120px;flex:1}
.bb-quick-panel input,.bb-quick-panel select{height:32px!important;min-width:0!important;border:1px solid #dfe3e8!important;border-radius:7px!important;background:#fff!important;padding:0 8px!important;font-size:11.5px!important;color:#111827!important;box-shadow:none!important}
.bb-quick-panel small{font-size:10px;color:#8b93a5}
.bb-quick-people-panel{display:block}
.bb-quick-people-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;max-height:150px;overflow:auto}
.bb-quick-person{display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;min-width:0!important;padding:5px 6px;border-radius:6px;font-size:11.5px!important;color:#374151!important;font-weight:600!important;cursor:pointer}
.bb-quick-person:hover{background:#f0f2f5}.bb-quick-person input{width:15px!important;height:15px!important;flex:0 0 auto}.bb-quick-person span{min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.25}
.bb-quick-more-panel{align-items:flex-end}.bb-quick-show-description{height:32px;padding:0 9px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;color:#4b5563;font-size:11px;font-weight:650;cursor:pointer}
.bb-quick-task-card.is-saving{opacity:.65;pointer-events:none}
@media(max-width:640px){.bb-quick-task-card{margin:7px 6px 4px;padding:8px}.bb-quick-task-main{grid-template-columns:minmax(0,1fr) 68px}.bb-quick-task-title{font-size:14px!important}.bb-quick-task-add{padding:0 8px}.bb-quick-actions{gap:4px}.bb-quick-action-toggle{height:29px;padding:0 7px;font-size:10.5px}.bb-quick-people-list{grid-template-columns:1fr}.bb-quick-panel{gap:6px}.bb-quick-panel label{min-width:105px}}


/* v4.9.21 — elegant add-task control, tablet stacking and mobile Work Area movement */
.bb-workarea-add-unified{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  padding:0!important;
  border:1px solid color-mix(in srgb,var(--area-color,#4f46e5) 38%,#d9dfeb)!important;
  border-radius:11px!important;
  background:#fff!important;
  color:var(--area-color,#4f46e5)!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:0 1px 3px rgba(17,24,39,.06)!important;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important;
}
.bb-workarea-add-unified svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important}
.bb-workarea-add-unified:hover{background:color-mix(in srgb,var(--area-color,#4f46e5) 7%,#fff)!important;box-shadow:0 3px 10px rgba(17,24,39,.10)!important;transform:translateY(-1px)}
.bb-workarea-add-unified:active{transform:translateY(0)}
.bb-area-move-mobile{display:none!important}

/* Portrait tablets: use the same vertical Work Area flow as mobile.
   The wider 1366px ceiling also covers Android/iPad portrait viewports that report
   more than 1024 CSS pixels because of browser/device scaling. */
@media (min-width:641px) and (max-width:1366px) and (orientation:portrait){
  .bb-board-scroll{overflow:visible!important;padding:0!important;scroll-snap-type:none!important}
  .bb-board.bb-board-single{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important;min-width:0!important}
  .bb-workarea-column{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;scroll-snap-align:none!important}
  .bb-workarea-column[data-mobile-visible="0"]{display:block!important}
  .bb-add-area-column{width:100%!important;min-width:0!important;min-height:58px!important}
  .bb-board-scroll-proxy{display:none!important}

  /* Reordering follows the visual top-to-bottom order in portrait. */
  .bb-area-move-desktop{display:none!important}
  .bb-area-move-mobile{display:inline-flex!important;gap:3px!important}
  .bb-area-move-mobile button{
    width:28px!important;height:28px!important;min-width:28px!important;
    border:0!important;background:transparent!important;color:#667085!important;
    border-radius:7px!important;font-size:16px!important;line-height:1!important;padding:0!important;
  }
  .bb-area-move-mobile button:disabled{opacity:.25!important}
  .bb-area-move-mobile button:not(:disabled):active{background:#f2f4f7!important}
}

@media(max-width:640px){
  .bb-area-move-desktop{display:none!important}
  .bb-area-move-mobile{display:inline-flex!important;gap:3px!important}
  .bb-area-move-mobile button{
    width:28px!important;height:28px!important;min-width:28px!important;
    border:0!important;background:transparent!important;color:#667085!important;
    border-radius:7px!important;font-size:16px!important;line-height:1!important;padding:0!important;
  }
  .bb-area-move-mobile button:disabled{opacity:.25!important}
  .bb-area-move-mobile button:not(:disabled):active{background:#f2f4f7!important}
  .bb-workarea-add-unified{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important}
  .bb-workarea-add-unified svg{width:18px!important;height:18px!important}
}


/* v4.9.23 — Todoist-style task drag ordering */
.bb-task.bb-task-todo{grid-template-columns:18px 21px minmax(0,1fr) 24px!important}
.bb-task.bb-task-todo .bb-task-drag-handle{display:inline-grid!important;width:18px;height:30px;align-self:center;border:0;background:transparent;color:#a7afbc;cursor:grab;place-items:center;padding:0;font-size:12px;line-height:1;letter-spacing:-3px;opacity:.28;touch-action:none;user-select:none;-webkit-user-select:none}
.bb-task.bb-task-todo:hover .bb-task-drag-handle{opacity:.9;color:#697386}
.bb-task.bb-task-todo .bb-task-drag-handle:active{cursor:grabbing;opacity:1}
.bb-task.bb-dragging{opacity:.82!important;transform:scale(.995)!important;box-shadow:0 10px 26px rgba(20,30,55,.18)!important}
@media(max-width:900px){.bb-task.bb-task-todo .bb-task-drag-handle{opacity:.72;width:20px;font-size:13px}.bb-task.bb-task-todo{grid-template-columns:20px 21px minmax(0,1fr) 24px!important}}


/* v4.9.24 — stable Google Keep-style task drag handle */
.bb-workarea-column .bb-task.bb-task-todo{
  display:grid!important;
  grid-template-columns:22px 21px minmax(0,1fr) 28px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  align-items:start!important;
}
.bb-task.bb-task-todo>*{min-width:0!important;box-sizing:border-box!important}
.bb-task.bb-task-todo .bb-todo-body{min-width:0!important;width:100%!important;max-width:100%!important;overflow:hidden}
.bb-task.bb-task-todo .bb-task-name{width:100%!important;max-width:100%!important;min-width:0!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important}
.bb-task.bb-task-todo .bb-todo-meta{max-width:100%!important;min-width:0!important}
.bb-task.bb-task-todo .bb-task-drag-handle{
  display:grid!important;place-items:center!important;
  width:22px!important;height:28px!important;min-width:22px!important;
  margin:0!important;padding:0!important;align-self:center!important;
  border:0!important;background:transparent!important;border-radius:6px!important;
  cursor:grab!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;
  opacity:.52!important;color:#98a2b3!important;
}
.bb-task.bb-task-todo:hover .bb-task-drag-handle,.bb-task.bb-task-todo .bb-task-drag-handle:focus-visible{opacity:1!important;background:#f4f5f7!important}
.bb-task.bb-task-todo .bb-task-drag-handle:active{cursor:grabbing!important;opacity:1!important}
.bb-grip-dots{display:grid!important;grid-template-columns:repeat(2,3px)!important;grid-auto-rows:3px!important;gap:3px!important;width:9px!important;height:15px!important;align-content:center!important;justify-content:center!important}
.bb-grip-dots i{display:block!important;width:3px!important;height:3px!important;border-radius:50%!important;background:currentColor!important}
.bb-task.bb-dragging{
  width:100%!important;max-width:100%!important;min-width:0!important;
  opacity:.9!important;transform:none!important;
  box-shadow:0 8px 22px rgba(20,30,55,.16)!important;
  z-index:80!important;
}
body.bb-sort-active .bb-task-list{overflow:visible!important}
@media(max-width:900px){
  .bb-workarea-column .bb-task.bb-task-todo{grid-template-columns:22px 21px minmax(0,1fr) 26px!important}
  .bb-task.bb-task-todo .bb-task-drag-handle{width:22px!important;min-width:22px!important;opacity:.78!important}
}


/* v4.9.25 — red task outline while actively dragging */
.bb-task.bb-dragging{
  outline:2px solid #ef4444!important;
  outline-offset:-2px!important;
  border-color:#ef4444!important;
}
.bb-task.bb-dragging .bb-task-drag-handle{
  color:#ef4444!important;
  opacity:1!important;
  background:#fff1f2!important;
}


/* v4.9.26 — visible task card follows pointer during drag */
.bb-task.bb-drag-placeholder{
  opacity:.18!important;
  outline:2px dashed #ef4444!important;
  outline-offset:-2px!important;
  border-color:#ef4444!important;
  box-shadow:none!important;
}
.bb-task.bb-drag-ghost{
  opacity:1!important;
  transform:none!important;
  outline:2px solid #ef4444!important;
  outline-offset:-2px!important;
  border-color:#ef4444!important;
  box-shadow:0 14px 34px rgba(20,30,55,.22)!important;
  background:#fff!important;
  pointer-events:none!important;
}
.bb-task.bb-drag-ghost .bb-task-drag-handle{
  color:#ef4444!important;
  opacity:1!important;
  background:#fff1f2!important;
}
body.bb-sort-active{user-select:none!important;-webkit-user-select:none!important}


/* v4.9.27 - direct Work Area edit action */
.bb-workarea-edit{width:28px;height:28px;border:1px solid color-mix(in srgb,var(--area-color) 22%,#dfe4ec);border-radius:8px;background:#fff;color:var(--area-color);display:grid;place-items:center;cursor:pointer;flex:0 0 28px;padding:0;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.bb-workarea-edit svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bb-workarea-edit:hover{background:color-mix(in srgb,var(--area-color) 8%,white);border-color:color-mix(in srgb,var(--area-color) 45%,#dfe4ec);transform:translateY(-1px)}
.bb-workarea-edit:active{transform:translateY(0)}

/* v4.9.28 — tablet portrait follows the compact mobile Workspace header */
@media (min-width:641px) and (max-width:1366px) and (orientation:portrait){
  /* Use the same action-first header as phone: analysis, add Work Area, filter, bell. */
  .bb-workspace-active .bb-mobile-analysis-toggle,
  .bb-workspace-active .bb-mobile-add-area,
  .bb-workspace-active .bb-mobile-filter-top{
    display:grid!important;place-items:center!important;
    width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;
    border-radius:10px!important;
  }
  .bb-workspace-active .bb-top-actions{gap:6px!important}
  .bb-workspace-active .bb-top-actions #bb-global-search{display:none!important}

  /* Do not show the desktop control panel permanently in portrait. */
  .bb-workspace-toolbar{display:none!important;padding:7px!important;margin:0 0 8px!important}
  .bb-workspace-toolbar.analysis-open,
  .bb-workspace-toolbar.filters-open{display:block!important}
  .bb-workspace-toolbar-left{display:none!important}
  .bb-workspace-toolbar.analysis-open .bb-compact-kpis{display:flex!important;gap:5px!important;overflow-x:auto!important;scrollbar-width:none!important}
  .bb-workspace-toolbar:not(.analysis-open) .bb-compact-kpis{display:none!important}
  .bb-workspace-toolbar.filters-open .bb-compact-filters{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr)) 34px!important;gap:6px!important;width:100%!important}
  .bb-workspace-toolbar:not(.filters-open) .bb-compact-filters{display:none!important}
  .bb-workspace-toolbar .bb-multi-filter{width:100%!important;min-width:0!important;max-width:none!important}

  /* One compact Work Area score strip only — no duplicate tab row. */
  .bb-mobile-area-tabs{display:none!important}
  .bb-workarea-score-row{margin:0!important;padding:0 0 9px!important;gap:7px!important;overflow-x:auto!important;scrollbar-width:none!important}
  .bb-workarea-score-row::-webkit-scrollbar{display:none!important}
  .bb-workarea-score-card{min-width:150px!important;height:42px!important;padding:0 11px!important;border-radius:10px!important}

  /* Keep the mobile-like vertical Work Area flow already used in portrait. */
  .bb-add-area-column{display:none!important}
  .bb-content:has(.bb-workspace-toolbar){padding-top:8px!important}
}


/* v4.9.30 — reliable Workspace filtering across all responsive layouts */
.bb-filter-hidden,
.bb-filter-section-hidden,
.bb-filter-area-hidden,
.bb-filter-ui-hidden{display:none!important;}

/* v4.9.31 - task priority initial + always-accessible filter reset */
.bb-todo-priority{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:5px;font-size:10px;font-weight:800;line-height:1;border:1px solid currentColor;flex:0 0 auto}
.bb-todo-priority.priority-urgent{color:#b42318;background:#fff1f0}
.bb-todo-priority.priority-high{color:#d92d20;background:#fff4f2}
.bb-todo-priority.priority-medium{color:#b54708;background:#fffaeb}
.bb-todo-priority.priority-low{color:#027a48;background:#ecfdf3}
.bb-top-filter-reset{display:none!important;color:#b42318!important;border-color:#fda29b!important;background:#fff5f4!important}
.bb-board-filter-active .bb-top-filter-reset{display:grid!important;place-items:center!important}
.bb-top-filter-reset svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:1100px){.bb-board-filter-active .bb-top-filter-reset{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important}}

/* v4.9.33 — cross-Work-Area task drag/drop */
.bb-workarea-column.bb-task-drop-target{
  outline:3px solid #22c55e!important;
  outline-offset:-3px!important;
  box-shadow:0 0 0 4px rgba(34,197,94,.10)!important;
}
.bb-workarea-column.bb-task-drop-target>.bb-col-head{
  background:color-mix(in srgb,#22c55e 7%,white)!important;
}
.bb-cross-created{min-height:70px!important}
body.bb-sort-active .bb-workarea-column{transition:outline-color .12s ease,box-shadow .12s ease!important}
/* v4.9.34 — Keep-style inline task editing */
.bb-inline-task-name{cursor:text!important;text-align:left!important;border:0!important;background:transparent!important;padding:0!important}
.bb-inline-title-input{display:block;width:100%;min-width:0;border:1px solid #d0d5dd;border-radius:6px;padding:4px 6px;font:inherit;font-size:12px;font-weight:650;line-height:1.35;color:var(--bb-text);outline:none;background:#fff}
.bb-inline-title-input:focus{border-color:#667085;box-shadow:0 0 0 2px rgba(102,112,133,.12)}
.bb-inline-meta{gap:4px!important;flex-wrap:wrap!important;position:relative}
.bb-inline-meta button{font:inherit;line-height:1;border:0;background:transparent;color:#7b8495;padding:3px 5px;min-height:20px;border-radius:5px;cursor:pointer;white-space:nowrap}
.bb-inline-meta button:hover{background:#f2f4f7;color:#344054}
.bb-inline-meta button.has-value{background:#f8fafc;color:#344054;font-weight:700}
.bb-field-priority.has-value{border:1px solid currentColor!important}
.bb-field-priority.is-empty{font-weight:900;font-size:13px}
.bb-inline-remark.has-value{color:#475467!important}.bb-inline-subtask.has-value{color:#344054!important;font-weight:700!important}
.bb-inline-popover{position:absolute;z-index:1200;margin-top:25px;left:0;min-width:160px;max-width:260px;padding:7px;background:#fff;border:1px solid #e4e7ec;border-radius:9px;box-shadow:0 10px 30px rgba(16,24,40,.16);display:flex;gap:5px;flex-wrap:wrap}
.bb-inline-popover button{background:#fff!important;border:1px solid #e4e7ec!important;color:#344054!important;padding:6px 8px!important;min-height:28px!important}
.bb-inline-popover button:hover{background:#f9fafb!important}
.bb-inline-popover input[type=date],.bb-inline-popover .bb-inline-labels{width:100%;border:1px solid #d0d5dd;border-radius:6px;padding:6px 7px;font-size:12px}
.bb-priority-pop{min-width:auto}.bb-priority-pop button{min-width:30px;font-weight:800}
.bb-recur-pop{min-width:190px}
.bb-assignee-pop{display:block;min-width:220px;max-height:260px;overflow:auto}
.bb-inline-checks{display:grid;gap:5px;margin-bottom:7px}.bb-inline-checks label{font-size:12px;display:flex;gap:6px;align-items:center;padding:3px}
@media(max-width:640px){.bb-inline-meta{gap:2px!important}.bb-inline-meta button{padding:3px 4px}.bb-inline-popover{position:fixed;left:12px!important;right:12px;bottom:14px;top:auto;max-width:none;min-width:0}}

/* v4.9.35 — restore clean Todoist/Keep visual treatment while retaining inline editing */
.bb-task.bb-task-todo{
  align-items:start!important;
}
.bb-task.bb-task-todo .bb-todo-body{
  padding-top:1px!important;
  overflow:visible!important;
}
.bb-task.bb-task-todo .bb-inline-task-name{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--bb-text)!important;
  text-align:left!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  cursor:text!important;
}
.bb-task.bb-task-todo .bb-inline-task-name:hover,
.bb-task.bb-task-todo .bb-inline-task-name:focus{
  background:transparent!important;
  box-shadow:none!important;
}
.bb-inline-title-input{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0 0 2px!important;
  border:0!important;
  border-bottom:1px solid #98a2b3!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--bb-text)!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.35!important;
  outline:none!important;
}
.bb-inline-title-input:focus{
  border-bottom-color:#475467!important;
  box-shadow:none!important;
}
.bb-task.bb-task-todo .bb-inline-meta{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  flex-wrap:wrap!important;
  margin-top:5px!important;
  min-height:18px!important;
  position:relative!important;
  color:#7b8495!important;
  font-size:10px!important;
  line-height:1.25!important;
}
.bb-task.bb-task-todo .bb-inline-meta>button{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:16px!important;
  height:18px!important;
  min-height:18px!important;
  margin:0!important;
  padding:0 3px!important;
  border:0!important;
  border-radius:4px!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#7b8495!important;
  font:inherit!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
.bb-task.bb-task-todo .bb-inline-meta>button:not(:first-child)::before{
  content:'·';
  display:inline-block;
  margin:0 5px 0 1px;
  color:#b1b7c2;
  font-weight:500;
  pointer-events:none;
}
.bb-task.bb-task-todo .bb-inline-meta>button:hover,
.bb-task.bb-task-todo .bb-inline-meta>button:focus-visible{
  background:#f2f4f7!important;
  color:#344054!important;
}
.bb-task.bb-task-todo .bb-inline-meta>button.has-value{
  background:transparent!important;
  color:#596579!important;
  font-weight:700!important;
}
.bb-task.bb-task-todo .bb-inline-meta>button.is-empty{
  background:transparent!important;
  color:#98a2b3!important;
  font-weight:650!important;
}
.bb-task.bb-task-todo .bb-inline-meta .bb-field-priority{
  min-width:16px!important;
  border:0!important;
  padding:0 2px!important;
  font-weight:800!important;
}
.bb-task.bb-task-todo .bb-inline-meta .bb-field-priority.has-value{
  border:0!important;
}
.bb-task.bb-task-todo .bb-inline-meta .bb-field-priority.is-empty{
  font-size:13px!important;
  color:#98a2b3!important;
}
.bb-task.bb-task-todo .bb-inline-meta .bb-inline-remark.has-value,
.bb-task.bb-task-todo .bb-inline-meta .bb-inline-subtask.has-value{
  color:#475467!important;
  font-weight:750!important;
}
.bb-task.bb-task-todo .bb-task-drag-handle{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  opacity:.55!important;
}
.bb-task.bb-task-todo .bb-task-drag-handle:hover,
.bb-task.bb-task-todo .bb-task-drag-handle:focus-visible{
  background:transparent!important;
  color:#667085!important;
  opacity:1!important;
}
.bb-task.bb-task-todo .bb-todo-eye{
  align-self:start!important;
  margin-top:0!important;
}
@media(max-width:900px){
  .bb-task.bb-task-todo .bb-inline-task-name,
  .bb-inline-title-input{font-size:15px!important;line-height:1.35!important}
  .bb-task.bb-task-todo .bb-inline-meta{font-size:10.5px!important;margin-top:6px!important}
  .bb-task.bb-task-todo .bb-inline-meta>button{font-size:10.5px!important;height:19px!important;min-height:19px!important;padding:0 3px!important}
  .bb-task.bb-task-todo .bb-inline-meta>button:not(:first-child)::before{margin-left:2px;margin-right:5px}
}
@media(max-width:540px){
  .bb-task.bb-task-todo .bb-inline-task-name,
  .bb-inline-title-input{font-size:14.5px!important}
  .bb-task.bb-task-todo .bb-inline-meta{font-size:10px!important}
  .bb-task.bb-task-todo .bb-inline-meta>button{font-size:10px!important;padding:0 2px!important}
  .bb-task.bb-task-todo .bb-inline-meta>button:not(:first-child)::before{margin-right:4px}
}

/* v4.9.37 Inline task controls refinement */
.bb-task.bb-task-todo .bb-inline-task-name.bb-inline-editing{display:none!important}
.bb-task.bb-task-todo .bb-inline-meta{gap:0!important;margin-top:7px!important;font-size:12px!important}
.bb-task.bb-task-todo .bb-inline-meta>button{height:24px!important;min-height:24px!important;min-width:22px!important;font-size:12px!important;padding:0 4px!important;transition:.14s ease!important}
.bb-task.bb-task-todo .bb-inline-meta>button:not(:first-child)::before{margin-right:6px!important;color:#c1c7d0!important}
.bb-task.bb-task-todo .bb-inline-meta .bb-meta-icon{font-size:15px!important;line-height:1!important;filter:saturate(1.18)}
.bb-task.bb-task-todo .bb-inline-meta button small{font-size:9px;margin-left:2px;color:#667085}
.bb-task.bb-task-todo .bb-field-priority{color:#e24a3b!important}.bb-task.bb-task-todo .bb-field-assignee{color:#4f46e5!important}.bb-task.bb-task-todo .bb-field-date{color:#d97706!important}.bb-task.bb-task-todo .bb-field-recur{color:#0f8a83!important}.bb-task.bb-task-todo .bb-field-label{color:#7c3aed!important}.bb-task.bb-task-todo .bb-inline-remark{color:#2563eb!important}.bb-task.bb-task-todo .bb-inline-subtask{color:#16834b!important}
.bb-inline-popover.bb-inline-menu{position:absolute;z-index:1600;left:0;margin-top:28px;display:block;min-width:230px;max-width:320px;padding:0;background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 16px 40px rgba(16,24,40,.18);overflow:hidden}
.bb-inline-pop-head{height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 13px;border-bottom:1px solid #eef0f3;background:#fbfcfe}.bb-inline-pop-head strong{font-size:12px;color:#344054}.bb-inline-pop-close{width:28px!important;height:28px!important;min-height:28px!important;border:0!important;background:transparent!important;border-radius:50%!important;font-size:20px!important;line-height:1!important;color:#667085!important;padding:0!important}.bb-inline-pop-close:hover{background:#f2f4f7!important;color:#101828!important}
.bb-inline-vertical-options{display:grid;padding:6px}.bb-inline-option{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-height:38px!important;border:0!important;border-radius:8px!important;padding:7px 10px!important;background:#fff!important;text-align:left!important}.bb-inline-option:hover,.bb-inline-option.selected{background:#f5f7fb!important}.bb-inline-option b{width:22px;height:22px;border-radius:6px;display:grid;place-items:center;background:#f2f4f7;color:#344054;font-size:12px}.bb-inline-option span{font-size:12px;font-weight:650;color:#344054}
.bb-priority-pop .bb-inline-option:nth-child(2) b{background:#fff0ee;color:#d92d20}.bb-priority-pop .bb-inline-option:nth-child(3) b{background:#fff4e5;color:#b54708}.bb-priority-pop .bb-inline-option:nth-child(4) b{background:#fffbe8;color:#9a6700}.bb-priority-pop .bb-inline-option:nth-child(5) b{background:#eef7ff;color:#175cd3}
.bb-inline-checks{display:grid;gap:0;padding:6px;max-height:280px;overflow:auto}.bb-inline-checks label{display:flex;align-items:center;gap:9px;min-height:36px;padding:6px 8px;border-radius:8px;font-size:12px;color:#344054;cursor:pointer}.bb-inline-checks label:hover{background:#f7f8fa}.bb-inline-checks input[type=checkbox]{width:17px;height:17px;accent-color:#4f46e5}
.bb-inline-label-search,.bb-inline-subtask-input,.bb-inline-remark-input{box-sizing:border-box;width:calc(100% - 16px)!important;margin:8px!important;border:1px solid #d0d5dd!important;border-radius:8px!important;padding:8px 10px!important;font-size:12px!important;outline:none!important;background:#fff!important}.bb-inline-label-search:focus,.bb-inline-subtask-input:focus,.bb-inline-remark-input:focus{border-color:#7f8cff!important;box-shadow:0 0 0 3px rgba(79,70,229,.08)!important}.bb-inline-hint{display:block;padding:0 10px 9px;color:#98a2b3;font-size:10px}
.bb-inline-custom-recur{padding:10px 12px;border-top:1px solid #eef0f3;background:#fbfcfe}.bb-inline-custom-recur label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0;font-size:11px;color:#475467}.bb-inline-custom-recur input,.bb-inline-custom-recur select{width:112px;border:1px solid #d0d5dd;border-radius:7px;padding:6px;font-size:11px}.bb-inline-custom-recur small{font-size:9px;color:#98a2b3}
.bb-inline-remark-list,.bb-inline-subtask-list{max-height:210px;overflow:auto;padding:7px}.bb-inline-remark-row{padding:8px;border-bottom:1px solid #f0f2f5}.bb-inline-remark-row:last-child{border-bottom:0}.bb-inline-remark-row span{display:block;font-size:11px;color:#344054;white-space:normal}.bb-inline-remark-row small{display:block;margin-top:3px;font-size:9px;color:#98a2b3}.bb-inline-empty{display:block;padding:10px;color:#98a2b3;font-size:11px}
.bb-inline-subtask-row{display:flex;align-items:center;gap:8px;padding:7px 6px;border-radius:7px;font-size:11px;color:#344054}.bb-inline-subtask-row:hover{background:#f7f8fa}.bb-inline-subtask-row input{width:17px;height:17px;accent-color:#4f46e5}.bb-inline-subtask-row.done span{text-decoration:line-through;color:#98a2b3}
.bb-direct-date-picker{position:fixed!important;z-index:1000002!important;opacity:.001!important;pointer-events:auto!important;border:0!important;padding:0!important;margin:0!important;background:transparent!important;color:transparent!important;appearance:auto!important;-webkit-appearance:auto!important;touch-action:manipulation!important}
@media(max-width:900px){.bb-task.bb-task-todo .bb-inline-meta>button{height:25px!important;min-height:25px!important;font-size:12px!important}.bb-task.bb-task-todo .bb-inline-meta .bb-meta-icon{font-size:16px!important}.bb-inline-popover.bb-inline-menu{position:fixed!important;left:12px!important;right:12px!important;bottom:14px!important;top:auto!important;max-width:none!important;min-width:0!important;margin:0!important;border-radius:16px!important;max-height:72vh!important;overflow:auto!important}}
/* v4.9.38 compact inline sub-task popover + reliable close/delete controls */
.bb-inline-subtask-pop{width:min(340px,calc(100vw - 24px));max-width:340px!important}
.bb-inline-subtask-pop .bb-inline-pop-head{position:sticky;top:0;z-index:2;background:#fff}
.bb-inline-subtask-list{max-height:220px;overflow:auto;padding:4px 0}
.bb-inline-subtask-row{display:flex;align-items:center;gap:8px;padding:7px 8px;border-bottom:1px solid #f0f2f5}
.bb-inline-subtask-row:last-child{border-bottom:0}
.bb-inline-subtask-row>label{display:flex;align-items:center;gap:8px;min-width:0;flex:1;margin:0}
.bb-inline-subtask-row>label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-inline-subtask-row.done>label span{text-decoration:line-through;opacity:.62}
.bb-inline-subtask-delete{margin-left:auto!important;border:0!important;background:transparent!important;color:#d92d20!important;font-size:18px!important;line-height:1!important;padding:3px 7px!important;min-height:0!important;border-radius:999px!important}
.bb-inline-subtask-delete:hover{background:#fff1f0!important}
.bb-inline-subtask-add{padding:8px}
.bb-inline-subtask-input{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:8px;padding:8px 10px;font-size:13px}
.bb-inline-pop-close{position:relative;z-index:5;cursor:pointer;touch-action:manipulation}
@media(max-width:900px){.bb-inline-subtask-pop{left:12px!important;right:12px!important;width:auto!important;max-height:55vh!important}.bb-inline-subtask-list{max-height:30vh}}

/* v4.9.39 anchored inline panels + continuous sub-task entry */
.bb-inline-popover.bb-inline-menu{
  position:fixed!important;
  z-index:1000000!important;
  margin:0!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
}
.bb-inline-subtask-pop{
  width:min(340px,calc(100vw - 20px))!important;
  max-width:340px!important;
  min-width:260px!important;
  overflow:hidden!important;
}
.bb-inline-subtask-pop .bb-inline-subtask-list{
  max-height:min(240px,34vh)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.bb-inline-subtask-pop .bb-inline-subtask-add{
  position:sticky;
  bottom:0;
  background:#fff;
  border-top:1px solid #eef0f3;
  z-index:2;
}
.bb-inline-subtask-pop .bb-inline-subtask-input{
  margin:0!important;
  width:100%!important;
}
.bb-inline-subtask-pop .bb-inline-hint{
  background:#fff;
  padding:3px 10px 9px!important;
}
@media(max-width:900px){
  .bb-inline-popover.bb-inline-menu{
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    top:auto;
    max-width:min(360px,calc(100vw - 20px))!important;
    min-width:240px!important;
    border-radius:14px!important;
  }
  .bb-inline-subtask-pop{
    width:min(340px,calc(100vw - 20px))!important;
    right:auto!important;
    bottom:auto!important;
    max-height:min(460px,62vh)!important;
  }
}

/* v4.9.40 inline popover interaction/position reliability */
.bb-task.bb-task-todo .bb-inline-meta>button{pointer-events:auto!important;touch-action:manipulation!important;position:relative!important;z-index:2!important}
.bb-inline-popover.bb-inline-menu{pointer-events:auto!important}
.bb-inline-popover.bb-inline-menu *{pointer-events:auto}


/* v4.9.42 polished compact Repeat menu */
.bb-recur-pop{min-width:250px!important;max-width:285px!important;border-radius:16px!important;box-shadow:0 18px 44px rgba(16,24,40,.20)!important}
.bb-recur-pop .bb-inline-pop-head{height:44px!important;padding:0 10px 0 14px!important;background:#fff!important}
.bb-recur-pop .bb-inline-pop-head strong{font-size:13px!important;font-weight:750!important;color:#1f2937!important;letter-spacing:.01em}
.bb-recur-pop .bb-inline-pop-close{width:30px!important;height:30px!important;font-size:19px!important;background:#f8fafc!important;color:#64748b!important}
.bb-recur-pop .bb-inline-pop-close:hover{background:#eef2f7!important;color:#111827!important}
.bb-recur-options{display:block!important;padding:7px!important}
.bb-recur-pop .bb-recur-option{min-height:34px!important;height:34px!important;padding:4px 8px!important;border-radius:9px!important;gap:9px!important;margin:1px 0!important}
.bb-recur-pop .bb-recur-option:hover{background:#f7f7fb!important}
.bb-recur-pop .bb-recur-option.selected{background:#f3f1ff!important}
.bb-recur-pop .bb-recur-code{width:24px!important;height:24px!important;min-width:24px!important;border-radius:7px!important;background:#f2f4f7!important;color:#475467!important;font-size:11px!important;font-weight:800!important}
.bb-recur-pop .bb-recur-option:nth-child(1) .bb-recur-code{background:#e9f8f3!important;color:#087a5b!important}
.bb-recur-pop .bb-recur-option:nth-child(2) .bb-recur-code{background:#eef4ff!important;color:#3157a4!important}
.bb-recur-pop .bb-recur-option:nth-child(3) .bb-recur-code{background:#fff5e8!important;color:#b46100!important}
.bb-recur-pop .bb-recur-option:nth-child(4) .bb-recur-code{background:#f3efff!important;color:#6b46c1!important}
.bb-recur-pop .bb-recur-option:nth-child(5) .bb-recur-code{background:#fff0f2!important;color:#c2415a!important}
.bb-recur-pop .bb-recur-option:nth-child(6) .bb-recur-code{background:#ecf8ff!important;color:#176b87!important}
.bb-recur-pop .bb-recur-option:nth-child(7) .bb-recur-code{background:#f4f4f5!important;color:#52525b!important;font-size:13px!important}
.bb-recur-pop .bb-recur-option span{font-size:12px!important;font-weight:650!important;color:#344054!important;flex:1!important}
.bb-recur-pop .bb-recur-check{margin-left:auto!important;width:18px!important;text-align:center!important;font-style:normal!important;font-size:13px!important;font-weight:800!important;color:#6d5bd0!important}
.bb-recur-divider{height:1px;background:#eef0f3;margin:6px 4px}
.bb-recur-pop .bb-recur-one .bb-recur-code{background:#f8fafc!important;color:#667085!important}
.bb-recur-pop .bb-recur-one span{color:#667085!important}
.bb-recur-pop .bb-inline-custom-recur{margin:0 7px 7px!important;padding:9px 10px!important;border:1px solid #eceef2!important;border-radius:10px!important;background:#fbfcfe!important}
.bb-recur-pop .bb-custom-recur-title{font-size:11px;font-weight:750;color:#344054;margin-bottom:5px}
.bb-recur-pop .bb-inline-custom-recur label{margin:4px 0!important;font-size:11px!important}
.bb-recur-pop .bb-inline-custom-recur input,.bb-recur-pop .bb-inline-custom-recur select{width:108px!important;padding:5px 7px!important;border-radius:7px!important}
@media(max-width:900px){
 .bb-recur-pop{width:min(285px,calc(100vw - 28px))!important;min-width:0!important;max-width:285px!important;max-height:min(420px,70vh)!important;border-radius:16px!important}
 .bb-recur-pop .bb-recur-option{min-height:38px!important;height:38px!important}
}

/* v4.9.43 Google Keep-style add rows for Labels and Sub Tasks */
.bb-inline-keep-add{border-top:1px solid #eef1f5;background:#fff;padding:4px 6px 7px}
.bb-inline-keep-add button{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;border:0!important;background:transparent!important;color:#344054!important;font-size:13px!important;font-weight:600!important;text-align:left!important;padding:9px 10px!important;border-radius:9px!important;min-height:38px!important}
.bb-inline-keep-add button:hover,.bb-inline-keep-add button:focus{background:#f7f8fa!important;outline:none!important}
.bb-inline-keep-add button:first-letter{font-size:20px}
.bb-keep-new-row{display:flex;align-items:center;gap:8px;margin:3px 6px;padding:5px 6px;border-radius:9px;background:#fff}
.bb-keep-new-row:focus-within{background:#f8f9fb}
.bb-keep-new-row input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:7px 2px!important;margin:0!important;font-size:13px!important;color:#101828!important}
.bb-keep-new-row .bb-keep-plus{font-size:18px;line-height:1;color:#667085;width:20px;text-align:center}
.bb-keep-new-cancel{border:0!important;background:transparent!important;color:#667085!important;font-size:20px!important;line-height:1!important;padding:3px 6px!important;min-width:28px!important;min-height:28px!important;border-radius:50%!important}
.bb-keep-new-cancel:hover{background:#f2f4f7!important;color:#d92d20!important}
.bb-keep-checkbox{width:17px;height:17px;border:1.6px solid #98a2b3;border-radius:4px;display:inline-block;flex:0 0 17px}
.bb-subtask-drag{color:#98a2b3;font-size:16px;line-height:1;letter-spacing:-2px;width:16px;flex:0 0 16px;text-align:center}
.bb-inline-subtask-pop .bb-inline-subtask-row{gap:7px!important}
.bb-inline-subtask-pop .bb-inline-subtask-row>label{gap:8px!important}
.bb-label-pop .bb-inline-label-search{placeholder-shown:normal}
.bb-label-pop .bb-inline-label-list{max-height:220px;overflow:auto;padding:4px 7px}
.bb-label-pop .bb-inline-label-list label{display:flex;align-items:center;gap:9px;padding:7px 6px;border-radius:7px}
.bb-label-pop .bb-inline-label-list label:hover{background:#f7f8fa}
.bb-label-pop .bb-inline-label-list input{width:18px;height:18px;accent-color:#4f46e5}

/* v4.9.48 - draggable sub tasks */
.bb-inline-subtask-pop .bb-subtask-drag{
  cursor:grab;
  touch-action:none;
  user-select:none;
  -webkit-user-select:none;
  display:inline-grid;
  place-items:center;
  min-width:22px;
  min-height:30px;
  border-radius:7px;
  color:#98a2b3;
}
.bb-inline-subtask-pop .bb-subtask-drag:active{cursor:grabbing;color:#d92d20;background:#fff1f0}
.bb-inline-subtask-row.bb-subtask-placeholder{
  opacity:.18;
  outline:2px dashed #ef4444;
  outline-offset:-2px;
  background:#fff7f7!important;
}
.bb-subtask-drag-ghost{
  box-sizing:border-box!important;
  border:2px solid #ef4444!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 12px 28px rgba(16,24,40,.18)!important;
  opacity:.96!important;
}
body.bb-subtask-sort-active{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}

/* v4.9.50: Google Keep-style always-ready sub-task entry row */
.bb-inline-subtask-pop .bb-keep-new-subtask-row{margin:4px 8px 8px;border-top:1px solid #eef1f5;padding-top:8px}
.bb-inline-subtask-pop .bb-keep-new-subtask-row input{font-size:14px!important}
.bb-inline-subtask-pop .bb-subtask-drag-muted{opacity:.35;cursor:default}
.bb-inline-subtask-pop .bb-keep-new-cancel{opacity:.45}
.bb-inline-subtask-pop .bb-keep-new-cancel:hover,.bb-inline-subtask-pop .bb-keep-new-cancel:focus{opacity:1}

/* v4.9.51 - Google Keep-style live sub-task entry + parent task in header */
.bb-inline-subtask-pop .bb-inline-pop-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;column-gap:8px!important}
.bb-inline-subtask-pop .bb-inline-pop-head>strong{white-space:nowrap}
.bb-inline-subtask-pop .bb-subtask-parent-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085;font-size:12px;font-weight:600}
.bb-inline-subtask-pop .bb-inline-pop-close{grid-column:3}
.bb-inline-subtask-pop .bb-keep-new-subtask-row + .bb-keep-new-subtask-row{margin-top:0}


/* v4.9.52 - keep the next Google-Keep-style sub-task entry visible while typing */
.bb-inline-subtask-pop{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scroll-behavior:smooth;
  overscroll-behavior:contain;
}
.bb-inline-subtask-pop .bb-inline-pop-head{
  position:sticky!important;
  top:0!important;
  z-index:6!important;
  background:#fff!important;
}
.bb-inline-subtask-pop .bb-keep-new-subtask-row{
  scroll-margin-bottom:14px;
}

/* v4.9.54 — dedicated compact mobile task cards */
@media(max-width:640px){
  .bb-workarea-column .bb-task.bb-task-todo{
    grid-template-columns:16px 19px minmax(0,1fr) 24px!important;
    gap:6px!important;
    padding:7px 6px!important;
    min-height:0!important;
    margin:3px 0!important;
    align-items:center!important;
  }
  .bb-task.bb-task-todo .bb-task-drag-handle{
    width:16px!important;
    min-width:16px!important;
    height:30px!important;
    opacity:.62!important;
    align-self:center!important;
  }
  .bb-task.bb-task-todo .bb-grip-dots{
    grid-template-columns:repeat(2,2.5px)!important;
    grid-auto-rows:2.5px!important;
    gap:2.5px!important;
    width:8px!important;
    height:13px!important;
  }
  .bb-task.bb-task-todo .bb-grip-dots i{width:2.5px!important;height:2.5px!important}
  .bb-task.bb-task-todo .bb-task-toggle{
    width:17px!important;height:17px!important;margin:0!important;align-self:start!important;margin-top:2px!important;
  }
  .bb-task.bb-task-todo .bb-todo-body{
    min-width:0!important;
    overflow:hidden!important;
    padding-top:0!important;
  }
  .bb-task.bb-task-todo .bb-inline-task-name,
  .bb-task.bb-task-todo .bb-task-name{
    display:block!important;
    max-width:100%!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    font-size:14px!important;
    line-height:1.28!important;
    min-height:18px!important;
  }
  .bb-task.bb-task-todo .bb-inline-meta,
  .bb-task.bb-task-todo .bb-todo-meta{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:21px!important;
    margin-top:3px!important;
    padding:0 0 1px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
    white-space:nowrap!important;
  }
  .bb-task.bb-task-todo .bb-inline-meta::-webkit-scrollbar,
  .bb-task.bb-task-todo .bb-todo-meta::-webkit-scrollbar{display:none!important}
  .bb-task.bb-task-todo .bb-inline-meta>button{
    flex:0 0 auto!important;
    height:21px!important;
    min-height:21px!important;
    min-width:18px!important;
    padding:0 2px!important;
    font-size:10.5px!important;
  }
  .bb-task.bb-task-todo .bb-inline-meta .bb-meta-icon{font-size:14px!important}
  .bb-task.bb-task-todo .bb-inline-meta>button:not(:first-child)::before{
    margin:0 3px!important;
  }
  .bb-task.bb-task-todo .bb-todo-eye{
    width:24px!important;height:24px!important;min-width:24px!important;
    font-size:12px!important;align-self:start!important;margin-top:0!important;
  }
  .bb-task.bb-task-todo.done{padding-top:6px!important;padding-bottom:6px!important}
}

/* v4.9.55 — compact desktop/tablet task cards: keep metadata on one row */
@media(min-width:641px){
  .bb-workarea-column .bb-task.bb-task-todo{
    padding:8px 7px!important;
    min-height:0!important;
    gap:7px!important;
  }
  .bb-task.bb-task-todo .bb-todo-body{
    min-width:0!important;
    overflow:hidden!important;
    padding-top:0!important;
  }
  .bb-task.bb-task-todo .bb-inline-meta,
  .bb-task.bb-task-todo .bb-todo-meta{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-top:4px!important;
    padding:0 0 1px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    white-space:nowrap!important;
    overscroll-behavior-x:contain!important;
  }
  .bb-task.bb-task-todo .bb-inline-meta::-webkit-scrollbar,
  .bb-task.bb-task-todo .bb-todo-meta::-webkit-scrollbar{display:none!important}
  .bb-task.bb-task-todo .bb-inline-meta>button{
    flex:0 0 auto!important;
    height:21px!important;
    min-height:21px!important;
    min-width:18px!important;
    padding:0 3px!important;
    font-size:10.5px!important;
  }
  .bb-task.bb-task-todo .bb-inline-meta .bb-meta-icon{font-size:14px!important}
  .bb-task.bb-task-todo .bb-inline-meta>button:not(:first-child)::before{
    margin:0 4px!important;
  }
  .bb-task.bb-task-todo .bb-inline-task-name,
  .bb-task.bb-task-todo .bb-task-name{
    font-size:12.5px!important;
    line-height:1.28!important;
    margin:0!important;
  }
  .bb-task.bb-task-todo .bb-todo-eye{
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    font-size:12px!important;
  }
}

/* v4.9.56 — obvious desktop Work Area sliding controls */
.bb-board-scroll-dock{
  position:fixed!important;
  bottom:0!important;
  height:34px!important;
  display:none;
  align-items:center!important;
  gap:6px!important;
  padding:4px 6px!important;
  background:rgba(255,255,255,.97)!important;
  border-top:1px solid #cbd5e1!important;
  box-shadow:0 -3px 12px rgba(15,23,42,.10)!important;
  z-index:8500!important;
  box-sizing:border-box!important;
}
.bb-board-scroll-dock .bb-board-scroll-proxy{
  position:relative!important;
  left:auto!important;
  bottom:auto!important;
  width:auto!important;
  height:18px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  z-index:auto!important;
  display:block!important;
  scrollbar-width:thin!important;
  scrollbar-color:#8793a8 #edf1f6!important;
}
.bb-board-scroll-dock .bb-board-scroll-proxy::-webkit-scrollbar{height:10px!important}
.bb-board-scroll-dock .bb-board-scroll-proxy::-webkit-scrollbar-track{background:#edf1f6!important;border-radius:999px!important}
.bb-board-scroll-dock .bb-board-scroll-proxy::-webkit-scrollbar-thumb{background:#8793a8!important;border-radius:999px!important;border:2px solid #edf1f6!important}
.bb-board-scroll-dock .bb-board-scroll-proxy-inner{height:1px!important;min-height:1px!important;pointer-events:none!important}
.bb-board-slide-left,.bb-board-slide-right{
  width:28px!important;height:28px!important;min-width:28px!important;
  display:grid!important;place-items:center!important;
  padding:0!important;border:1px solid #cfd6e2!important;border-radius:8px!important;
  background:#fff!important;color:#344054!important;font-size:22px!important;line-height:1!important;
  cursor:pointer!important;box-shadow:0 1px 3px rgba(15,23,42,.06)!important;
}
.bb-board-slide-left:hover,.bb-board-slide-right:hover{background:#f4f6fa!important;border-color:#aeb8c7!important}
.bb-board-slide-left:disabled,.bb-board-slide-right:disabled{opacity:.28!important;cursor:default!important}
@media(max-width:900px){.bb-board-scroll-dock{display:none!important}}
@media (min-width:901px) and (max-width:1366px) and (orientation:portrait){.bb-board-scroll-dock{display:none!important}}

/* v4.9.57 — prominent persistent desktop card/work-area scroller + stable drag ghost */
@media (min-width:901px){
  .bb-board-scroll-dock{
    bottom:10px!important;
    height:48px!important;
    padding:7px 9px!important;
    gap:9px!important;
    border:1px solid #cbd5e1!important;
    border-radius:12px!important;
    box-shadow:0 -2px 16px rgba(15,23,42,.18)!important;
    background:#fff!important;
  }
  .bb-board-scroll-dock .bb-board-scroll-proxy{height:28px!important;background:#eef2f7!important;border-radius:999px!important;padding:0 3px!important}
  .bb-board-scroll-dock .bb-board-scroll-proxy::-webkit-scrollbar{height:18px!important}
  .bb-board-scroll-dock .bb-board-scroll-proxy::-webkit-scrollbar-track{background:#e5eaf1!important;border-radius:999px!important}
  .bb-board-scroll-dock .bb-board-scroll-proxy::-webkit-scrollbar-thumb{background:#64748b!important;border:3px solid #e5eaf1!important;border-radius:999px!important;min-width:90px!important}
  .bb-board-slide-left,.bb-board-slide-right{width:34px!important;height:34px!important;min-width:34px!important;font-size:26px!important;border-radius:10px!important}
  .bb-content,.bb-workspace-layout{padding-bottom:58px!important}
  .bb-task.bb-drag-ghost{box-sizing:border-box!important;max-width:none!important;min-width:0!important;overflow:hidden!important}
}


/* v4.9.58 — real persistent desktop Work Area slider */
@media (min-width:901px){
  .bb-board-scroll-dock{
    display:flex;
    position:fixed!important;
    left:0;
    right:0;
    bottom:12px!important;
    height:50px!important;
    align-items:center!important;
    gap:10px!important;
    padding:7px 10px!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid #b8c2d1!important;
    border-radius:13px!important;
    box-shadow:0 5px 22px rgba(15,23,42,.22)!important;
    z-index:9990!important;
  }
  .bb-board-scroll-range{
    -webkit-appearance:none;
    appearance:none;
    display:block!important;
    flex:1 1 auto!important;
    width:100%!important;
    min-width:120px!important;
    height:28px!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    cursor:ew-resize!important;
    opacity:1!important;
  }
  .bb-board-scroll-range::-webkit-slider-runnable-track{
    height:14px!important;
    background:#e2e8f0!important;
    border:1px solid #cbd5e1!important;
    border-radius:999px!important;
  }
  .bb-board-scroll-range::-webkit-slider-thumb{
    -webkit-appearance:none!important;
    appearance:none!important;
    width:110px!important;
    height:24px!important;
    margin-top:-6px!important;
    background:#526174!important;
    border:3px solid #f8fafc!important;
    border-radius:999px!important;
    box-shadow:0 1px 4px rgba(15,23,42,.25)!important;
  }
  .bb-board-scroll-range::-moz-range-track{
    height:14px!important;background:#e2e8f0!important;border:1px solid #cbd5e1!important;border-radius:999px!important;
  }
  .bb-board-scroll-range::-moz-range-thumb{
    width:110px!important;height:24px!important;background:#526174!important;border:3px solid #f8fafc!important;border-radius:999px!important;
  }
  .bb-board-scroll-range:disabled{opacity:.38!important;cursor:default!important}
  .bb-board-slide-left,.bb-board-slide-right{
    display:grid!important;width:36px!important;height:36px!important;min-width:36px!important;place-items:center!important;
    border:1px solid #b8c2d1!important;border-radius:10px!important;background:#fff!important;color:#26364d!important;
    font-size:27px!important;font-weight:700!important;box-shadow:0 1px 4px rgba(15,23,42,.08)!important;
  }
  .bb-content:has(.bb-board-scroll-dock){padding-bottom:72px!important}
  .bb-task.bb-drag-ghost{width:var(--drag-width,auto);min-width:0!important;max-width:none;contain:layout paint!important}
}
@media(max-width:900px){.bb-board-scroll-dock{display:none!important}}
@media (min-width:901px) and (max-width:1366px) and (orientation:portrait){.bb-board-scroll-dock{display:none!important}}


/* v4.9.59 — per-task Row 2 metadata slider; remove desktop board slider */
.bb-board-scroll-dock{display:none!important}
.bb-content:has(.bb-board-scroll-dock){padding-bottom:0!important}
.bb-task-meta-shell{min-width:0;width:100%;max-width:100%;display:block;position:relative}
.bb-task-meta-shell .bb-inline-meta{margin-bottom:0!important}
.bb-task-meta-slider{
  -webkit-appearance:none;
  appearance:none;
  display:block;
  width:100%;
  height:9px;
  margin:1px 0 0!important;
  padding:0!important;
  background:transparent!important;
  cursor:ew-resize;
  opacity:.82;
}
.bb-task-meta-slider[hidden]{display:none!important}
.bb-task-meta-slider::-webkit-slider-runnable-track{
  height:3px;
  background:#e4e9f1;
  border-radius:999px;
}
.bb-task-meta-slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:30px;
  height:7px;
  margin-top:-2px;
  border:0;
  border-radius:999px;
  background:var(--area-color,#7b8798);
  box-shadow:0 0 0 1px rgba(15,23,42,.08);
}
.bb-task-meta-slider::-moz-range-track{height:3px;background:#e4e9f1;border:0;border-radius:999px}
.bb-task-meta-slider::-moz-range-thumb{width:30px;height:7px;border:0;border-radius:999px;background:var(--area-color,#7b8798)}
.bb-task-meta-shell:not(.has-overflow) .bb-task-meta-slider{display:none!important}
@media(max-width:640px){
  .bb-task-meta-slider{height:8px;margin-top:0!important}
  .bb-task-meta-slider::-webkit-slider-thumb{width:26px;height:6px;margin-top:-1.5px}
  .bb-task-meta-slider::-moz-range-thumb{width:26px;height:6px}
}
/* v4.9.60 compact Quick Add icons matching task-card metadata */
.bb-quick-actions.bb-quick-actions-iconic{display:flex;align-items:center;gap:5px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-top:3px}
.bb-quick-actions.bb-quick-actions-iconic::-webkit-scrollbar{display:none}
.bb-quick-actions-iconic .bb-quick-action-toggle{height:30px;min-width:30px;padding:0 5px;border:0;background:transparent;border-radius:8px;color:#64748b;font-size:12px;font-weight:750;gap:3px;flex:0 0 auto}
.bb-quick-actions-iconic .bb-quick-action-toggle:hover,.bb-quick-actions-iconic .bb-quick-action-toggle.active{background:#f3f4f6;color:#111827}
.bb-quick-actions-iconic .bb-quick-icon{font-size:17px;line-height:1;display:inline-flex;align-items:center}
.bb-quick-actions-iconic .bb-quick-value{font-size:11px;line-height:1;white-space:nowrap;color:#475569}
.bb-quick-actions-iconic .bb-quick-action-toggle.has-value{background:#f8fafc}
.bb-quick-actions-iconic .bb-quick-more-toggle{font-size:17px;letter-spacing:1px}
.bb-quick-repeat-panel{max-width:220px}
.bb-workarea-add-unified.is-open svg{display:none!important}
.bb-workarea-add-unified.is-open::before{content:'×';font-size:29px;font-weight:400;line-height:1;color:currentColor}
@media(max-width:640px){
 .bb-quick-task-card{padding:7px 8px}
 .bb-quick-actions.bb-quick-actions-iconic{gap:3px;margin-top:2px}
 .bb-quick-actions-iconic .bb-quick-action-toggle{height:28px;min-width:28px;padding:0 3px}
 .bb-quick-actions-iconic .bb-quick-icon{font-size:16px}
 .bb-quick-actions-iconic .bb-quick-value{font-size:10.5px}
}


/* v4.9.62 — full sub-task wrapping and auto-expanding entry rows */
.bb-inline-subtask-pop .bb-inline-subtask-row{
  align-items:flex-start!important;
}
.bb-inline-subtask-pop .bb-inline-subtask-row>label{
  align-items:flex-start!important;
  min-width:0!important;
}
.bb-inline-subtask-pop .bb-inline-subtask-row>label span{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.35!important;
}
.bb-inline-subtask-pop .bb-subtask-drag,
.bb-inline-subtask-pop .bb-inline-subtask-row input[type=checkbox],
.bb-inline-subtask-pop .bb-inline-subtask-delete{
  flex:0 0 auto!important;
  align-self:flex-start!important;
}
.bb-inline-subtask-pop .bb-inline-subtask-delete{
  position:sticky!important;
  right:0!important;
}
.bb-inline-subtask-pop .bb-keep-new-subtask-row{
  align-items:flex-start!important;
}
.bb-inline-subtask-pop textarea.bb-keep-new-subtask{
  flex:1 1 auto!important;
  min-width:0!important;
  width:100%!important;
  min-height:34px!important;
  max-height:120px!important;
  resize:none!important;
  overflow-y:auto!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:7px 2px!important;
  margin:0!important;
  font:inherit!important;
  font-size:14px!important;
  line-height:1.35!important;
  color:#101828!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
@media(max-width:640px){
  .bb-inline-subtask-pop .bb-inline-subtask-row{padding:9px 8px!important}
  .bb-inline-subtask-pop .bb-inline-subtask-row>label span{font-size:14px!important;line-height:1.4!important}
  .bb-inline-subtask-pop .bb-subtask-drag{margin-top:1px!important}
  .bb-inline-subtask-pop .bb-inline-subtask-delete{margin-top:-2px!important}
}

/* v4.9.65 — stable mobile task drag preview */
.bb-task.bb-drag-ghost{
  margin:0!important;
  box-sizing:border-box!important;
  pointer-events:none!important;
  transform:none!important;
  overflow:hidden!important;
}
@media(max-width:900px){
  .bb-task.bb-drag-ghost{
    max-width:calc(100vw - 32px)!important;
    transition:none!important;
  }
  .bb-task.bb-drag-placeholder{
    opacity:.12!important;
    background:#fff!important;
    outline:2px dashed #f87171!important;
  }
}

/* v4.9.66 — recurring incomplete-occurrence policy */
.bb-recur-policy{padding-top:2px}
.bb-recur-policy .bb-custom-recur-title{padding:8px 10px 6px;font-size:11px;font-weight:800;color:#667085;text-transform:uppercase;letter-spacing:.04em}
.bb-recur-daily-note{margin:0 8px 8px;padding:9px 10px;border-radius:9px;background:#f5f7ff;color:#475467;font-size:11px;line-height:1.4}
.bb-overdue-policy-options .bb-inline-option span{display:flex;flex-direction:column;align-items:flex-start;gap:1px}
.bb-overdue-policy-options .bb-inline-option small{font-size:9px;color:#98a2b3;font-weight:700}
.bb-overdue-policy-options .bb-inline-option b{font-size:14px;color:#667085}


/* v4.9.67 — clean task cards with per-Work-Area task edit mode */
.bb-workarea-task-edit-toggle{
  width:28px;height:28px;min-width:28px;border:1px solid color-mix(in srgb,var(--area-color) 22%,#dfe4ec);
  border-radius:8px;background:#fff;color:#667085;display:grid;place-items:center;cursor:pointer;padding:0;
  transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease;
}
.bb-workarea-task-edit-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bb-workarea-task-edit-toggle:hover{background:#f8fafc;color:var(--area-color);transform:translateY(-1px)}
.bb-workarea-task-edit-toggle.active{background:color-mix(in srgb,var(--area-color) 11%,white);border-color:color-mix(in srgb,var(--area-color) 48%,#dfe4ec);color:var(--area-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--area-color) 10%,transparent)}

/* Existing tasks are display-first. Empty editing affordances are hidden until this Work Area enters edit mode. */
.bb-workarea-column:not(.bb-task-edit-mode) .bb-task.bb-task-todo .bb-inline-meta>button.is-empty{display:none!important}
.bb-workarea-column:not(.bb-task-edit-mode) .bb-task.bb-task-todo .bb-inline-meta>button{pointer-events:none!important;cursor:default!important;background:transparent!important}
.bb-workarea-column:not(.bb-task-edit-mode) .bb-task.bb-task-todo .bb-inline-meta>button::before{display:none!important}
.bb-workarea-column:not(.bb-task-edit-mode) .bb-task.bb-task-todo .bb-inline-meta{gap:7px!important}
.bb-workarea-column:not(.bb-task-edit-mode) .bb-task-meta-slider{display:none!important}

/* Edit mode reveals the full icon strip for every task in only that Work Area. */
.bb-workarea-column.bb-task-edit-mode .bb-task.bb-task-todo .bb-inline-meta>button{display:inline-flex!important;pointer-events:auto!important;cursor:pointer!important}
.bb-workarea-column.bb-task-edit-mode .bb-task.bb-task-todo{box-shadow:0 0 0 1px color-mix(in srgb,var(--area-color) 14%,transparent)}

/* Quick Add always exposes the same icon vocabulary as a task card. */
.bb-quick-actions-iconic{display:flex!important;align-items:center!important;gap:4px!important;flex-wrap:wrap!important}
.bb-quick-actions-iconic .bb-quick-action-toggle{min-width:30px!important;height:30px!important;padding:0 7px!important;border-radius:8px!important}
.bb-quick-actions-iconic .bb-quick-icon{font-size:16px!important;line-height:1!important}
.bb-quick-actions-iconic .bb-quick-priority{font-weight:850!important;font-size:15px!important;line-height:1!important;color:#7c8798}
.bb-quick-actions-iconic .bb-quick-action-toggle.has-value .bb-quick-priority{color:#d97706!important}
.bb-quick-actions-iconic .bb-quick-action-toggle.has-value{border-color:#cbd5e1!important;background:#f8fafc!important}
.bb-quick-actions-iconic .bb-quick-value{font-size:11px!important;font-weight:750!important}
.bb-quick-panel textarea[name="quick_remark"],.bb-quick-panel textarea[name="quick_subtasks"]{width:100%!important;resize:vertical!important;min-height:64px!important}
@media(max-width:640px){
  .bb-workarea-task-edit-toggle{width:28px!important;height:28px!important;min-width:28px!important}
  .bb-quick-actions-iconic{gap:3px!important}
  .bb-quick-actions-iconic .bb-quick-action-toggle{min-width:29px!important;height:29px!important;padding:0 6px!important}
}
/* v4.9.68 Owner long-press task actions */
.bb-task-action-sheet{width:min(420px,92vw);padding:6px 4px 4px}.bb-action-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.bb-action-sheet-head h3{margin:3px 0 0;font-size:18px}.bb-action-sheet-note{margin:0 0 8px;padding:8px 10px;border-radius:9px;background:#f8fafc;color:#64748b;font-size:12px}.bb-action-row{width:100%;display:flex;align-items:center;gap:12px;border:0;background:transparent;border-radius:10px;padding:11px 10px;text-align:left;cursor:pointer;color:#1f2937}.bb-action-row:hover{background:#f6f7f9}.bb-action-row>span{width:28px;font-size:19px;text-align:center}.bb-action-row div{display:flex;flex-direction:column;gap:2px}.bb-action-row b{font-size:14px}.bb-action-row small{font-size:11px;color:#6b7280}.bb-action-row.delete b,.bb-action-row.danger b{color:#b91c1c}.bb-action-row.danger{background:#fff7f7}.bb-action-row.archive b{color:#166534}

/* v4.9.70 Work Area hidden/archive controls */
.bb-workarea-hidden-toggle,.bb-workarea-hidden-manage{border:1px solid #dfe4ec;background:#fff;border-radius:8px;height:28px;min-width:28px;padding:0 6px;display:inline-flex;align-items:center;justify-content:center;gap:3px;cursor:pointer;color:#64748b}
.bb-workarea-hidden-toggle small{font-size:10px;font-weight:800}.bb-workarea-hidden-toggle.active{color:var(--area-color);border-color:var(--area-color);background:#f8fafc}
.bb-bucket-hidden{margin-top:10px;border-top:1px dashed #cbd5e1;padding-top:8px}.bb-bucket-hidden .bb-bucket-head{color:#64748b}
.bb-hidden-inline-list{display:flex;flex-direction:column;gap:6px}.bb-hidden-inline-task{display:flex;align-items:center;gap:8px;padding:8px;border:1px dashed #cbd5e1;border-radius:9px;background:#f8fafc;opacity:.88}.bb-hidden-inline-task>div{min-width:0;flex:1}.bb-hidden-inline-task b{display:block;font-size:12px;white-space:normal;overflow-wrap:anywhere}.bb-hidden-inline-task small{display:block;color:#64748b;font-size:10px;margin-top:2px}.bb-hidden-inline-task button,.bb-hidden-manage-row button{border:0;background:#eef2ff;color:#4338ca;border-radius:7px;padding:5px 7px;font-size:10px;font-weight:700;cursor:pointer}
.bb-hidden-select-all{display:flex;gap:8px;align-items:center;padding:8px 4px;font-weight:700}.bb-hidden-manage-list{max-height:52vh;overflow:auto;display:flex;flex-direction:column;gap:5px}.bb-hidden-manage-row{display:flex;align-items:center;gap:9px;border:1px solid #e5e7eb;border-radius:9px;padding:8px}.bb-hidden-manage-row>span{min-width:0;flex:1}.bb-hidden-manage-row b,.bb-hidden-manage-row small{display:block}.bb-hidden-manage-row small{color:#64748b;margin-top:2px}.bb-unarchive-selected{width:100%;margin-top:10px}


/* v4.9.71 — direct In Progress control below completion checkbox */
.bb-task-status-controls{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;width:21px;min-width:21px;padding-top:2px}
.bb-task-status-controls .bb-task-toggle{margin:0!important;flex:0 0 auto}
.bb-task-progress-toggle{width:16px;height:16px;min-width:16px;padding:0;border:1.7px solid #94a3b8;border-radius:50%;background:#fff;display:grid;place-items:center;cursor:pointer;line-height:1;transition:.15s ease;box-sizing:border-box}
.bb-task-progress-toggle span{width:6px;height:6px;border-radius:50%;background:transparent;display:block}
.bb-task-progress-toggle:hover,.bb-task-progress-toggle:focus-visible{border-color:#3b82f6;background:#eff6ff;outline:none}
.bb-task-progress-toggle.active{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 2px rgba(37,99,235,.08)}
.bb-task-progress-toggle.active span{background:#2563eb}
.bb-task-progress-toggle:disabled{opacity:.28;cursor:default;background:#f8fafc}
.bb-inprogress-pop{width:min(320px,calc(100vw - 20px))!important}
.bb-inprogress-form{display:flex;flex-direction:column;gap:10px;padding:10px 12px 12px}
.bb-inprogress-form textarea{width:100%;min-height:76px;resize:vertical;border:1px solid #d0d5dd;border-radius:9px;padding:9px 10px;font:inherit;box-sizing:border-box;outline:none}
.bb-inprogress-form textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.10)}
.bb-inprogress-submit{align-self:flex-end}
@media(max-width:900px){.bb-task-status-controls{width:21px;min-width:21px;gap:4px}.bb-task-progress-toggle{width:16px;height:16px;min-width:16px}}


/* v4.9.72 — simple responsive Task Activity (includes Sub Task activity) */
.bb-task-activity-view{width:min(980px,94vw);max-height:82vh;overflow:hidden;display:flex;flex-direction:column}
.bb-task-activity-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:4px 2px 12px;border-bottom:1px solid #e5e7eb}
.bb-task-activity-head h2{margin:3px 0 2px;font-size:20px;line-height:1.25}.bb-task-activity-head small{color:#64748b;font-size:11px}
.bb-activity-loading,.bb-task-activity-view>.bb-empty-mini{padding:24px;text-align:center;color:#64748b}
.bb-activity-table-wrap{overflow:auto;max-height:68vh;margin-top:10px;border:1px solid #e5e7eb;border-radius:10px}
.bb-task-activity-table{width:100%;border-collapse:collapse;table-layout:fixed;background:#fff}
.bb-task-activity-table th,.bb-task-activity-table td{padding:9px 10px;border-bottom:1px solid #eef0f3;text-align:left;vertical-align:top;font-size:12px;overflow-wrap:anywhere}
.bb-task-activity-table th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#475569;font-size:11px;text-transform:uppercase;letter-spacing:.035em}
.bb-task-activity-table th:nth-child(1),.bb-task-activity-table td:nth-child(1){width:22%}.bb-task-activity-table th:nth-child(2),.bb-task-activity-table td:nth-child(2){width:20%}.bb-task-activity-table th:nth-child(3),.bb-task-activity-table td:nth-child(3){width:40%}.bb-task-activity-table th:nth-child(4),.bb-task-activity-table td:nth-child(4){width:18%}
.bb-activity-status{font-weight:750;color:#334155}.bb-activity-cards{display:none}
@media(max-width:900px){
 .bb-task-activity-view{width:min(520px,94vw);max-height:84vh}.bb-activity-table-wrap{display:none}.bb-activity-cards{display:flex;flex-direction:column;gap:7px;overflow:auto;max-height:70vh;padding:9px 2px 2px}
 .bb-activity-card{border:1px solid #e5e7eb;border-radius:10px;background:#fff;padding:9px 10px;box-shadow:0 1px 2px rgba(15,23,42,.03)}
 .bb-activity-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.bb-activity-card-top strong{font-size:12px;color:#334155}.bb-activity-card-top time{font-size:10px;color:#64748b;white-space:nowrap}
 .bb-activity-card p{margin:6px 0 5px;font-size:12px;line-height:1.4;color:#1f2937;white-space:normal;overflow-wrap:anywhere}.bb-activity-card small{display:block;font-size:10px;font-weight:700;color:#64748b}
}

/* v4.9.75 — Task Update Activity only + centered mobile modal */
.bb-modal.bb-task-activity-modal{
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
}
.bb-modal.bb-task-activity-modal .bb-modal-card{
  width:min(760px,94vw)!important;
  max-height:86vh!important;
  border-radius:16px!important;
  animation:none!important;
  margin:auto!important;
}
@media(max-width:900px){
  .bb-modal.bb-task-activity-modal{
    align-items:center!important;
    justify-content:center!important;
    padding:12px!important;
  }
  .bb-modal.bb-task-activity-modal .bb-modal-card{
    width:min(500px,94vw)!important;
    max-height:84vh!important;
    border-radius:16px!important;
    margin:auto!important;
    animation:none!important;
  }
  .bb-task-activity-view{
    max-height:80vh!important;
  }
  .bb-activity-cards{
    max-height:66vh!important;
  }
}


/* v4.9.78 — compact modern Work Area form */
.bb-modal:has(.bb-work-area-compact) .bb-modal-card{width:min(760px,94vw)!important;max-height:88vh!important}
.bb-work-area-compact{padding:20px 22px 16px!important}
.bb-workarea-compact-head{display:flex;align-items:center;justify-content:space-between;padding:0 42px 12px 0;border-bottom:1px solid #edf0f4}
.bb-workarea-compact-head h2{margin:0!important;font-size:20px!important;line-height:1.2;color:#101828}
.bb-workarea-core{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(150px,.75fr) minmax(130px,.55fr);gap:10px;margin-top:14px;align-items:end}
.bb-work-area-compact .bb-field label{font-size:11px;margin-bottom:5px;color:#344054}
.bb-work-area-compact .bb-field input,.bb-work-area-compact .bb-field select{height:38px;padding:7px 10px;border-radius:9px}
.bb-workarea-color .bb-color-field.compact{height:38px;padding:4px 7px;border-radius:9px;gap:7px}
.bb-workarea-color .bb-color-field.compact input{width:28px!important;height:28px!important}
.bb-workarea-color .bb-color-field.compact span{font-size:10px;color:#667085}
.bb-workarea-sharing{margin-top:12px!important;padding:12px!important;border-radius:11px!important;background:#fbfcfe!important}
.bb-workarea-sharing .bb-section-title{margin-bottom:8px!important;align-items:center!important}
.bb-workarea-sharing .bb-section-title h3{margin:0!important;font-size:12px!important}
.bb-assignment-head-actions{display:flex;align-items:center;gap:6px}
.bb-workarea-new-user{width:32px!important;min-width:32px!important;flex-basis:32px!important;height:32px!important;border-radius:8px!important;font-size:19px!important}
.bb-workarea-sharing .bb-add-assignment{height:32px!important;padding:0 10px!important;font-size:10px!important;border-radius:8px!important}
.bb-assignment-editor.is-compact .bb-assignment-list{display:flex;flex-direction:column;gap:6px}
.bb-assignment-editor.is-compact .bb-assignment-row{grid-template-columns:minmax(150px,1fr) minmax(220px,1.25fr) 32px!important;gap:6px!important}
.bb-assignment-editor.is-compact .bb-assignment-row select{height:34px!important;padding:5px 8px!important;border-radius:8px!important;font-size:11px!important}
.bb-assignment-editor.is-compact .bb-remove-assignment{width:32px!important;height:32px!important;border-radius:8px!important}
.bb-workarea-actions{margin-top:12px!important;padding-top:12px;border-top:1px solid #edf0f4}
.bb-workarea-actions .bb-btn{min-height:36px;padding:0 14px;border-radius:9px}
@media(max-width:700px){
  .bb-modal:has(.bb-work-area-compact){align-items:center!important;padding:10px!important}
  .bb-modal:has(.bb-work-area-compact) .bb-modal-card{width:100%!important;max-height:90vh!important;border-radius:16px!important}
  .bb-work-area-compact{padding:16px 14px 12px!important}
  .bb-workarea-compact-head{padding-right:36px;padding-bottom:10px}
  .bb-workarea-compact-head h2{font-size:18px!important}
  .bb-workarea-core{grid-template-columns:1fr 1fr;gap:8px}
  .bb-workarea-core .bb-field:first-child{grid-column:1/-1}
  .bb-workarea-sharing{padding:10px!important;margin-top:10px!important}
  .bb-assignment-editor.is-compact .bb-assignment-row{grid-template-columns:1fr 32px!important}
  .bb-assignment-editor.is-compact .bb-assignment-row .bb-assignment-user,.bb-assignment-editor.is-compact .bb-assignment-row .bb-assignment-relation{grid-column:1/2!important}
  .bb-assignment-editor.is-compact .bb-assignment-row .bb-remove-assignment{grid-column:2/3!important;grid-row:1/3!important;align-self:center!important}
  .bb-workarea-actions{position:sticky;bottom:0;background:#fff;margin-left:-14px!important;margin-right:-14px!important;padding:10px 14px 0!important}
}
/* v4.9.80 workspace simplification */
.bb-compact-kpis{gap:8px!important}.bb-overdue-filter-chip{cursor:pointer;border:1px solid #ef4444!important;background:#fff!important;color:#b91c1c!important}.bb-overdue-filter-chip.active{background:#fee2e2!important;box-shadow:0 0 0 2px rgba(239,68,68,.12)}
.bb-col-head{min-height:46px!important;padding:7px 10px!important}.bb-column{min-width:300px!important}.bb-bucket{padding:8px 10px!important}.bb-bucket-head{margin:2px 0 7px!important}.bb-task{margin-bottom:6px!important}
.bb-area-drag-grip{border:0;background:transparent;cursor:grab;font-size:21px;line-height:1;color:#64748b;padding:3px 5px}.bb-area-drag-grip:active{cursor:grabbing;color:#334155}.bb-area-collapse{width:28px;height:28px;border:1px solid #d8dee9;background:#fff;border-radius:8px;font-size:18px;line-height:1;cursor:pointer}.bb-area-contracted>.bb-bucket,.bb-area-contracted>.bb-more-upcoming{display:none!important}.bb-area-contracted{min-width:220px!important;width:220px!important}
.bb-area-move-controls{display:none!important}.bb-insert-area-between{align-self:flex-start;margin:18px -4px 0;border:1px dashed #94a3b8;background:#fff;border-radius:999px;width:28px;height:28px;min-width:28px;cursor:pointer;z-index:3;color:#475569}.bb-insert-area-between:hover{border-color:#4f46e5;color:#4f46e5;background:#eef2ff}
.bb-board{gap:8px!important}.bb-board-scroll{padding-bottom:58px!important}.bb-board-scroll-proxy{position:fixed!important;bottom:8px!important;z-index:900!important}
.bb-task-drag-handle,.bb-task-grip{color:#94a3b8!important;background:transparent!important}.bb-task.is-dragging .bb-task-drag-handle,.bb-task.is-dragging .bb-task-grip{color:#334155!important}
.bb-summary-shell{max-width:900px;margin:0 auto}.bb-summary-head{margin-bottom:12px}.bb-summary-head h2{margin:0}.bb-summary-list{display:grid;gap:8px}.bb-summary-workspace{display:grid;grid-template-columns:minmax(180px,1fr) 140px 140px;align-items:center;text-align:left;border:1px solid #e2e8f0;background:#fff;border-radius:12px;padding:12px 16px;cursor:pointer}.bb-summary-workspace>span{display:flex;align-items:center;gap:8px}.bb-summary-workspace b{font-size:20px}.bb-summary-workspace small{color:#64748b}.bb-link-btn{border:0;background:transparent;padding:0;font-weight:700;cursor:pointer;color:#3730a3}
@media(max-width:700px){.bb-summary-workspace{grid-template-columns:1fr 1fr}.bb-summary-workspace>strong{grid-column:1/-1}.bb-insert-area-between{display:none}.bb-column{min-width:calc(100vw - 36px)!important}.bb-col-head{min-height:44px!important}.bb-board-scroll-proxy{bottom:4px!important}}

/* v4.9.81 overdue filter compaction */
.bb-overdue-only-active .bb-workarea-score-row,.bb-overdue-only-active .bb-mobile-area-tabs{gap:8px!important}
.bb-overdue-only-active .bb-board{justify-content:flex-start!important}


/* v4.9.86 — quick return to the top of a long Workspace */
.bb-workspace-to-top{
  position:fixed;
  right:20px;
  bottom:34px;
  width:42px;
  height:42px;
  border:1px solid #cbd5e1;
  border-radius:50%;
  background:linear-gradient(135deg,#4f46e5,#7c3aed);
  color:#fff;
  border-color:#4338ca;
  box-shadow:0 7px 20px rgba(79,70,229,.32);
  display:grid;
  place-items:center;
  font-size:22px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  z-index:8600;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease,box-shadow .16s ease;
}
.bb-workspace-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.bb-workspace-to-top:hover{box-shadow:0 9px 26px rgba(79,70,229,.42);transform:translateY(-2px) scale(1.03)}
.bb-workspace-to-top:focus-visible{outline:3px solid rgba(79,70,229,.25);outline-offset:2px}
@media(max-width:900px){
  .bb-workspace-to-top{right:14px;bottom:18px;width:46px;height:46px;font-size:24px}
}

/* v4.9.87 — working Work Area drag grip + stronger Back-to-Top affordance */
.bb-area-drag-grip{touch-action:none;user-select:none;-webkit-user-select:none;color:#64748b!important}
.bb-area-drag-grip:hover{color:var(--area-color,#4f46e5)!important;background:color-mix(in srgb,var(--area-color,#4f46e5) 9%,white)!important;border-radius:7px}
.bb-workarea-column.bb-dragging{opacity:.72;outline:2px dashed var(--area-color,#4f46e5);outline-offset:2px}
body.bb-sort-active{cursor:grabbing}


/* v4.9.90 — spreadsheet-style temporary Work Area width resizing */
.bb-area-collapse{display:none!important}
.bb-workarea-column{position:relative}
.bb-workarea-resize-handle{
  position:absolute;
  top:48px;
  right:-5px;
  bottom:0;
  width:10px;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  cursor:col-resize;
  z-index:35;
  touch-action:none;
}
.bb-workarea-resize-handle::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:4px;
  width:2px;
  border-radius:2px;
  background:transparent;
  transition:background .12s ease;
}
.bb-workarea-resize-handle:hover::after,.bb-workarea-column.bb-resizing>.bb-workarea-resize-handle::after{
  background:color-mix(in srgb,var(--area-color,#4f46e5) 70%,#fff);
}
.bb-workarea-column.bb-resizing{user-select:none!important;transition:none!important}
body.bb-workarea-resize-active,body.bb-workarea-resize-active *{cursor:col-resize!important}
@media(max-width:900px){.bb-workarea-resize-handle{display:none!important}}

/* v4.9.91 — post 4.9.90 feature pack */
.bb-completed-filter-chip{cursor:pointer;border:1px solid #16a34a!important;background:#fff!important;color:#15803d!important}
.bb-completed-filter-chip.active{background:#dcfce7!important;box-shadow:0 0 0 2px rgba(22,163,74,.12)!important}
.bb-searchable-filter .bb-multi-menu{min-width:230px;max-height:300px;overflow:auto}
.bb-filter-search-input{position:sticky;top:0;z-index:2;width:100%;box-sizing:border-box;margin:0 0 7px;padding:8px 10px;border:1px solid #d8dee9;border-radius:8px;background:#fff;font-size:11px}
.bb-export-visible{font-size:10px!important;font-weight:800!important;width:auto!important;padding:0 9px!important}
.bb-completed-select-wrap{display:grid;grid-template-columns:22px minmax(0,1fr);gap:3px;align-items:start}
.bb-completed-select-wrap>.bb-completed-select{margin:12px 0 0 4px;width:15px;height:15px;accent-color:#16a34a}
.bb-completed-select-wrap>.bb-task{min-width:0}
.bb-completed-select-area-wrap{display:none;align-items:center;gap:4px;font-size:9px;text-transform:none;letter-spacing:0;color:#15803d;font-weight:700}
.bb-completed-only-active .bb-completed-select-area-wrap{display:flex}
.bb-completed-only-active .bb-bucket-completed{margin-top:0!important}
.bb-completed-only-active .bb-bucket-completed .bb-task-list{display:block!important}
.bb-completed-bulkbar{position:sticky;top:62px;z-index:80;display:flex;align-items:center;gap:10px;padding:8px 12px;margin:0 0 8px;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:10px;box-shadow:0 4px 12px rgba(21,128,61,.08)}
.bb-completed-bulkbar[hidden]{display:none!important}.bb-completed-bulkbar label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700}.bb-completed-selected-count{font-size:11px;color:#475569;margin-right:auto}
.bb-workarea-template-save,.bb-workarea-delete{width:28px;height:28px;border:1px solid #d8dee9;background:#fff;border-radius:8px;display:grid;place-items:center;cursor:pointer;font-size:13px;padding:0}.bb-workarea-template-save:hover{border-color:#6366f1;color:#4f46e5}.bb-workarea-delete:hover{border-color:#ef4444;color:#dc2626;background:#fff5f5}
.bb-activity-filters{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:7px;margin-bottom:10px}.bb-activity-filters input,.bb-activity-filters select{height:36px;border:1px solid #d8dee9;border-radius:8px;padding:6px 8px;background:#fff;font-size:11px}.bb-activity-register{padding:12px!important}
.bb-board-scroll-dock{display:flex!important;position:fixed!important;left:calc(var(--bb-sidebar-width,250px) + 18px);right:18px;bottom:8px;height:34px;align-items:center;gap:8px;padding:4px 7px;border:1px solid #cbd5e1;border-radius:999px;background:rgba(255,255,255,.96);box-shadow:0 6px 20px rgba(15,23,42,.16);z-index:8500!important;backdrop-filter:blur(6px)}
.bb-board-scroll-dock .bb-board-scroll-range{display:block!important;flex:1;min-width:0;accent-color:#4f46e5}.bb-board-scroll-dock .bb-board-slide-left,.bb-board-scroll-dock .bb-board-slide-right{width:28px;height:28px;border:0;border-radius:50%;background:#eef2ff;color:#4338ca;font-size:20px;line-height:1;cursor:pointer}.bb-board-scroll-dock button:disabled{opacity:.35;cursor:default}
.bb-workspace-active .bb-content{padding-bottom:62px!important}.bb-workspace-to-top{bottom:50px!important}
@media(max-width:900px), (min-width:901px) and (max-width:1366px) and (orientation:portrait){.bb-board-scroll-dock{display:none!important}.bb-activity-filters{grid-template-columns:1fr 1fr}.bb-completed-bulkbar{top:54px;flex-wrap:wrap}}

/* v4.9.91 completed-mode selection and template copy polish */
.bb-completed-select-wrap{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
.bb-completed-select{display:none!important}
.bb-completed-only-active .bb-completed-select-wrap{grid-template-columns:22px minmax(0,1fr)!important;gap:3px!important}
.bb-completed-only-active .bb-completed-select{display:block!important}
.bb-filter-hidden-wrap{display:none!important}
.bb-template-copy-options{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:8px 10px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc}
.bb-template-copy-options label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:650;color:#475569}
@media(max-width:700px){.bb-template-copy-options{gap:10px}}


/* v4.9.92 — keep the active sub-task input visible above the mobile keyboard */
.bb-inline-subtask-pop .bb-keep-new-subtask-row:focus-within{
  position:relative;
  z-index:3;
  background:#fff!important;
}
@media(max-width:900px){
  .bb-inline-subtask-pop{
    max-height:min(52dvh,430px)!important;
    overscroll-behavior:contain!important;
    scroll-behavior:auto!important;
  }
  .bb-inline-subtask-pop textarea.bb-keep-new-subtask{
    scroll-margin-top:64px!important;
    scroll-margin-bottom:18px!important;
  }
}

/* v4.9.93 — global filter-bar overflow fix (desktop/tablet/mobile)
   Four flexible filters + two compact actions. This intentionally overrides
   legacy fixed 120/132/145px rules so Labels can never be clipped. */
.bb-workspace-toolbar{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.bb-workspace-toolbar .bb-compact-filters{
  min-width:0!important;max-width:100%!important;width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(105px,1fr)) 42px 42px!important;
  gap:6px!important;align-items:center!important;overflow:visible!important;
  box-sizing:border-box!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter{
  width:100%!important;min-width:0!important;max-width:none!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter>summary{
  width:100%!important;min-width:0!important;max-width:100%!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn{
  width:42px!important;min-width:42px!important;max-width:42px!important;
  justify-self:center!important;padding:0!important;
}
/* Keep dropdown menus usable even though their trigger columns can shrink. */
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter .bb-multi-menu{
  min-width:180px!important;max-width:min(300px,calc(100vw - 28px))!important;
}
@media (max-width:1100px){
  .bb-workspace-toolbar .bb-compact-filters{
    grid-template-columns:repeat(2,minmax(0,1fr)) 42px 42px!important;
  }
}
@media (max-width:640px){
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;gap:6px!important;
  }
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter{
    width:100%!important;min-width:0!important;max-width:none!important;
  }
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-icon-btn{
    width:100%!important;min-width:0!important;max-width:none!important;height:34px!important;
  }
}


/* v4.9.94 — clean responsive filter grid on every Workspace view
   Desktop: 4 filters + 2 compact actions.
   Narrow/tablet/mobile: 2 filters per row; compact action icons on row 3. */
.bb-workspace-toolbar .bb-compact-filters>.bb-export-visible svg{
  width:17px!important;height:17px!important;display:block!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-export-visible,
.bb-workspace-toolbar .bb-compact-filters>.bb-clear-filters{
  font-size:16px!important;line-height:1!important;
}
@media (min-width:1101px){
  .bb-workspace-toolbar .bb-compact-filters{
    grid-template-columns:repeat(4,minmax(120px,1fr)) 34px 34px!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn{
    width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;
  }
}
@media (max-width:1100px){
  .bb-workspace-toolbar .bb-compact-filters,
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;max-width:100%!important;gap:7px!important;
    overflow:visible!important;box-sizing:border-box!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter{
    width:100%!important;min-width:0!important;max-width:none!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter>summary,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter>summary{
    width:100%!important;min-width:0!important;height:34px!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-icon-btn{
    width:36px!important;min-width:36px!important;max-width:36px!important;height:34px!important;
    padding:0!important;justify-self:center!important;
  }
}
@media (max-width:900px){
  .bb-workspace-toolbar .bb-compact-filters{
    padding:7px!important;background:#fafbff!important;
    border:1px solid #e4e7f0!important;border-radius:10px!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter>summary{
    font-size:11px!important;padding-left:10px!important;
  }
}


/* v4.9.95 — cleaner, lightly colour-coded Workspace filters */
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter:nth-of-type(1)>summary{
  background:#eef6ff!important;border-color:#9fc9f3!important;color:#174f86!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter:nth-of-type(2)>summary{
  background:#fff7e8!important;border-color:#edc77d!important;color:#7a5200!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter:nth-of-type(3)>summary{
  background:#eefaf3!important;border-color:#9bd4b1!important;color:#176b3a!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter:nth-of-type(4)>summary{
  background:#f5efff!important;border-color:#c4a7ee!important;color:#61369b!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter>summary:hover{
  filter:brightness(.985);
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter[open]>summary{
  box-shadow:0 0 0 2px rgba(70,79,190,.10)!important;
}


/* v4.9.96 — responsive filter actions + safe Labels dropdown
   On narrow/tablet/mobile widths: 2 filters per row, with Excel + Reset
   grouped together directly below the Labels side. The Labels menu opens
   inward so it never runs outside the viewport. */
@media (max-width:1200px){
  .bb-workspace-toolbar .bb-compact-filters,
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter{
    grid-column:span 2!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-export-visible,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-export-visible{
    grid-column:3!important;
    width:36px!important;min-width:36px!important;max-width:36px!important;height:34px!important;
    justify-self:end!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-clear-filters,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-clear-filters{
    grid-column:4!important;
    width:36px!important;min-width:36px!important;max-width:36px!important;height:34px!important;
    justify-self:start!important;
    margin-left:0!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter:nth-of-type(4) .bb-multi-menu,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter:nth-of-type(4) .bb-multi-menu{
    left:auto!important;
    right:0!important;
    width:max-content!important;
    min-width:210px!important;
    max-width:min(280px,calc(100vw - 28px))!important;
  }
}
@media (max-width:640px){
  .bb-workspace-toolbar .bb-compact-filters,
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter>summary,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter>summary{
    font-size:11px!important;
    padding-left:10px!important;
    padding-right:25px!important;
  }
}


/* v4.9.99 — clearer Work Area action icons */
.bb-workarea-template-save,.bb-workarea-delete{font-size:0!important;transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.bb-workarea-template-save svg,.bb-workarea-delete svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bb-workarea-template-save{color:#2563eb!important;background:#eff6ff!important;border-color:#bfdbfe!important}
.bb-workarea-template-save:hover{color:#1d4ed8!important;background:#dbeafe!important;border-color:#93c5fd!important;box-shadow:0 2px 8px rgba(37,99,235,.14);transform:translateY(-1px)}
.bb-workarea-delete{color:#dc2626!important;background:#fff5f5!important;border-color:#fecaca!important}
.bb-workarea-delete:hover{color:#b91c1c!important;background:#fee2e2!important;border-color:#fca5a5!important;box-shadow:0 2px 8px rgba(220,38,38,.14);transform:translateY(-1px)}

/* v4.10.1: reliable mobile Quick Add tap target */
.bb-quick-task-add{touch-action:manipulation;-webkit-tap-highlight-color:transparent;position:relative;z-index:2}


/* v4.10.6 — polished Excel export action */
.bb-workspace-toolbar .bb-compact-filters>.bb-export-visible{
  color:#137a45!important;
  background:linear-gradient(180deg,#f2fff7 0%,#e6f8ee 100%)!important;
  border-color:#8fd0aa!important;
  box-shadow:0 1px 2px rgba(18,122,69,.10)!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-export-visible:hover{
  color:#0e6136!important;
  background:#dcf5e7!important;
  border-color:#62b887!important;
  transform:translateY(-1px);
}
.bb-workspace-toolbar .bb-compact-filters>.bb-export-visible:active{transform:translateY(0);box-shadow:none!important}
.bb-workspace-toolbar .bb-compact-filters>.bb-export-visible svg{
  width:18px!important;height:18px!important;stroke-width:1.65!important;
}

/* v4.10.7 — clearer separation between Overdue and Completed KPI chips */
.bb-workspace-toolbar .bb-compact-kpis{gap:12px!important;}
@media(max-width:700px){.bb-workspace-toolbar .bb-compact-kpis{gap:10px!important;}}
/* v4.10.8 task notification opt-in */
.bb-quick-notify-row{display:flex!important;align-items:center;gap:9px;font-weight:700}
.bb-quick-notify-row input{width:18px;height:18px;accent-color:#4f46e5}
.bb-quick-panel[data-panel="notify"] small{display:block;margin-top:6px;color:#64748b;line-height:1.35}

/* v4.10.10 Meta WhatsApp approval templates */
.bb-meta-template-list{display:grid;gap:12px;margin:12px 0}.bb-meta-template{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#fff}.bb-meta-template label{display:block;font-weight:600}.bb-meta-template input{width:100%;margin-top:6px}.bb-template-copy{margin-top:8px;padding:10px 12px;border-radius:9px;background:#f8fafc;border-left:3px solid #25d366;font-size:13px;line-height:1.55;color:#334155}

/* v4.10.11 WhatsApp per-event controls */
.bb-meta-event-toggle{margin:0 0 10px;padding:8px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb}.bb-meta-event-toggle strong{font-size:13px}.bb-meta-event-toggle small{display:block;color:#64748b;margin-top:2px}
\n\n/* v4.10.12 — Todoist-style inline sub tasks */\n.bb-task.bb-task-todo{grid-template-rows:auto auto!important}\n.bb-task-side-actions{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;align-self:stretch;padding-top:1px}\n.bb-task-side-actions .bb-todo-eye{position:static!important;margin:0!important}\n.bb-card-subtasks-toggle{width:24px;height:24px;border:0!important;border-radius:7px!important;background:transparent!important;color:#98a2b3!important;display:grid!important;place-items:center!important;padding:4px!important;cursor:pointer}\n.bb-card-subtasks-toggle:hover{background:#f2f4f7!important;color:#475467!important}\n.bb-card-subtasks-toggle.active{background:#eef4ff!important;color:#4f46e5!important}\n.bb-card-subtasks-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}\n.bb-card-subtasks{display:none;grid-column:3 / 5;margin:2px 0 2px 8px;padding:3px 0 0 14px;border-left:1px solid #e4e7ec;min-width:0}\n.bb-card-subtasks.is-open{display:block}\n.bb-card-subtask-row{display:flex;align-items:flex-start;gap:7px;min-width:0;padding:4px 4px 4px 0;margin:0;color:#475467;font-size:11.5px;line-height:1.35;cursor:pointer}\n.bb-card-subtask-row input{width:15px;height:15px;min-width:15px;margin:0.5px 0 0;accent-color:#4f46e5}\n.bb-card-subtask-row span{min-width:0;overflow-wrap:anywhere}\n.bb-card-subtask-row.done span{text-decoration:line-through;color:#98a2b3}\n@media(max-width:900px){.bb-card-subtasks{grid-column:3 / 5;margin-left:5px;padding-left:11px}.bb-card-subtask-row{font-size:10.5px}.bb-task-side-actions{gap:3px}.bb-card-subtasks-toggle{width:24px;height:24px}}\n

/* v4.10.13 — polished Todoist-style inline sub tasks + proper hierarchy action */
.bb-task.bb-task-todo{grid-template-rows:auto auto!important;row-gap:0!important}
.bb-task-side-actions{
  grid-column:4!important;grid-row:1!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
  gap:2px!important;align-self:start!important;padding-top:0!important;min-width:24px!important;
}
.bb-task-side-actions .bb-todo-eye{
  position:static!important;margin:0!important;width:24px!important;height:24px!important;min-width:24px!important;
  border:0!important;background:transparent!important;color:#667085!important;opacity:.78!important;
}
.bb-card-subtasks-toggle{
  -webkit-appearance:none!important;appearance:none!important;
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  margin:0!important;padding:4px!important;border:0!important;outline:0!important;box-shadow:none!important;
  border-radius:6px!important;background:transparent!important;color:#667085!important;
  display:grid!important;place-items:center!important;cursor:pointer!important;opacity:.8!important;
}
.bb-card-subtasks-toggle:hover,.bb-card-subtasks-toggle:focus-visible{
  background:#f2f4f7!important;color:#4f46e5!important;opacity:1!important;
}
.bb-card-subtasks-toggle.active{
  background:#eef2ff!important;color:#4f46e5!important;opacity:1!important;
}
.bb-card-subtasks-toggle svg{
  display:block!important;width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important;
}
.bb-card-subtasks{
  display:none!important;grid-column:3 / 4!important;grid-row:2!important;
  width:auto!important;min-width:0!important;margin:4px 0 0 10px!important;padding:0!important;
  border:0!important;background:transparent!important;
}
.bb-card-subtasks.is-open{display:block!important}
.bb-card-subtask-row{
  position:relative!important;display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;
  align-items:start!important;gap:7px!important;width:100%!important;min-width:0!important;
  margin:0!important;padding:4px 0 4px 13px!important;border:0!important;background:transparent!important;
  color:#475467!important;font-size:11px!important;font-weight:500!important;line-height:1.35!important;cursor:pointer!important;
}
.bb-card-subtask-row::before{
  content:'';position:absolute;left:0;top:0;width:8px;height:11px;
  border-left:1px solid #d0d5dd;border-bottom:1px solid #d0d5dd;border-bottom-left-radius:5px;
}
.bb-card-subtask-row input{
  -webkit-appearance:auto!important;appearance:auto!important;width:15px!important;height:15px!important;min-width:15px!important;
  margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;accent-color:#4f46e5!important;
}
.bb-card-subtask-row span{
  display:block!important;min-width:0!important;color:inherit!important;overflow-wrap:anywhere!important;word-break:normal!important;
  white-space:normal!important;
}
.bb-card-subtask-row.done span{text-decoration:line-through!important;color:#98a2b3!important}
@media(max-width:900px){
  .bb-card-subtasks{grid-column:3 / 4!important;margin:4px 0 0 8px!important}
  .bb-card-subtask-row{font-size:10.5px!important;padding-left:12px!important;gap:6px!important}
  .bb-task-side-actions{gap:1px!important}
  .bb-card-subtasks-toggle,.bb-task-side-actions .bb-todo-eye{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}
  .bb-card-subtasks-toggle svg{width:15px!important;height:15px!important}
}

/* v4.10.14 — quick add another sub task directly from expanded card */
.bb-card-subtask-add{
  display:flex!important;align-items:center!important;gap:6px!important;
  margin:3px 0 1px 28px!important;padding:2px 5px!important;
  width:max-content!important;min-width:0!important;min-height:24px!important;
  border:0!important;background:transparent!important;color:#5145cd!important;
  font-size:12px!important;font-weight:700!important;cursor:pointer!important;
  border-radius:7px!important;box-shadow:none!important;
}
.bb-card-subtask-add:hover,.bb-card-subtask-add:focus{background:#f3f0ff!important;outline:none!important}
.bb-card-subtask-add>span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:18px!important;height:18px!important;border-radius:50%!important;
  background:#eeebff!important;color:#5145cd!important;font-size:16px!important;line-height:18px!important;font-weight:700!important;
}
.bb-card-subtask-add small{font-size:11px!important;font-weight:700!important;line-height:1!important}
.bb-card-subtask-add-row{
  display:grid!important;grid-template-columns:14px minmax(0,1fr) 24px 24px!important;
  align-items:center!important;gap:4px!important;margin:4px 4px 2px 24px!important;
}
.bb-card-subtask-branch{color:#a4a7ae!important;font-size:14px!important;text-align:center!important}
.bb-card-subtask-input{
  width:100%!important;min-width:0!important;height:29px!important;box-sizing:border-box!important;
  border:1px solid #d7d9e8!important;border-radius:7px!important;padding:4px 8px!important;
  background:#fff!important;color:#101828!important;font-size:12px!important;line-height:1.2!important;outline:none!important;
}
.bb-card-subtask-input:focus{border-color:#7c6cff!important;box-shadow:0 0 0 2px rgba(124,108,255,.11)!important}
.bb-card-subtask-add-save,.bb-card-subtask-add-cancel{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;padding:0!important;
  border:0!important;border-radius:6px!important;background:#eeebff!important;color:#5145cd!important;
  font-size:16px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;
}
.bb-card-subtask-add-cancel{background:#f2f4f7!important;color:#667085!important;font-size:15px!important}
.bb-card-subtask-add-save:hover{background:#ded7ff!important}.bb-card-subtask-add-cancel:hover{background:#e4e7ec!important}
@media(max-width:640px){
  .bb-card-subtask-add{margin-left:25px!important}
  .bb-card-subtask-add-row{margin-left:20px!important;grid-template-columns:12px minmax(0,1fr) 24px 24px!important}
  .bb-card-subtask-input{font-size:13px!important;height:31px!important}
}


/* v4.10.15 — cleaner Todoist-style inline subtask add */
.bb-card-subtask-add{
  margin:4px 0 0 22px!important;
  padding:0!important;
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  display:inline-grid!important;place-items:center!important;
  border-radius:50%!important;background:#f0edff!important;color:#5b4bd8!important;
}
.bb-card-subtask-add.is-hidden{display:none!important}
.bb-card-subtask-add small{display:none!important}
.bb-card-subtask-add>span{
  width:auto!important;height:auto!important;background:transparent!important;
  font-size:17px!important;line-height:1!important;
}
.bb-card-subtask-add-row{
  display:grid!important;
  grid-template-columns:12px minmax(0,1fr) 24px 24px!important;
  align-items:center!important;gap:5px!important;
  width:calc(100% - 10px)!important;box-sizing:border-box!important;
  margin:4px 0 2px 8px!important;
}
.bb-card-subtask-input{
  width:100%!important;min-width:0!important;height:30px!important;
  padding:4px 8px!important;font-size:12px!important;
}
.bb-card-subtask-add-save,.bb-card-subtask-add-cancel{
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
}
@media(max-width:640px){
  .bb-card-subtask-add{margin-left:20px!important}
  .bb-card-subtask-add-row{margin-left:4px!important;width:calc(100% - 4px)!important;grid-template-columns:10px minmax(0,1fr) 24px 24px!important}
  .bb-card-subtask-input{height:30px!important;font-size:12px!important}
}
\n\n/* v4.10.16 — Todoist-style inline subtask list */
.bb-card-subtasks{
  margin-top:6px!important;
  padding:0 0 0 18px!important;
  border-left:0!important;
}
.bb-card-subtask-row{
  display:grid!important;
  grid-template-columns:16px 16px minmax(0,1fr)!important;
  align-items:center!important;
  gap:7px!important;
  min-height:27px!important;
  padding:3px 2px!important;
  margin:0!important;
  border-bottom:1px solid #f2f4f7!important;
  color:#344054!important;
  font-size:11.5px!important;
  line-height:1.35!important;
}
.bb-card-subtask-row:last-of-type{border-bottom:0!important}
.bb-card-subtask-drag{
  color:#98a2b3!important;
  font-size:15px!important;
  line-height:1!important;
  cursor:grab!important;
  user-select:none!important;
  touch-action:none!important;
  text-align:center!important;
}
.bb-card-subtask-drag:active{cursor:grabbing!important;color:#667085!important}
.bb-card-subtask-drag-muted{opacity:.28!important;cursor:default!important}
.bb-card-subtask-row input[type=checkbox]{
  width:15px!important;height:15px!important;min-width:15px!important;margin:0!important;
  accent-color:#4f46e5!important;
}
.bb-card-subtask-text{min-width:0!important;overflow-wrap:anywhere!important}
.bb-card-subtask-row.done .bb-card-subtask-text{text-decoration:line-through!important;color:#98a2b3!important}
.bb-card-subtask-add{
  width:100%!important;height:28px!important;min-height:28px!important;margin:2px 0 0!important;padding:3px 2px!important;
  display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;
  border:0!important;border-radius:5px!important;background:transparent!important;color:#667085!important;text-align:left!important;
}
.bb-card-subtask-add:hover{background:#f8f9fb!important;color:#475467!important}
.bb-card-subtask-add>span{font-size:20px!important;font-weight:400!important;line-height:1!important;text-align:center!important;color:#667085!important}
.bb-card-subtask-add small{display:block!important;font-size:11.5px!important;font-weight:500!important;color:inherit!important}
.bb-card-subtask-add.is-hidden{display:none!important}
.bb-card-subtask-add-row{
  display:grid!important;
  grid-template-columns:16px 16px minmax(0,1fr) 22px!important;
  align-items:center!important;gap:7px!important;
  width:100%!important;box-sizing:border-box!important;margin:2px 0 0!important;padding:3px 2px!important;
  border-top:1px solid #f2f4f7!important;
}
.bb-card-subtask-empty-check{width:15px!important;height:15px!important;border:1.5px solid #98a2b3!important;border-radius:2px!important;box-sizing:border-box!important}
.bb-card-subtask-input{
  width:100%!important;min-width:0!important;height:26px!important;padding:2px 4px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#101828!important;font-size:11.5px!important;line-height:1.35!important;outline:none!important;
}
.bb-card-subtask-input:focus{border:0!important;box-shadow:none!important;outline:none!important}
.bb-card-subtask-add-save{display:none!important}
.bb-card-subtask-add-cancel{
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:0!important;
  border:0!important;border-radius:4px!important;background:transparent!important;color:#344054!important;font-size:20px!important;font-weight:400!important;
}
.bb-card-subtask-add-cancel:hover{background:#f2f4f7!important}
.bb-card-subtask-placeholder{opacity:.25!important}
.bb-card-subtask-drag-ghost{background:#fff!important;border:1px solid #d0d5dd!important;border-radius:5px!important;box-shadow:0 6px 18px rgba(16,24,40,.12)!important}
@media(max-width:640px){
  .bb-card-subtasks{padding-left:14px!important}
  .bb-card-subtask-row,.bb-card-subtask-add,.bb-card-subtask-add-row{font-size:11px!important}
  .bb-card-subtask-add small,.bb-card-subtask-input{font-size:11px!important}
}


/* v4.10.17 — continuous Todoist-style subtask entry */
.bb-card-subtask-add{
  width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;
  display:grid!important;grid-template-columns:1fr!important;place-items:center!important;
  margin:2px 0 0 0!important;padding:0!important;border-radius:5px!important;
}
.bb-card-subtask-add small{display:none!important}
.bb-card-subtask-add>span{font-size:20px!important;font-weight:400!important;color:#667085!important}
.bb-card-subtask-input::placeholder{color:transparent!important}

/* v4.10.18 — smoother Todoist-style inline editing */
.bb-card-subtask-text{cursor:text!important;border-radius:4px!important;padding:2px 3px!important;margin:-2px -3px!important;transition:background .12s ease!important}
.bb-card-subtask-text:hover{background:#f7f7fb!important}
.bb-card-subtask-row.is-editing{background:#fafaff!important}
.bb-card-subtask-edit-input{min-width:0!important;width:100%!important;height:26px!important;border:0!important;border-bottom:1px solid #c7c2ff!important;background:transparent!important;outline:none!important;box-shadow:none!important;font:inherit!important;color:#101828!important;padding:2px 3px!important;margin:-2px -3px!important}
.bb-card-subtask-row.done .bb-card-subtask-edit-input{text-decoration:none!important;color:#344054!important}
.bb-card-subtask-add-row{scroll-margin-bottom:18px!important}
.bb-card-subtasks{scroll-behavior:smooth!important}
.bb-inline-task-name{cursor:text!important}


/* v4.10.19 — stable main-task inline editor */
.bb-task.bb-task-todo .bb-inline-task-name.bb-inline-editing{display:none!important}
.bb-task.bb-task-todo .bb-todo-body>.bb-inline-title-input{
  -webkit-appearance:none!important;appearance:none!important;
  display:block!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:28px!important;min-height:28px!important;
  margin:0!important;padding:3px 6px!important;
  border:1px solid #c7c2ff!important;border-radius:6px!important;
  background:#fff!important;color:#101828!important;
  font:inherit!important;font-size:12.5px!important;font-weight:650!important;line-height:1.25!important;
  outline:none!important;box-shadow:0 0 0 2px rgba(99,102,241,.08)!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.bb-task.bb-task-todo .bb-todo-body>.bb-inline-title-input:focus{
  border-color:#6366f1!important;box-shadow:0 0 0 2px rgba(99,102,241,.12)!important;
}
@media(max-width:640px){
  .bb-task.bb-task-todo .bb-todo-body>.bb-inline-title-input{
    width:100%!important;max-width:100%!important;height:27px!important;min-height:27px!important;
    padding:3px 5px!important;font-size:13px!important;
  }
}
\n\n/* v4.10.20 — main task editor keeps the full title visible while editing */\n.bb-task.bb-task-todo .bb-todo-body>.bb-inline-title-input{\n  display:block!important;box-sizing:border-box!important;\n  width:100%!important;max-width:100%!important;min-width:0!important;\n  min-height:28px!important;height:auto;max-height:96px!important;\n  margin:0!important;padding:3px 5px!important;\n  border:1px solid #c7c2ff!important;border-radius:6px!important;\n  background:#fff!important;color:#101828!important;\n  font-family:inherit!important;font-size:12.5px!important;font-weight:650!important;line-height:1.35!important;\n  outline:none!important;box-shadow:0 0 0 2px rgba(99,102,241,.08)!important;\n  resize:none!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;\n  text-overflow:clip!important;\n}\n.bb-task.bb-task-todo .bb-todo-body>.bb-inline-title-input:focus{\n  border-color:#6366f1!important;box-shadow:0 0 0 2px rgba(99,102,241,.12)!important;\n}\n@media(max-width:640px){\n  .bb-task.bb-task-todo .bb-todo-body>.bb-inline-title-input{\n    width:100%!important;max-width:100%!important;min-height:27px!important;\n    padding:3px 4px!important;font-size:12.5px!important;line-height:1.35!important;\n  }\n}\n

/* v4.10.21 — true direct edit for main task title (no input/textarea box) */
.bb-task.bb-task-todo .bb-inline-task-name.bb-inline-editing{
  display:block!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;outline:none!important;
  color:var(--bb-text)!important;
  font:inherit!important;font-size:12.5px!important;font-weight:650!important;line-height:1.35!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;
  caret-color:#4f46e5!important;
  cursor:text!important;
}
.bb-task.bb-task-todo .bb-inline-task-name.bb-inline-editing:focus{
  border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;
}
.bb-task.bb-task-todo .bb-inline-task-name.bb-inline-editing::selection{background:rgba(79,70,229,.18)}
@media(max-width:640px){
  .bb-task.bb-task-todo .bb-inline-task-name.bb-inline-editing{font-size:12.5px!important;line-height:1.35!important}
}

/* v4.10.22 — direct task/subtask editing: preserve card layout and remove editor-box visual */
.bb-task.bb-task-todo .bb-inline-task-name[contenteditable="true"]{
  display:block!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:1.35em!important;height:auto!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  outline:0!important;box-shadow:none!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;
  cursor:text!important;caret-color:#4f46e5!important;
  -webkit-user-select:text!important;user-select:text!important;
}
.bb-task.bb-task-todo .bb-inline-task-name[contenteditable="true"]:focus{
  display:block!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
}
.bb-card-subtask-row.is-editing{background:transparent!important}
.bb-card-subtask-text[contenteditable="true"]{
  display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;outline:0!important;box-shadow:none!important;
  color:#344054!important;text-decoration:none!important;
  white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:break-word!important;
  cursor:text!important;caret-color:#4f46e5!important;
  -webkit-user-select:text!important;user-select:text!important;
}
.bb-card-subtask-text[contenteditable="true"]:focus{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
.bb-card-subtask-row.done .bb-card-subtask-text[contenteditable="true"]{text-decoration:none!important;color:#344054!important}
\n\n/* v4.10.23 — compact mobile-friendly inline subtask list */
/* Keep subtasks close to the main task; previous indentation wasted too much card width on phones. */
.bb-card-subtasks{
  margin:5px 0 0 0!important;
  padding:0 0 0 4px!important;
}
.bb-card-subtask-row{
  grid-template-columns:14px 15px minmax(0,1fr)!important;
  gap:5px!important;
  min-height:26px!important;
  padding:3px 0!important;
}
.bb-card-subtask-drag{width:14px!important;font-size:14px!important}
.bb-card-subtask-row input[type=checkbox]{width:14px!important;height:14px!important;min-width:14px!important}
.bb-card-subtask-text{padding-left:1px!important}

/* New-subtask row always shows a clear + action. Do not show a fake drag handle/checkbox in an empty row. */
.bb-card-subtask-add-row{
  grid-template-columns:22px minmax(0,1fr) 22px!important;
  gap:5px!important;
  width:100%!important;
  margin:2px 0 0!important;
  padding:3px 0!important;
  border-top:1px solid #f2f4f7!important;
}
.bb-card-subtask-add-row .bb-card-subtask-add-save{
  display:inline-grid!important;
  place-items:center!important;
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  padding:0!important;border:0!important;border-radius:50%!important;
  background:#eeebff!important;color:#5145cd!important;
  font-size:18px!important;font-weight:600!important;line-height:1!important;
  cursor:pointer!important;
}
.bb-card-subtask-add-row .bb-card-subtask-add-save:hover,
.bb-card-subtask-add-row .bb-card-subtask-add-save:focus-visible{background:#ded7ff!important;outline:none!important}
.bb-card-subtask-add-row .bb-card-subtask-add-save span{transform:translateY(-1px)}
.bb-card-subtask-input{height:24px!important;padding:1px 3px!important;font-size:11.5px!important}
.bb-card-subtask-add-cancel{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}

/* The idle add control is also compact and remains easy to tap on mobile. */
.bb-card-subtask-add{
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  margin:2px 0 0 0!important;padding:0!important;
}

@media(max-width:640px){
  .bb-card-subtasks{margin-top:4px!important;padding-left:0!important}
  .bb-card-subtask-row{grid-template-columns:13px 14px minmax(0,1fr)!important;gap:4px!important;font-size:11px!important}
  .bb-card-subtask-drag{width:13px!important;font-size:13px!important}
  .bb-card-subtask-row input[type=checkbox]{width:14px!important;height:14px!important;min-width:14px!important}
  .bb-card-subtask-add-row{grid-template-columns:22px minmax(0,1fr) 22px!important;gap:4px!important}
  .bb-card-subtask-input{font-size:12px!important}
}


/* v4.10.24 — tighter Todoist-style subtask alignment and persistent next-row + */
/* Let the subtask list use the card width instead of beginning after both main-task controls. */
.bb-task.bb-task-todo > .bb-card-subtasks{
  grid-column:1 / -1!important;
  width:auto!important;
  margin:5px 0 2px 24px!important;
  padding:0!important;
  border-left:0!important;
}
.bb-card-subtask-row{
  grid-template-columns:13px 14px minmax(0,1fr)!important;
  gap:4px!important;
  padding:3px 0!important;
}
/* While entering a new subtask, the + remains as its own following row. */
.bb-card-subtask-add-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 22px!important;
  gap:4px!important;
  width:100%!important;
  margin:1px 0 0!important;
  padding:2px 0!important;
  border-top:1px solid #f2f4f7!important;
}
.bb-card-subtask-add-row .bb-card-subtask-add-save{display:none!important}
.bb-card-subtask-input{
  min-width:0!important;width:100%!important;height:24px!important;
  margin:0!important;padding:1px 2px!important;
  border:0!important;border-bottom:1px solid #eceef2!important;
  background:transparent!important;box-shadow:none!important;outline:none!important;
}
.bb-card-subtask-add-cancel{
  justify-self:end!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
}
.bb-card-subtask-add{
  display:grid!important;place-items:center!important;
  width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
  margin:2px 0 0 0!important;padding:0!important;
}
.bb-card-subtask-add.is-hidden{display:grid!important}
@media(max-width:640px){
  .bb-task.bb-task-todo > .bb-card-subtasks{margin-left:14px!important;margin-right:0!important;padding-left:0!important}
  .bb-card-subtask-row{grid-template-columns:12px 14px minmax(0,1fr)!important;gap:3px!important}
  .bb-card-subtask-drag{width:12px!important;font-size:12px!important}
  .bb-card-subtask-add-row{grid-template-columns:minmax(0,1fr) 22px!important;gap:3px!important}
}


/* v4.10.25 — reliable tappable inline subtask add control */
.bb-card-subtask-add{position:relative!important;z-index:3!important;pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important}
.bb-card-subtask-add>span{pointer-events:none!important}


/* v4.10.26 — show Upcoming tasks on mobile again. Empty sections still remain hidden. */
@media(max-width:640px){
  .bb-workarea-column .bb-bucket-upcoming:not(.is-empty){display:block!important;}
  .bb-workarea-column .bb-more-upcoming{display:block!important;}
}

/* v4.10.27 — clearer KPI separation in Workspace toolbar */
.bb-workspace-toolbar .bb-compact-kpis{
  gap:8px!important;
}
@media(max-width:720px){
  .bb-workspace-toolbar .bb-compact-kpis{gap:6px!important;}
}

/* v4.10.28 — guaranteed visual gap between Overdue and Completed */
.bb-workspace-toolbar .bb-completed-filter-chip{
  margin-left:10px!important;
}
@media(max-width:720px){
  .bb-workspace-toolbar .bb-completed-filter-chip{margin-left:8px!important;}
}
\n\n/* v4.10.29 — Workspace search available on every device */
.bb-workspace-search-all{
  display:flex!important;
  align-items:center;
  gap:8px;
  width:min(520px,100%);
  min-height:38px;
  margin:8px 0 10px;
  padding:0 10px;
  border:2px solid #cbd5e1;
  border-radius:10px;
  background:#fff;
  box-sizing:border-box;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.bb-workspace-search-all:focus-within{
  border-color:#5b5ce2;
  box-shadow:0 0 0 2px rgba(91,92,226,.10);
}
.bb-workspace-search-all>svg{
  width:16px;height:16px;flex:0 0 16px;
  fill:none;stroke:#667085;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.bb-workspace-search-all input{
  flex:1;min-width:0;height:36px;padding:0;border:0!important;outline:0!important;
  background:transparent!important;color:#111827;font:inherit;font-size:12px;
  box-shadow:none!important;
}
.bb-workspace-search-all input::-webkit-search-cancel-button{display:none}
.bb-workspace-task-search-clear{
  width:26px;height:26px;min-width:26px;padding:0;border:0;border-radius:7px;
  background:#f2f4f7;color:#667085;font-size:18px;line-height:1;cursor:pointer;
  display:grid;place-items:center;
}
.bb-workspace-task-search-clear:hover{background:#e9ecf2;color:#111827}
.bb-workspace-task-search-clear[hidden]{display:none!important}
/* The dedicated Workspace search replaces the topbar search while a Workspace is open. */
.bb-workspace-active .bb-top-actions #bb-global-search{display:none!important}
@media(max-width:900px){
  .bb-workspace-search-all{width:100%!important;margin:7px 0 9px!important;min-height:40px!important;border-radius:10px!important}
  .bb-workspace-search-all input{height:38px!important;font-size:13px!important}
}

/* v4.10.31 — darker Workspace search outline + breathing space below */
.bb-workspace-search-all{
  border-color:#4b5563!important;
  margin-bottom:16px!important;
}
.bb-workspace-search-all:focus-within{
  border-color:#4338ca!important;
  box-shadow:0 0 0 2px rgba(67,56,202,.12)!important;
}
@media(max-width:900px){
  .bb-workspace-search-all{
    margin-bottom:14px!important;
  }
}


/* v4.10.32 — Workspace search outline must remain visible at all times */
.bb-workspace-search-all{
  border:2px solid #374151!important;
  outline:1px solid rgba(55,65,81,.12)!important;
  outline-offset:0!important;
  background:#fff!important;
}
.bb-workspace-search-all:hover{
  border-color:#1f2937!important;
}
.bb-workspace-search-all:focus-within{
  border:2px solid #4338ca!important;
  outline:1px solid rgba(67,56,202,.18)!important;
  box-shadow:0 0 0 2px rgba(67,56,202,.10)!important;
}


/* v4.10.35 — Workspace search UI parity across desktop and mobile */
.bb-workspace-search-all{
  width:100%!important;
  max-width:none!important;
  border-radius:10px!important;
  padding:0 12px!important;
  gap:0!important;
}
.bb-workspace-search-all>svg{display:none!important;}
.bb-workspace-search-all input{
  width:100%!important;
  padding:0!important;
  border-radius:10px!important;
}

/* v4.10.37 — two-line Work Area header with uniform action buttons */
.bb-workarea-column .bb-col-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:6px!important;
}
.bb-workarea-column .bb-col-title{
  width:100%!important;
  flex:0 0 auto!important;
  min-width:0!important;
  padding-right:0!important;
}
.bb-workarea-column .bb-col-head-actions{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:5px!important;
  align-self:stretch!important;
}
.bb-workarea-column .bb-col-head-actions > button,
.bb-workarea-column .bb-col-head-actions > .bb-workarea-quick-actions > button,
.bb-workarea-column .bb-col-head-actions > details > summary{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  max-width:34px!important;
  max-height:34px!important;
  padding:0!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  line-height:1!important;
  flex:0 0 34px!important;
}
.bb-workarea-column .bb-workarea-quick-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  flex:0 0 auto!important;
}
.bb-workarea-column .bb-col-head-actions svg{
  width:16px!important;
  height:16px!important;
}
.bb-workarea-column .bb-area-drag-grip{
  font-size:16px!important;
}
@media(max-width:700px){
  .bb-workarea-column .bb-col-head{gap:5px!important}
  .bb-workarea-column .bb-col-head-actions{gap:4px!important}
  .bb-workarea-column .bb-col-head-actions > button,
  .bb-workarea-column .bb-col-head-actions > .bb-workarea-quick-actions > button,
  .bb-workarea-column .bb-col-head-actions > details > summary{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    max-width:32px!important;
    max-height:32px!important;
    flex-basis:32px!important;
  }
}


/* v4.10.39 — drag grip beside Work Area title; remaining actions left aligned */
.bb-workarea-column .bb-col-title{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.bb-workarea-column .bb-col-title > .bb-area-drag-grip{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  max-width:24px!important;
  max-height:24px!important;
  flex:0 0 24px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  background:transparent!important;
  font-size:16px!important;
  line-height:1!important;
  cursor:grab!important;
}
.bb-workarea-column .bb-col-title > span{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bb-workarea-column .bb-col-head-actions{
  justify-content:flex-start!important;
}

/* v4.10.40 — smoother Work Area drag/reorder */
.bb-workarea-column.bb-area-drag-placeholder{
  visibility:hidden!important;
  opacity:0!important;
}
.bb-drag-ghost.bb-workarea-column{
  visibility:visible!important;
  opacity:.94!important;
  box-shadow:0 16px 38px rgba(15,23,42,.22)!important;
  outline:2px solid var(--area-color,#4f46e5)!important;
  outline-offset:1px!important;
  transition:none!important;
}
body.bb-sort-active .bb-workarea-column{transition:none!important}
body.bb-sort-active .bb-insert-area-between{pointer-events:none!important;opacity:.35!important}
.bb-area-drag-grip{touch-action:none!important;-webkit-user-drag:none;cursor:grab!important}
body.bb-sort-active .bb-area-drag-grip{cursor:grabbing!important}
/* Workboard AI Workspace Builder v4.11.0 */
.bb-ai-builder-trigger svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bb-ai-builder-trigger{color:#6d28d9}.bb-ai-builder{max-width:980px;margin:0 auto}.bb-ai-input-card,.bb-ai-workspace-fields,.bb-ai-area,.bb-ai-task{background:#fff;border:1px solid #e5e7eb;border-radius:14px}.bb-ai-input-card{padding:18px}.bb-ai-input-card textarea,.bb-ai-workspace-fields input,.bb-ai-workspace-fields textarea,.bb-ai-area input,.bb-ai-task input,.bb-ai-task textarea,.bb-ai-task select{width:100%;box-sizing:border-box}.bb-ai-or{text-align:center;margin:12px 0;color:#64748b;font-size:11px;font-weight:700;letter-spacing:.08em}.bb-ai-upload{display:flex;gap:12px;align-items:center;border:1.5px dashed #94a3b8;border-radius:12px;padding:14px;cursor:pointer;background:#f8fafc}.bb-ai-upload input{display:none}.bb-ai-upload-icon{width:36px;height:36px;border-radius:10px;background:#ede9fe;color:#6d28d9;display:grid;place-items:center;font-size:22px;font-weight:800}.bb-ai-upload div{display:flex;flex-direction:column;gap:2px}.bb-ai-upload small{color:#64748b}.bb-ai-file-name{margin-top:8px;font-size:12px;color:#475569;font-weight:600}.bb-ai-safety{margin-top:14px;padding:12px 14px;border-radius:10px;background:#f5f3ff;color:#4c1d95;display:flex;gap:8px;flex-wrap:wrap}.bb-ai-warnings{display:flex;flex-direction:column;gap:6px;padding:12px 14px;margin-bottom:14px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.bb-ai-workspace-fields{padding:14px;margin-bottom:14px;display:grid;grid-template-columns:1fr 1.4fr;gap:12px}.bb-ai-workspace-fields label,.bb-ai-task-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#475569}.bb-ai-area{padding:14px;margin-bottom:14px}.bb-ai-area-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}.bb-ai-area-head>div{display:grid;grid-template-columns:minmax(180px,1fr) 1.5fr;gap:10px;flex:1}.bb-ai-area-name{font-weight:800}.bb-ai-task-list{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}.bb-ai-task{padding:12px;background:#f8fafc}.bb-ai-task-head{display:flex;gap:8px;align-items:center;margin-bottom:10px}.bb-ai-task-name{font-weight:700}.bb-ai-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bb-ai-task-grid .full{grid-column:1/-1}.bb-ai-settings-badge{font-size:12px;font-weight:800;color:#6d28d9;background:#ede9fe;border-radius:999px;padding:5px 9px}.bb-ai-settings-panel{border-top:3px solid #8b5cf6}
@media(max-width:700px){.bb-ai-builder{max-width:100%}.bb-ai-workspace-fields{grid-template-columns:1fr}.bb-ai-area{padding:10px}.bb-ai-area-head>div{grid-template-columns:1fr}.bb-ai-task-grid{grid-template-columns:1fr 1fr}.bb-ai-task-grid .full{grid-column:1/-1}.bb-ai-upload{padding:12px}.bb-ai-builder .bb-form-actions{position:sticky;bottom:0;background:#fff;padding-top:10px;z-index:3}.bb-ai-builder-trigger{min-width:38px}}

/* v4.11.1 AI error visibility */
.bb-ai-error{margin-top:12px;padding:10px 12px;border:1px solid #dc2626;border-radius:10px;background:#fef2f2;color:#991b1b;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.bb-ai-error:empty{display:none}


/* v4.11.2 — Workspace Trash */
.bb-workspace-card-wrap{position:relative;min-width:0}
.bb-workspace-card-wrap .bb-workspace-name-card{width:100%;padding-right:58px}
.bb-workspace-card-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:flex;gap:6px;z-index:2}
.bb-workspace-action{width:34px;height:34px;border:1px solid #dbe2ea;border-radius:9px;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:15px;line-height:1}
.bb-workspace-action.restore{color:#15803d;border-color:#bbf7d0;background:#f0fdf4}
.bb-workspace-action.danger{color:#dc2626;border-color:#fecaca;background:#fff5f5}
.bb-workspace-action:hover{filter:brightness(.98);transform:translateY(-1px)}
@media(max-width:640px){.bb-workspace-card-wrap .bb-workspace-name-card{padding-right:52px}.bb-workspace-card-actions{right:8px}.bb-workspace-action{width:32px;height:32px}}

/* v4.11.3 — Strong red Workspace delete icon */
.bb-workspace-action.danger{color:#dc2626!important;border-color:#fca5a5!important;background:#fff1f2!important}
.bb-workspace-action.danger svg{width:18px;height:18px;fill:none;stroke:#dc2626!important;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bb-workspace-action.danger:hover{background:#fee2e2!important;border-color:#ef4444!important}

/* v4.11.4 — Workspace edit action */
.bb-workspace-action.edit{color:#4f46e5;border-color:#c7d2fe;background:#eef2ff}
.bb-workspace-action.edit:hover{color:#3730a3;border-color:#818cf8;background:#e0e7ff}
.bb-workspace-card-wrap .bb-workspace-name-card{padding-right:104px}
@media(max-width:640px){.bb-workspace-card-wrap .bb-workspace-name-card{padding-right:92px}}

/* v4.11.5 — Workspace Archive / Unarchive / Trash lifecycle */
.bb-workspace-action.archive{color:#b45309;border-color:#fde68a;background:#fffbeb}
.bb-workspace-action.archive:hover{color:#92400e;border-color:#f59e0b;background:#fef3c7}
.bb-workspace-action.unarchive{color:#047857;border-color:#a7f3d0;background:#ecfdf5}
.bb-workspace-action.unarchive:hover{color:#065f46;border-color:#34d399;background:#d1fae5}
.bb-workspace-action.archive svg,.bb-workspace-action.unarchive svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bb-workspace-card-wrap .bb-workspace-name-card{padding-right:144px}
@media(max-width:640px){.bb-workspace-card-wrap .bb-workspace-name-card{padding-right:128px}.bb-workspace-card-actions{gap:4px}}
/* v4.11.6 - AI Workspace Modifier review */
.bb-ai-change-list{display:flex;flex-direction:column;gap:9px;margin:14px 0}.bb-ai-change{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;cursor:pointer}.bb-ai-change input{margin-top:3px}.bb-ai-change>span{display:flex;flex-direction:column;gap:3px;min-width:0}.bb-ai-change strong{font-size:13px;color:#172033}.bb-ai-change small{color:#64748b;line-height:1.35;overflow-wrap:anywhere}.bb-ai-change.danger{border-color:#fecaca;background:#fff7f7}.bb-ai-change.danger strong{color:#b91c1c}

/* v4.11.7 — Workspace card: single-line name with actions below */
.bb-workspace-card-wrap .bb-workspace-name-card{
  min-height:104px;
  padding:16px 16px 52px!important;
  display:block;
  overflow:hidden;
}
.bb-workspace-card-wrap .bb-workspace-name-card span{
  display:block;
  width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bb-workspace-card-actions{
  left:12px!important;
  right:auto!important;
  top:auto!important;
  bottom:10px!important;
  transform:none!important;
  justify-content:flex-start;
}
@media(max-width:640px){
  .bb-workspace-card-wrap .bb-workspace-name-card{
    min-height:98px;
    padding:14px 12px 48px!important;
  }
  .bb-workspace-card-actions{
    left:10px!important;
    bottom:8px!important;
  }
}


/* v4.11.8 — Workspace names wrap naturally; actions stay below */
.bb-workspace-card-wrap .bb-workspace-name-card span{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  line-height:1.28!important;
}
.bb-workspace-card-wrap .bb-workspace-name-card{
  height:auto!important;
  min-height:104px!important;
}
@media(max-width:640px){
  .bb-workspace-card-wrap .bb-workspace-name-card{
    height:auto!important;
    min-height:98px!important;
  }
}


/* v4.11.9 — Compact Workspace cards */
.bb-workspace-card-wrap .bb-workspace-name-card{
  min-height:82px!important;
  padding:11px 12px 39px!important;
}
.bb-workspace-card-wrap .bb-workspace-name-card span{
  line-height:1.2!important;
}
.bb-workspace-card-actions{
  left:10px!important;
  bottom:6px!important;
  gap:5px!important;
}
.bb-workspace-action{
  width:30px!important;
  height:30px!important;
  border-radius:8px!important;
}
.bb-workspace-action svg{
  width:16px!important;
  height:16px!important;
}
@media(max-width:640px){
  .bb-workspace-card-wrap .bb-workspace-name-card{
    min-height:78px!important;
    padding:10px 10px 37px!important;
  }
  .bb-workspace-card-actions{
    left:8px!important;
    bottom:5px!important;
    gap:4px!important;
  }
  .bb-workspace-action{
    width:29px!important;
    height:29px!important;
  }
}


/* v4.11.10 — More breathing room below Workspace actions */
.bb-workspace-card-wrap .bb-workspace-name-card{
  min-height:86px!important;
  padding-bottom:43px!important;
}
.bb-workspace-card-actions{
  bottom:10px!important;
}
@media(max-width:640px){
  .bb-workspace-card-wrap .bb-workspace-name-card{
    min-height:82px!important;
    padding-bottom:41px!important;
  }
  .bb-workspace-card-actions{
    bottom:8px!important;
  }
}

/* v4.11.11 — Refined Workspace card UI */
.bb-workspace-card-wrap .bb-workspace-name-card{
  min-height:108px!important;
  padding:16px 16px 54px!important;
  border-radius:14px!important;
}
.bb-workspace-card-wrap .bb-workspace-name-card span{
  line-height:1.22!important;
  font-weight:700!important;
}
.bb-workspace-card-actions{
  left:14px!important;
  bottom:12px!important;
  gap:10px!important;
}
.bb-workspace-action{
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
}
.bb-workspace-action svg{
  width:18px!important;
  height:18px!important;
}
@media(max-width:640px){
  .bb-workspace-card-wrap .bb-workspace-name-card{
    min-height:100px!important;
    padding:13px 13px 50px!important;
  }
  .bb-workspace-card-actions{
    left:11px!important;
    bottom:10px!important;
    gap:7px!important;
  }
  .bb-workspace-action{
    width:34px!important;
    height:34px!important;
  }
}

/* v4.11.14 — keep Add Work Area available during text search; hide filters when search returns no task data */
.bb-compact-filters.bb-search-no-data{display:none!important}


/* v4.11.18 — employee task cards keep full width when drag handle is hidden */
.bb-workarea-column .bb-task.bb-task-todo.bb-no-task-drag{
  grid-template-columns:21px minmax(0,1fr) 28px!important;
}
@media(max-width:900px){
  .bb-workarea-column .bb-task.bb-task-todo.bb-no-task-drag{
    grid-template-columns:21px minmax(0,1fr) 26px!important;
  }
}
@media(max-width:640px){
  .bb-workarea-column .bb-task.bb-task-todo.bb-no-task-drag{
    grid-template-columns:21px minmax(0,1fr) 24px!important;
    gap:7px!important;
  }
}
\n\n#bb-import-workspace-form .bb-form-actions{position:sticky;bottom:0;background:#fff;z-index:12;padding:14px 0 calc(14px + env(safe-area-inset-bottom));margin-bottom:-8px;}
@media(max-width:700px){#bb-import-workspace-form{padding-bottom:0!important}#bb-import-workspace-form .bb-form-actions{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;box-shadow:0 -8px 20px rgba(15,23,42,.08)}}

/* v4.11.25 import status */
.bb-import-error{margin:0 0 12px;padding:10px 12px;border:1px solid #fecaca;border-radius:10px;background:#fef2f2;color:#b91c1c;font-weight:600;word-break:break-word;}

/* v4.11.27 — custom Workboard logo */
.bb-logo{overflow:hidden;display:grid;place-items:center}
.bb-brand-logo-img{width:100%;height:100%;object-fit:contain;display:block}
.bb-brand-logo-fallback{display:grid;place-items:center;width:100%;height:100%}
.bb-brand-logo-setting{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.bb-brand-logo-preview{width:112px;height:112px;border:1px solid var(--bb-border);border-radius:18px;background:#f7f9fc;display:grid;place-items:center;overflow:hidden;flex:0 0 auto}
.bb-brand-logo-preview img{width:100%;height:100%;object-fit:contain;display:block}
.bb-brand-logo-preview span{font-size:40px;font-weight:800;color:#4c5bea}
.bb-brand-logo-controls{flex:1;min-width:220px;display:flex;flex-direction:column;gap:7px}
.bb-brand-logo-controls input[type=file]{margin-top:7px}
.bb-brand-logo-controls small{color:var(--bb-muted);line-height:1.45}
@media(max-width:600px){.bb-brand-logo-setting{align-items:flex-start}.bb-brand-logo-preview{width:92px;height:92px}}
\n\n/* v4.11.28 — logo-only sidebar branding */
.bb-sidebar .bb-brand{
  justify-content:center!important;
  gap:0!important;
  padding:0 8px 16px!important;
  margin:0 0 14px!important;
  border-bottom:1px solid rgba(255,255,255,.16)!important;
}
.bb-sidebar .bb-brand .bb-logo{
  width:58px!important;
  height:58px!important;
  padding:5px!important;
  background:#fff!important;
  border:1px solid #e2e8f0!important;
  border-radius:12px!important;
  color:#f5a623!important;
  box-shadow:0 4px 14px rgba(0,0,0,.14)!important;
  overflow:hidden!important;
}
.bb-sidebar .bb-brand .bb-brand-logo-img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.bb-sidebar .bb-brand .bb-brand-logo-fallback{
  color:#d99a18!important;
  font-size:22px!important;
}
.bb-sidebar-collapsed .bb-brand{
  padding-left:0!important;
  padding-right:0!important;
}
.bb-sidebar-collapsed .bb-brand .bb-logo{
  width:46px!important;
  height:46px!important;
  padding:4px!important;
}
@media(max-width:900px){
  .bb-sidebar .bb-brand{padding-top:2px!important;padding-bottom:16px!important}
  .bb-sidebar .bb-brand .bb-logo{width:58px!important;height:58px!important}
}

/* v4.11.29 — move custom logo from sidebar to the top-right header */
.bb-sidebar > .bb-brand{display:none!important}
.bb-sidebar .bb-nav{padding-top:8px}
.bb-header-logo{
  width:48px;
  height:48px;
  flex:0 0 48px;
  padding:5px;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#fff;
  border:1px solid #dfe4ec;
  border-radius:11px;
  box-shadow:0 2px 8px rgba(15,23,42,.08);
  margin-left:4px;
}
.bb-header-logo-img{width:100%;height:100%;object-fit:contain;display:block}
.bb-header-logo .bb-brand-logo-fallback{color:#d99a18;font-size:20px;font-weight:800}
.bb-top-actions{align-items:center}

/* Mobile portrait/vertical mode: keep the brand clearly visible at the far right. */
@media(max-width:720px) and (orientation:portrait){
  .bb-topbar{align-items:center!important;min-height:58px!important}
  .bb-topbar-left{min-width:0;flex:1 1 auto}
  .bb-topbar-left>div:last-child{min-width:0}
  .bb-topbar h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 190px)}
  .bb-top-actions{margin-left:auto;flex:0 0 auto;gap:5px!important}
  .bb-header-logo{width:42px;height:42px;flex-basis:42px;padding:4px;border-radius:10px;margin-left:2px}
}

/* Slightly compact the logo when header space is tight. */
@media(min-width:721px) and (max-width:1100px){
  .bb-header-logo{width:44px;height:44px;flex-basis:44px}
}


/* v4.11.30 — explicit Log Off / Log In controls */
.bb-user{border-top:1px solid rgba(255,255,255,.12);padding-top:14px!important;margin-top:auto}
.bb-logout-btn{margin-left:auto!important;width:auto!important;min-width:82px!important;height:34px!important;padding:0 10px!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.08)!important;color:#fff!important;border-radius:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
.bb-logout-btn:hover{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.22)!important}
.bb-logout-icon{font-size:15px;line-height:1}
.bb-logout-text{display:inline-block}
.bb-sidebar-collapsed .bb-logout-btn{display:inline-flex!important;min-width:34px!important;width:34px!important;padding:0!important}
.bb-sidebar-collapsed .bb-logout-text{display:none!important}
@media(max-width:900px){.bb-logout-btn{min-width:86px!important;height:36px!important}.bb-logout-text{display:inline-block!important}}


/* v4.11.31 — Workspace drag-and-drop ordering */
.bb-workspace-card-wrap{position:relative}
.bb-workspace-drag-handle{position:absolute;right:10px;top:10px;width:30px;height:30px;border:1px solid #dbe3ef;border-radius:8px;background:#f8fafc;display:grid;grid-template-columns:repeat(2,3px);grid-template-rows:repeat(3,3px);gap:3px;place-content:center;cursor:grab;z-index:4;touch-action:none;-webkit-user-select:none;user-select:none}
.bb-workspace-drag-handle span{width:3px;height:3px;border-radius:50%;background:#64748b;display:block}
.bb-workspace-drag-handle:hover{background:#eef2ff;border-color:#a5b4fc}
.bb-workspace-drag-handle:active{cursor:grabbing}
.bb-workspace-card-wrap:has(.bb-workspace-drag-handle) .bb-workspace-name-card{padding-right:50px!important}
.bb-workspace-drag-placeholder{opacity:.34!important;outline:2px dashed #6366f1;outline-offset:2px}
.bb-workspace-drag-ghost{opacity:.96;filter:drop-shadow(0 16px 24px rgba(15,23,42,.22));transform:scale(1.015)}
body.bb-workspace-sort-active{user-select:none;cursor:grabbing}
body.bb-workspace-sort-active .bb-workspace-card-wrap{transition:none!important}
@media(max-width:640px){.bb-workspace-drag-handle{right:8px;top:8px;width:28px;height:28px}.bb-workspace-card-wrap:has(.bb-workspace-drag-handle) .bb-workspace-name-card{padding-right:46px!important}}

/* v4.11.33 — priority-based task card colors */
.bb-workarea-column .bb-task.bb-task-todo[data-priority="Urgent"]{
  background:#fff1f2!important;
  border-color:#fda4af!important;
  box-shadow:0 1px 0 rgba(190,18,60,.03)!important;
}
.bb-workarea-column .bb-task.bb-task-todo[data-priority="High"]{
  background:#fff7ed!important;
  border-color:#fdba74!important;
  box-shadow:0 1px 0 rgba(194,65,12,.03)!important;
}
.bb-workarea-column .bb-task.bb-task-todo[data-priority="Medium"]{
  background:#eff6ff!important;
  border-color:#93c5fd!important;
  box-shadow:0 1px 0 rgba(37,99,235,.03)!important;
}
.bb-workarea-column .bb-task.bb-task-todo[data-priority="Low"]{
  background:#f0fdf4!important;
  border-color:#86efac!important;
  box-shadow:0 1px 0 rgba(22,101,52,.03)!important;
}
.bb-workarea-column .bb-task.bb-task-todo[data-priority=""],
.bb-workarea-column .bb-task.bb-task-todo:not([data-priority]){
  background:#fff;
}


/* v4.11.34 — one-click Focus toggle on task cards */
.bb-task-focus-btn{width:24px;height:24px;min-width:24px;min-height:24px;border:0;background:transparent;color:#98a2b3;border-radius:7px;display:grid;place-items:center;padding:4px;cursor:pointer;transition:background .15s ease,color .15s ease,transform .15s ease}
.bb-task-focus-btn:hover{background:#f2f4f7;color:#475467}
.bb-task-focus-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bb-task-focus-btn.active{background:#fff4e5;color:#d97706}
.bb-task-focus-btn.active svg circle:nth-of-type(2){fill:currentColor;stroke:currentColor}
.bb-task-focus-btn.is-saving{position:relative;color:transparent!important;pointer-events:none}
.bb-task-focus-btn.is-saving:after{content:"";width:12px;height:12px;border:2px solid #d0d5dd;border-top-color:#667085;border-radius:50%;animation:bbFocusSpin .7s linear infinite;position:absolute}
@keyframes bbFocusSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){.bb-task-focus-btn{width:22px;height:22px;min-width:22px;min-height:22px;padding:3px}.bb-task-focus-btn svg{width:14px;height:14px}}


/* v4.11.35 — dedicated Focus view; Workspace is presented as a frontend column only */
.bb-focus-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;padding:10px 12px;background:#fff;border:1px solid #e7ebf2;border-radius:12px;box-shadow:0 2px 8px rgba(15,23,42,.035)}
.bb-focus-summary>div{display:flex;align-items:baseline;gap:7px}.bb-focus-summary strong{font-size:20px;color:#1f2a44}.bb-focus-summary span{font-size:11px;font-weight:750;color:#667085}.bb-focus-summary small{font-size:10px;color:#98a2b3;text-align:right}
.bb-focus-layout{grid-template-columns:1fr!important}.bb-focus-board{align-items:start}.bb-focus-workspace-column{min-height:180px!important}.bb-focus-col-head{position:sticky;top:0;z-index:3}.bb-focus-col-head .bb-col-title{width:100%}.bb-focus-col-head .bb-col-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-focus-col-head .bb-col-count{margin-left:auto;min-width:22px;text-align:center;border-radius:999px;padding:2px 7px;font-size:10px}
.bb-focus-task-list{padding:8px 10px 12px;display:flex;flex-direction:column;gap:8px}.bb-focus-card-wrap{display:flex;flex-direction:column;gap:4px}.bb-focus-origin{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 3px;color:#667085}.bb-focus-origin span{font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bb-focus-origin em{font-size:8px;font-style:normal;text-transform:capitalize;color:#98a2b3;white-space:nowrap}.bb-focus-card-wrap .bb-task{margin:0!important}.bb-focus-card-wrap .bb-task-drag-handle{display:none!important}
.bb-focus-empty-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:#fff4e5;color:#d97706;font-size:27px;font-weight:800}
@media(max-width:900px){.bb-focus-summary{align-items:flex-start;flex-direction:column}.bb-focus-summary small{text-align:left}.bb-focus-board{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important}.bb-focus-workspace-column{width:100%!important;min-width:0!important;max-width:none!important}.bb-focus-layout .bb-board-scroll{overflow-x:visible!important}.bb-focus-task-list{padding:8px}.bb-focus-layout+.bb-board-scroll-dock{display:none!important}}

/* v4.11.36 — simple date-based task bifurcation */
.bb-bucket-due .bb-bucket-head{color:#8b6512}
.bb-bucket-due .bb-bucket-head b{background:#fff3dd;color:#a66a00}
.bb-task.due{background:linear-gradient(90deg,#fffdf5,#fff)}
@media(max-width:640px){
  .bb-workarea-column .bb-bucket-due:not(.is-empty),
  .bb-workarea-column .bb-bucket-upcoming:not(.is-empty){display:block!important}
}

/* v4.11.39 — mobile task drag: grip owns drag gesture; card body keeps normal scrolling */
@media(max-width:900px){
  .bb-task.bb-task-todo .bb-task-drag-handle{
    touch-action:none!important;
    -webkit-user-select:none!important;
    user-select:none!important;
    -webkit-touch-callout:none!important;
  }
}


/* v4.11.41 — smoother mobile task dragging */
@media(max-width:900px){
  body.bb-sort-active{overscroll-behavior:none!important;}
  body.bb-sort-active .bb-board-scroll{scroll-behavior:auto!important;}
  .bb-task.bb-drag-ghost{will-change:transform,left,top!important;}
}


/* v4.11.43 — global immediate loading feedback */
.bb-inline-spinner{display:inline-block;width:13px;height:13px;flex:0 0 13px;margin-left:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:bb-spin .65s linear infinite}
.bb-action-busy{cursor:wait!important;opacity:.82!important;pointer-events:none!important}
.bb-action-busy .bb-inline-spinner{opacity:.9}
.bb-task-focus-btn.bb-action-busy .bb-inline-spinner{position:absolute;inset:50% auto auto 50%;margin:0;transform:translate(-50%,-50%);animation:bb-focus-spin .65s linear infinite}
.bb-task-focus-btn.bb-action-busy svg{opacity:.22}
.bb-global-mini-loader{position:fixed;right:18px;bottom:18px;z-index:100500;display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid rgba(15,23,42,.16);border-radius:10px;background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(15,23,42,.14);font-size:12px;color:#334155;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .14s ease,transform .14s ease}
.bb-global-mini-loader.show{opacity:1;transform:translateY(0)}
.bb-global-mini-loader .bb-inline-spinner{margin:0;width:12px;height:12px;flex-basis:12px}
@keyframes bb-spin{to{transform:rotate(360deg)}}
@keyframes bb-focus-spin{from{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@media(max-width:640px){.bb-global-mini-loader{right:10px;bottom:10px;max-width:calc(100vw - 20px)}}


/* v4.11.44 — Focus is grouped by Work Area; Workspace is secondary in brackets. */
.bb-focus-area-column .bb-focus-col-head .bb-col-title strong{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bb-focus-workspace-name{
  font-weight:650;
  color:#667085;
}
.bb-focus-area-column .bb-col-count{display:none!important;}
.bb-focus-area-column .bb-focus-origin{display:none!important;}

/* v4.11.45 — mobile long task titles wrap inside the card instead of clipping/overflowing */
@media(max-width:640px){
  .bb-workarea-column .bb-task.bb-task-todo,
  .bb-focus-card-wrap .bb-task.bb-task-todo{
    align-items:start!important;
    height:auto!important;
    min-height:0!important;
  }
  .bb-task.bb-task-todo .bb-todo-body{
    min-width:0!important;
    width:100%!important;
    overflow:visible!important;
  }
  .bb-task.bb-task-todo .bb-inline-task-name,
  .bb-task.bb-task-todo .bb-task-name{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    line-height:1.35!important;
  }
  .bb-task.bb-task-todo .bb-task-status-controls,
  .bb-task.bb-task-todo .bb-task-side-actions,
  .bb-task.bb-task-todo .bb-task-drag-handle{
    align-self:start!important;
  }
}

/* v4.11.46 — inline Meta WhatsApp test action */
.bb-meta-test-mobile-row{display:flex;align-items:center;gap:8px}.bb-meta-test-mobile-row input{flex:1;min-width:0}.bb-meta-test-inline{flex:0 0 auto;min-width:62px;justify-content:center}.bb-meta-test-status{display:block;min-height:16px;margin-top:5px;font-size:11px;line-height:1.35;color:#667085}.bb-meta-test-status.sending{color:#475467}.bb-meta-test-status.ok{color:#067647}.bb-meta-test-status.error{color:#b42318}
@media(max-width:540px){.bb-meta-test-mobile-row{align-items:stretch}.bb-meta-test-inline{min-width:66px}}


/* v4.11.47 — sidebar footer cleanup */
.bb-user{gap:0!important}
.bb-user>.bb-avatar{display:none!important}
.bb-logout-btn{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}
.bb-logout-btn:hover{background:#b91c1c!important;border-color:#b91c1c!important}

/* v4.11.54 — visible task-card metadata stays directly clickable */
.bb-workarea-column:not(.bb-task-edit-mode) .bb-task.bb-task-todo .bb-inline-meta>button:not(.is-empty){
  pointer-events:auto!important;
  cursor:pointer!important;
}

/* v4.11.54 — ultra-minimal Template views */
.bb-template-minimal-panel{padding:0!important;overflow:hidden}
.bb-template-minimal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #e7eaf0}
.bb-template-minimal-toolbar .bb-inline-search{margin:0;max-width:300px}
.bb-template-minimal-table th,.bb-template-minimal-table td{padding:12px 16px!important}
.bb-template-minimal-table th:last-child,.bb-template-minimal-table td:last-child{width:150px;text-align:right}
.bb-template-minimal-table .bb-actions{justify-content:flex-end}
.bb-template-pagination{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:12px 16px;border-top:1px solid #e7eaf0}
.bb-template-pagination .bb-mini[disabled]{opacity:.35;cursor:default}
@media(max-width:640px){
  .bb-template-minimal-toolbar{align-items:stretch;flex-direction:column}
  .bb-template-minimal-toolbar .bb-inline-search{max-width:none;width:100%}
  .bb-template-minimal-toolbar .bb-btn{width:100%}
}

/* v4.11.55 — template tables: clear actions, view/edit contents */
.bb-template-minimal-table{width:100%;border-collapse:collapse}
.bb-template-minimal-table th,.bb-template-minimal-table td{border-bottom:1px solid #e6eaf0!important;vertical-align:middle}
.bb-template-minimal-table th:nth-child(2),.bb-template-minimal-table td:nth-child(2){width:150px}
.bb-template-minimal-table th:last-child,.bb-template-minimal-table td:last-child{width:210px}
.bb-template-link{border:0;background:transparent;padding:0;color:#4f46e5;font:inherit;font-weight:600;cursor:pointer}
.bb-template-link:hover{text-decoration:underline}
.bb-template-actions .bb-template-delete{background:#fff1f2!important;border-color:#fecdd3!important;color:#dc2626!important}
.bb-template-actions .bb-template-delete:hover{background:#fee2e2!important;border-color:#fca5a5!important;color:#b91c1c!important}
.bb-template-editor,.bb-template-inspector{width:min(1120px,94vw)}
.bb-template-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.bb-template-editor-head h2{margin:0}
.bb-template-content-table,.bb-template-edit-table{width:100%;border-collapse:collapse}
.bb-template-content-table th,.bb-template-content-table td,.bb-template-edit-table th,.bb-template-edit-table td{border:1px solid #e5e7eb;padding:9px 10px;vertical-align:top}
.bb-template-content-table th,.bb-template-edit-table th{background:#f8fafc;font-size:12px;text-transform:uppercase;letter-spacing:.03em}
.bb-template-task-note{display:block;margin-top:4px;color:#667085;font-weight:400;line-height:1.35}
.bb-template-edit-table input,.bb-template-edit-table select,.bb-template-edit-table textarea{width:100%;min-width:110px;box-sizing:border-box}
.bb-template-edit-table textarea{resize:vertical}
@media(max-width:760px){
  .bb-template-minimal-table th:nth-child(2),.bb-template-minimal-table td:nth-child(2){display:none}
  .bb-template-minimal-table th:last-child,.bb-template-minimal-table td:last-child{width:auto}
  .bb-template-editor,.bb-template-inspector{width:94vw}
}


/* v4.11.56 — colorful workspace summary cards */
.bb-summary-shell{max-width:1180px;margin:0 auto}
.bb-summary-head{margin-bottom:14px}
.bb-summary-head h2{margin:0;font-size:22px}
.bb-summary-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
.bb-summary-workspace{display:block!important;width:100%;min-height:132px;text-align:left!important;border:1px solid rgba(15,23,42,.08)!important;border-radius:16px!important;padding:18px 20px!important;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.05);transition:transform .16s ease,box-shadow .16s ease}
.bb-summary-workspace:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.10)}
.bb-summary-workspace>strong{display:block;font-size:16px;line-height:1.3;color:#162033;margin-bottom:18px}
.bb-summary-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bb-summary-metrics>span{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:2px!important;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.58)}
.bb-summary-metrics small{font-size:11px!important;color:#5f6b7a!important;font-weight:600}
.bb-summary-metrics b{font-size:24px!important;line-height:1.05;color:#111827}
.bb-summary-tone-1{background:#eef4ff!important}.bb-summary-tone-2{background:#fff4e8!important}.bb-summary-tone-3{background:#eefbf4!important}.bb-summary-tone-4{background:#f7efff!important}.bb-summary-tone-5{background:#fff0f4!important}.bb-summary-tone-6{background:#eefafa!important}
@media(max-width:980px){.bb-summary-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.bb-summary-list{grid-template-columns:1fr!important}.bb-summary-workspace{min-height:118px!important}.bb-summary-head h2{font-size:19px}}

/* v4.11.57 — dashboard summary uses the full available content width */
.bb-summary-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}


/* v4.11.58 — stronger dashboard card colors */
.bb-summary-tone-1{background:#dce8ff!important;border-color:#b7caf5!important}
.bb-summary-tone-2{background:#ffe4c7!important;border-color:#efc99f!important}
.bb-summary-tone-3{background:#d8f2e3!important;border-color:#acd9bf!important}
.bb-summary-tone-4{background:#eadcff!important;border-color:#cdb6ef!important}
.bb-summary-tone-5{background:#ffdce7!important;border-color:#efb7c9!important}
.bb-summary-tone-6{background:#d7eff1!important;border-color:#acd5d9!important}
.bb-summary-metrics>span{background:rgba(255,255,255,.72)!important}


/* v4.11.61 — colorful Workspace cards matching Dashboard */
.bb-workspace-name-grid .bb-workspace-card-wrap.bb-workspace-tone-1 .bb-workspace-name-card{background:#d9e6ff!important;border-color:#9fc1ff!important}
.bb-workspace-name-grid .bb-workspace-card-wrap.bb-workspace-tone-2 .bb-workspace-name-card{background:#ffe3c4!important;border-color:#f7bd76!important}
.bb-workspace-name-grid .bb-workspace-card-wrap.bb-workspace-tone-3 .bb-workspace-name-card{background:#d8f3e5!important;border-color:#93d8b6!important}
.bb-workspace-name-grid .bb-workspace-card-wrap.bb-workspace-tone-4 .bb-workspace-name-card{background:#e8d8ff!important;border-color:#c7a6f4!important}
.bb-workspace-name-grid .bb-workspace-card-wrap.bb-workspace-tone-5 .bb-workspace-name-card{background:#ffdce5!important;border-color:#f3a7bb!important}
.bb-workspace-name-grid .bb-workspace-card-wrap.bb-workspace-tone-6 .bb-workspace-name-card{background:#d6f0f4!important;border-color:#98ced7!important}
.bb-workspace-name-grid .bb-workspace-name-card:hover{filter:brightness(.985);box-shadow:0 6px 18px rgba(15,23,42,.08)!important}


/* v4.11.62 — frontend header + Workspace Template action styling */
/* The AI/Gemini builder remains configurable in backend settings, but its frontend header icon is intentionally hidden. */
.bb-topbar .bb-ai-builder-trigger{display:none!important}

/* Workspace/Work Area Template delete action: strong dark-red treatment. */
.bb-template-actions .bb-template-delete{
  background:#991b1b!important;
  border-color:#991b1b!important;
  color:#fff!important;
  box-shadow:0 2px 6px rgba(153,27,27,.18)!important;
}
.bb-template-actions .bb-template-delete:hover{
  background:#7f1d1d!important;
  border-color:#7f1d1d!important;
  color:#fff!important;
}

/* Template contents popup controls now use clearly visible filled backgrounds. */
.bb-template-inspector .bb-template-inspector-edit{
  background:#4f46e5!important;
  border-color:#4f46e5!important;
  color:#fff!important;
  box-shadow:0 3px 8px rgba(79,70,229,.20)!important;
}
.bb-template-inspector .bb-template-inspector-edit:hover{
  background:#4338ca!important;
  border-color:#4338ca!important;
  color:#fff!important;
}
.bb-template-inspector .bb-template-inspector-close{
  background:#334155!important;
  border-color:#334155!important;
  color:#fff!important;
  min-width:74px;
}
.bb-template-inspector .bb-template-inspector-close:hover{
  background:#1e293b!important;
  border-color:#1e293b!important;
  color:#fff!important;
}
.bb-modal:has(.bb-template-inspector) .bb-modal-close{
  background:#b91c1c!important;
  color:#fff!important;
  border:1px solid #b91c1c!important;
  box-shadow:0 2px 7px rgba(185,28,28,.20)!important;
}
.bb-modal:has(.bb-template-inspector) .bb-modal-close:hover{
  background:#991b1b!important;
  border-color:#991b1b!important;
  color:#fff!important;
}

/* v4.11.63 — Template "View contents" opens as a true full-screen inspector.
   Applies to both Workspace Templates and Work Area Templates only. */
.bb-modal:has(.bb-template-inspector){
  padding:0!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  background:#fff!important;
}
.bb-modal:has(.bb-template-inspector) .bb-modal-card{
  width:100vw!important;
  height:100vh!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  box-shadow:none!important;
}
.bb-modal:has(.bb-template-inspector) #bb-modal-content{
  width:100%!important;
  height:100%!important;
}
.bb-template-inspector{
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  background:#fff;
}
.bb-template-inspector .bb-template-editor-head{
  flex:0 0 auto;
  min-height:64px;
  margin:0!important;
  padding:14px 64px 14px 22px!important;
  border-bottom:1px solid #e5e7eb;
  background:#fff;
}
.bb-template-inspector .bb-template-editor-head h2{
  font-size:20px;
  line-height:1.25;
}
.bb-template-inspector .bb-table-wrap{
  flex:1 1 auto;
  min-height:0!important;
  width:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.bb-template-inspector .bb-table-wrap::-webkit-scrollbar{
  display:none!important;
  width:0!important;
  height:0!important;
}
.bb-template-inspector .bb-template-content-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  margin:0!important;
}
.bb-template-inspector .bb-template-content-table th,
.bb-template-inspector .bb-template-content-table td{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.bb-template-inspector .bb-template-content-table th:nth-child(1),
.bb-template-inspector .bb-template-content-table td:nth-child(1){width:18%}
.bb-template-inspector .bb-template-content-table th:nth-child(2),
.bb-template-inspector .bb-template-content-table td:nth-child(2){width:42%}
.bb-template-inspector .bb-template-content-table th:nth-child(3),
.bb-template-inspector .bb-template-content-table td:nth-child(3){width:16%}
.bb-template-inspector .bb-template-content-table th:nth-child(4),
.bb-template-inspector .bb-template-content-table td:nth-child(4){width:12%}
.bb-template-inspector .bb-template-content-table th:nth-child(5),
.bb-template-inspector .bb-template-content-table td:nth-child(5){width:12%}
.bb-template-inspector>.bb-form-actions{
  flex:0 0 auto;
  margin:0!important;
  padding:12px 20px!important;
  border-top:1px solid #e5e7eb;
  background:#fff;
}
.bb-modal:has(.bb-template-inspector) .bb-modal-close{
  position:fixed!important;
  z-index:2!important;
  right:18px!important;
  top:14px!important;
  width:36px!important;
  height:36px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border-radius:9px!important;
  font-size:22px!important;
  line-height:1!important;
}
@media(max-width:760px){
  .bb-template-inspector .bb-template-editor-head{padding:12px 56px 12px 12px!important;min-height:58px}
  .bb-template-inspector .bb-template-editor-head h2{font-size:17px}
  .bb-template-inspector .bb-template-content-table{min-width:0!important;font-size:11px}
  .bb-template-inspector .bb-template-content-table th,
  .bb-template-inspector .bb-template-content-table td{padding:8px 6px!important}
  .bb-template-inspector .bb-template-content-table th:nth-child(1),
  .bb-template-inspector .bb-template-content-table td:nth-child(1){width:19%}
  .bb-template-inspector .bb-template-content-table th:nth-child(2),
  .bb-template-inspector .bb-template-content-table td:nth-child(2){width:39%}
  .bb-template-inspector .bb-template-content-table th:nth-child(3),
  .bb-template-inspector .bb-template-content-table td:nth-child(3){width:18%}
  .bb-template-inspector .bb-template-content-table th:nth-child(4),
  .bb-template-inspector .bb-template-content-table td:nth-child(4){width:12%}
  .bb-template-inspector .bb-template-content-table th:nth-child(5),
  .bb-template-inspector .bb-template-content-table td:nth-child(5){width:12%}
  .bb-template-inspector>.bb-form-actions{padding:10px 12px!important}
  .bb-modal:has(.bb-template-inspector) .bb-modal-close{right:10px!important;top:10px!important;width:34px!important;height:34px!important}
}


/* v4.11.64 — Quick Add Assignee / Owner multi-select */
.bb-quick-people-panel{display:block!important;padding:0!important;background:#fff!important;border:1px solid #dfe4ec!important;overflow:hidden}
.bb-quick-people-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px 7px;border-bottom:1px solid #edf0f4}
.bb-quick-people-header>strong{font-size:11.5px;color:#475569;font-weight:800}
.bb-quick-people-header .bb-quick-people-clear{border:0;background:transparent;color:#4f63f6;font-size:10.5px;font-weight:800;cursor:pointer;padding:3px 4px}
.bb-quick-people-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:8px}
.bb-quick-people-group{min-width:0;border:1px solid #e4e8ef;border-radius:9px;background:#fbfcfe;overflow:hidden}
.bb-quick-people-group-title{display:flex;align-items:baseline;justify-content:space-between;gap:6px;padding:7px 8px 5px;border-bottom:1px solid #edf0f4}
.bb-quick-people-group-title strong{font-size:11.5px;color:#111827;font-weight:800}
.bb-quick-people-group-title span{font-size:9px;color:#94a3b8;font-weight:650}
.bb-quick-people-group .bb-quick-people-list{display:flex;flex-direction:column;gap:2px;max-height:160px;overflow:auto;padding:4px;scrollbar-width:thin}
.bb-quick-people-group .bb-quick-person{padding:5px 6px!important;margin:0!important;border-radius:6px}
.bb-quick-people-group .bb-quick-person span{display:block;min-width:0;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;word-break:break-word;line-height:1.25}
.bb-quick-people-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-top:1px solid #edf0f4;background:#fff}
.bb-quick-people-actions button{height:30px;border-radius:7px;padding:0 14px;font-size:10.5px;font-weight:800;cursor:pointer}
.bb-quick-people-clear-bottom{border:1px solid #cfd6e2;background:#fff;color:#4761df}
.bb-quick-people-done{border:1px solid #3f55ef;background:#4f63f6;color:#fff;min-width:84px}
.bb-quick-people-done:hover{filter:brightness(.96)}
@media(max-width:640px){
 .bb-quick-people-columns{grid-template-columns:1fr;gap:7px}
 .bb-quick-people-group .bb-quick-people-list{max-height:130px}
 .bb-quick-people-group-title span{display:none}
}

/* v4.11.65: every Workspace must have at least one Owner. */
.bb-workspace-owner-required{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.bb-workspace-owner-required.has-error{border-color:#b42318!important;background:#fff7f7!important;box-shadow:0 0 0 2px rgba(180,35,24,.10)}
.bb-owner-required-note{display:flex;align-items:center;gap:5px;margin-top:8px;color:#667085;font-size:10px;font-weight:600}
.bb-owner-required-note span{color:#b42318;font-weight:900}
.bb-owner-required-error{margin-top:7px;padding:8px 10px;border-radius:8px;background:#fee4e2;color:#912018;font-size:10px;font-weight:800}


/* v4.11.69 — Global cross / X action styling.
   Every visible X/cross control across Workboard uses the same dark-red treatment. */
.bb-modal-close,
.bb-modal-x,
.bb-drawer-close,
.bb-inline-pop-close,
.bb-recur-pop .bb-inline-pop-close,
.bb-card-subtask-add-cancel,
.bb-keep-new-cancel,
.bb-inline-subtask-delete,
.bb-remove-assignment,
.bb-remove-check,
.bb-ai-remove-task,
.bb-ai-remove-area,
button[data-delete-attachment],
.bb-workarea-add-unified.is-open {
  background:#991b1b!important;
  border-color:#991b1b!important;
  color:#fff!important;
}
.bb-modal-close:hover,
.bb-modal-x:hover,
.bb-drawer-close:hover,
.bb-inline-pop-close:hover,
.bb-recur-pop .bb-inline-pop-close:hover,
.bb-card-subtask-add-cancel:hover,
.bb-keep-new-cancel:hover,
.bb-inline-subtask-delete:hover,
.bb-remove-assignment:hover,
.bb-remove-check:hover,
.bb-ai-remove-task:hover,
.bb-ai-remove-area:hover,
button[data-delete-attachment]:hover,
.bb-workarea-add-unified.is-open:hover {
  background:#7f1d1d!important;
  border-color:#7f1d1d!important;
  color:#fff!important;
}
.bb-modal-close:focus-visible,
.bb-modal-x:focus-visible,
.bb-drawer-close:focus-visible,
.bb-inline-pop-close:focus-visible,
.bb-card-subtask-add-cancel:focus-visible,
.bb-keep-new-cancel:focus-visible,
.bb-inline-subtask-delete:focus-visible,
.bb-remove-assignment:focus-visible,
.bb-remove-check:focus-visible,
.bb-ai-remove-task:focus-visible,
.bb-ai-remove-area:focus-visible,
button[data-delete-attachment]:focus-visible,
.bb-workarea-add-unified.is-open:focus-visible {
  outline:2px solid #fecaca!important;
  outline-offset:2px!important;
}


/* v4.11.70 — Cross / X controls stay visually constant in every interaction state.
   No hover, focus or active colour change: always dark red with a white X. */
.bb-modal-close,
.bb-modal-x,
.bb-drawer-close,
.bb-inline-pop-close,
.bb-recur-pop .bb-inline-pop-close,
.bb-card-subtask-add-cancel,
.bb-keep-new-cancel,
.bb-inline-subtask-delete,
.bb-remove-assignment,
.bb-remove-check,
.bb-ai-remove-task,
.bb-ai-remove-area,
button[data-delete-attachment],
.bb-workarea-add-unified.is-open,
.bb-modal-close:hover,
.bb-modal-x:hover,
.bb-drawer-close:hover,
.bb-inline-pop-close:hover,
.bb-recur-pop .bb-inline-pop-close:hover,
.bb-card-subtask-add-cancel:hover,
.bb-keep-new-cancel:hover,
.bb-inline-subtask-delete:hover,
.bb-remove-assignment:hover,
.bb-remove-check:hover,
.bb-ai-remove-task:hover,
.bb-ai-remove-area:hover,
button[data-delete-attachment]:hover,
.bb-workarea-add-unified.is-open:hover,
.bb-modal-close:focus,
.bb-modal-x:focus,
.bb-drawer-close:focus,
.bb-inline-pop-close:focus,
.bb-recur-pop .bb-inline-pop-close:focus,
.bb-card-subtask-add-cancel:focus,
.bb-keep-new-cancel:focus,
.bb-inline-subtask-delete:focus,
.bb-remove-assignment:focus,
.bb-remove-check:focus,
.bb-ai-remove-task:focus,
.bb-ai-remove-area:focus,
button[data-delete-attachment]:focus,
.bb-workarea-add-unified.is-open:focus,
.bb-modal-close:focus-visible,
.bb-modal-x:focus-visible,
.bb-drawer-close:focus-visible,
.bb-inline-pop-close:focus-visible,
.bb-recur-pop .bb-inline-pop-close:focus-visible,
.bb-card-subtask-add-cancel:focus-visible,
.bb-keep-new-cancel:focus-visible,
.bb-inline-subtask-delete:focus-visible,
.bb-remove-assignment:focus-visible,
.bb-remove-check:focus-visible,
.bb-ai-remove-task:focus-visible,
.bb-ai-remove-area:focus-visible,
button[data-delete-attachment]:focus-visible,
.bb-workarea-add-unified.is-open:focus-visible,
.bb-modal-close:active,
.bb-modal-x:active,
.bb-drawer-close:active,
.bb-inline-pop-close:active,
.bb-recur-pop .bb-inline-pop-close:active,
.bb-card-subtask-add-cancel:active,
.bb-keep-new-cancel:active,
.bb-inline-subtask-delete:active,
.bb-remove-assignment:active,
.bb-remove-check:active,
.bb-ai-remove-task:active,
.bb-ai-remove-area:active,
button[data-delete-attachment]:active,
.bb-workarea-add-unified.is-open:active {
  background:#991b1b!important;
  border-color:#991b1b!important;
  color:#fff!important;
  filter:none!important;
  box-shadow:none!important;
  outline:none!important;
  transform:none!important;
}


/* v4.11.72 — force inline popover close buttons (Remarks, Assignee, Labels, Recurrence, Sub Tasks)
   to remain dark red with a white X, regardless of inherited/theme button styles. */
.bb-inline-popover .bb-inline-pop-head > .bb-inline-pop-close,
.bb-inline-popover .bb-inline-pop-head > .bb-inline-pop-close:hover,
.bb-inline-popover .bb-inline-pop-head > .bb-inline-pop-close:focus,
.bb-inline-popover .bb-inline-pop-head > .bb-inline-pop-close:focus-visible,
.bb-inline-popover .bb-inline-pop-head > .bb-inline-pop-close:active,
.bb-fixed-red-cross,
.bb-fixed-red-cross:hover,
.bb-fixed-red-cross:focus,
.bb-fixed-red-cross:focus-visible,
.bb-fixed-red-cross:active {
  background:#991b1b!important;
  background-color:#991b1b!important;
  border:1px solid #991b1b!important;
  border-color:#991b1b!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  filter:none!important;
  box-shadow:none!important;
}


/* v4.11.76 — Optional Folder view for organizing selected Workspaces */
.bb-folder-shell{max-width:1180px;margin:0 auto;padding:2px 0 30px}
.bb-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.bb-folder-card{position:relative;min-height:160px;border:1px solid color-mix(in srgb,var(--folder,#4f46e5) 42%,#dbe2ea);border-radius:16px;background:linear-gradient(145deg,color-mix(in srgb,var(--folder,#4f46e5) 13%,#fff),#fff 68%);box-shadow:0 7px 22px rgba(15,23,42,.06);overflow:hidden}
.bb-folder-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--folder,#4f46e5)}
.bb-folder-open{width:100%;min-height:160px;border:0;background:transparent;text-align:left;padding:18px 18px 54px 20px;cursor:pointer;color:#172033;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.bb-folder-open strong{font-size:17px;line-height:1.3;overflow-wrap:anywhere}.bb-folder-open>small{color:#64748b;line-height:1.35}.bb-folder-icon{width:34px;height:30px;display:grid;place-items:center;border-radius:9px;background:color-mix(in srgb,var(--folder,#4f46e5) 15%,#fff);color:var(--folder,#4f46e5);font-size:18px;font-weight:800;margin-bottom:3px}
.bb-folder-preview{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.bb-folder-preview span,.bb-folder-preview em{font-style:normal;font-size:10.5px;font-weight:700;padding:4px 7px;border-radius:999px;background:#fff;border:1px solid #e2e8f0;color:#475569;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-folder-preview em{color:#7c3aed;background:#f5f3ff}
.bb-folder-actions{position:absolute;left:16px;bottom:12px;display:flex;gap:6px}.bb-folder-actions .bb-mini{background:#fff}
.bb-folder-standalone{margin-top:28px;padding-top:20px;border-top:1px solid #e2e8f0}.bb-folder-section-title{margin-bottom:12px}.bb-folder-section-title h3{margin:0 0 4px;font-size:16px}.bb-folder-section-title p{margin:0;color:#64748b;font-size:12px}
.bb-folder-workspace-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.bb-folder-workspace-card{min-height:66px;border:1px solid #d8deeb;border-radius:12px;background:#fff;padding:14px 16px;text-align:left;cursor:pointer;box-shadow:0 3px 12px rgba(15,23,42,.04)}.bb-folder-workspace-card:hover{border-color:#a5b4fc;background:#f8f9ff}.bb-folder-workspace-card span{font-weight:800;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.bb-folder-detail-head{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.bb-folder-detail-title{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.bb-folder-detail-title h2{margin:0;font-size:19px;overflow-wrap:anywhere}.bb-folder-detail-title p{margin:3px 0 0;color:#64748b;font-size:12px}.bb-folder-color{width:12px;height:42px;border-radius:8px;background:var(--folder,#4f46e5);flex:0 0 12px}
.bb-folder-workspace-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:54vh;overflow:auto;padding:2px}.bb-folder-workspace-option{display:flex;align-items:flex-start;gap:10px;border:1px solid #e2e8f0;border-radius:11px;padding:10px 12px;background:#fff;cursor:pointer}.bb-folder-workspace-option:has(input:checked){border-color:#a5b4fc;background:#f5f7ff}.bb-folder-workspace-option input{margin-top:3px}.bb-folder-workspace-option span{display:flex;flex-direction:column;min-width:0}.bb-folder-workspace-option strong{font-size:12px;overflow-wrap:anywhere}.bb-folder-workspace-option small{font-size:10px;color:#64748b;margin-top:2px}
@media(max-width:720px){.bb-folder-grid,.bb-folder-workspace-grid,.bb-folder-workspace-options{grid-template-columns:1fr}.bb-folder-detail-head{align-items:stretch;flex-direction:column}.bb-folder-detail-head>.bb-btn{width:100%}.bb-folder-open{min-height:145px}.bb-folder-card{min-height:145px}}
\n\n/* v4.11.77 — Folder Workspace cards match the main Workspaces view */\n.bb-folder-shell{max-width:none!important;width:100%!important;margin:0!important}\n.bb-folder-workspace-grid.bb-workspace-name-grid{\n  display:grid!important;\n  grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;\n  gap:14px!important;\n}\n.bb-folder-workspace-grid.bb-workspace-name-grid .bb-workspace-card-wrap{min-width:0}\n.bb-folder-workspace-grid.bb-workspace-name-grid .bb-workspace-name-card{width:100%}\n@media(max-width:640px){\n  .bb-folder-workspace-grid.bb-workspace-name-grid{grid-template-columns:1fr!important;gap:10px!important}\n}\n

/* v4.11.78 — Folder cards show Workspace count only */
.bb-folder-open{position:relative;padding-right:72px!important}
.bb-folder-workspace-count{
  position:absolute;
  top:18px;
  right:18px;
  min-width:34px;
  height:34px;
  padding:0 9px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:color-mix(in srgb,var(--folder,#4f46e5) 15%,#fff);
  border:1px solid color-mix(in srgb,var(--folder,#4f46e5) 30%,#dbe2ea);
  color:var(--folder,#4f46e5);
  font-size:13px;
  font-weight:800;
  line-height:1;
}
.bb-folder-preview{display:none!important}
@media(max-width:720px){.bb-folder-workspace-count{top:16px;right:16px}}


/* v4.11.79 — Compact Folder cards with colorful bottom actions */
.bb-folder-grid{
  grid-template-columns:repeat(auto-fill,minmax(220px,340px))!important;
  gap:12px!important;
  align-items:start;
}
.bb-folder-card{
  min-height:112px!important;
  border-radius:14px!important;
  box-shadow:0 4px 14px rgba(15,23,42,.05)!important;
}
.bb-folder-open{
  min-height:112px!important;
  padding:13px 58px 45px 16px!important;
  gap:3px!important;
}
.bb-folder-icon{
  width:28px!important;
  height:25px!important;
  border-radius:8px!important;
  font-size:15px!important;
  margin-bottom:2px!important;
}
.bb-folder-open strong{
  font-size:15px!important;
  line-height:1.2!important;
}
.bb-folder-open>small{
  font-size:11px!important;
  line-height:1.25!important;
  max-height:28px;
  overflow:hidden;
}
.bb-folder-workspace-count{
  top:13px!important;
  right:14px!important;
  min-width:30px!important;
  height:30px!important;
  padding:0 8px!important;
  font-size:12px!important;
}
.bb-folder-actions{
  left:16px!important;
  bottom:9px!important;
  gap:6px!important;
}
.bb-folder-actions .bb-mini{
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  padding:0!important;
  border-radius:8px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:14px!important;
  font-weight:800!important;
  box-shadow:none!important;
}
.bb-folder-actions [data-manage-folder-workspaces]{
  color:#047857!important;
  background:#ecfdf5!important;
  border:1px solid #a7f3d0!important;
}
.bb-folder-actions [data-edit-folder]{
  color:#4338ca!important;
  background:#eef2ff!important;
  border:1px solid #c7d2fe!important;
}
.bb-folder-actions [data-delete-folder],
.bb-folder-actions [data-delete-folder]:hover,
.bb-folder-actions [data-delete-folder]:focus,
.bb-folder-actions [data-delete-folder]:active{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:#991b1b!important;
  border:1px solid #991b1b!important;
  filter:none!important;
}
@media(max-width:720px){
  .bb-folder-grid{grid-template-columns:1fr!important}
  .bb-folder-card,.bb-folder-open{min-height:108px!important}
}

/* v4.11.80 — Folder icon, name and count on one line */
.bb-folder-open{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  grid-template-rows:auto 1fr!important;
  align-items:center!important;
  column-gap:8px!important;
  row-gap:4px!important;
  padding:13px 14px 45px 16px!important;
}
.bb-folder-icon{
  grid-column:1!important;
  grid-row:1!important;
  margin:0!important;
  flex:none!important;
}
.bb-folder-open strong{
  grid-column:2!important;
  grid-row:1!important;
  margin:0!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.bb-folder-workspace-count{
  position:static!important;
  grid-column:3!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  margin:0!important;
}
.bb-folder-open>small{
  grid-column:1 / 4!important;
  grid-row:2!important;
  margin-top:2px!important;
}

/* v4.11.82 — optional multi-Folder selection */
.bb-folder-multi-pick{display:flex;flex-wrap:wrap;gap:7px;padding:8px 9px;border:1px solid #d8deeb;border-radius:10px;background:#fff;min-height:40px;align-items:center}
.bb-folder-multi-pick label{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #dbe2ea;border-radius:9px;background:#f8fafc;font-size:12px;font-weight:700;cursor:pointer}
.bb-folder-multi-pick label:has(input:checked){border-color:#818cf8;background:#eef2ff;color:#3730a3}
.bb-folder-multi-pick input{margin:0}
.bb-folder-multi-pick .bb-muted{font-size:12px;color:#64748b}

/* v4.11.83 — Drag standalone Workspaces into Folders */
.bb-folder-assign-handle{
  position:absolute;
  right:9px;
  top:9px;
  width:30px;
  height:30px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:repeat(2,3px);
  grid-template-rows:repeat(3,3px);
  gap:3px;
  place-content:center;
  cursor:grab;
  z-index:6;
  touch-action:none;
  -webkit-user-select:none;
  user-select:none;
}
.bb-folder-assign-handle span{width:3px;height:3px;border-radius:50%;background:#475569;display:block}
.bb-folder-assign-handle:active{cursor:grabbing}
.bb-folder-draggable-workspace .bb-workspace-name-card{padding-right:48px!important}
.bb-folder-drag-source{opacity:.42!important}
.bb-folder-drag-ghost{opacity:.94;transform:rotate(.35deg);box-shadow:0 16px 38px rgba(15,23,42,.20)!important}
body.bb-folder-assignment-active,body.bb-folder-assignment-active *{cursor:grabbing!important}
.bb-folder-card[data-folder-drop]{transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease,background .12s ease}
.bb-folder-card.bb-folder-drop-active{
  border-color:var(--folder,#4f46e5)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--folder,#4f46e5) 22%,transparent),0 10px 25px rgba(15,23,42,.10)!important;
  transform:translateY(-2px);
  background:color-mix(in srgb,var(--folder,#4f46e5) 12%,#fff)!important;
}
.bb-folder-card.bb-folder-drop-active:after{
  content:"Drop here";
  position:absolute;
  right:10px;
  bottom:9px;
  z-index:8;
  padding:4px 8px;
  border-radius:999px;
  background:var(--folder,#4f46e5);
  color:#fff;
  font-size:10px;
  font-weight:800;
  pointer-events:none;
}
@media(max-width:640px){
  .bb-folder-assign-handle{right:8px;top:8px;width:28px;height:28px}
  .bb-folder-draggable-workspace .bb-workspace-name-card{padding-right:44px!important}
}


/* v4.11.86 — Existing task card: combined Assignee + Owner multi-select popup */
.bb-assignee-pop{
  width:min(440px,calc(100vw - 24px))!important;
  max-width:440px!important;
  max-height:none!important;
  overflow:hidden!important;
}
.bb-assignee-pop .bb-inline-people-columns{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px;
  padding:8px;
}
.bb-assignee-pop .bb-inline-people-group{
  min-width:0;
  border:1px solid #e4e8ef;
  border-radius:9px;
  background:#fbfcfe;
  overflow:hidden;
}
.bb-assignee-pop .bb-inline-people-title{
  padding:8px 9px 6px;
  border-bottom:1px solid #edf0f4;
  color:#111827;
  font-size:11.5px;
  font-weight:800;
}
.bb-assignee-pop .bb-inline-person-list{
  max-height:220px!important;
  margin:0!important;
  padding:4px!important;
  overflow:auto!important;
}
.bb-assignee-pop .bb-inline-person-row{
  align-items:flex-start!important;
  min-height:34px!important;
  padding:6px!important;
}
.bb-assignee-pop .bb-inline-person-row span{
  display:block;
  min-width:0;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.25;
}
.bb-assignee-pop .bb-inline-people-empty{
  display:block;
  padding:9px;
  color:#98a2b3;
  font-size:10.5px;
}
.bb-assignee-pop .bb-inline-people-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px;
  border-top:1px solid #edf0f4;
  background:#fff;
}
.bb-assignee-pop .bb-inline-people-actions button{
  height:30px!important;
  min-height:30px!important;
  border-radius:7px!important;
  padding:0 14px!important;
  font-size:10.5px!important;
  font-weight:800!important;
  cursor:pointer;
}
.bb-assignee-pop .bb-inline-people-clear{
  border:1px solid #cfd6e2!important;
  background:#fff!important;
  color:#4761df!important;
}
.bb-assignee-pop .bb-inline-people-done{
  min-width:84px;
  border:1px solid #3f55ef!important;
  background:#4f63f6!important;
  color:#fff!important;
}
@media(max-width:640px){
  .bb-assignee-pop .bb-inline-people-columns{grid-template-columns:1fr}
  .bb-assignee-pop .bb-inline-person-list{max-height:145px!important}
}


/* v4.11.87 — Task Activity + Focus as icon-only actions below task metadata */
.bb-task-bottom-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  margin-top:5px!important;
  min-height:22px!important;
}
.bb-task-bottom-actions button{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  min-height:22px!important;
  margin:0!important;
  padding:3px!important;
  border:0!important;
  border-radius:6px!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.bb-task-bottom-activity{color:#5b55da!important;opacity:.95!important}
.bb-task-bottom-activity:hover,.bb-task-bottom-activity:focus-visible{background:#eeedff!important;color:#4f46e5!important;outline:none!important}
.bb-task-bottom-activity svg{
  width:15px!important;height:15px!important;display:block!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important;
}
.bb-task-bottom-focus{color:#159447!important}
.bb-task-bottom-focus:hover,.bb-task-bottom-focus:focus-visible{background:#ecfdf3!important;color:#08783a!important;outline:none!important}
.bb-task-bottom-focus.active{background:#fff4e5!important;color:#d97706!important}
/* Right-side area is now reserved only for the subtask hierarchy toggle. */
.bb-task-side-actions:empty{display:none!important}
@media(max-width:640px){
  .bb-task-bottom-actions{gap:4px!important;margin-top:4px!important;min-height:21px!important}
  .bb-task-bottom-actions button{width:21px!important;height:21px!important;min-width:21px!important;min-height:21px!important;padding:3px!important}
  .bb-task-bottom-activity svg,.bb-task-bottom-focus svg{width:14px!important;height:14px!important}
}


/* v4.11.88 — icon-only urgent WhatsApp reminder beside Focus */
.bb-task-bottom-urgent{color:#dc2626!important}
.bb-task-bottom-urgent:hover,.bb-task-bottom-urgent:focus-visible{background:#fff1f2!important;color:#b91c1c!important;outline:none!important}
.bb-task-bottom-urgent.is-saving{opacity:.45!important;cursor:wait!important}
.bb-task-bottom-urgent svg{
  width:15px!important;height:15px!important;display:block!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important;
}
@media(max-width:640px){.bb-task-bottom-urgent svg{width:14px!important;height:14px!important}}


/* v4.11.89 — inline Due Date + Time editor */
.bb-datetime-pop{
  width:min(330px,calc(100vw - 24px))!important;
  max-width:330px!important;
  overflow:visible!important;
}
.bb-datetime-pop .bb-inline-datetime-fields{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
  gap:8px;
  padding:10px;
}
.bb-datetime-pop .bb-inline-datetime-fields label{
  display:flex;
  flex-direction:column;
  gap:5px;
  min-width:0;
}
.bb-datetime-pop .bb-inline-datetime-fields label>span{
  color:#475467;
  font-size:10.5px;
  font-weight:800;
}
.bb-datetime-pop .bb-inline-datetime-fields input{
  width:100%;
  min-width:0;
  height:36px;
  box-sizing:border-box;
  border:1px solid #d7deea;
  border-radius:8px;
  background:#fff;
  color:#111827;
  padding:0 8px;
  font:inherit;
  font-size:12px;
  outline:none;
}
.bb-datetime-pop .bb-inline-datetime-fields input:focus{
  border-color:#6675f7;
  box-shadow:0 0 0 2px rgba(79,99,246,.12);
}
.bb-datetime-pop .bb-inline-datetime-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  padding:8px 10px 10px;
  border-top:1px solid #edf0f4;
}
.bb-datetime-pop .bb-inline-datetime-actions button{
  min-height:32px!important;
  height:32px!important;
  border-radius:8px!important;
  padding:0 14px!important;
  font-size:11px!important;
  font-weight:800!important;
  cursor:pointer;
}
.bb-datetime-pop .bb-inline-datetime-clear{
  border:1px solid #d6dce8!important;
  background:#fff!important;
  color:#475467!important;
}
.bb-datetime-pop .bb-inline-datetime-save{
  min-width:76px;
  border:1px solid #4355e9!important;
  background:#4f63f6!important;
  color:#fff!important;
}
.bb-field-date.has-value{
  white-space:nowrap;
}
@media(max-width:520px){
  .bb-datetime-pop .bb-inline-datetime-fields{grid-template-columns:1fr 1fr;gap:6px;padding:8px}
  .bb-datetime-pop .bb-inline-datetime-fields input{font-size:11px;padding:0 6px}
}

/* v4.11.91 — Quick Add reminder controls */
.bb-quick-notify-panel{
  display:block!important;
  padding:9px!important;
}
.bb-quick-notify-panel[hidden]{display:none!important}
.bb-quick-notify-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  width:100%;
}
.bb-quick-notify-panel .bb-quick-notify-row{
  min-width:0!important;
  min-height:36px;
  flex-direction:row!important;
  justify-content:flex-start;
  padding:7px 9px;
  border:1px solid #e3e7ef;
  border-radius:8px;
  background:#fff;
  color:#344054;
  font-size:11px!important;
  font-weight:700!important;
}
.bb-quick-notify-panel .bb-quick-notify-row input{
  flex:0 0 auto;
  width:18px!important;
  height:18px!important;
  margin:0!important;
}
.bb-quick-notify-panel .bb-quick-notify-row span{
  min-width:0;
  line-height:1.25;
  overflow-wrap:anywhere;
}
.bb-quick-reminder-controls{
  display:grid;
  grid-template-columns:minmax(80px,.7fr) minmax(110px,1fr);
  gap:8px;
  width:100%;
  margin-top:8px;
  padding-top:8px;
  border-top:1px solid #e7eaf0;
}
.bb-quick-reminder-controls[hidden]{display:none!important}
.bb-quick-reminder-controls label{min-width:0!important}
.bb-quick-reminder-controls input,
.bb-quick-reminder-controls select{width:100%!important}

/* Full task form reminder controls */
.bb-task-reminder-toggle{margin-top:8px!important}
.bb-task-reminder-controls{
  display:grid;
  grid-template-columns:minmax(120px,180px) minmax(140px,220px);
  gap:10px;
  align-items:end;
  margin-top:10px;
  padding:10px;
  border:1px solid #e5e9f0;
  border-radius:10px;
  background:#f8fafc;
}
.bb-task-reminder-controls[hidden]{display:none!important}
.bb-task-reminder-controls .bb-field{margin:0!important}
@media(max-width:640px){
  .bb-quick-notify-options{grid-template-columns:1fr}
  .bb-quick-reminder-controls{grid-template-columns:1fr 1fr}
  .bb-task-reminder-controls{grid-template-columns:1fr 1fr}
}
