: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}
/* v4.12.60 — Activity Log filters: two clean rows, Search first */
.bb-activity-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:10px}
.bb-activity-filters input,.bb-activity-filters select{height:36px;min-width:0;border:1px solid #d8dee9;border-radius:8px;padding:6px 8px;background:#fff;font-size:11px}
.bb-activity-filters>button{height:36px;min-width:0;width:100%;justify-content:center}
.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:#fff;
}
.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,.bb-notespace-owner-required{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.bb-workspace-owner-required.has-error,.bb-notespace-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}
}

/* v4.11.95 — Shared Work/Notes navigation, Task transfer, Notespaces */
.bb-nav-sectioned{gap:10px!important}
.bb-nav-section{display:flex;flex-direction:column;gap:4px}
.bb-nav-section-title{
  padding:8px 13px 4px;
  color:#91a4bf;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  user-select:none;
}
.bb-sidebar-collapsed .bb-nav-section-title{font-size:0;padding:5px 0 2px;text-align:center}
.bb-sidebar-collapsed .bb-nav-section-title:after{content:"";display:block;width:28px;height:1px;margin:auto;background:rgba(255,255,255,.14)}
@media(max-width:1100px) and (min-width:641px){.bb-nav-section-title{font-size:0;padding:5px 0 2px}.bb-nav-section-title:after{content:"";display:block;width:28px;height:1px;margin:auto;background:rgba(255,255,255,.14)}}
@media(max-width:640px){.bb-nav-section-title{font-size:9px!important;padding:10px 12px 5px!important}.bb-nav-section-title:after{display:none!important}}

/* Task-card move icon: immediately after the urgent-reminder bell. */
.bb-task-bottom-move{color:#2563eb!important}
.bb-task-bottom-move:hover,.bb-task-bottom-move:focus-visible{background:#eff6ff!important;color:#1d4ed8!important;outline:none!important}
.bb-task-bottom-move:disabled{color:#94a3b8!important;opacity:.55!important;cursor:not-allowed!important;background:transparent!important}
.bb-task-bottom-move 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-move svg{width:14px!important;height:14px!important}}

/* Compact Work Area / Note Area move picker. */
.bb-task-move-picker{padding:28px;max-width:520px;margin:auto}
.bb-task-move-picker .bb-form-heading{padding-right:34px}
.bb-task-move-picker .bb-form-heading h2{margin:0 0 3px}
.bb-task-move-picker .bb-form-heading p{margin:0;color:#667085;overflow-wrap:anywhere}
.bb-area-choice-list{display:flex;flex-direction:column;gap:7px;margin-top:18px;max-height:54vh;overflow:auto;padding:2px}
.bb-area-choice{
  width:100%;border:1px solid #dfe5ef;background:#fff;color:#25324a;border-radius:10px;
  min-height:44px;padding:9px 11px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;font-weight:750
}
.bb-area-choice:hover:not(:disabled){border-color:#9cb1ff;background:#f7f9ff}
.bb-area-choice.current{background:#f3f5f8;color:#64748b;cursor:default}
.bb-area-choice-dot{width:10px;height:30px;border-radius:8px;background:var(--area,#4f46e5);flex:0 0 10px}
.bb-area-choice>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
.bb-area-choice small{margin-left:auto;color:#7b879c;font-size:9px;text-transform:uppercase;letter-spacing:.07em}

/* Notespace library cards. */
.bb-notespace-list-shell{width:100%}
.bb-notespace-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:14px;
  width:100%;
}
.bb-notespace-card-wrap{
  --ns-bg:#f5f3ff;--ns-edge:#8b5cf6;--ns-ink:#5b21b6;
  position:relative;min-width:0;min-height:116px;border:1px solid color-mix(in srgb,var(--ns-edge) 35%,#e2e8f0);
  border-radius:14px;overflow:hidden;background:linear-gradient(145deg,var(--ns-bg),#fff 78%);box-shadow:0 5px 18px rgba(15,23,42,.055)
}
.bb-notespace-card-wrap:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--ns-edge)}
.bb-notespace-tone-1{--ns-bg:#f5f3ff;--ns-edge:#7c3aed;--ns-ink:#5b21b6}
.bb-notespace-tone-2{--ns-bg:#eef8ff;--ns-edge:#0ea5e9;--ns-ink:#0369a1}
.bb-notespace-tone-3{--ns-bg:#ecfdf5;--ns-edge:#10b981;--ns-ink:#047857}
.bb-notespace-tone-4{--ns-bg:#fff7ed;--ns-edge:#f97316;--ns-ink:#c2410c}
.bb-notespace-tone-5{--ns-bg:#fff1f2;--ns-edge:#f43f5e;--ns-ink:#be123c}
.bb-notespace-tone-6{--ns-bg:#f0fdfa;--ns-edge:#14b8a6;--ns-ink:#0f766e}
.bb-notespace-name-card{
  width:100%;min-height:116px;border:0;background:transparent;color:#182230;text-align:left;cursor:pointer;
  padding:18px 16px 48px 20px;display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;gap:5px 9px
}
.bb-notespace-name-card>span:nth-child(2){font-size:15px;font-weight:850;line-height:1.3;overflow-wrap:anywhere}
.bb-notespace-name-card small{grid-column:2;color:#667085;font-size:10.5px;line-height:1.35;overflow-wrap:anywhere}
.bb-notespace-card-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#fff;color:var(--ns-ink);border:1px solid color-mix(in srgb,var(--ns-edge) 28%,#e2e8f0);font-size:16px;font-weight:900}
.bb-notespace-name-card:hover{background:rgba(255,255,255,.32)}
.bb-notespace-card-actions{position:absolute;left:18px;bottom:10px;display:flex;align-items:center;gap:8px}
.bb-notespace-card-actions .bb-workspace-action{width:36px!important;height:36px!important;min-width:36px!important;padding:8px!important;border-radius:10px!important}
.bb-notespace-card-actions svg{width:18px!important;height:18px!important}

/* Notespace board and Note Areas. */
.bb-notespace-board-shell{width:100%;min-width:0}
.bb-notespace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.bb-notespace-toolbar .bb-inline-search{margin-left:auto}
.bb-notes-board-scroll{overflow-x:auto;overflow-y:visible;padding:2px 2px 14px;scrollbar-width:thin;scroll-behavior:smooth}
.bb-notes-board{display:flex;align-items:flex-start;gap:14px;min-width:max-content}
.bb-note-area-column{
  width:310px;min-width:310px;max-width:310px;background:#fff;border:1px solid #dce3ee;border-top:3px solid var(--note-area,#7c3aed);
  border-radius:13px;box-shadow:0 4px 14px rgba(15,23,42,.045);overflow:hidden
}
.bb-note-area-head{min-height:48px;padding:8px 9px 8px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #edf0f5;background:linear-gradient(180deg,color-mix(in srgb,var(--note-area,#7c3aed) 6%,#fff),#fff)}
.bb-note-area-title{display:flex;align-items:center;gap:7px;min-width:0;flex:1}
.bb-note-area-title strong{font-size:12.5px;color:#27364e;overflow-wrap:anywhere;min-width:0}
.bb-note-area-title small{margin-left:auto;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:#f1f4f8;color:#667085;display:grid;place-items:center;font-size:9px;font-weight:800}
.bb-note-area-mark{width:7px;height:28px;border-radius:8px;background:var(--note-area,#7c3aed);flex:0 0 7px}
.bb-note-area-actions,.bb-note-card-actions{display:flex;align-items:center;gap:6px}
.bb-note-icon-btn,.bb-note-card-actions button{
  width:32px;height:32px;min-width:32px;border:1px solid #dbe2ed;border-radius:9px;background:#fff;color:#52637e;
  display:grid;place-items:center;padding:0;cursor:pointer;font-size:16px;font-weight:800;line-height:1
}
.bb-note-icon-btn:hover,.bb-note-card-actions button:hover{background:#f6f8fb;border-color:#c4cede}
.bb-note-icon-btn.add{color:#4f46e5;border-color:#cbd2ff;background:#f8f8ff}
.bb-note-card-list{min-height:86px;padding:9px;display:flex;flex-direction:column;gap:8px;background:#fafbfc}
.bb-note-empty{border:1px dashed #d8deea;border-radius:9px;color:#98a2b3;text-align:center;padding:20px 8px;font-size:10px;background:#fff}

/* Note Cards: text and rich links. */
.bb-note-card{
  position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px;background:#fff;border:1px solid #dce3ee;
  border-radius:11px;padding:10px 8px 8px 5px;box-shadow:0 2px 6px rgba(15,23,42,.035);min-width:0;touch-action:auto
}
.bb-note-card:hover{border-color:#c5d1e3;box-shadow:0 4px 12px rgba(15,23,42,.06)}
.bb-note-drag-handle{border:0;background:transparent;padding:5px 2px;cursor:grab;align-self:start;touch-action:none;color:#9aa6b8}
.bb-note-drag-handle:active{cursor:grabbing}
.bb-note-drag-handle .bb-grip-dots{transform:scale(.82);transform-origin:center}
.bb-note-card-body{min-width:0;overflow:hidden}
.bb-note-text{font-size:12px;line-height:1.46;color:#27364e;overflow-wrap:anywhere;word-break:break-word}
.bb-note-card-actions{grid-column:2;justify-content:flex-end;margin-top:7px;padding-top:6px;border-top:1px solid #f0f2f5}
.bb-note-card-actions button{width:32px;height:32px;min-width:32px;font-size:15px}
.bb-note-link-preview{display:block;text-decoration:none!important;color:inherit!important;border:1px solid #e4e8ef;border-radius:9px;overflow:hidden;background:#fff}
.bb-note-link-preview img{display:block;width:100%;height:130px;object-fit:cover;background:#eef1f5}
.bb-note-link-body{display:flex;flex-direction:column;gap:4px;padding:9px}
.bb-note-link-body strong{font-size:12px;line-height:1.35;color:#1e293b;overflow-wrap:anywhere}
.bb-note-link-body small{font-size:10px;line-height:1.4;color:#667085;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bb-note-link-body em{font-style:normal;font-size:9px;color:#667085;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-note-link-preview:hover{border-color:#b9c7df;background:#fbfcff}
.bb-note-link-comment{margin-top:7px;padding:7px 8px;border-radius:7px;background:#f7f8fb;color:#526079;font-size:10.5px;line-height:1.4;overflow-wrap:anywhere}
.bb-note-text .bb-note-line,.bb-note-link-comment .bb-note-line{display:block;margin:0 0 3px}
.bb-note-text .bb-note-point,.bb-note-link-comment .bb-note-point{display:block;margin:0 0 4px;line-height:1.45;color:#23324a}
.bb-note-text .bb-note-point strong,.bb-note-link-comment .bb-note-point strong{font-weight:800}
.bb-note-text .bb-note-line-empty,.bb-note-link-comment .bb-note-line-empty{height:4px;margin:0}
.bb-note-drag-source{opacity:.25!important}
.bb-note-drag-ghost{opacity:.92!important;box-shadow:0 16px 38px rgba(15,23,42,.20)!important;transform:rotate(.7deg)}
body.bb-note-sort-active{user-select:none!important}

/* All Notes X/delete controls retain Workboard's fixed dark-red X treatment. */
.bb-note-icon-btn.danger,
.bb-note-card-actions .danger,
.bb-note-icon-btn.danger:hover,
.bb-note-card-actions .danger:hover,
.bb-note-icon-btn.danger:focus,
.bb-note-card-actions .danger:focus,
.bb-note-icon-btn.danger:focus-visible,
.bb-note-card-actions .danger:focus-visible,
.bb-note-icon-btn.danger:active,
.bb-note-card-actions .danger:active{
  background:#991b1b!important;border-color:#991b1b!important;color:#fff!important;box-shadow:none!important;outline:none!important;transform:none!important
}

/* Note form. */
.bb-note-card-form{padding:28px;max-width:720px;margin:auto}
.bb-note-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}
.bb-note-type-switch label{cursor:pointer}
.bb-note-type-switch input{position:absolute;opacity:0;pointer-events:none}
.bb-note-type-switch span{display:flex;justify-content:center;align-items:center;min-height:38px;border:1px solid #dce2ec;border-radius:9px;background:#fff;color:#526079;font-size:11px;font-weight:800}
.bb-note-type-switch input:checked+span{border-color:#818cf8;background:#eef2ff;color:#4338ca;box-shadow:inset 0 0 0 1px #818cf8}
.bb-note-card-form .bb-field{display:block;margin-top:10px}
.bb-note-card-form .bb-field>span{display:block;margin-bottom:6px;font-size:10.5px;font-weight:800;color:#475467}
.bb-note-card-form textarea,.bb-note-card-form input[type=url]{width:100%;box-sizing:border-box;border:1px solid #d9dfeb;border-radius:9px;padding:10px;background:#fff;color:#1f2937}
.bb-note-card-form textarea{resize:vertical}
.bb-note-link-fields,.bb-note-text-fields{margin-top:4px}
.bb-note-card-form .bb-help-note{margin-top:8px;border-radius:8px;background:#f7f8fb;padding:9px 10px;color:#667085;font-size:10px;line-height:1.45}
.bb-note-content-error{display:none;margin:-6px 0 4px;color:#dc2626;font-size:11px;font-weight:700;line-height:1.4}
.bb-note-content-error.show{display:block}

/* Folders contain both Workspaces and Notespaces. */
.bb-folder-content-section{margin-top:18px}
.bb-folder-content-section+.bb-folder-content-section{padding-top:18px;border-top:1px solid #e8ecf2}
.bb-folder-content-picker{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.bb-folder-content-picker>section{min-width:0;border:1px solid #e2e8f0;border-radius:12px;background:#f9fafb;padding:12px}
.bb-folder-content-picker h3{margin:0 0 10px;font-size:12px;color:#344054}
.bb-folder-content-picker .bb-folder-workspace-options{grid-template-columns:1fr;max-height:43vh;background:transparent}
.bb-folder-standalone .bb-notespace-grid{margin-top:10px}

@media(max-width:720px){
  .bb-notespace-grid{grid-template-columns:1fr;gap:10px}
  .bb-notespace-toolbar{align-items:stretch}
  .bb-notespace-toolbar .bb-inline-search{order:3;width:100%;margin-left:0}
  .bb-notespace-toolbar .bb-inline-search input{width:100%}
  .bb-notes-board-scroll{scroll-snap-type:x mandatory}
  .bb-note-area-column{width:calc(100vw - 40px);min-width:calc(100vw - 40px);max-width:calc(100vw - 40px);scroll-snap-align:start}
  .bb-folder-content-picker{grid-template-columns:1fr}
  .bb-task-move-picker{padding:22px 16px 20px}
  .bb-note-card-form{padding:22px 16px 24px}
  .bb-note-link-preview img{height:150px}
}


/* v4.11.96 — Collapsible left navigation; Work first, Notes second, Masters last. */
.bb-sidebar{overflow:hidden!important}
.bb-nav-sectioned{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:8px 2px 12px 0!important;
  gap:6px!important;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.18) transparent;
}
.bb-nav-sectioned::-webkit-scrollbar{width:5px}
.bb-nav-sectioned::-webkit-scrollbar-track{background:transparent}
.bb-nav-sectioned::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:8px}
.bb-nav-section{gap:2px!important;flex:0 0 auto}
.bb-nav-section-items{display:flex;flex-direction:column;gap:4px}
.bb-nav-section.is-collapsed .bb-nav-section-items{display:none!important}
.bb-nav-section-title{
  min-height:28px;
  padding:7px 10px 5px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  border-radius:7px;
  cursor:pointer;
  color:#aebdd1!important;
  transition:background .15s ease,color .15s ease;
}
.bb-nav-section-title:hover,.bb-nav-section-title:focus-visible{background:rgba(255,255,255,.07);color:#fff!important;outline:none}
.bb-nav-section-title>span:first-child{font:inherit;letter-spacing:inherit;text-transform:inherit}
.bb-nav-section-caret{font-size:14px!important;line-height:1!important;letter-spacing:0!important;transition:transform .16s ease;color:#c8d4e5}
.bb-nav-section.is-collapsed .bb-nav-section-caret{transform:rotate(-90deg)}
.bb-user{flex:0 0 auto!important;margin-top:0!important;background:linear-gradient(180deg,rgba(11,29,54,.15),rgba(11,29,54,.94));position:relative;z-index:3}
.bb-sidebar-collapsed .bb-nav-section-title{justify-content:center!important;padding:7px 0!important;min-height:18px}
.bb-sidebar-collapsed .bb-nav-section-title>span:first-child,.bb-sidebar-collapsed .bb-nav-section-caret{display:none!important}
.bb-sidebar-collapsed .bb-nav-section-title:after{content:""!important;display:block!important;width:28px!important;height:1px!important;margin:auto!important;background:rgba(255,255,255,.14)!important}
@media(max-width:1100px) and (min-width:641px){
  .bb-nav-section-title{justify-content:center!important;padding:7px 0!important;min-height:18px}
  .bb-nav-section-title>span:first-child,.bb-nav-section-caret{display:none!important}
  .bb-nav-section-title:after{content:""!important;display:block!important;width:28px!important;height:1px!important;margin:auto!important;background:rgba(255,255,255,.14)!important}
}
@media(max-width:640px){
  .bb-nav-sectioned{padding-top:6px!important}
  .bb-nav-section-title{justify-content:space-between!important;padding:8px 10px 5px!important;min-height:28px}
  .bb-nav-section-title>span:first-child,.bb-nav-section-caret{display:inline!important}
  .bb-nav-section-title:after{display:none!important}
}

/* v4.11.98 — Proper searchable dropdown for Move Task. */
.bb-modal:has(.bb-task-move-picker){align-items:center!important;padding:18px!important}
.bb-modal:has(.bb-task-move-picker) .bb-modal-card{width:min(560px,94vw)!important;max-height:86vh!important;overflow:visible!important;border-radius:18px!important}
.bb-task-move-picker{padding:26px 28px 22px;max-width:none;margin:0;overflow:visible}
.bb-task-move-picker .bb-form-heading{padding-right:42px;margin-bottom:0}
.bb-task-move-picker .bb-form-heading h2{margin:0 0 3px;font-size:20px;line-height:1.2}
.bb-task-move-picker .bb-form-heading p{margin:0;color:#667085;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.bb-current-area-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 12px;padding:10px 12px;border:1px solid #e4e9f2;border-radius:10px;background:#f8fafc;font-size:11px;color:#667085}
.bb-current-area-line strong{min-width:0;color:#25324a;font-size:12px;overflow-wrap:anywhere;text-align:right}
.bb-area-search-field{margin-top:4px}
.bb-area-search-field>label{display:block;margin:0 0 6px;font-size:11px;font-weight:800;color:#344054}
.bb-area-search-dropdown{position:relative;z-index:30;width:100%}
.bb-area-search-control{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;min-height:44px!important;box-sizing:border-box!important;padding:0 7px 0 11px!important;border:1px solid #cfd7e6!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important}
.bb-area-search-dropdown.open .bb-area-search-control{border-color:#6677f5!important;box-shadow:0 0 0 3px rgba(79,70,229,.10)!important}
.bb-area-search-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 18px!important;width:18px!important;color:#7b8798!important;font-size:15px!important;line-height:1!important}
.bb-move-area-search{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;height:42px!important;margin:0!important;padding:0 2px!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#1f2937!important;font:inherit!important;font-size:12px!important;appearance:none!important;-webkit-appearance:none!important}
.bb-move-area-search:focus{outline:0!important;box-shadow:none!important}
.bb-move-area-search::placeholder{color:#98a2b3!important;opacity:1}
.bb-area-search-toggle{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;margin:0!important;padding:0!important;border:0!important;border-radius:7px!important;background:#f2f4f8!important;color:#475467!important;font-size:17px!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important}
.bb-area-search-toggle:hover{background:#e9edff!important;color:#4f46e5!important}
.bb-area-search-dropdown.open .bb-area-search-toggle{transform:rotate(180deg);background:#e9edff!important;color:#4f46e5!important}
.bb-area-search-menu{display:none!important;position:absolute!important;left:0!important;right:0!important;top:calc(100% + 6px)!important;max-height:300px!important;overflow-y:auto!important;overflow-x:hidden!important;box-sizing:border-box!important;padding:5px!important;border:1px solid #d8deea!important;border-radius:10px!important;background:#fff!important;box-shadow:0 16px 34px rgba(15,23,42,.18)!important;z-index:999!important}
.bb-area-search-dropdown.open .bb-area-search-menu{display:block!important}
.bb-area-search-menu .bb-area-choice{display:flex!important;align-items:center!important;gap:9px!important;width:100%!important;min-height:38px!important;margin:0!important;padding:6px 9px!important;border:0!important;border-radius:7px!important;background:#fff!important;color:#27364f!important;text-align:left!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;cursor:pointer!important}
.bb-area-search-menu .bb-area-choice+.bb-area-choice{margin-top:2px!important}
.bb-area-search-menu .bb-area-choice:hover:not(:disabled),.bb-area-search-menu .bb-area-choice:focus-visible:not(:disabled){background:#f3f5ff!important;color:#303fbd!important;outline:none!important}
.bb-area-search-menu .bb-area-choice.current{background:#f5f6f8!important;color:#667085!important;cursor:default!important}
.bb-area-search-menu .bb-area-choice-dot{width:7px!important;height:22px!important;min-width:7px!important;flex:0 0 7px!important;border-radius:5px!important;background:var(--area,#4f46e5)!important}
.bb-area-search-menu .bb-area-choice>span:nth-child(2){flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere!important}
.bb-area-search-menu .bb-area-choice small{margin-left:auto!important;color:#8a94a6!important;font-size:8px!important;font-weight:800!important;letter-spacing:.07em!important;text-transform:uppercase!important}
.bb-area-search-empty{padding:14px 10px;text-align:center;color:#7b879c;font-size:11px}
.bb-task-move-picker .bb-form-actions{margin-top:16px;padding-top:12px;border-top:1px solid #edf0f5}
@media(max-width:640px){
  .bb-modal:has(.bb-task-move-picker){align-items:flex-end!important;padding:0!important}
  .bb-modal:has(.bb-task-move-picker) .bb-modal-card{width:100%!important;max-height:92vh!important;border-radius:18px 18px 0 0!important;overflow:visible!important}
  .bb-task-move-picker{padding:22px 16px 20px}
  .bb-area-search-menu{max-height:42vh!important}
  .bb-current-area-line{align-items:flex-start;flex-direction:column;gap:3px}
  .bb-current-area-line strong{text-align:left}
}


/* v4.11.99 — Mobile sidebar available on every Workboard view + Task Owner subtask delete. */
@media(max-width:900px){
  /* Never inherit the desktop collapsed-sidebar state on phones/tablets. */
  #bb-app.bb-sidebar-collapsed .bb-sidebar{
    display:flex!important;
    width:270px!important;
    padding:18px 12px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-nav button,
  #bb-app.bb-sidebar-collapsed .bb-nav button:not(.active){
    font-size:inherit!important;
    justify-content:flex-start!important;
    padding:0 12px!important;
    gap:8px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-nav button span{width:28px!important;font-size:inherit!important}
  #bb-app.bb-sidebar-collapsed .bb-nav-section-title{
    justify-content:space-between!important;
    padding:8px 10px 5px!important;
    min-height:28px!important;
    font-size:inherit!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-nav-section-title>span:first-child,
  #bb-app.bb-sidebar-collapsed .bb-nav-section-caret{display:inline!important}
  #bb-app.bb-sidebar-collapsed .bb-nav-section-title:after{display:none!important}
  .bb-mobile-menu{display:grid!important;visibility:visible!important;opacity:1!important}
}
.bb-card-subtask-row{position:relative}
.bb-card-subtask-delete,
.bb-inline-subtask-delete,
.bb-detail-subtask-delete{
  flex:0 0 26px!important;
  width:26px!important;
  min-width:26px!important;
  height:26px!important;
  min-height:26px!important;
  padding:0!important;
  border:1px solid #991b1b!important;
  border-radius:7px!important;
  background:#991b1b!important;
  color:#ffffff!important;
  display:grid!important;
  place-items:center!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.bb-card-subtask-delete:hover,.bb-card-subtask-delete:focus,.bb-card-subtask-delete:focus-visible,.bb-card-subtask-delete:active,
.bb-inline-subtask-delete:hover,.bb-inline-subtask-delete:focus,.bb-inline-subtask-delete:focus-visible,.bb-inline-subtask-delete:active,
.bb-detail-subtask-delete:hover,.bb-detail-subtask-delete:focus,.bb-detail-subtask-delete:focus-visible,.bb-detail-subtask-delete:active{
  background:#991b1b!important;
  border-color:#991b1b!important;
  color:#ffffff!important;
  outline:none!important;
  box-shadow:none!important;
  transform:none!important;
}
.bb-detail-subtask-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;gap:8px;align-items:center}
.bb-detail-subtask-row .bb-subtask-row{min-width:0;margin:0}
@media(max-width:640px){
  .bb-card-subtask-delete,.bb-inline-subtask-delete,.bb-detail-subtask-delete{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important}
}


/* v4.12.00 — Center Move Task dialog on mobile. */
@media(max-width:640px){
  .bb-modal:has(.bb-task-move-picker){
    align-items:center!important;
    justify-content:center!important;
    padding:14px!important;
  }
  .bb-modal:has(.bb-task-move-picker) .bb-modal-card{
    width:min(420px,calc(100vw - 28px))!important;
    max-height:88vh!important;
    border-radius:18px!important;
    overflow:visible!important;
    margin:auto!important;
    animation:none!important;
  }
  .bb-task-move-picker{
    padding:20px 14px 16px!important;
  }
  .bb-task-move-picker .bb-form-actions{
    margin-top:14px!important;
  }
}


/* v4.12.01 — Clean mobile header: no global search; clear show/hide sidebar action. */
.bb-mobile-sidebar-head{display:none}
.bb-mobile-menu svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
@media(max-width:900px){
  /* Header search is intentionally desktop/tablet-only. Page-local search controls remain available. */
  .bb-top-actions #bb-global-search,
  #bb-global-search{display:none!important;visibility:hidden!important;width:0!important;min-width:0!important;max-width:0!important;margin:0!important;padding:0!important;border:0!important}

  .bb-topbar{
    min-height:58px!important;
    height:58px!important;
    padding:0 10px!important;
    align-items:center!important;
    gap:8px!important;
  }
  .bb-topbar-left{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;flex:1 1 auto!important}
  .bb-topbar-left>div:last-child{min-width:0!important;flex:1 1 auto!important}
  .bb-topbar h1{display:block!important;max-width:calc(100vw - 150px)!important;font-size:17px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

  .bb-mobile-menu{
    display:grid!important;
    place-items:center!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #b9c2d0!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#172033!important;
    box-shadow:0 1px 3px rgba(15,23,42,.08)!important;
    cursor:pointer!important;
  }
  .bb-mobile-menu:active{background:#f2f4f7!important}
  .bb-mobile-menu[aria-expanded="true"]{border-color:#6677f5!important;background:#eef0ff!important;color:#4338ca!important}

  .bb-top-actions{margin-left:auto!important;flex:0 0 auto!important;align-items:center!important;gap:6px!important}
  .bb-header-logo{margin-left:0!important}

  /* A visible close action inside the opened mobile sidebar. */
  .bb-mobile-sidebar-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex:0 0 42px!important;
    min-height:42px!important;
    padding:0 6px 8px 10px!important;
    margin:0 0 2px!important;
    color:#fff!important;
  }
  .bb-mobile-sidebar-head strong{font-size:14px!important;font-weight:800!important;letter-spacing:.01em!important}
  .bb-mobile-menu-close{
    display:grid!important;
    place-items:center!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    padding:0!important;
    border:0!important;
    border-radius:8px!important;
    background:#991b1b!important;
    color:#fff!important;
    font-size:20px!important;
    line-height:1!important;
    cursor:pointer!important;
  }
  .bb-mobile-menu-close:hover,.bb-mobile-menu-close:focus,.bb-mobile-menu-close:active{background:#991b1b!important;color:#fff!important;outline:none!important}

  .bb-sidebar.mobile-open{display:flex!important}
  .bb-sidebar.mobile-open .bb-nav-sectioned{padding-top:0!important}
}
@media(max-width:420px){
  .bb-topbar h1{max-width:calc(100vw - 132px)!important;font-size:16px!important}
  .bb-mobile-menu{width:36px!important;min-width:36px!important;height:36px!important;flex-basis:36px!important}
}


/* v4.12.02 — Polished Move Task UI based on approved mobile mockup. */
.bb-modal:has(.bb-task-move-picker){
  align-items:center!important;
  justify-content:center!important;
  padding:18px!important;
  background:rgba(15,23,42,.48)!important;
}
.bb-modal:has(.bb-task-move-picker) .bb-modal-card{
  width:min(600px,94vw)!important;
  max-height:88vh!important;
  overflow:visible!important;
  border:1px solid rgba(255,255,255,.7)!important;
  border-radius:24px!important;
  box-shadow:0 30px 80px rgba(15,23,42,.26)!important;
  background:#fff!important;
}
.bb-modal:has(.bb-task-move-picker) .bb-modal-close{
  top:18px!important;
  right:18px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  border-radius:50%!important;
  background:#a91d1d!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 8px 18px rgba(169,29,29,.22)!important;
  font-size:20px!important;
}
.bb-modal:has(.bb-task-move-picker) .bb-modal-close:hover,
.bb-modal:has(.bb-task-move-picker) .bb-modal-close:focus,
.bb-modal:has(.bb-task-move-picker) .bb-modal-close:active{
  background:#a91d1d!important;color:#fff!important;
}
.bb-task-move-picker{padding:34px 34px 28px!important;overflow:visible!important}
.bb-move-task-head{display:flex;align-items:flex-start;gap:16px;padding-right:52px}
.bb-move-task-icon{flex:0 0 54px!important;width:54px!important;height:54px!important;border-radius:15px!important;background:#efedff!important;color:#5147ee!important;font-size:25px!important}
.bb-move-task-head h2{margin:2px 0 5px!important;font-size:26px!important;line-height:1.15!important;color:#101828!important;letter-spacing:-.025em}
.bb-move-task-head p{margin:0!important;max-width:420px;color:#667085!important;font-size:13px!important;line-height:1.45!important}
.bb-move-task-name{display:block;margin-top:7px;color:#98a2b3;font-size:10px;line-height:1.35;overflow-wrap:anywhere}
.bb-task-move-picker .bb-current-area-line{
  display:block!important;
  margin:24px 0 20px!important;
  padding:15px 16px!important;
  min-height:68px!important;
  box-sizing:border-box!important;
  border:1px solid #e1e7f0!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fbfcfe,#f7f9fc)!important;
}
.bb-task-move-picker .bb-current-area-line span{display:block!important;margin-bottom:5px!important;color:#667085!important;font-size:11px!important;line-height:1.2!important}
.bb-task-move-picker .bb-current-area-line strong{display:block!important;color:#101828!important;font-size:16px!important;line-height:1.2!important;text-align:left!important;overflow-wrap:anywhere!important}
.bb-task-move-picker .bb-area-search-field{margin-top:0!important}
.bb-task-move-picker .bb-area-search-field>label{margin-bottom:8px!important;color:#101828!important;font-size:13px!important;font-weight:800!important}
.bb-task-move-picker .bb-area-search-control{
  min-height:54px!important;
  padding:0 9px 0 14px!important;
  gap:11px!important;
  border:1.5px solid #cfd8e8!important;
  border-radius:14px!important;
  box-shadow:0 2px 6px rgba(16,24,40,.04)!important;
}
.bb-task-move-picker .bb-area-search-dropdown.open .bb-area-search-control{
  border-color:#4b5cff!important;
  box-shadow:0 0 0 3px rgba(75,92,255,.09)!important;
}
.bb-task-move-picker .bb-area-search-icon{width:22px!important;flex-basis:22px!important;color:#344054!important}
.bb-task-move-picker .bb-area-search-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bb-task-move-picker .bb-move-area-search{height:52px!important;font-size:14px!important;font-weight:600!important;color:#101828!important}
.bb-task-move-picker .bb-move-area-search::placeholder{color:#98a2b3!important;font-weight:500!important}
.bb-task-move-picker .bb-area-search-toggle{width:36px!important;height:36px!important;min-width:36px!important;flex-basis:36px!important;border-radius:10px!important;background:#f5f7fa!important;color:#475467!important}
.bb-task-move-picker .bb-area-search-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.bb-task-move-picker .bb-area-search-dropdown.open .bb-area-search-toggle{transform:none!important}
.bb-task-move-picker .bb-area-search-dropdown.open .bb-area-search-toggle svg{transform:rotate(180deg)}
.bb-task-move-picker .bb-area-search-menu{
  top:calc(100% + 8px)!important;
  max-height:300px!important;
  padding:8px!important;
  border:1px solid #dde3ed!important;
  border-radius:14px!important;
  box-shadow:0 18px 42px rgba(15,23,42,.18)!important;
}
.bb-task-move-picker .bb-area-search-menu .bb-area-choice{
  min-height:46px!important;
  padding:8px 11px!important;
  gap:12px!important;
  border-radius:10px!important;
  font-size:14px!important;
  font-weight:650!important;
}
.bb-task-move-picker .bb-area-search-menu .bb-area-choice:hover:not(:disabled),
.bb-task-move-picker .bb-area-search-menu .bb-area-choice:focus-visible:not(:disabled),
.bb-task-move-picker .bb-area-search-menu .bb-area-choice.selected{
  background:#eef3ff!important;
  color:#172554!important;
}
.bb-task-move-picker .bb-area-search-menu .bb-area-choice.current{background:#f5f6f8!important;color:#98a2b3!important}
.bb-task-move-picker .bb-area-search-menu .bb-area-choice-dot{
  width:18px!important;height:18px!important;min-width:18px!important;flex-basis:18px!important;border-radius:5px!important;background:var(--area,#4f46e5)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)!important
}
.bb-task-move-picker .bb-area-search-menu .bb-area-choice small{font-size:9px!important}
.bb-task-move-picker .bb-move-task-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:24px!important;
  padding-top:20px!important;
  border-top:1px solid #eef1f5!important;
}
.bb-task-move-picker .bb-move-task-actions .bb-btn{min-width:124px!important;min-height:46px!important;border-radius:12px!important;font-size:13px!important;font-weight:800!important}
.bb-task-move-picker .bb-confirm-task-move{margin-left:auto!important;padding-inline:24px!important;background:linear-gradient(135deg,#315cff,#4b46f5)!important;box-shadow:0 8px 20px rgba(61,79,230,.22)!important}
.bb-task-move-picker .bb-confirm-task-move:disabled{opacity:.42!important;box-shadow:none!important;cursor:not-allowed!important}
@media(max-width:640px){
  .bb-modal:has(.bb-task-move-picker){align-items:center!important;justify-content:center!important;padding:16px!important}
  .bb-modal:has(.bb-task-move-picker) .bb-modal-card{width:min(430px,calc(100vw - 32px))!important;max-height:88vh!important;border-radius:22px!important;margin:auto!important;animation:none!important}
  .bb-modal:has(.bb-task-move-picker) .bb-modal-close{top:14px!important;right:14px!important;width:38px!important;height:38px!important;min-width:38px!important;font-size:18px!important}
  .bb-task-move-picker{padding:26px 18px 20px!important}
  .bb-move-task-head{gap:13px;padding-right:42px}
  .bb-move-task-icon{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:13px!important;font-size:21px!important}
  .bb-move-task-head h2{margin-top:1px!important;font-size:21px!important}
  .bb-move-task-head p{font-size:11px!important;line-height:1.4!important}
  .bb-move-task-name{font-size:9px;margin-top:5px}
  .bb-task-move-picker .bb-current-area-line{margin:18px 0 16px!important;padding:12px 13px!important;min-height:60px!important;border-radius:12px!important}
  .bb-task-move-picker .bb-current-area-line strong{font-size:14px!important}
  .bb-task-move-picker .bb-area-search-field>label{font-size:12px!important}
  .bb-task-move-picker .bb-area-search-control{min-height:48px!important;border-radius:12px!important}
  .bb-task-move-picker .bb-move-area-search{height:46px!important;font-size:12px!important}
  .bb-task-move-picker .bb-area-search-toggle{width:32px!important;height:32px!important;min-width:32px!important;flex-basis:32px!important}
  .bb-task-move-picker .bb-area-search-menu{max-height:34vh!important;border-radius:12px!important}
  .bb-task-move-picker .bb-area-search-menu .bb-area-choice{min-height:40px!important;padding:7px 9px!important;font-size:12px!important}
  .bb-task-move-picker .bb-area-search-menu .bb-area-choice-dot{width:15px!important;height:15px!important;min-width:15px!important;flex-basis:15px!important}
  .bb-task-move-picker .bb-move-task-actions{margin-top:18px!important;padding-top:15px!important}
  .bb-task-move-picker .bb-move-task-actions .bb-btn{min-width:0!important;min-height:42px!important;border-radius:11px!important;font-size:12px!important;padding:0 17px!important}
  .bb-task-move-picker .bb-confirm-task-move{min-width:118px!important}
}


/* v4.12.03 — hard mobile fixes: true centered Move Task + no header search + visible menu action. */
@media(max-width:900px){
  /* Mobile header is always present. Search is intentionally removed on mobile. */
  #bb-app .bb-topbar{
    display:flex!important;
    position:sticky!important;
    top:0!important;
    z-index:70!important;
    min-height:58px!important;
    height:58px!important;
    padding:0 10px!important;
    align-items:center!important;
    justify-content:space-between!important;
    background:#fff!important;
  }
  #bb-app .bb-topbar-left{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    flex:1 1 auto!important;
    gap:9px!important;
  }
  #bb-app .bb-topbar-left>div:last-child{display:block!important;min-width:0!important;flex:1 1 auto!important}
  #bb-app #bb-global-search{display:none!important;visibility:hidden!important;width:0!important;height:0!important;min-width:0!important;max-width:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
  #bb-app .bb-sidebar-toggle{display:none!important}
  #bb-app .bb-mobile-menu{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    place-items:center!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #b9c2d0!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#172033!important;
  }
  #bb-app .bb-top-actions{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;margin-left:auto!important}

  /* Do not depend on :has(); JS marks the task-move modal explicitly. */
  #bb-modal.bb-task-move-modal.open{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:12px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  #bb-modal.bb-task-move-modal .bb-modal-card{
    position:relative!important;
    inset:auto!important;
    width:calc(100vw - 24px)!important;
    max-width:420px!important;
    height:auto!important;
    max-height:calc(100vh - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
    margin:0!important;
    border-radius:20px!important;
    overflow:visible!important;
    transform:none!important;
    animation:none!important;
  }
  #bb-modal.bb-task-move-modal #bb-modal-content{overflow:visible!important}
  #bb-modal.bb-task-move-modal .bb-task-move-picker{
    box-sizing:border-box!important;
    padding:24px 16px 18px!important;
    max-height:calc(100vh - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
    overflow:visible!important;
  }
  #bb-modal.bb-task-move-modal .bb-move-task-head{gap:12px!important;padding-right:42px!important;align-items:flex-start!important}
  #bb-modal.bb-task-move-modal .bb-move-task-icon{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:12px!important;font-size:20px!important}
  #bb-modal.bb-task-move-modal .bb-move-task-head h2{font-size:20px!important;margin:1px 0 4px!important}
  #bb-modal.bb-task-move-modal .bb-move-task-head p{display:block!important;font-size:10.5px!important;line-height:1.35!important;color:#667085!important;margin:0!important}
  #bb-modal.bb-task-move-modal .bb-current-area-line{margin:16px 0 14px!important;padding:11px 12px!important;min-height:56px!important}
  #bb-modal.bb-task-move-modal .bb-area-search-menu{max-height:min(250px,34dvh)!important}
  #bb-modal.bb-task-move-modal .bb-move-task-actions{margin-top:16px!important;padding-top:14px!important}
  #bb-modal.bb-task-move-modal .bb-move-task-actions .bb-btn{min-height:40px!important;padding:0 14px!important}
  #bb-modal.bb-task-move-modal .bb-confirm-task-move{min-width:112px!important}
}
@media(max-width:380px){
  #bb-app .bb-topbar h1{font-size:15px!important;max-width:calc(100vw - 126px)!important}
  #bb-app .bb-mobile-menu{width:36px!important;min-width:36px!important;height:36px!important;flex-basis:36px!important}
  #bb-modal.bb-task-move-modal .bb-modal-card{width:calc(100vw - 18px)!important;max-height:calc(100dvh - 18px)!important}
  #bb-modal.bb-task-move-modal .bb-task-move-picker{padding:22px 14px 16px!important}
}


/* v4.12.04 — definitive viewport-centred Move Task modal.
   #bb-modal is outside #bb-app and JS also applies inline !important as a fallback. */
@media(max-width:900px){
  body > #bb-modal.bb-task-move-modal.open{
    position:fixed!important;
    inset:0!important;
    display:grid!important;
    place-items:center!important;
    align-items:center!important;
    justify-content:center!important;
    padding:12px!important;
    margin:0!important;
    overflow:hidden!important;
  }
  body > #bb-modal.bb-task-move-modal .bb-modal-card{
    position:relative!important;
    top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    width:min(430px,calc(100vw - 24px))!important;
    max-height:calc(100dvh - 24px)!important;
    margin:0!important;
    border-radius:20px!important;
    transform:none!important;
    animation:none!important;
  }
}


/* v4.12.06 — exact viewport centering for Move Task on mobile.
   The card is fixed at 50%/50% and translated by half its own size,
   so generic bottom-sheet flex alignment cannot affect it. */
@media (max-width:900px){
  html body > #bb-modal.bb-task-move-modal.open{
    position:fixed!important;
    inset:0!important;
    display:block!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    z-index:999999!important;
  }
  html body > #bb-modal.bb-task-move-modal.open > .bb-modal-card{
    position:fixed!important;
    top:50%!important;
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    width:min(430px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    height:auto!important;
    max-height:calc(100dvh - 24px)!important;
    margin:0!important;
    transform:translate(-50%,-50%)!important;
    border-radius:20px!important;
    animation:none!important;
    overflow:visible!important;
  }
  html body > #bb-modal.bb-task-move-modal.open > .bb-modal-card > #bb-modal-content{
    max-height:calc(100dvh - 24px)!important;
    overflow:visible!important;
  }
}


/* v4.12.07 — no search control is allowed in the view-name header on any screen size. */
#bb-app .bb-topbar #bb-global-search,
#bb-app .bb-topbar input[type="search"],
#bb-app .bb-topbar .bb-top-actions input{
  display:none!important;
  visibility:hidden!important;
  width:0!important;min-width:0!important;max-width:0!important;height:0!important;
  margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;
}


/* v4.12.08 — absolute removal of the legacy view-name/header search. */
#bb-global-search,.bb-global-search,.bb-topbar input[type="search"],.bb-top-actions input[type="search"]{display:none!important;visibility:hidden!important;width:0!important;min-width:0!important;max-width:0!important;height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;pointer-events:none!important}


/* v4.12.10 — center modal forms on mobile instead of docking them to the bottom. */
@media (max-width: 900px){
  html body > #bb-modal.open,
  #bb-modal.open{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:12px!important;
  }
  html body > #bb-modal.open > .bb-modal-card,
  #bb-modal.open > .bb-modal-card{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:min(560px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
    height:auto!important;
    margin:auto!important;
    border-radius:18px!important;
    transform:none!important;
    animation:none!important;
    overflow:auto!important;
  }
  html body > #bb-modal.open > .bb-modal-card > #bb-modal-content,
  #bb-modal.open > .bb-modal-card > #bb-modal-content{
    max-height:calc(100dvh - 24px)!important;
    overflow:visible!important;
  }
  html body > #bb-modal.open .bb-modal-close,
  #bb-modal.open .bb-modal-close{
    top:12px!important;
    right:12px!important;
  }
  /* Keep the move-task picker centered as well, even if older fixed-position fallbacks fire. */
  html body > #bb-modal.bb-task-move-modal.open > .bb-modal-card,
  #bb-modal.bb-task-move-modal.open > .bb-modal-card{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:min(430px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
    margin:auto!important;
    transform:none!important;
    border-radius:20px!important;
    overflow:visible!important;
  }
}


/* v4.12.11 — on mobile, show icon-only Notespaces toolbar buttons. */
@media (max-width: 768px){
  .bb-notespace-toolbar [data-back-notespaces],
  .bb-notespace-toolbar [data-add-note-area]{
    position:relative!important;
    min-width:42px!important;
    width:42px!important;
    height:42px!important;
    padding:0!important;
    font-size:0!important;
    line-height:0!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }
  .bb-notespace-toolbar [data-back-notespaces]::before{
    content:"←";
    font-size:20px;
    line-height:1;
    font-weight:800;
  }
  .bb-notespace-toolbar [data-add-note-area]::before{
    content:"+";
    font-size:24px;
    line-height:1;
    font-weight:800;
  }
}

/* v4.12.12 — Note Card title field */
.bb-note-title-field{display:block;margin:14px 0 12px}
.bb-note-title-field>span{display:block;font-size:12px;font-weight:750;margin-bottom:6px}
.bb-note-title-field input{width:100%;box-sizing:border-box;border:1px solid #d9dfeb;border-radius:8px;padding:10px;background:#fff}
.bb-note-card-title{font-size:13px;font-weight:850;line-height:1.35;color:var(--bb-text,#1f2937);margin:0 0 7px;overflow-wrap:anywhere}


/* v4.12.17 — keep inline subtask delete cross on the right side */
.bb-card-subtask-row{
  display:grid!important;
  grid-template-columns:13px 14px minmax(0,1fr) 26px!important;
  align-items:center!important;
}
.bb-card-subtask-row .bb-card-subtask-text{
  min-width:0!important;
}
.bb-card-subtask-row .bb-card-subtask-delete{
  grid-column:4!important;
  justify-self:end!important;
  align-self:center!important;
  margin-left:auto!important;
}
@media(max-width:640px){
  .bb-card-subtask-row{
    grid-template-columns:12px 14px minmax(0,1fr) 28px!important;
  }
  .bb-card-subtask-row .bb-card-subtask-delete{
    justify-self:end!important;
  }
}


/* v4.12.18 — Workspace sharing actions */
#bb-workspace-form .bb-assignment-head-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#bb-workspace-form .bb-assignment-head-actions .bb-btn{min-height:34px}
@media(max-width:640px){
  #bb-workspace-form .bb-assignment-head-actions{width:100%;justify-content:flex-start;margin-top:6px}
  #bb-workspace-form .bb-assignment-head-actions .bb-btn{padding:0 10px!important;font-size:10px!important}
}


/* v4.12.21 — recurrence picker: show a tick only for the selected option. */
.bb-recur-pop .bb-recur-option .bb-recur-check,
.bb-recur-pop .bb-overdue-policy-options .bb-recur-check{
  visibility:hidden!important;
  opacity:0!important;
}
.bb-recur-pop .bb-recur-option.selected .bb-recur-check,
.bb-recur-pop .bb-overdue-policy-options .bb-inline-option.selected .bb-recur-check{
  visibility:visible!important;
  opacity:1!important;
}


/* v4.12.23 — Dashboard is a standalone top menu item, above collapsible Work / Notes / Masters. */
.bb-nav-standalone-dashboard{margin-bottom:2px!important;flex:0 0 auto}
.bb-nav-standalone-dashboard + .bb-nav-section{margin-top:0!important}


/* v4.12.24 — searchable Note Area selector in Move Note */
.bb-note-move-picker .bb-area-search-field{margin-top:14px}
.bb-note-move-picker .bb-area-search-field>label{display:block;font-size:11px;font-weight:800;color:#344054;margin-bottom:7px}
.bb-note-move-picker .bb-area-search-dropdown{position:relative}
.bb-note-move-picker .bb-area-search-menu{z-index:1000010}
.bb-note-move-picker .bb-move-area-option{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;text-align:left!important}
.bb-note-move-picker .bb-area-choice-name{min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){
  .bb-note-move-picker .bb-area-search-menu{max-height:min(250px,36dvh)!important}
}


/* v4.12.25 — visible search box inside Work Area / Note Area move dropdowns. */
.bb-area-menu-search-wrap{
  position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:8px;
  padding:8px;background:#fff;border-bottom:1px solid #e7ebf2;
}
.bb-area-menu-search-wrap>span{
  color:#667085;font-size:15px;line-height:1;flex:0 0 auto;
}
.bb-area-menu-search{
  width:100%!important;min-width:0!important;height:36px!important;box-sizing:border-box!important;
  border:1px solid #cfd6e4!important;border-radius:9px!important;background:#fff!important;
  color:#101828!important;padding:0 10px!important;font-size:12px!important;font-weight:500!important;
  outline:none!important;box-shadow:none!important;
}
.bb-area-menu-search:focus{
  border-color:#6675ff!important;box-shadow:0 0 0 2px rgba(79,70,229,.10)!important;
}
.bb-area-menu-search::placeholder{color:#98a2b3!important;opacity:1!important}
@media(max-width:640px){
  .bb-area-menu-search-wrap{padding:7px!important}
  .bb-area-menu-search{height:38px!important;font-size:12px!important}
}


/* v4.12.26 — polished Move Note dialog matching the approved mockup. */
.bb-modal:has(.bb-note-move-picker){align-items:center!important;justify-content:center!important;padding:18px!important}
.bb-modal:has(.bb-note-move-picker) .bb-modal-card{
  width:min(760px,94vw)!important;
  max-height:88vh!important;
  overflow:visible!important;
  border-radius:22px!important;
}
.bb-note-move-picker{
  padding:34px 36px 28px!important;
  overflow:visible!important;
}
.bb-note-move-picker .bb-move-task-head{
  display:flex!important;
  align-items:flex-start!important;
  gap:16px!important;
  padding-right:52px!important;
}
.bb-note-move-picker .bb-move-task-icon{
  width:54px!important;height:54px!important;min-width:54px!important;
  border-radius:14px!important;
  background:#f0edff!important;color:#5b4cf4!important;
  font-size:25px!important;
}
.bb-note-move-picker .bb-move-task-head h2{
  margin:1px 0 5px!important;font-size:25px!important;line-height:1.1!important;
}
.bb-note-move-picker .bb-move-task-head p{
  margin:0!important;color:#667085!important;font-size:13px!important;line-height:1.45!important;
}
.bb-note-move-picker .bb-current-area-line{
  display:block!important;
  margin:24px 0 20px!important;
  padding:15px 16px!important;
  min-height:68px!important;
  border:1px solid #dfe5ef!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  box-sizing:border-box!important;
}
.bb-note-move-picker .bb-current-area-line span{
  display:block!important;font-size:11px!important;color:#667085!important;margin-bottom:4px!important;
}
.bb-note-move-picker .bb-current-area-line strong{
  display:block!important;text-align:left!important;font-size:16px!important;color:#1f2937!important;line-height:1.25!important;
}
.bb-note-move-picker .bb-area-search-field{margin-top:0!important}
.bb-note-move-picker .bb-area-search-field>label{
  margin-bottom:8px!important;font-size:13px!important;color:#172033!important;
}
.bb-note-move-picker .bb-area-search-control{
  min-height:54px!important;
  padding:0 8px 0 14px!important;
  border-radius:13px!important;
  border:1.5px solid #cfd7e6!important;
}
.bb-note-move-picker .bb-area-search-dropdown.open .bb-area-search-control{
  border-color:#5b5cf6!important;
  box-shadow:0 0 0 3px rgba(79,70,229,.11)!important;
}
.bb-note-move-picker .bb-area-search-icon{
  width:20px!important;flex-basis:20px!important;font-size:18px!important;color:#53627a!important;
}
.bb-note-move-picker .bb-move-area-search{
  height:52px!important;font-size:14px!important;
}
.bb-note-move-picker .bb-area-search-toggle{
  width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important;
  border-radius:10px!important;background:#eef0ff!important;color:#5b5cf6!important;
}
.bb-note-move-picker .bb-area-search-menu{
  top:calc(100% + 8px)!important;
  max-height:250px!important;
  padding:8px!important;
  border-radius:13px!important;
  border:1px solid #dce3ee!important;
  box-shadow:0 16px 36px rgba(15,23,42,.16)!important;
}
.bb-note-move-picker .bb-area-search-menu .bb-area-choice{
  min-height:48px!important;
  padding:9px 10px!important;
  gap:11px!important;
  border:0!important;
  border-radius:10px!important;
  font-size:14px!important;
  font-weight:700!important;
  color:#172033!important;
}
.bb-note-move-picker .bb-area-search-menu .bb-area-choice:hover,
.bb-note-move-picker .bb-area-search-menu .bb-area-choice:focus-visible,
.bb-note-move-picker .bb-area-search-menu .bb-area-choice.selected{
  background:#f5f6ff!important;
  color:#303fbd!important;
}
.bb-note-move-picker .bb-area-search-menu .bb-area-choice-dot{
  width:18px!important;height:28px!important;min-width:18px!important;flex-basis:18px!important;
  border-radius:5px!important;
}
.bb-note-move-picker .bb-move-task-actions{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  margin-top:22px!important;
  padding-top:18px!important;
  border-top:1px solid #e8ecf2!important;
}
.bb-note-move-picker .bb-move-task-actions .bb-btn{
  min-height:44px!important;padding:0 24px!important;border-radius:10px!important;font-size:13px!important;
}
.bb-note-move-picker [data-confirm-note-move]{min-width:130px!important}

@media(max-width:640px){
  .bb-modal:has(.bb-note-move-picker){align-items:center!important;justify-content:center!important;padding:12px!important}
  .bb-modal:has(.bb-note-move-picker) .bb-modal-card{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;border-radius:18px!important}
  .bb-note-move-picker{padding:26px 18px 20px!important}
  .bb-note-move-picker .bb-move-task-head{gap:12px!important;padding-right:42px!important}
  .bb-note-move-picker .bb-move-task-icon{width:44px!important;height:44px!important;min-width:44px!important;font-size:21px!important}
  .bb-note-move-picker .bb-move-task-head h2{font-size:21px!important}
  .bb-note-move-picker .bb-move-task-head p{font-size:11px!important}
  .bb-note-move-picker .bb-current-area-line{margin:18px 0 16px!important;padding:12px!important;min-height:58px!important}
  .bb-note-move-picker .bb-area-search-control{min-height:48px!important}
  .bb-note-move-picker .bb-move-area-search{height:46px!important;font-size:12px!important}
  .bb-note-move-picker .bb-area-search-menu{max-height:min(230px,34dvh)!important}
  .bb-note-move-picker .bb-area-search-menu .bb-area-choice{min-height:44px!important;font-size:12.5px!important}
  .bb-note-move-picker .bb-move-task-actions{margin-top:18px!important;padding-top:14px!important}
  .bb-note-move-picker .bb-move-task-actions .bb-btn{min-height:40px!important;padding:0 16px!important}
}


/* v4.12.27 — reliable Move Task / Move Note search filtering.
   Some option rows use display:flex!important, so the HTML hidden attribute alone
   can be overridden. This explicit class always removes non-matches. */
.bb-area-search-dropdown .bb-move-area-option.bb-search-hidden,
.bb-area-search-dropdown .bb-area-search-empty.bb-search-hidden{
  display:none!important;
}
.bb-area-search-dropdown .bb-move-area-option[hidden],
.bb-area-search-dropdown .bb-area-search-empty[hidden]{
  display:none!important;
}


/* v4.12.29 — Urgent Reminder notes dialog */
.bb-urgent-reminder-form{max-width:560px;margin:auto;padding:28px}
.bb-urgent-reminder-icon{background:#fff1f2!important;color:#b91c1c!important;border-color:#fecaca!important;font-weight:900!important}
.bb-urgent-task-preview{margin:16px 0 14px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc;display:flex;flex-direction:column;gap:3px}
.bb-urgent-task-preview small,.bb-urgent-message-preview>small{font-size:10px;color:#667085;font-weight:750}
.bb-urgent-task-preview strong{font-size:14px;color:#1f2937;overflow-wrap:anywhere}
.bb-urgent-notes-field textarea{width:100%;box-sizing:border-box;min-height:105px;resize:vertical}
.bb-urgent-message-preview{margin-top:14px;padding:12px 14px;border:1px solid #e4e7ec;border-radius:11px;background:#fff}
.bb-urgent-message-preview>div{margin-top:7px;font-size:11px;line-height:1.5;color:#475467;overflow-wrap:anywhere}
.bb-urgent-message-preview b{color:#b91c1c}
@media(max-width:640px){.bb-urgent-reminder-form{padding:22px 16px 16px}.bb-urgent-message-preview{padding:10px 12px}}


/* v4.12.32 — Quick Create task name wraps naturally. */
.bb-quick-task-title{
  min-height:38px!important;
  height:38px!important;
  max-height:76px!important;
  resize:none!important;
  overflow-y:auto!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.35!important;
  padding:8px 4px!important;
  box-sizing:border-box!important;
}
@media(max-width:640px){
  .bb-quick-task-title{min-height:36px!important;height:36px!important;max-height:72px!important;padding:8px 3px!important;}
}


/* v4.12.36 — reliable Flash Highlight using an animated overlay. */
.bb-task-bottom-flash{
  color:#f59e0b!important;
}
.bb-task-bottom-flash:hover,
.bb-task-bottom-flash:focus-visible{
  background:#fff3c4!important;
  color:#d97706!important;
  outline:none!important;
  box-shadow:inset 0 0 0 1px rgba(217,119,6,.28)!important;
}
.bb-task-bottom-flash.is-pinned{
  background:linear-gradient(180deg,#fff6cf 0%,#ffe2a8 100%)!important;
  color:#b45309!important;
  box-shadow:inset 0 0 0 1px #f59e0b,0 2px 8px rgba(245,158,11,.18)!important;
  animation:bbFlashIconPulse .9s ease-in-out infinite!important;
}
.bb-task-bottom-flash svg{
  width:15px!important;
  height:15px!important;
  display:block!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  stroke-width:.5!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  pointer-events:none!important;
}
@media(max-width:640px){
  .bb-task-bottom-flash svg{width:14px!important;height:14px!important}
}

/* pinned_at is the Flash state. Existing pinned sorting keeps it at the top. */
.bb-task.is-pinned{
  position:relative!important;
  isolation:isolate!important;
  z-index:2!important;
  overflow:visible!important;
  border:2px solid #f59e0b!important;
  background:#fff8d8!important;
  box-shadow:0 0 0 2px rgba(245,158,11,.22),0 6px 18px rgba(245,158,11,.18)!important;
}

/* Full-card overlay is used instead of animating background directly, because
   existing priority/background rules can otherwise override CSS keyframes. */
.bb-task.is-pinned::after{
  content:"";
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  z-index:0!important;
  background:linear-gradient(135deg,rgba(255,235,59,.72),rgba(255,167,38,.52),rgba(255,241,118,.72))!important;
  opacity:.18;
  box-shadow:inset 0 0 0 1px rgba(245,158,11,.38),0 0 14px rgba(245,158,11,.28);
  animation:bbFlashCardBlink 1.1s ease-in-out infinite;
}
.bb-task.is-pinned::before{
  content:"";
  position:absolute!important;
  left:-2px!important;
  top:7px!important;
  bottom:7px!important;
  width:5px!important;
  border-radius:5px!important;
  background:#f97316!important;
  z-index:2!important;
  animation:bbFlashAccentBlink 1.1s ease-in-out infinite;
}

/* Keep every interactive/card element above the animated overlay. */
.bb-task.is-pinned > *{
  position:relative!important;
  z-index:1!important;
}
.bb-task.is-pinned > .bb-task-drag-handle,
.bb-task.is-pinned > .bb-task-side-actions{
  z-index:3!important;
}

@keyframes bbFlashCardBlink{
  0%,100%{
    opacity:.18;
    filter:saturate(1);
    box-shadow:inset 0 0 0 1px rgba(245,158,11,.35),0 0 10px rgba(245,158,11,.22);
  }
  50%{
    opacity:.72;
    filter:saturate(1.2);
    box-shadow:inset 0 0 0 2px rgba(239,68,68,.40),0 0 26px rgba(245,158,11,.58);
  }
}
@keyframes bbFlashAccentBlink{
  0%,100%{opacity:.55;background:#f59e0b;}
  50%{opacity:1;background:#ef4444;}
}
@keyframes bbFlashIconPulse{
  0%,100%{transform:scale(1);filter:brightness(1);}
  50%{transform:scale(1.12);filter:brightness(1.15);}
}
@media (prefers-reduced-motion: reduce){
  .bb-task.is-pinned::after,
  .bb-task.is-pinned::before,
  .bb-task-bottom-flash.is-pinned{
    animation:none!important;
  }
  .bb-task.is-pinned::after{opacity:.48!important;}
}


/* v4.12.37 — Flash control in Quick Create Task, immediately after Notifications. */
.bb-quick-actions-iconic .bb-quick-flash-toggle{
  color:#f59e0b!important;
}
.bb-quick-actions-iconic .bb-quick-flash-toggle:hover{
  background:#fff8e6!important;
  color:#d97706!important;
}
.bb-quick-actions-iconic .bb-quick-flash-toggle.active{
  background:#fff1b8!important;
  color:#b45309!important;
  box-shadow:inset 0 0 0 1px #f59e0b,0 0 8px rgba(245,158,11,.24)!important;
}
.bb-quick-actions-iconic .bb-quick-flash-toggle.active .bb-quick-icon{
  filter:drop-shadow(0 0 3px rgba(245,158,11,.45));
}


/* v4.12.40 — Copy Task / Copy Note actions */
.bb-task-bottom-copy{color:#475569!important}
.bb-task-bottom-copy:hover,.bb-task-bottom-copy:focus-visible{background:#f1f5f9!important;color:#1e293b!important;outline:none!important}
.bb-task-bottom-copy.is-saving,.bb-note-copy-btn.is-saving{opacity:.45!important;cursor:wait!important}
.bb-task-bottom-copy 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-note-copy-btn 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-copy svg,.bb-note-copy-btn svg{width:14px!important;height:14px!important}}


/* v4.12.41 — Clipboard export buttons for Tasks and Notes. */
.bb-task-bottom-clipboard{color:#2563eb!important}
.bb-task-bottom-clipboard:hover,.bb-task-bottom-clipboard:focus-visible{background:#eff6ff!important;color:#1d4ed8!important;outline:none!important}
.bb-task-bottom-clipboard.is-copied,.bb-note-clipboard-btn.is-copied{background:#ecfdf3!important;color:#15803d!important;box-shadow:inset 0 0 0 1px #86efac!important}
.bb-task-bottom-clipboard svg,.bb-note-clipboard-btn 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-note-clipboard-btn{color:#2563eb!important}
.bb-note-clipboard-btn:hover,.bb-note-clipboard-btn:focus-visible{background:#eff6ff!important;color:#1d4ed8!important;outline:none!important}
@media(max-width:640px){.bb-task-bottom-clipboard svg,.bb-note-clipboard-btn svg{width:14px!important;height:14px!important}}


/* v4.12.42 — make Clipboard action clearly visible and distinct from duplicate/copy. */
.bb-task-bottom-clipboard{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  padding:3px!important;
  background:#eff6ff!important;
  color:#1d4ed8!important;
  box-shadow:inset 0 0 0 1px #bfdbfe!important;
}
.bb-task-bottom-clipboard:hover,.bb-task-bottom-clipboard:focus-visible{
  background:#dbeafe!important;
  color:#1e40af!important;
  box-shadow:inset 0 0 0 1px #93c5fd!important;
}
.bb-task-bottom-clipboard svg,.bb-note-clipboard-btn svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.bb-note-clipboard-btn{
  background:#eff6ff!important;
  color:#1d4ed8!important;
  box-shadow:inset 0 0 0 1px #bfdbfe!important;
}
.bb-note-clipboard-btn:hover,.bb-note-clipboard-btn:focus-visible{
  background:#dbeafe!important;
  color:#1e40af!important;
  box-shadow:inset 0 0 0 1px #93c5fd!important;
}
@media(max-width:640px){
  .bb-task-bottom-clipboard{width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important}
  .bb-task-bottom-clipboard svg,.bb-note-clipboard-btn svg{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important}
}


/* v4.12.43 — stronger Clipboard action visibility on desktop. */
@media (min-width:769px){
  .bb-task-bottom-clipboard,
  .bb-note-clipboard-btn{
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    min-height:29px!important;
    padding:4px!important;
    border-radius:8px!important;
    background:#dbeafe!important;
    color:#1d4ed8!important;
    box-shadow:inset 0 0 0 1.5px #60a5fa!important;
  }
  .bb-task-bottom-clipboard svg,
  .bb-note-clipboard-btn svg{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    min-height:20px!important;
    stroke-width:2.25!important;
  }
  .bb-task-bottom-clipboard:hover,
  .bb-task-bottom-clipboard:focus-visible,
  .bb-note-clipboard-btn:hover,
  .bb-note-clipboard-btn:focus-visible{
    background:#bfdbfe!important;
    color:#1e3a8a!important;
    box-shadow:inset 0 0 0 2px #3b82f6,0 2px 7px rgba(37,99,235,.16)!important;
  }
}


/* v4.12.44 — strong, unmistakable Clipboard action for Task and Note cards. */
.bb-task-bottom-clipboard,
.bb-note-clipboard-btn{
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
  min-height:27px!important;
  padding:4px!important;
  border:1px solid #1d4ed8!important;
  border-radius:8px!important;
  background:#2563eb!important;
  color:#ffffff!important;
  box-shadow:0 2px 6px rgba(37,99,235,.20)!important;
  display:grid!important;
  place-items:center!important;
  opacity:1!important;
  visibility:visible!important;
}
.bb-task-bottom-clipboard svg,
.bb-note-clipboard-btn svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  fill:none!important;
  stroke:#ffffff!important;
  stroke-width:2.1!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  opacity:1!important;
}
.bb-task-bottom-clipboard:hover,
.bb-task-bottom-clipboard:focus-visible,
.bb-note-clipboard-btn:hover,
.bb-note-clipboard-btn:focus-visible{
  background:#1d4ed8!important;
  border-color:#1e40af!important;
  color:#ffffff!important;
  box-shadow:0 3px 8px rgba(37,99,235,.30)!important;
  outline:none!important;
}
.bb-task-bottom-clipboard.is-copied,
.bb-note-clipboard-btn.is-copied{
  background:#15803d!important;
  border-color:#166534!important;
  color:#ffffff!important;
  box-shadow:0 2px 7px rgba(21,128,61,.24)!important;
}
@media(max-width:640px){
  .bb-task-bottom-clipboard,
  .bb-note-clipboard-btn{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    min-height:25px!important;
    padding:3px!important;
  }
  .bb-task-bottom-clipboard svg,
  .bb-note-clipboard-btn svg{
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    min-height:17px!important;
  }
}


/* v4.12.45 — larger task-card bottom action icons. */
.bb-task-bottom-actions{
  gap:4px!important;
  min-height:28px!important;
}
.bb-task-bottom-actions > button{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  padding:4px!important;
  border-radius:7px!important;
}
.bb-task-bottom-actions > button svg,
.bb-task-bottom-activity svg,
.bb-task-bottom-focus svg,
.bb-task-bottom-urgent svg,
.bb-task-bottom-move svg,
.bb-task-bottom-flash svg,
.bb-task-bottom-copy svg,
.bb-task-bottom-clipboard svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
}
@media(max-width:640px){
  .bb-task-bottom-actions{
    gap:3px!important;
    min-height:27px!important;
  }
  .bb-task-bottom-actions > button{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    min-height:25px!important;
    padding:3px!important;
  }
  .bb-task-bottom-actions > button svg,
  .bb-task-bottom-activity svg,
  .bb-task-bottom-focus svg,
  .bb-task-bottom-urgent svg,
  .bb-task-bottom-move svg,
  .bb-task-bottom-flash svg,
  .bb-task-bottom-copy svg,
  .bb-task-bottom-clipboard svg{
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    min-height:17px!important;
  }
}


/* v4.12.46 — use the full task-card width for bottom action icons. */
.bb-task-bottom-actions{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:2px!important;
  margin:6px 0 0!important;
  padding:0 1px!important;
  overflow:visible!important;
}
.bb-task-bottom-actions > button{
  flex:0 0 27px!important;
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
  min-height:27px!important;
  padding:4px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  visibility:visible!important;
  opacity:1!important;
}
.bb-task-bottom-actions > button svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  display:block!important;
}
/* Let the action row span the complete task body instead of being clipped by metadata widths. */
.bb-task .bb-todo-body,
.bb-task .bb-task-meta-shell{
  min-width:0!important;
  overflow:visible!important;
}
@media(max-width:640px){
  .bb-task-bottom-actions{
    width:100%!important;
    justify-content:space-between!important;
    gap:1px!important;
    padding:0!important;
  }
  .bb-task-bottom-actions > button{
    flex:0 0 25px!important;
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    min-height:25px!important;
    padding:3px!important;
  }
  .bb-task-bottom-actions > button svg{
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    min-height:17px!important;
  }
}


/* v4.12.47 — keep the six primary task actions clear and always visible. */
.bb-task-bottom-actions{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:3px!important;
  width:100%!important;
  max-width:100%!important;
  min-height:29px!important;
  box-sizing:border-box!important;
  padding:1px 30px 1px 0!important; /* reserve space for Clipboard action */
  overflow:visible!important;
}
.bb-task-bottom-actions > button:not(.bb-task-bottom-clipboard){
  flex:0 0 24px!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  min-height:24px!important;
  padding:3px!important;
  margin:0!important;
  border-radius:7px!important;
  display:grid!important;
  place-items:center!important;
  opacity:1!important;
  visibility:visible!important;
  box-shadow:none!important;
}
.bb-task-bottom-actions > button:not(.bb-task-bottom-clipboard) svg{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  display:block!important;
  stroke-width:1.9!important;
}
/* 1 Activity */
.bb-task-bottom-activity{
  color:#5b21b6!important;background:#f3e8ff!important;border:1px solid #d8b4fe!important;
}
/* 2 Focus */
.bb-task-bottom-focus{
  color:#15803d!important;background:#ecfdf3!important;border:1px solid #86efac!important;
}
/* 3 Urgent Reminder */
.bb-task-bottom-urgent{
  color:#dc2626!important;background:#fff1f2!important;border:1px solid #fda4af!important;
}
/* 4 Move */
.bb-task-bottom-move{
  color:#2563eb!important;background:#eff6ff!important;border:1px solid #93c5fd!important;
}
/* 5 Flash */
.bb-task-bottom-flash{
  color:#d97706!important;background:#fff7e6!important;border:1px solid #fbbf24!important;
}
/* 6 Copy / duplicate */
.bb-task-bottom-copy{
  color:#334155!important;background:#f1f5f9!important;border:1px solid #94a3b8!important;
}
/* Keep the external clipboard copy available without crowding the six primary actions. */
.bb-task-bottom-clipboard{
  position:absolute!important;
  right:0!important;
  top:1px!important;
  flex:0 0 25px!important;
  width:25px!important;
  min-width:25px!important;
  height:25px!important;
  min-height:25px!important;
  padding:3px!important;
  margin:0!important;
  display:grid!important;
  place-items:center!important;
  border-radius:7px!important;
  background:#2563eb!important;
  border:1px solid #1d4ed8!important;
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  box-shadow:0 1px 4px rgba(37,99,235,.18)!important;
}
.bb-task-bottom-clipboard svg{
  width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
  stroke:#fff!important;fill:none!important;stroke-width:2!important;
}
.bb-task-bottom-clipboard:hover,.bb-task-bottom-clipboard:focus-visible{
  background:#1d4ed8!important;border-color:#1e40af!important;color:#fff!important;
}
.bb-task-bottom-clipboard.is-copied{
  background:#15803d!important;border-color:#166534!important;color:#fff!important;
}
@media(max-width:640px){
  .bb-task-bottom-actions{gap:2px!important;padding-right:27px!important;min-height:27px!important}
  .bb-task-bottom-actions > button:not(.bb-task-bottom-clipboard){
    flex-basis:22px!important;width:22px!important;min-width:22px!important;height:22px!important;min-height:22px!important;padding:2px!important;
  }
  .bb-task-bottom-actions > button:not(.bb-task-bottom-clipboard) svg{
    width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important;
  }
  .bb-task-bottom-clipboard{width:23px!important;min-width:23px!important;height:23px!important;min-height:23px!important;padding:2px!important}
  .bb-task-bottom-clipboard svg{width:15px!important;height:15px!important;min-width:15px!important;min-height:15px!important}
}

/* v4.12.48 — dark colorful Work Area / Note Area header sections only. */
/* Keep task/note content white; only the area heading + action strip receives the area theme color. */
.bb-workarea-column .bb-col-head{
  background:color-mix(in srgb,var(--area-color,#4f46e5) 84%,#111827 16%)!important;
  border-bottom:1px solid color-mix(in srgb,var(--area-color,#4f46e5) 68%,#0f172a 32%)!important;
  color:#fff!important;
}
.bb-workarea-column .bb-col-title,
.bb-workarea-column .bb-col-title > span,
.bb-workarea-column .bb-col-title > strong{
  color:#fff!important;
}
.bb-workarea-column .bb-col-title > .bb-area-drag-grip{
  color:rgba(255,255,255,.78)!important;
}
.bb-workarea-column .bb-col-title > .bb-area-drag-grip:hover,
.bb-workarea-column .bb-col-title > .bb-area-drag-grip:focus-visible{
  color:#fff!important;
  background:rgba(255,255,255,.14)!important;
}

.bb-note-area-head{
  background:color-mix(in srgb,var(--note-area,#7c3aed) 84%,#111827 16%)!important;
  border-bottom:1px solid color-mix(in srgb,var(--note-area,#7c3aed) 68%,#0f172a 32%)!important;
  color:#fff!important;
}
.bb-note-area-title strong{
  color:#fff!important;
}
.bb-note-area-title small{
  background:rgba(255,255,255,.15)!important;
  color:#fff!important;
}
.bb-note-area-mark{
  background:color-mix(in srgb,var(--note-area,#7c3aed) 58%,#fff 42%)!important;
}

/* v4.12.49 — Notespace sharing mirrors Workspace Owner / Assignee access. */


/* v4.12.50 — reveal each Work Area / Note Area color across its area body. */
/* Dark header remains unchanged; task/note cards stay white for readability. */
.bb-workarea-column{
  background:color-mix(in srgb,var(--area-color,#4f46e5) 14%,#fff 86%)!important;
}
.bb-workarea-column .bb-bucket,
.bb-workarea-column .bb-more-upcoming,
.bb-workarea-column .bb-task-list,
.bb-workarea-column .bb-bucket-completed{
  background:transparent!important;
}
.bb-workarea-column .bb-bucket-head{
  background:transparent!important;
}
.bb-workarea-column .bb-task-clean,
.bb-workarea-column .bb-task-card,
.bb-workarea-column .bb-task{
  background:#fff!important;
}

.bb-note-area-column{
  background:color-mix(in srgb,var(--note-area,#7c3aed) 14%,#fff 86%)!important;
}
.bb-note-area-column .bb-note-card-list{
  background:transparent!important;
}
.bb-note-area-column .bb-note-card,
.bb-note-area-column .bb-note-empty{
  background:#fff!important;
}

/* v4.12.56 Settings: keep the page title only and make Save active only after Org Name changes. */
.bb-org-settings-panel #bb-org-settings-save:disabled{opacity:.42!important;cursor:not-allowed!important;box-shadow:none!important;filter:saturate(.65)}


/* v4.12.57 — show the saved Org Name above Dashboard in the left menu on every device. */
.bb-sidebar-org{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  margin:0 2px 8px;
  padding:7px 10px;
  border-bottom:1px solid rgba(255,255,255,.12);
  color:#fff;
  overflow:hidden;
  box-sizing:border-box;
}
.bb-sidebar-org-initial{
  width:27px;
  height:27px;
  min-width:27px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  font-size:12px;
  font-weight:850;
}
.bb-sidebar-org-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
}
.bb-sidebar-collapsed .bb-sidebar-org{justify-content:center;padding-left:0;padding-right:0;gap:0}
.bb-sidebar-collapsed .bb-sidebar-org-name{display:none!important}
@media(max-width:900px){
  .bb-sidebar-org{display:none!important}
  .bb-mobile-sidebar-head .bb-mobile-org-name{
    min-width:0;
    max-width:190px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
}


/* v4.12.58 — allow long organization names to wrap cleanly in the sidebar on every device. */
.bb-sidebar-org{
  align-items:flex-start;
  height:auto;
}
.bb-sidebar-org-name{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere;
  word-break:break-word;
  display:block;
  flex:1 1 auto;
}
@media(max-width:900px){
  .bb-mobile-sidebar-head{
    height:auto!important;
    min-height:42px!important;
    flex:0 0 auto!important;
    align-items:flex-start!important;
  }
  .bb-mobile-sidebar-head .bb-mobile-org-name{
    max-width:calc(100% - 42px)!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere;
    word-break:break-word;
    line-height:1.25!important;
    padding-top:6px;
  }
}


/* v4.12.59 — Org Name is text-only in the left sidebar; no leading badge/icon. */
.bb-sidebar-org{gap:0!important;}
.bb-sidebar-org-initial{display:none!important;}
.bb-sidebar-collapsed .bb-sidebar-org{display:none!important;}

/* v4.12.63 — Download current Notespace as Excel. */
.bb-notespace-excel-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;white-space:nowrap}
.bb-notespace-excel-btn .bb-excel-btn-icon{font-size:15px;line-height:1;color:#16803a}
@media(max-width:768px){
  .bb-notespace-toolbar [data-export-notespace-excel]{
    position:relative!important;min-width:42px!important;width:42px!important;height:42px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important
  }
  .bb-notespace-toolbar [data-export-notespace-excel] .bb-excel-btn-text{display:none!important}
  .bb-notespace-toolbar [data-export-notespace-excel] .bb-excel-btn-icon{font-size:19px!important}
}


/* v4.12.64 — make Notespace Excel export unmistakably visible on desktop. */
.bb-notespace-toolbar .bb-notespace-excel-btn{
  border-color:#86c99a!important;background:#f0fdf4!important;color:#166534!important;font-weight:800!important;
}
.bb-notespace-toolbar .bb-notespace-excel-btn:hover{background:#dcfce7!important;border-color:#4ade80!important;}

/* v4.12.65 — keep Notespace Excel action visibly between Search and + Note Area. */
.bb-notespace-toolbar [data-export-notespace-excel]{display:inline-flex!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important;order:3!important}
.bb-notespace-toolbar [data-add-note-area]{order:4!important}
.bb-notespace-toolbar .bb-inline-search{order:2!important}
.bb-notespace-toolbar [data-back-notespaces]{order:1!important}
@media(max-width:768px){.bb-notespace-toolbar [data-export-notespace-excel]{order:2!important}.bb-notespace-toolbar [data-add-note-area]{order:2!important}.bb-notespace-toolbar .bb-inline-search{order:3!important}}

/* v4.12.67 — Desktop Workspace Card / Table / Calendar view selector */
.bb-workspace-view-picker{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 7px;border:1px solid #cfd6e2;border-radius:7px;background:#fff;color:#3d4757;font-size:10px;font-weight:750;white-space:nowrap}
.bb-workspace-view-picker span{font-size:9px;color:#687386}
.bb-workspace-view-picker select{height:24px;min-width:78px;border:0;background:transparent;color:#172033;font-size:10px;font-weight:800;outline:0;padding:0 18px 0 2px;cursor:pointer}
.bb-workspace-alt-view{width:100%;margin-top:0}
.bb-workspace-table-panel,.bb-workspace-calendar-panel{background:#fff;border:1px solid #dfe5ee;border-radius:12px;box-shadow:0 2px 10px rgba(20,38,70,.035);overflow:hidden}
.bb-workspace-alt-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #e7ebf1;background:#fafbfe;color:#182235}
.bb-workspace-alt-head strong{font-size:13px}
.bb-workspace-alt-head span{font-size:10px;color:#6b7688;font-weight:700}
.bb-workspace-table-scroll{overflow:auto;max-width:100%}
.bb-workspace-task-table{margin:0;min-width:860px}
.bb-workspace-task-table th{position:sticky;top:0;background:#f8faff;z-index:1}
.bb-workspace-task-table td,.bb-workspace-task-table th{vertical-align:middle}
.bb-table-task-link{border:0;background:transparent;padding:0;color:#111827;font:inherit;font-weight:750;text-align:left;cursor:pointer}
.bb-table-task-link:hover{color:#4055d8;text-decoration:underline}
.bb-workspace-table-priority{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:3px 7px;border-radius:999px;background:#eef1f5;color:#4b5563;font-size:10px;font-weight:800}
.bb-workspace-table-priority.urgent{background:#ffe4e6;color:#b4232d}.bb-workspace-table-priority.high{background:#fff0d8;color:#a45e00}.bb-workspace-table-priority.medium{background:#edf1f5;color:#4b5563}.bb-workspace-table-priority.low{background:#e4f7ea;color:#187847}
.bb-calendar-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid #e4e8ef;background:#fafbfe}
.bb-calendar-toolbar>div{display:flex;align-items:center;gap:5px}
.bb-calendar-toolbar>strong{font-size:14px;color:#172033;text-align:center}
.bb-calendar-toolbar>span{justify-self:end;font-size:10px;color:#6b7688;font-weight:700}
.bb-calendar-nav,.bb-calendar-today{height:28px;border:1px solid #ccd4e0;background:#fff;color:#263247;border-radius:7px;cursor:pointer;font-weight:800}
.bb-calendar-nav{width:30px;font-size:18px;line-height:1}.bb-calendar-today{padding:0 10px;font-size:10px}
.bb-calendar-weekdays,.bb-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.bb-calendar-weekdays{background:#f7f9fc;border-bottom:1px solid #e4e8ef}
.bb-calendar-weekdays span{padding:7px 8px;text-align:center;font-size:9px;font-weight:850;color:#6b7688;text-transform:uppercase;letter-spacing:.04em}
.bb-calendar-day{min-height:128px;padding:7px;border-right:1px solid #e8ecf2;border-bottom:1px solid #e8ecf2;background:#fff;overflow:hidden}
.bb-calendar-day:nth-child(7n){border-right:0}.bb-calendar-day.is-empty{background:#fafbfc}.bb-calendar-day.is-today{background:#f5f8ff;box-shadow:inset 0 0 0 2px #5a6cf0}
.bb-calendar-date{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:5px;font-size:11px;font-weight:850;color:#303b4f}
.bb-calendar-date em{font-style:normal;font-size:8px;color:#4055d8;background:#e9edff;border-radius:999px;padding:2px 5px}
.bb-calendar-items{display:flex;flex-direction:column;gap:4px}
.bb-calendar-task{display:flex;align-items:center;gap:5px;width:100%;min-width:0;border:0;border-left:3px solid var(--task-area-color,#4f46e5);border-radius:5px;background:#f7f8fb;color:#1b2638;padding:4px 5px;text-align:left;cursor:pointer;font-size:9px;line-height:1.2}
.bb-calendar-task:hover{background:#eef2ff}.bb-calendar-task span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-calendar-task small{flex:0 0 auto;font-size:8px;color:#657186}.bb-calendar-task.overdue{background:#fff1f2}.bb-calendar-task.done{opacity:.58;text-decoration:line-through}.bb-calendar-more{padding:3px 5px;font-size:8px;color:#657186;font-weight:700}
.bb-calendar-undated{border-top:1px solid #e4e8ef}.bb-calendar-undated-list{display:flex;flex-wrap:wrap;gap:7px;padding:10px}
.bb-calendar-undated-list button{display:flex;flex-direction:column;gap:2px;min-width:180px;max-width:260px;border:1px solid #dfe5ee;border-radius:8px;background:#fff;padding:7px 9px;text-align:left;cursor:pointer}.bb-calendar-undated-list button span{font-size:10px;font-weight:800;color:#202b3d}.bb-calendar-undated-list button small{font-size:9px;color:#748094}
@media(max-width:900px){.bb-workspace-view-picker{display:none!important}.bb-workspace-alt-view{display:none!important}.bb-workspace-layout-full,.bb-board-scroll-dock{display:block!important}}


/* v4.12.68 — Workspace view switch reliability + compact picker */
.bb-workspace-view-picker{padding:0 5px;gap:0}
.bb-workspace-view-picker select{min-width:82px;padding-left:6px}
#bb-app.bb-workspace-view-table .bb-workspace-layout-full,
#bb-app.bb-workspace-view-calendar .bb-workspace-layout-full,
#bb-app.bb-workspace-view-table .bb-board-scroll-dock,
#bb-app.bb-workspace-view-calendar .bb-board-scroll-dock{display:none!important}
#bb-app.bb-workspace-view-table .bb-workspace-alt-view,
#bb-app.bb-workspace-view-calendar .bb-workspace-alt-view{display:block!important}
#bb-app.bb-workspace-view-card .bb-workspace-alt-view{display:none!important}


/* v4.12.69 — Clipboard export is Notes-only. Tasks keep the six Work Area actions. */
.bb-task-bottom-actions{padding-right:0!important;}
@media(max-width:640px){.bb-task-bottom-actions{padding-right:0!important;}}

/* v4.12.70 — Work Area task cards must never show the text-to-clipboard action. */
.bb-task-bottom-clipboard,
[data-clipboard-task],
[data-task-clipboard]{display:none!important;visibility:hidden!important;width:0!important;min-width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;}
.bb-task-bottom-actions{padding-right:0!important;}


/* v4.12.71 — Calendar: wrap task names; dated tasks only; daily recurring tasks are excluded in JS. */
.bb-calendar-task{align-items:flex-start;}
.bb-calendar-task span{flex:1;min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-word;}
.bb-calendar-task small{padding-top:1px;}


/* v4.12.72 — Quick Add task title is a true auto-growing text area.
   Show the complete task while typing; no internal title scrollbar or height cap. */
.bb-quick-task-title{
  min-height:38px!important;
  height:auto!important;
  max-height:none!important;
  resize:none!important;
  overflow:hidden!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.35!important;
  padding:8px 4px!important;
  box-sizing:border-box!important;
}
.bb-quick-task-main{align-items:flex-start!important;}
.bb-quick-task-add{align-self:flex-start!important;}
@media(max-width:640px){
  .bb-quick-task-title{min-height:36px!important;height:auto!important;max-height:none!important;overflow:hidden!important;}
}

/* v4.12.73 — Set Reminder is available only after a Due Date is selected in Quick Add. */
.bb-quick-notify-row.is-disabled{opacity:.48;cursor:not-allowed}
.bb-quick-notify-row.is-disabled span{cursor:not-allowed}
.bb-quick-notify-row.is-disabled input{cursor:not-allowed}

.bb-task-bottom-urgent svg,.bb-urgent-reminder-icon svg{display:block;width:100%;height:100%;fill:currentColor;stroke:none}
.bb-urgent-reminder-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important}
.bb-urgent-reminder-icon svg{width:18px!important;height:18px!important}

/* v4.12.79 — selected proper solid red fire icon */
.bb-task-bottom-urgent{
  color:#ef1b24!important;
  background:#ffe8eb!important;
  border:1px solid #ffc7cd!important;
  border-radius:50%!important;
}
.bb-task-bottom-urgent:hover,.bb-task-bottom-urgent:focus-visible{
  color:#d60812!important;
  background:#ffdce1!important;
  border-color:#ffadb6!important;
}
.bb-task-bottom-urgent .bb-fire-svg{
  width:16px!important;height:16px!important;
  fill:none!important;stroke:none!important;
  overflow:visible!important;
}
.bb-task-bottom-urgent .bb-fire-svg .bb-fire-outer{fill:#ef1b24!important;stroke:none!important}
.bb-task-bottom-urgent .bb-fire-svg .bb-fire-inner{fill:#ffffff!important;stroke:none!important}
.bb-urgent-reminder-icon{
  color:#ef1b24!important;background:#ffe8eb!important;border:1px solid #ffc7cd!important;
}
.bb-urgent-reminder-icon .bb-fire-svg{width:20px!important;height:20px!important;fill:none!important;stroke:none!important}
.bb-urgent-reminder-icon .bb-fire-svg .bb-fire-outer{fill:#ef1b24!important;stroke:none!important}
.bb-urgent-reminder-icon .bb-fire-svg .bb-fire-inner{fill:#ffffff!important;stroke:none!important}
@media(max-width:640px){.bb-task-bottom-urgent .bb-fire-svg{width:15px!important;height:15px!important}}

/* v4.12.80 — Auto Notifications panel + multiple reminders in Quick Add */
.bb-quick-auto-notify-panel{
  margin-top:10px!important;
  padding:10px!important;
  border:1px solid #cfe7df!important;
  border-radius:12px!important;
  background:#f4fbf8!important;
  box-shadow:0 2px 8px rgba(16,24,40,.04)!important;
}
.bb-quick-notify-head{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin-bottom:8px!important;
  color:#155e54!important;
  font-size:12px!important;
  font-weight:800!important;
}
.bb-quick-notify-bell{font-size:14px!important;line-height:1!important}
.bb-quick-auto-notify-panel .bb-quick-notify-options{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.bb-quick-auto-notify-panel .bb-quick-reminder-controls{
  display:block!important;
  width:100%!important;
  margin-top:8px!important;
  padding-top:8px!important;
  border-top:1px solid #dbe8e4!important;
}
.bb-quick-auto-notify-panel .bb-quick-reminder-controls[hidden]{display:none!important}
.bb-quick-reminder-list{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  width:100%!important;
}
.bb-quick-reminder-row{
  display:grid!important;
  grid-template-columns:minmax(54px,72px) minmax(105px,1fr) 30px!important;
  gap:6px!important;
  align-items:center!important;
  width:100%!important;
}
.bb-quick-reminder-row input,
.bb-quick-reminder-row select{
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  padding:5px 7px!important;
  border:1px solid #d8dee8!important;
  border-radius:8px!important;
  background:#fff!important;
  font-size:11px!important;
  color:#344054!important;
}
.bb-quick-remove-reminder{
  width:30px!important;
  height:30px!important;
  padding:0!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#dc2626!important;
  font-size:13px!important;
  cursor:pointer!important;
}
.bb-quick-remove-reminder:hover{background:#fee2e2!important}
.bb-quick-add-reminder{
  width:100%!important;
  margin-top:7px!important;
  height:34px!important;
  border:1px dashed #4f63f6!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#3f51e8!important;
  font-size:11px!important;
  font-weight:800!important;
  cursor:pointer!important;
}
.bb-quick-add-reminder:hover{background:#f4f6ff!important}
@media(max-width:640px){
  .bb-quick-auto-notify-panel .bb-quick-notify-options{grid-template-columns:1fr 1fr!important}
  .bb-quick-reminder-row{grid-template-columns:minmax(50px,64px) minmax(100px,1fr) 28px!important}
}

/* v4.12.81 — show Notifications icon only after Assignee + Due Date */
.bb-quick-actions-iconic .bb-quick-notification-toggle{
  color:#f59e0b!important;
  background:#fff7ed!important;
  border:1px solid #fed7aa!important;
}
.bb-quick-actions-iconic .bb-quick-notification-toggle[hidden]{display:none!important}
.bb-quick-actions-iconic .bb-quick-notification-toggle:hover,
.bb-quick-actions-iconic .bb-quick-notification-toggle.active{
  color:#ea580c!important;
  background:#ffedd5!important;
  border-color:#fdba74!important;
}
.bb-quick-actions-iconic .bb-quick-notification-toggle svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* v4.12.82 - visible Add/Edit User validation */
.bb-employee-form-error{margin:0 18px 12px;padding:10px 12px;border:1px solid #fecaca;border-radius:10px;background:#fff1f2;color:#b91c1c;font-size:13px;font-weight:700;line-height:1.35}
.bb-employee-form-error[hidden]{display:none!important}


/* v4.12.82 — Assignees / Owners stacked dropdowns on desktop and mobile */
.bb-quick-people-stack{display:flex!important;flex-direction:column!important;gap:8px!important;padding:8px!important}
.bb-quick-dropdown-group{display:block!important;min-width:0!important}
.bb-quick-dropdown-label{display:block!important;margin:0 0 4px!important;font-size:11px!important;font-weight:800!important;color:#1f2937!important}
.bb-quick-people-dropdown{border:1px solid #cfd8e6!important;border-radius:7px!important;background:#fff!important;overflow:hidden!important}
.bb-quick-people-dropdown>summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:32px!important;padding:6px 9px!important;cursor:pointer!important;font-size:10.5px!important;color:#64748b!important;background:#fff!important;user-select:none!important}
.bb-quick-people-dropdown>summary::-webkit-details-marker{display:none!important}
.bb-quick-dropdown-chevron{width:7px!important;height:7px!important;border-right:2px solid #334155!important;border-bottom:2px solid #334155!important;transform:rotate(45deg)!important;transition:transform .15s ease!important;margin-right:2px!important}
.bb-quick-people-dropdown[open] .bb-quick-dropdown-chevron{transform:rotate(225deg)!important;margin-top:4px!important}
.bb-quick-people-dropdown .bb-quick-people-list{display:flex!important;flex-direction:column!important;gap:1px!important;max-height:145px!important;overflow:auto!important;padding:4px!important;border-top:1px solid #edf0f4!important;scrollbar-width:thin!important}
.bb-quick-people-dropdown .bb-quick-person{display:flex!important;align-items:flex-start!important;gap:7px!important;padding:4px 6px!important;margin:0!important;border-radius:5px!important;font-size:10.5px!important;line-height:1.25!important}
.bb-quick-people-dropdown .bb-quick-person input{flex:0 0 auto!important;margin-top:1px!important}
.bb-quick-people-dropdown .bb-quick-person span{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.bb-quick-people-columns{grid-template-columns:1fr!important}
@media(min-width:641px){.bb-quick-people-stack{max-width:100%!important}.bb-quick-people-dropdown .bb-quick-people-list{max-height:155px!important}}


/* v4.12.83 — Notes shown to users without Note Area management must use the full card width.
   Without the drag handle, the old two-column grid placed note content in the 18px handle column. */
.bb-note-card.bb-note-card-no-drag{grid-template-columns:minmax(0,1fr)!important;padding-left:10px!important}
.bb-note-card.bb-note-card-no-drag .bb-note-card-body{grid-column:1!important;width:100%!important;min-width:0!important}
.bb-note-card.bb-note-card-no-drag .bb-note-card-actions{grid-column:1!important;width:100%!important}


/* v4.12.85 workspace top-panel toggle */
.bb-workspace-top-toggle{display:none;align-items:center;justify-content:center;width:38px;height:38px;padding:0;border-radius:10px}
.bb-workspace-top-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.bb-workspace-top-toggle.is-collapsed svg{transform:rotate(180deg)}
.bb-workspace-header-panel{display:block}
@media (min-width:901px){
  .bb-workspace-header-panel.is-collapsed{display:none!important}
  .bb-top-actions{gap:10px;align-items:center}
  .bb-workspace-top-toggle{display:inline-flex}
}
@media (max-width:900px){
  .bb-workspace-top-toggle{display:none!important}
  .bb-workspace-header-panel{display:block!important}
}


/* v4.12.86 cleaner Link / YouTube Note cards */
.bb-note-link-body{padding:8px 9px!important}
.bb-note-link-body small,.bb-note-link-body em{display:none!important}
.bb-note-link-url{display:block;margin-top:6px;padding:0 2px;color:#2563eb!important;font-size:9.5px;line-height:1.35;text-decoration:none!important;word-break:break-all;overflow-wrap:anywhere}
.bb-note-link-url:hover{text-decoration:underline!important}


/* v4.12.87 — desktop Note Area width resizing, matching Work Area behavior. */
@media (min-width:901px){
  .bb-note-area-column{position:relative}
  .bb-note-area-resize-handle{
    position:absolute;top:52px;right:-5px;bottom:8px;width:10px;min-width:10px;padding:0;border:0;background:transparent;
    cursor:col-resize;z-index:8;touch-action:none;outline:none
  }
  .bb-note-area-resize-handle:before{
    content:'';position:absolute;top:50%;left:4px;transform:translateY(-50%);width:2px;height:42px;border-radius:4px;
    background:color-mix(in srgb,var(--note-area,#7c3aed) 45%,#cbd5e1);opacity:.45;transition:opacity .15s ease,height .15s ease
  }
  .bb-note-area-resize-handle:hover:before,.bb-note-area-resizing .bb-note-area-resize-handle:before{opacity:1;height:58px}
  .bb-note-area-resizing{user-select:none!important;box-shadow:0 7px 22px rgba(15,23,42,.10)!important}
  body.bb-note-area-resize-active{cursor:col-resize!important;user-select:none!important}
  body.bb-note-area-resize-active *{cursor:col-resize!important}
}
@media (max-width:900px){.bb-note-area-resize-handle{display:none!important}}


/* v4.12.88 — Notespace horizontal scroll dock matches Workspace */
@media (min-width:901px){
  #bb-content:has(.bb-notes-scroll-dock){padding-bottom:72px!important}
  .bb-notes-scroll-dock{display:flex!important}
}
@media (max-width:900px), (min-width:901px) and (max-width:1366px) and (orientation:portrait){
  .bb-notes-scroll-dock{display:none!important}
  #bb-content:has(.bb-notes-scroll-dock){padding-bottom:12px!important}
}


/* v4.12.89 Notespace search */
.bb-notes-search-empty{width:100%;min-height:120px;display:flex;align-items:center;justify-content:center;color:#7a8497;font-size:12px;font-weight:700;background:#fff;border:1px dashed #d8dee9;border-radius:12px;padding:24px;box-sizing:border-box}


/* v4.12.90 Focus Excel export */
.bb-focus-summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}
.bb-focus-summary .bb-focus-excel-btn{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#f0fdf4!important;border-color:#86efac!important;color:#166534!important}
.bb-focus-summary .bb-focus-excel-btn:hover{background:#dcfce7!important;border-color:#4ade80!important}
.bb-focus-summary .bb-focus-excel-btn .bb-excel-btn-icon{font-size:15px;color:#16803a}
@media(max-width:900px){.bb-focus-summary .bb-focus-excel-btn{display:none!important}.bb-focus-summary{grid-template-columns:1fr}}


/* v4.12.91 — proper urgent fire action in all task-card views */
.bb-task-bottom-urgent{
  width:24px!important;height:24px!important;min-width:24px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;cursor:pointer!important;line-height:1!important;
}
.bb-task-bottom-urgent .bb-fire-svg{pointer-events:none!important}
.bb-focus-task-list .bb-task-bottom-urgent,.bb-workarea-column .bb-task-bottom-urgent{
  color:#ef1b24!important;background:#ffe8eb!important;border-color:#ffc7cd!important;
}


/* v4.12.92 — Fire action Option 3: two-tone flame */
.bb-task-bottom-urgent,
.bb-focus-task-list .bb-task-bottom-urgent,
.bb-workarea-column .bb-task-bottom-urgent{
  background:transparent!important;
  border-color:transparent!important;
  color:inherit!important;
  border-radius:6px!important;
}
.bb-task-bottom-urgent:hover,.bb-task-bottom-urgent:focus-visible{
  background:#fff4f2!important;
  border-color:#ffd9d2!important;
}
.bb-task-bottom-urgent .bb-fire-svg{width:18px!important;height:18px!important;overflow:visible!important}
.bb-task-bottom-urgent .bb-fire-svg .bb-fire-outer{fill:#ef2b2d!important;stroke:none!important}
.bb-task-bottom-urgent .bb-fire-svg .bb-fire-inner{fill:#ffb000!important;stroke:none!important}
.bb-urgent-reminder-icon{background:#fff4f2!important;border-color:#ffd9d2!important;color:inherit!important}
.bb-urgent-reminder-icon .bb-fire-svg .bb-fire-outer{fill:#ef2b2d!important;stroke:none!important}
.bb-urgent-reminder-icon .bb-fire-svg .bb-fire-inner{fill:#ffb000!important;stroke:none!important}
@media(max-width:640px){.bb-task-bottom-urgent .bb-fire-svg{width:17px!important;height:17px!important}}


/* v4.12.93 — corrected Option 3 fire silhouette */
.bb-task-bottom-urgent{width:22px!important;height:22px!important;min-width:22px!important;padding:1px!important;background:transparent!important;border:0!important;border-radius:6px!important;overflow:visible!important}
.bb-task-bottom-urgent .bb-fire-svg{display:block!important;width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;overflow:visible!important;transform:none!important}
.bb-task-bottom-urgent .bb-fire-outer{fill:#ef2b2d!important}
.bb-task-bottom-urgent .bb-fire-inner{fill:#ffb000!important}
.bb-task-bottom-urgent:hover,.bb-task-bottom-urgent:focus-visible{background:#fff1ed!important}
.bb-urgent-reminder-icon .bb-fire-svg{width:22px!important;height:22px!important;overflow:visible!important}
.bb-urgent-reminder-icon .bb-fire-outer{fill:#ef2b2d!important}
.bb-urgent-reminder-icon .bb-fire-inner{fill:#ffb000!important}
@media(max-width:640px){.bb-task-bottom-urgent .bb-fire-svg{width:18px!important;height:18px!important}}


/* v4.12.94 desktop search beside Workspace name when controls are collapsed */
@media (min-width:901px){
  .bb-topbar-left>div.bb-workspace-header-search-active{display:flex!important;align-items:center;gap:14px;min-width:0}
  .bb-topbar-left>div.bb-workspace-header-search-active #bb-page-title{flex:0 0 auto}
  .bb-workspace-header-search{width:min(420px,34vw);height:38px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #d9e1ec;border-radius:10px;background:#fff;box-sizing:border-box}
  .bb-workspace-header-search:focus-within{border-color:#6674ff;box-shadow:0 0 0 2px rgba(79,70,229,.08)}
  .bb-workspace-header-search svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:#718096;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .bb-workspace-header-search input{width:100%!important;min-width:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font-size:12px!important;color:var(--bb-text)!important}
  .bb-workspace-header-search input::placeholder{color:#8a94a6}
}
@media (max-width:900px){.bb-workspace-header-search{display:none!important}}


/* v4.12.95 desktop workspace search stays in header only */
@media (min-width:901px){
  .bb-workspace-search-all{display:none!important;}
  .bb-topbar-left>div.bb-workspace-header-search-active{display:flex!important;align-items:center;gap:14px;min-width:0}
}
@media (max-width:900px){
  .bb-workspace-search-all{display:flex!important;}
}


/* v4.12.96 — desktop Workspace toolbar always stays on one line */
@media (min-width:901px){
  .bb-workspace-toolbar{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:6px!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scrollbar-width:none!important;
  }
  .bb-workspace-toolbar::-webkit-scrollbar{display:none!important}
  .bb-workspace-toolbar-left{
    display:flex!important;
    flex:0 0 auto!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    min-width:0!important;
  }
  .bb-workspace-toolbar .bb-compact-kpis{
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    gap:5px!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  .bb-workspace-toolbar .bb-completed-filter-chip{margin-left:4px!important}
  .bb-workspace-toolbar .bb-compact-filters,
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    display:flex!important;
    flex:1 1 430px!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:5px!important;
    width:auto!important;
    min-width:390px!important;
    max-width:none!important;
    overflow:visible!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter{
    flex:1 1 96px!important;
    width:auto!important;
    min-width:82px!important;
    max-width:122px!important;
    grid-column:auto!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;
    max-width:none!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-icon-btn{
    flex:0 0 32px!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    grid-column:auto!important;
    justify-self:auto!important;
  }
}


/* v4.12.97 — Reminder shortcut after Add Remark */
.bb-inline-remark-actions{display:flex;justify-content:flex-end;margin-top:10px;}
.bb-inline-reminder-btn,.bb-task-reminder-shortcut{display:inline-flex;align-items:center;gap:6px;}


/* v4.12.98 — task reminder bell + stable desktop header search */
.bb-inline-reminder{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:24px;height:24px;padding:0 3px;border:0;background:transparent;color:#f59e0b;border-radius:7px;cursor:pointer;flex:0 0 auto;}
.bb-inline-reminder:hover{background:#fff7e6;}
.bb-inline-reminder.has-value{background:#fff7e6;color:#f59e0b;}
.bb-inline-reminder svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.bb-inline-reminder small{font-size:8px;font-weight:800;line-height:1;color:#b45309;}
@media(max-width:900px){.bb-inline-reminder{min-width:26px;height:26px;}}


/* v4.12.99 — saved-task reminder editor mirrors Quick Add */
.bb-task-reminder-editor{max-width:520px;margin:0 auto;}
.bb-task-reminder-editor-heading{margin-bottom:12px;}
.bb-task-reminder-due{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;margin-bottom:10px;border:1px solid var(--bb-border);border-radius:10px;background:#f8fafc;}
.bb-task-reminder-due small{color:var(--bb-muted);font-weight:700;}
.bb-task-reminder-due strong{font-size:12px;}
.bb-task-reminder-editor-panel{display:block!important;margin:0!important;}
.bb-task-reminder-editor .bb-quick-reminder-row{grid-template-columns:minmax(70px,.7fr) minmax(120px,1fr) 34px;}
.bb-task-reminder-editor .bb-task-reminder-editor-remove{border:0;background:transparent;color:#ef4444;cursor:pointer;border-radius:8px;}
.bb-task-reminder-editor .bb-task-reminder-editor-remove:hover{background:#fff1f2;}
@media(max-width:900px){.bb-task-reminder-editor{max-width:none}.bb-task-reminder-editor .bb-quick-reminder-row{grid-template-columns:72px minmax(110px,1fr) 34px;}}


/* v4.12.100 — compact saved-task Notifications & Reminder modal */
@media (min-width:901px){
  .bb-modal-card:has(#bb-task-reminder-editor){
    width:min(500px,calc(100vw - 40px))!important;
    max-width:500px!important;
    padding:20px!important;
    border-radius:18px!important;
  }
}
.bb-task-reminder-editor{
  max-width:none!important;
  width:100%!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
}
.bb-task-reminder-editor-heading{
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
}
.bb-task-reminder-editor-heading .bb-form-icon{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:11px!important;
  background:#fff7ed!important;
  color:#f59e0b!important;
  font-size:18px!important;
}
.bb-task-reminder-editor-heading h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.15!important;
}
.bb-task-reminder-editor-heading p{
  margin:3px 0 0!important;
  color:#667085!important;
  font-size:11px!important;
  line-height:1.25!important;
}
.bb-task-reminder-due{
  min-height:42px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:1px solid #e1e7ef!important;
  border-radius:10px!important;
  background:#f8fafc!important;
}
.bb-task-reminder-due small{
  font-size:11px!important;
  font-weight:800!important;
  color:#667085!important;
}
.bb-task-reminder-due strong{
  font-size:12px!important;
  color:#101828!important;
}
.bb-task-reminder-editor-panel{
  margin:0!important;
  padding:11px!important;
  border:1px solid #cfe8df!important;
  border-radius:12px!important;
  background:#f2fbf8!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-head{
  margin:0 0 9px!important;
  color:#146b5b!important;
  font-size:12px!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-options{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-row{
  min-height:48px!important;
  padding:8px 10px!important;
  border:1px solid #dce4ec!important;
  border-radius:9px!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-row span{
  line-height:1.18!important;
  font-size:10.5px!important;
  font-weight:700!important;
}
.bb-task-reminder-editor-panel .bb-quick-reminder-controls{
  display:block!important;
  width:100%!important;
  margin:10px 0 0!important;
  padding:10px 0 0!important;
  border-top:1px solid #dce9e5!important;
}
.bb-task-reminder-editor-panel .bb-quick-reminder-controls[hidden]{display:none!important;}
.bb-task-reminder-editor .bb-quick-reminder-list{
  gap:7px!important;
}
.bb-task-reminder-editor .bb-quick-reminder-row{
  grid-template-columns:70px minmax(0,1fr) 30px!important;
  gap:7px!important;
}
.bb-task-reminder-editor .bb-quick-reminder-row input,
.bb-task-reminder-editor .bb-quick-reminder-row select{
  height:36px!important;
  border-radius:8px!important;
  font-size:11px!important;
}
.bb-task-reminder-editor .bb-task-reminder-editor-remove{
  width:30px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:8px!important;
}
.bb-task-reminder-editor .bb-task-reminder-editor-add{
  height:36px!important;
  margin-top:8px!important;
  border-radius:8px!important;
}
.bb-task-reminder-editor>.bb-form-actions{
  margin:0!important;
  padding:2px 0 0!important;
  border:0!important;
  display:flex!important;
  justify-content:flex-end!important;
  gap:8px!important;
}
.bb-task-reminder-editor>.bb-form-actions .bb-btn{
  min-width:72px!important;
  height:38px!important;
}
@media(max-width:900px){
  .bb-task-reminder-editor{gap:10px!important;}
  .bb-task-reminder-editor-panel .bb-quick-notify-options{grid-template-columns:1fr 1fr!important;}
  .bb-task-reminder-editor .bb-quick-reminder-row{grid-template-columns:66px minmax(0,1fr) 30px!important;}
}
@media(max-width:520px){
  .bb-task-reminder-editor-panel .bb-quick-notify-options{grid-template-columns:1fr 1fr!important;}
  .bb-task-reminder-editor-heading h2{font-size:18px!important;}
}


/* v4.12.101 — refined Notifications & Reminder popup (approved mockup) */
@media (min-width:901px){
  .bb-modal-card:has(#bb-task-reminder-editor){
    width:min(620px,calc(100vw - 48px))!important;
    max-width:620px!important;
    min-width:0!important;
    padding:24px 26px 20px!important;
    border-radius:20px!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
  }
}
.bb-task-reminder-editor{
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  gap:14px!important;
  box-sizing:border-box!important;
}
.bb-task-reminder-editor *{box-sizing:border-box!important;}
.bb-task-reminder-editor-heading{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:12px!important;
  align-items:center!important;
}
.bb-task-reminder-editor-heading .bb-form-icon{
  width:48px!important;height:48px!important;min-width:48px!important;
  border-radius:13px!important;background:#fff6e8!important;color:#f59e0b!important;
  font-size:21px!important;
}
.bb-task-reminder-title{min-width:0!important;}
.bb-task-reminder-editor-heading h2{font-size:21px!important;font-weight:800!important;letter-spacing:-.02em!important;}
.bb-task-reminder-editor-heading p{font-size:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.bb-task-reminder-due{
  min-height:52px!important;
  padding:8px 10px 8px 12px!important;
  border-radius:11px!important;
  background:#f8fafc!important;
  border-color:#dce3ed!important;
}
.bb-task-reminder-due-label{display:inline-flex!important;align-items:center!important;gap:9px!important;color:#344054!important;font-size:13px!important;}
.bb-task-reminder-due-label svg{width:18px!important;height:18px!important;fill:none!important;stroke:#526784!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.bb-task-reminder-due strong{
  display:inline-flex!important;align-items:center!important;min-height:34px!important;
  padding:0 11px!important;border-radius:9px!important;background:#edf2f8!important;
  font-size:13px!important;font-weight:800!important;white-space:nowrap!important;
}
.bb-task-reminder-editor-panel{
  padding:13px!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#f3fcf9 0%,#eefaf6 100%)!important;
  border-color:#cce9df!important;
  overflow:hidden!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-head{
  display:flex!important;align-items:center!important;gap:7px!important;
  margin:0 0 11px!important;font-size:13px!important;font-weight:800!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-bell{font-size:15px!important;line-height:1!important;}
.bb-task-reminder-editor-panel .bb-quick-notify-options{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-row{
  position:relative!important;
  min-height:62px!important;
  padding:10px 36px 10px 12px!important;
  border-radius:10px!important;
  gap:10px!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-row input[type=checkbox]{
  flex:0 0 19px!important;width:19px!important;height:19px!important;margin:0!important;
}
.bb-task-reminder-editor-panel .bb-quick-notify-row span{
  display:block!important;min-width:0!important;
  font-size:12px!important;line-height:1.25!important;font-weight:700!important;color:#162033!important;
}
.bb-reminder-info{
  position:absolute!important;right:11px!important;top:50%!important;transform:translateY(-50%)!important;
  width:18px!important;height:18px!important;border:1px solid #9eabc0!important;border-radius:50%!important;
  display:grid!important;place-items:center!important;font-style:normal!important;font-size:11px!important;
  font-weight:800!important;color:#7a889f!important;background:#fff!important;
}
.bb-task-reminder-editor-panel .bb-quick-reminder-controls{
  margin:12px 0 0!important;padding:12px 0 0!important;border-top:1px solid #d7e9e3!important;
}
.bb-task-reminder-editor .bb-quick-reminder-list{display:flex!important;flex-direction:column!important;gap:8px!important;}
.bb-task-reminder-editor .bb-quick-reminder-row{
  display:grid!important;
  grid-template-columns:120px minmax(180px,1fr) 38px!important;
  gap:10px!important;align-items:center!important;width:100%!important;min-width:0!important;
}
.bb-task-reminder-editor .bb-quick-reminder-row input,
.bb-task-reminder-editor .bb-quick-reminder-row select{
  width:100%!important;min-width:0!important;height:42px!important;
  border:1px solid #d7e0ea!important;border-radius:9px!important;
  background:#fff!important;font-size:12px!important;padding:0 11px!important;
}
.bb-task-reminder-editor .bb-task-reminder-editor-remove{
  width:38px!important;height:38px!important;padding:0!important;
  color:#ef4444!important;background:transparent!important;border:0!important;
  display:grid!important;place-items:center!important;
}
.bb-task-reminder-editor .bb-task-reminder-editor-remove svg{
  width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
.bb-task-reminder-editor .bb-task-reminder-editor-remove:hover{background:#fff1f2!important;}
.bb-task-reminder-editor .bb-task-reminder-editor-add{
  width:100%!important;height:42px!important;margin:10px 0 0!important;
  border:1.5px dashed #5468ff!important;border-radius:9px!important;
  background:#fff!important;color:#3752ff!important;font-size:12px!important;font-weight:800!important;
}
.bb-task-reminder-editor .bb-task-reminder-editor-add:hover{background:#f7f8ff!important;}
.bb-task-reminder-editor-actions{
  margin-top:0!important;padding:14px 0 0!important;border-top:1px solid #e4e9f0!important;
}
.bb-task-reminder-editor-actions .bb-btn{height:42px!important;min-width:88px!important;border-radius:9px!important;font-weight:750!important;}
@media(max-width:900px){
  .bb-task-reminder-editor-heading{grid-template-columns:42px minmax(0,1fr)!important;}
  .bb-task-reminder-editor-heading .bb-form-icon{width:42px!important;height:42px!important;min-width:42px!important;}
  .bb-task-reminder-editor-panel .bb-quick-notify-options{grid-template-columns:1fr 1fr!important;}
  .bb-task-reminder-editor .bb-quick-reminder-row{grid-template-columns:72px minmax(0,1fr) 34px!important;gap:7px!important;}
  .bb-task-reminder-editor-panel .bb-quick-notify-row{padding:9px!important;min-height:56px!important;}
  .bb-reminder-info{display:none!important;}
  .bb-task-reminder-editor .bb-task-reminder-editor-add{height:38px!important;}
}
@media(max-width:520px){
  .bb-task-reminder-editor-panel .bb-quick-notify-options{grid-template-columns:1fr 1fr!important;gap:7px!important;}
  .bb-task-reminder-editor-panel .bb-quick-notify-row span{font-size:10.5px!important;}
}


/* v4.12.102 — Activity Log clear filters + 25-row pagination */
.bb-activity-filter-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;min-width:0}
.bb-activity-filter-actions .bb-btn{height:36px;width:100%;justify-content:center;min-width:0}
.bb-activity-clear-btn:not(:disabled){border-color:#cfd6e4;background:#fff;color:#334155}
.bb-activity-clear-btn:disabled{opacity:.42;cursor:default}
.bb-activity-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px 2px;border-top:1px solid #e7eaf0;margin-top:8px}
.bb-activity-page-info{font-size:11px;color:#667085;white-space:nowrap}
.bb-activity-page-info b{color:#25324a}
.bb-activity-page-buttons{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.bb-activity-page-buttons .bb-mini{min-width:30px;height:30px;border-radius:7px}
.bb-activity-page-buttons .bb-mini.primary{background:#4f5cff;color:#fff;border-color:#4f5cff}
.bb-activity-page-buttons .bb-mini[disabled]{opacity:.35;cursor:default}
.bb-activity-page-gap{font-size:11px;color:#98a2b3;padding:0 2px}
@media(max-width:900px), (min-width:901px) and (max-width:1366px) and (orientation:portrait){.bb-activity-filter-actions{grid-column:1/-1}.bb-activity-pagination{align-items:flex-start;flex-direction:column}.bb-activity-page-buttons{justify-content:flex-start}}

/* v4.13.0 — Network messaging / wallet / message audit */
.bb-settings-page{display:grid;gap:18px}.bb-site-messaging-card .bb-panel-head,.bb-wallet-settings-card .bb-panel-head,.bb-message-log-card .bb-panel-head{align-items:flex-start}.bb-settings-subhead{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin:16px 0 12px;padding-top:14px;border-top:1px solid #e5e7eb}.bb-settings-subhead strong{display:block;font-size:14px;color:#172033}.bb-settings-subhead small{display:block;margin-top:4px;color:#64748b;line-height:1.45}.bb-connection-pill,.bb-readonly-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#f1f5f9;color:#475569}.bb-connection-pill.ok{background:#ecfdf3;color:#15803d}.bb-connection-pill.off{background:#fff7ed;color:#c2410c}.bb-own-meta-fields.is-hidden{display:none}.bb-empty-inline{margin:0 18px 18px;padding:14px 16px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;color:#64748b}.bb-wallet-settings-card{overflow:hidden}.bb-wallet-settings-card.is-muted{opacity:.78}.bb-wallet-balance{text-align:right;min-width:120px}.bb-wallet-balance small{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.bb-wallet-balance strong{display:block;font-size:25px;line-height:1.1;color:#0f172a;margin-top:3px}.bb-wallet-prices{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;padding:0 18px 16px}.bb-wallet-prices span{display:block;border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;padding:11px 12px}.bb-wallet-prices small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.bb-wallet-prices b{display:block;margin-top:3px;color:#0f172a;font-size:14px}.bb-wallet-recharge-box{margin:0 18px 18px;padding:15px;border:1px solid #dbe3ee;border-radius:12px;background:#fff}.bb-wallet-recharge-box>strong{display:block;margin-bottom:10px;color:#172033}.bb-wallet-presets{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.bb-wallet-presets .bb-btn{min-height:34px;padding:5px 11px}.bb-wallet-recharge-row{display:grid;grid-template-columns:32px minmax(120px,220px) auto;gap:0;align-items:stretch;max-width:520px}.bb-wallet-recharge-row>span{display:flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-right:0;border-radius:8px 0 0 8px;background:#f8fafc;color:#475569;font-weight:700}.bb-wallet-recharge-row input{min-width:0;border-radius:0!important;margin:0!important}.bb-wallet-recharge-row .bb-btn{border-radius:0 8px 8px 0}.bb-message-log-card .bb-table-wrap{overflow:auto}.bb-message-log-table{min-width:780px}.bb-message-log-table td small{display:block;color:#64748b;margin-top:3px;font-size:10px}.bb-msg-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:10px;font-weight:800;text-transform:capitalize;background:#f1f5f9;color:#475569}.bb-msg-status.sent{background:#ecfdf3;color:#15803d}.bb-msg-status.failed{background:#fef2f2;color:#b91c1c}.bb-msg-status.pending{background:#fff7ed;color:#c2410c}.bb-msg-error{color:#b91c1c!important;max-width:240px;line-height:1.35}.bb-empty-cell{text-align:center!important;color:#94a3b8!important;padding:24px!important}.bb-readonly-pill{background:#eef2ff;color:#4338ca}@media(max-width:900px){.bb-wallet-prices{grid-template-columns:1fr 1fr}.bb-settings-subhead{flex-direction:column}.bb-wallet-balance{text-align:left}.bb-wallet-recharge-row{grid-template-columns:32px 1fr}.bb-wallet-recharge-row .bb-btn{grid-column:1/-1;border-radius:8px;margin-top:8px}.bb-wallet-recharge-row input{border-radius:0 8px 8px 0!important}}@media(max-width:560px){.bb-wallet-prices{grid-template-columns:1fr}.bb-wallet-presets{display:grid;grid-template-columns:1fr 1fr}.bb-wallet-presets .bb-btn{width:100%}}
.bb-wallet-ledger{padding:0 18px 18px}.bb-wallet-ledger .bb-settings-subhead{margin-top:0}.bb-wallet-ledger .bb-table-wrap{overflow:auto}.bb-wallet-ledger table{min-width:620px}.bb-money-credit{color:#15803d;font-weight:800}.bb-money-debit{color:#b91c1c;font-weight:800}


/* v4.13.4 — reliable Workspace delete-icon visibility setting */
#bb-app.bb-hide-workspace-delete-icons .bb-workarea-delete,
#bb-app.bb-hide-workspace-delete-icons [data-delete-workspace]{display:none!important;}

/* v4.13.5 — reliable Workspace search feedback */
.bb-workspace-search-empty{margin:18px 0;padding:18px;border:1px dashed #cbd5e1;border-radius:12px;background:#fff;color:#64748b;text-align:center;font-size:13px;font-weight:700}
.bb-workspace-search-empty[hidden]{display:none!important}


/* v4.13.7 — restore interactivity for the dedicated desktop Workspace header search.
   Older legacy rules intentionally hide generic topbar search inputs; this explicit
   exception keeps only the Workspace search visible and focusable. */
@media (min-width:901px){
  #bb-app .bb-topbar .bb-workspace-header-search{
    pointer-events:auto!important;
    position:relative!important;
    z-index:4!important;
  }
  #bb-app .bb-topbar .bb-workspace-header-search input[type="search"],
  #bb-app .bb-topbar input.bb-workspace-task-search-input[type="search"]{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:36px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:visible!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    color:var(--bb-text)!important;
    cursor:text!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
}


/* v4.13.8 — Workspace search typing root fix.
   Use a normal text input with search semantics so legacy global rules that hide
   generic topbar input[type="search"] controls can never disable this field. */
@media (min-width:901px){
  #bb-app .bb-topbar .bb-workspace-header-search{
    display:flex!important;
    pointer-events:auto!important;
    position:relative!important;
    z-index:20!important;
  }
  #bb-app .bb-topbar .bb-workspace-header-search .bb-workspace-task-search-input{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    position:relative!important;
    z-index:21!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0 2px!important;
    border:0!important;
    overflow:visible!important;
    outline:0!important;
    box-shadow:none!important;
    background:#fff!important;
    color:#111827!important;
    cursor:text!important;
    caret-color:#4f46e5!important;
    -webkit-user-select:text!important;
    user-select:text!important;
    touch-action:manipulation!important;
    font:inherit!important;
    font-size:13px!important;
    line-height:36px!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  #bb-app .bb-topbar .bb-workspace-header-search .bb-workspace-task-search-input::placeholder{
    color:#98a2b3!important;
    opacity:1!important;
  }
}

/* v4.13.10 — Workspace filter dropdown root fix.
   The desktop toolbar is horizontally scrollable, so absolute dropdowns were clipped.
   Open menus are now viewport-positioned by JS and remain visible above the board. */
.bb-workspace-toolbar details.bb-multi-filter[open] > .bb-multi-menu{
  position:fixed!important;
  left:var(--bb-filter-menu-left,10px)!important;
  top:var(--bb-filter-menu-top,120px)!important;
  width:var(--bb-filter-menu-width,230px)!important;
  min-width:var(--bb-filter-menu-width,230px)!important;
  max-width:calc(100vw - 20px)!important;
  max-height:var(--bb-filter-menu-maxh,300px)!important;
  overflow:auto!important;
  z-index:999999!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  transform:none!important;
  pointer-events:auto!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(15,23,42,.20)!important;
}


/* v4.13.11 — prevent first-open dropdown flash.
   Keep the fixed menu invisible until JS has calculated its viewport position. */
.bb-workspace-toolbar details.bb-multi-filter[open]:not(.bb-filter-positioned) > .bb-multi-menu{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
.bb-workspace-toolbar details.bb-multi-filter[open].bb-filter-positioned > .bb-multi-menu{
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}


/* v4.13.12 - searchable dropdowns */
.bb-filter-search-wrap,.bb-quick-people-search-wrap{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:6px;margin:0 0 7px;padding:0 8px;border:1px solid #d8dee9;border-radius:8px;background:#fff;box-sizing:border-box}
.bb-filter-search-wrap>span,.bb-quick-people-search-wrap>span{font-size:15px;color:#64748b;line-height:1}
.bb-filter-search-wrap .bb-filter-search-input,.bb-quick-people-search-wrap .bb-quick-people-search{position:static!important;width:100%!important;min-width:0!important;height:32px!important;margin:0!important;padding:6px 0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font-size:11px!important;color:#111827!important;visibility:visible!important;pointer-events:auto!important}
.bb-filter-search-wrap:focus-within,.bb-quick-people-search-wrap:focus-within{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.12)}
.bb-filter-no-results,.bb-quick-people-no-results{display:block;padding:9px 6px;text-align:center;color:#94a3b8;font-size:11px;font-weight:600}
.bb-filter-no-results[hidden],.bb-quick-people-no-results[hidden]{display:none!important}
.bb-quick-people-list{position:relative}
.bb-quick-people-search-wrap{margin:0 0 6px}
@media(max-width:900px){.bb-filter-search-wrap .bb-filter-search-input,.bb-quick-people-search-wrap .bb-quick-people-search{font-size:13px!important;height:36px!important}}

/* v4.13.13 searchable dropdown filtering fix */
.bb-search-option-hidden{display:none!important;}

/* v4.13.14 — deterministic searchable option visibility */
.bb-quick-person[hidden],.bb-searchable-filter .bb-multi-menu>label[hidden]{display:none!important;}
.bb-quick-people-no-results:not([hidden]),.bb-filter-no-results:not([hidden]){display:block!important;padding:8px 4px;color:#64748b;font-size:11px;}
/* v4.13.25 MathSpaces */
.bb-mathspaces-shell,.bb-mathspace-board{padding:2px}.bb-mathspaces-toolbar,.bb-math-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px}.bb-mathspaces-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.bb-mathspace-card{position:relative;background:#fff;border:1px solid #dbe5f0;border-radius:16px;box-shadow:0 5px 18px rgba(15,23,42,.05);overflow:hidden}.bb-mathspace-open{width:100%;border:0;background:transparent;padding:18px;text-align:left;display:flex;align-items:center;gap:12px;cursor:pointer}.bb-mathspace-icon{width:42px;height:42px;border-radius:12px;background:#e0f2fe;color:#0369a1;display:grid;place-items:center;font-size:23px;font-weight:800}.bb-mathspace-open>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.bb-mathspace-open strong{font-size:16px;color:#0f172a}.bb-mathspace-open small{color:#64748b}.bb-mathspace-open b{font-size:14px;color:#0f766e}.bb-mathspace-card-actions{display:flex;gap:6px;position:absolute;right:10px;top:8px}.bb-mathspace-card-actions button,.bb-math-area-head button,.bb-math-actions button{border:1px solid #dbe5f0;background:#fff;border-radius:8px;min-width:30px;height:30px;cursor:pointer}.bb-mathspace-card-actions .danger,.bb-math-area-head .danger,.bb-math-actions .danger{color:#dc2626}.bb-math-grand-total{margin-left:auto;border:1px solid #dbe5f0;background:#fff;border-radius:12px;padding:7px 13px;display:flex;gap:10px;align-items:center}.bb-math-grand-total span{font-size:12px;color:#64748b}.bb-math-grand-total strong{font-size:16px;color:#0f766e}.bb-math-area-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:14px}.bb-math-area-card{background:#fff;border:1px solid color-mix(in srgb,var(--math) 45%,#dbe5f0);border-radius:15px;overflow:hidden;box-shadow:0 5px 18px rgba(15,23,42,.05)}.bb-math-area-head{background:color-mix(in srgb,var(--math) 12%,#fff);border-bottom:3px solid var(--math);padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.bb-math-area-head h3{margin:0;font-size:15px}.bb-math-area-head>div{display:flex;gap:6px}.bb-math-table-wrap{overflow:auto}.bb-math-table{width:100%;border-collapse:collapse}.bb-math-table th,.bb-math-table td{padding:10px 12px;border-bottom:1px solid #edf2f7;text-align:left}.bb-math-table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.bb-math-table tfoot th{background:#f8fafc;border-bottom:0}.bb-math-amount{text-align:right!important;font-variant-numeric:tabular-nums;font-weight:700}.bb-math-actions{width:74px;text-align:right!important;white-space:nowrap}.bb-math-empty{text-align:center!important;color:#94a3b8;padding:22px!important}@media(max-width:700px){.bb-math-area-grid,.bb-mathspaces-grid{grid-template-columns:1fr}.bb-math-toolbar{flex-wrap:wrap}.bb-math-grand-total{margin-left:0}}


/* v4.13.27 Math Area horizontal board */
.bb-math-area-grid{display:flex!important;flex-wrap:nowrap!important;align-items:flex-start;gap:14px;overflow-x:auto;overflow-y:hidden;padding:0 0 10px;scrollbar-width:thin;scroll-behavior:smooth}
.bb-math-area-card{flex:0 0 340px;min-width:340px;max-width:340px}
.bb-math-grand-total-bottom{margin:8px 0 0 0!important;width:max-content;min-width:220px;justify-content:space-between}
@media(max-width:700px){.bb-math-area-grid{display:flex!important;grid-template-columns:none!important;overflow-x:auto!important}.bb-math-area-card{flex:0 0 88vw;min-width:88vw;max-width:88vw}.bb-math-grand-total-bottom{margin-left:0!important}}

/* v4.13.29 Math Area total under title */
.bb-math-area-title{display:flex;flex-direction:column;gap:3px;min-width:0}
.bb-math-area-total{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.15}
.bb-math-area-total span{color:#64748b;font-weight:600}
.bb-math-area-total strong{color:#0f766e;font-size:13px;font-variant-numeric:tabular-nums}
.bb-math-area-head-actions{display:flex;gap:6px;align-self:flex-start}

/* v4.13.34 Math Entry Number field */
.bb-math-number{text-align:right!important;font-variant-numeric:tabular-nums;}
.bb-math-entry-grid{grid-template-columns:minmax(0,1.4fr) minmax(130px,.7fr) minmax(150px,.8fr)!important;}
@media(max-width:700px){.bb-math-entry-grid{grid-template-columns:1fr!important;}}

/* v4.13.35 Math Entry contact number layout */
.bb-math-particular{font-weight:500;color:#0f172a;}
.bb-math-contact{margin-top:4px;font-size:12px;color:#64748b;letter-spacing:.01em;white-space:nowrap;}
.bb-math-table th:nth-child(2),.bb-math-table td:nth-child(2){text-align:right;}
.bb-math-entry-grid{grid-template-columns:minmax(0,1.35fr) minmax(180px,.8fr) minmax(150px,.8fr)!important;}
@media(max-width:700px){.bb-math-entry-grid{grid-template-columns:1fr!important;}}

/* v4.13.37 — Math contact number optional + inline row actions */
.bb-math-contact-row{display:flex;align-items:center;gap:6px;min-height:30px;margin-top:3px;}
.bb-math-contact-row .bb-math-contact{margin-top:0;flex:1;min-width:0;}
.bb-math-inline-actions{display:inline-flex;align-items:center;gap:4px;margin-left:auto;white-space:nowrap;}
.bb-math-inline-actions button{border:1px solid #dbe5f0;background:#fff;border-radius:8px;min-width:28px;height:28px;cursor:pointer;line-height:1;}
.bb-math-inline-actions .danger{color:#dc2626;}
.bb-math-particular{line-height:1.35;}


/* v4.13.38 — Math entry actions below Amount */
.bb-math-amount{vertical-align:top!important;text-align:right!important;}
.bb-math-amount-value{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;}
.bb-math-amount-actions{display:flex;justify-content:flex-end;align-items:center;gap:4px;margin-top:7px;}
.bb-math-amount-actions button{border:1px solid #dbe5f0;background:#fff;border-radius:8px;min-width:28px;height:28px;cursor:pointer;line-height:1;}
.bb-math-amount-actions .danger{color:#dc2626;}
.bb-math-contact-row{min-height:auto;margin-top:4px;}

/* v4.13.39 MathSpace search + CSV template upload */
.bb-math-search{margin-left:auto;min-width:290px;max-width:420px;flex:1;display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;background:#fff;border-radius:10px;padding:0 11px;height:40px}
.bb-math-search span{color:#64748b;font-size:16px}.bb-math-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;width:100%;height:36px;padding:0!important;color:#0f172a}
.bb-math-bottom-actions{display:flex;align-items:center;gap:10px;margin-top:14px;padding:2px 0 6px}.bb-math-bottom-actions span{font-size:12px;color:#64748b}
.bb-math-area-no-match,.bb-math-no-match-global{padding:18px;text-align:center;color:#94a3b8;font-size:13px}
.bb-math-area-head-actions button[data-upload-math-template]{font-weight:800;color:#0f766e}
@media(max-width:700px){.bb-math-search{order:3;flex-basis:100%;max-width:none;min-width:0}.bb-math-bottom-actions{flex-wrap:wrap}}

/* v4.13.41 — Download Template moved into MathSpace top toolbar */
.bb-math-download-template{white-space:nowrap;}
@media(max-width:700px){.bb-math-download-template{order:2}.bb-math-search{order:3}}

/* v4.13.42 — Math Area optional Date / Contact Number fields */
.bb-math-area-options{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid #e2e8f0}
.bb-math-area-options label{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #dbe5f0;border-radius:10px;background:#fff;cursor:pointer;font-weight:600;color:#334155}
.bb-math-area-options input{width:16px;height:16px;margin:0}
.bb-math-meta{margin-top:4px;font-size:12px;color:#64748b;line-height:1.25}
.bb-math-date,.bb-math-contact{white-space:nowrap}
.bb-math-entry-grid.has-optional{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important}
@media(max-width:700px){.bb-math-entry-grid.has-optional{grid-template-columns:1fr!important}}

/* v4.13.43 — MathSpace metadata + responsive area scrolling */
.bb-math-meta{white-space:nowrap!important;}
@media(min-width:901px){
  .bb-math-area-grid{overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:none!important;padding-bottom:52px!important;}
  .bb-math-area-grid::-webkit-scrollbar{display:none!important;}
  .bb-math-scroll-dock{display:flex!important;position:fixed!important;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-math-scroll-dock .bb-board-scroll-range{display:block!important;flex:1;min-width:0;accent-color:#4f46e5;}
  .bb-math-scroll-dock .bb-board-slide-left,.bb-math-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-math-scroll-dock button:disabled{opacity:.35;cursor:default;}
  #bb-content:has(.bb-math-scroll-dock){padding-bottom:72px!important;}
}
@media(max-width:900px){
  .bb-math-area-grid{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;overflow-x:visible!important;overflow-y:visible!important;gap:12px!important;padding-bottom:12px!important;}
  .bb-math-area-card{width:100%!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;}
  .bb-math-scroll-dock{display:none!important;}
  #bb-content:has(.bb-math-scroll-dock){padding-bottom:12px!important;}
}


/* v4.13.44 — Math Area color treatment aligned with Note Area palette */
.bb-math-area-card{
  background:color-mix(in srgb,var(--math) 4%,#fff)!important;
  border-color:color-mix(in srgb,var(--math) 52%,#dbe5f0)!important;
  border-top:3px solid var(--math)!important;
  box-shadow:0 6px 18px color-mix(in srgb,var(--math) 10%,rgba(15,23,42,.05))!important;
}
.bb-math-area-head{
  background:linear-gradient(180deg,color-mix(in srgb,var(--math) 14%,#fff),color-mix(in srgb,var(--math) 6%,#fff))!important;
  border-bottom:1px solid color-mix(in srgb,var(--math) 30%,#e2e8f0)!important;
}
.bb-math-area-head h3{color:color-mix(in srgb,var(--math) 42%,#0f172a)!important;font-weight:850!important;}
.bb-math-area-total span{color:#64748b!important;}
.bb-math-area-total strong{color:color-mix(in srgb,var(--math) 58%,#0f766e)!important;}
.bb-math-area-head-actions button{
  background:rgba(255,255,255,.92)!important;
  border-color:color-mix(in srgb,var(--math) 24%,#dbe5f0)!important;
  color:color-mix(in srgb,var(--math) 58%,#334155)!important;
}
.bb-math-area-head-actions button:hover{background:color-mix(in srgb,var(--math) 10%,#fff)!important;}
.bb-math-area-head-actions .danger{color:#dc2626!important;background:#fff7f7!important;border-color:#fecaca!important;}
.bb-math-table thead th{
  background:color-mix(in srgb,var(--math) 7%,#fff)!important;
  color:color-mix(in srgb,var(--math) 28%,#64748b)!important;
}
.bb-math-table tbody tr{background:color-mix(in srgb,var(--math) 2%,#fff)!important;}
.bb-math-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--math) 5%,#fff)!important;}
.bb-math-table tbody tr:hover{background:color-mix(in srgb,var(--math) 9%,#fff)!important;}
.bb-math-table th,.bb-math-table td{border-bottom-color:color-mix(in srgb,var(--math) 14%,#edf2f7)!important;}
.bb-math-particular{color:color-mix(in srgb,var(--math) 18%,#0f172a)!important;font-weight:650!important;}
.bb-math-meta,.bb-math-contact{color:color-mix(in srgb,var(--math) 24%,#64748b)!important;}
.bb-math-amount-value{color:color-mix(in srgb,var(--math) 16%,#0f172a)!important;}
.bb-math-amount-actions button{
  background:#fff!important;
  border-color:color-mix(in srgb,var(--math) 22%,#dbe5f0)!important;
  color:color-mix(in srgb,var(--math) 58%,#334155)!important;
}
.bb-math-amount-actions button:hover{background:color-mix(in srgb,var(--math) 10%,#fff)!important;}
.bb-math-amount-actions .danger{color:#dc2626!important;background:#fff7f7!important;border-color:#fecaca!important;}
.bb-math-empty{background:color-mix(in srgb,var(--math) 3%,#fff)!important;}


/* v4.13.46 - Math Area PDF icon only */
.bb-math-area-head-actions button[data-download-math-pdf]{min-width:34px;padding:0;color:color-mix(in srgb,var(--math) 55%,#334155);}
.bb-math-area-head-actions button[data-download-math-pdf] svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.bb-math-area-head-actions button[data-download-math-pdf]:hover{background:color-mix(in srgb,var(--math) 10%,#fff);border-color:color-mix(in srgb,var(--math) 30%,#dbe5f0);}
/* v4.13.48 Math Area drag/reorder */
.bb-math-area-title-row{display:flex;align-items:flex-start;gap:8px;min-width:0;flex:1}
.bb-math-area-title-row .bb-math-area-title{min-width:0;flex:1}
.bb-math-area-drag-handle{width:22px;height:30px;display:grid!important;grid-template-columns:repeat(2,3px);grid-auto-rows:3px;gap:3px;align-content:center;justify-content:center;padding:0!important;border:0!important;background:transparent!important;cursor:grab!important;touch-action:none;color:inherit;opacity:.65;flex:0 0 22px}
.bb-math-area-drag-handle:active{cursor:grabbing!important}
.bb-math-area-drag-handle span{width:3px;height:3px;border-radius:50%;background:currentColor;display:block}
.bb-math-area-drag-placeholder{opacity:.35!important}
.bb-math-area-drag-ghost{box-shadow:0 18px 48px rgba(15,23,42,.22)!important;transform:rotate(.6deg);opacity:.96}
body.bb-math-area-sort-active{user-select:none;cursor:grabbing!important}
@media(max-width:900px){.bb-math-area-drag-handle{width:28px;height:32px;flex-basis:28px}.bb-math-area-grid .bb-math-area-card{touch-action:pan-y}}


/* v4.13.49 — Math Area header cleanup + Particular up/down controls */
.bb-math-area-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:9px!important;}
.bb-math-area-title-row{display:flex!important;align-items:flex-start!important;gap:8px!important;min-width:0;}
.bb-math-area-title{min-width:0;flex:1;}
.bb-math-area-title h3{margin:0;line-height:1.28;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;word-break:break-word;overflow-wrap:anywhere;}
.bb-math-area-meta-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;min-width:0;}
.bb-math-area-total{display:flex;align-items:center;gap:8px;min-width:0;}
.bb-math-area-head-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
.bb-math-area-head-actions button{align-self:center;}
.bb-math-amount-actions{display:flex;justify-content:flex-end;align-items:center;gap:4px;flex-wrap:wrap;margin-top:7px;}
.bb-math-amount-actions button[disabled]{opacity:.4;cursor:default;}
.bb-math-amount-actions button[data-math-entry-move-up],
.bb-math-amount-actions button[data-math-entry-move-down]{font-weight:800;line-height:1;}
@media(max-width:700px){
  .bb-math-area-meta-row{align-items:flex-start;}
  .bb-math-area-head-actions{justify-content:flex-start;}
}


/* v4.13.53 — single Particular move control */
.bb-math-entry-drag-handle{width:28px;height:28px;display:grid!important;grid-template-columns:repeat(2,3px);grid-auto-rows:3px;gap:3px;align-content:center;justify-content:center;padding:0!important;cursor:grab!important;touch-action:none;background:#fff!important;}
.bb-math-entry-drag-handle:active{cursor:grabbing!important;}
.bb-math-entry-drag-handle span{width:3px;height:3px;border-radius:50%;background:currentColor;display:block;}
.bb-math-entry-drag-placeholder{opacity:.35!important;}
.bb-math-entry-drag-ghost{background:#fff!important;box-shadow:0 14px 34px rgba(15,23,42,.22)!important;opacity:.96;}
body.bb-math-entry-sort-active{user-select:none;cursor:grabbing!important;}

/* v4.13.54 — Particular copy + move-to-area actions */
.bb-math-amount-actions button[data-move-math-entry],
.bb-math-amount-actions button[data-copy-math-entry]{font-weight:800;line-height:1;color:color-mix(in srgb,var(--math) 58%,#334155)!important;}
.bb-math-entry-move-list{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto;margin-top:10px;}
.bb-math-entry-move-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px 12px;border:1px solid #dbe5f0;border-radius:10px;background:#fff;cursor:pointer;text-align:left;}
.bb-math-entry-move-option:hover{background:#f8fafc;border-color:#cbd5e1;}
.bb-math-entry-move-option span{font-weight:700;color:#0f172a;}
.bb-math-entry-move-option small{font-size:11px;color:#64748b;}
.bb-math-entry-move-empty{padding:14px;text-align:center;color:#94a3b8;border:1px dashed #cbd5e1;border-radius:10px;}

/* v4.13.55 — compact MathSpace board */
.bb-mathspace-board{padding:0!important;}
.bb-math-toolbar{
  gap:8px!important;
  margin-bottom:10px!important;
}
.bb-math-toolbar .bb-btn{
  min-height:34px!important;
  height:34px!important;
  padding:0 12px!important;
  border-radius:8px!important;
  font-size:13px!important;
  line-height:32px!important;
}
.bb-math-search{
  height:34px!important;
  min-width:250px!important;
  max-width:390px!important;
  padding:0 9px!important;
  border-radius:8px!important;
}
.bb-math-search input{
  height:32px!important;
  font-size:12.5px!important;
}
.bb-math-area-grid{
  gap:10px!important;
}
@media(min-width:901px){
  .bb-math-area-card{
    flex:0 0 300px!important;
    min-width:300px!important;
    max-width:300px!important;
    border-radius:12px!important;
  }
}
.bb-math-area-head{
  padding:8px 9px!important;
  gap:6px!important;
}
.bb-math-area-title-row{
  gap:5px!important;
  align-items:center!important;
}
.bb-math-area-title h3{
  font-size:14px!important;
  line-height:1.18!important;
}
.bb-math-area-drag-handle{
  width:18px!important;
  height:24px!important;
  flex-basis:18px!important;
  gap:2.5px!important;
}
.bb-math-area-drag-handle span{
  width:2.5px!important;
  height:2.5px!important;
}
.bb-math-area-meta-row{
  gap:6px!important;
  flex-wrap:nowrap!important;
}
.bb-math-area-total{
  gap:5px!important;
  white-space:nowrap!important;
}
.bb-math-area-total span{
  font-size:10px!important;
}
.bb-math-area-total strong{
  font-size:12px!important;
}
.bb-math-area-head-actions{
  gap:4px!important;
  flex-wrap:nowrap!important;
}
.bb-math-area-head-actions button,
.bb-math-area-head-actions button[data-download-math-pdf]{
  min-width:26px!important;
  width:26px!important;
  height:26px!important;
  padding:0!important;
  border-radius:7px!important;
  font-size:13px!important;
}
.bb-math-area-head-actions button[data-download-math-pdf] svg{
  width:13px!important;
  height:13px!important;
}
.bb-math-table th,
.bb-math-table td{
  padding:7px 9px!important;
}
.bb-math-table thead th{
  font-size:10px!important;
  letter-spacing:.03em!important;
}
.bb-math-particular{
  font-size:13px!important;
  line-height:1.22!important;
}
.bb-math-meta,
.bb-math-contact{
  margin-top:2px!important;
  font-size:10.5px!important;
  line-height:1.15!important;
}
.bb-math-amount-value{
  font-size:13px!important;
  line-height:1.15!important;
}
.bb-math-amount-actions{
  gap:3px!important;
  margin-top:4px!important;
  flex-wrap:nowrap!important;
}
.bb-math-amount-actions button,
.bb-math-entry-drag-handle{
  min-width:24px!important;
  width:24px!important;
  height:24px!important;
  padding:0!important;
  border-radius:7px!important;
  font-size:12px!important;
}
.bb-math-entry-drag-handle{
  gap:2.5px!important;
}
.bb-math-entry-drag-handle span{
  width:2.5px!important;
  height:2.5px!important;
}
.bb-math-empty{
  padding:14px 8px!important;
  font-size:12px!important;
}
.bb-math-area-no-match,.bb-math-no-match-global{
  padding:12px!important;
  font-size:12px!important;
}
@media(max-width:900px){
  .bb-math-area-card{border-radius:12px!important;}
  .bb-math-area-head{padding:9px 10px!important;}
  .bb-math-area-meta-row{flex-wrap:wrap!important;}
}
@media(max-width:700px){
  .bb-math-toolbar{gap:6px!important;}
  .bb-math-toolbar .bb-btn{height:33px!important;min-height:33px!important;padding:0 10px!important;font-size:12px!important;}
  .bb-math-search{height:33px!important;}
}


/* v4.13.57 — reminder action restored to the task-card bottom row. */
.bb-task-bottom-reminder{
  position:relative!important;
  color:#b45309!important;
  background:#fff7e6!important;
  border:1px solid #fbbf24!important;
}
.bb-task-bottom-reminder:hover,.bb-task-bottom-reminder:focus-visible{
  background:#ffedc2!important;
  color:#92400e!important;
  outline:none!important;
}
.bb-task-bottom-reminder.has-value{
  background:#fef3c7!important;
  border-color:#f59e0b!important;
}
.bb-task-bottom-reminder svg{
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.bb-task-bottom-reminder small{
  position:absolute!important;
  right:-3px!important;
  top:-4px!important;
  min-width:12px!important;
  height:12px!important;
  padding:0 3px!important;
  border-radius:999px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#d97706!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:800!important;
  line-height:1!important;
  box-sizing:border-box!important;
}
/* A reminder can be configured whenever the task has a Due Date. */
.bb-task-bottom-actions > .bb-task-bottom-reminder{
  flex:0 0 24px!important;
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  min-height:24px!important;
  padding:3px!important;
}
@media(max-width:640px){
  .bb-task-bottom-actions > .bb-task-bottom-reminder{
    flex-basis:22px!important;
    width:22px!important;
    min-width:22px!important;
    height:22px!important;
    min-height:22px!important;
    padding:2px!important;
  }
}


/* v4.13.58 — fit every task-card bottom icon clearly without increasing card area. */
/* Remove the old reserved right-side space and tighten the action row so Reminder + Copy both remain visible. */
.bb-task-bottom-actions{
  justify-content:space-between!important;
  gap:2px!important;
  padding:1px 0!important;
}
.bb-task-bottom-actions > button,
.bb-task-bottom-actions > .bb-task-bottom-reminder{
  flex:0 0 22px!important;
  width:22px!important;
  min-width:22px!important;
  height:22px!important;
  min-height:22px!important;
  padding:2px!important;
  margin:0!important;
}
.bb-task-bottom-actions > button svg,
.bb-task-bottom-actions > .bb-task-bottom-reminder svg{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
}
.bb-task-bottom-reminder small{
  right:-2px!important;
  top:-3px!important;
  min-width:11px!important;
  height:11px!important;
  padding:0 2px!important;
  font-size:7px!important;
}
@media(max-width:640px){
  .bb-task-bottom-actions{
    gap:1px!important;
    padding:1px 0!important;
  }
  .bb-task-bottom-actions > button,
  .bb-task-bottom-actions > .bb-task-bottom-reminder{
    flex-basis:21px!important;
    width:21px!important;
    min-width:21px!important;
    height:21px!important;
    min-height:21px!important;
    padding:2px!important;
  }
  .bb-task-bottom-actions > button svg,
  .bb-task-bottom-actions > .bb-task-bottom-reminder svg{
    width:13px!important;
    height:13px!important;
    min-width:13px!important;
    min-height:13px!important;
  }
  .bb-task-bottom-reminder small{
    right:-2px!important;
    top:-2px!important;
    min-width:10px!important;
    height:10px!important;
    font-size:7px!important;
    padding:0 2px!important;
  }
}


/* v4.13.59 — use the left gutter space so Reminder + Copy both stay visible. */
/* Extend the bottom action row into the empty left-side drag/status gutter instead of increasing card size. */
.bb-task.bb-task-todo,
.bb-task.bb-task-todo .bb-todo-body,
.bb-task.bb-task-todo .bb-task-bottom-actions{
  overflow:visible!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions{
  width:calc(100% + 52px)!important;
  max-width:none!important;
  margin:6px 0 0 -52px!important;
  padding:1px 0!important;
  justify-content:flex-start!important;
  gap:2px!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions > button,
.bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder{
  flex:0 0 21px!important;
  width:21px!important;
  min-width:21px!important;
  height:21px!important;
  min-height:21px!important;
  padding:2px!important;
  margin:0!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions > button svg,
.bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder svg{
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  min-height:13px!important;
}
.bb-task.bb-task-todo .bb-task-bottom-reminder small{
  right:-2px!important;
  top:-2px!important;
  min-width:10px!important;
  height:10px!important;
  padding:0 2px!important;
  font-size:7px!important;
}
@media(max-width:640px){
  .bb-task.bb-task-todo .bb-task-bottom-actions{
    width:calc(100% + 48px)!important;
    margin-left:-48px!important;
    gap:1px!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-actions > button,
  .bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder{
    flex-basis:20px!important;
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    min-height:20px!important;
    padding:2px!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-actions > button svg,
  .bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder svg{
    width:12px!important;
    height:12px!important;
    min-width:12px!important;
    min-height:12px!important;
  }
}


/* v4.13.60 — show the exact scheduled reminder date and time. */
.bb-reminder-default-time{
  display:flex!important;align-items:center!important;gap:6px!important;
  margin:-2px 0 10px!important;padding:8px 10px!important;
  border:1px solid #fde3a7!important;border-radius:9px!important;
  background:#fffbeb!important;color:#7c5b16!important;
  font-size:10.5px!important;line-height:1.35!important;
}
.bb-reminder-default-time>span{font-size:13px!important;line-height:1!important;}
.bb-reminder-default-time strong{color:#92400e!important;white-space:nowrap!important;}
.bb-task-reminder-editor .bb-quick-reminder-row{
  grid-template-rows:42px auto!important;
}
.bb-task-reminder-editor .bb-reminder-send-at{
  grid-column:1 / -1!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;
  margin-top:-3px!important;padding:4px 8px 0!important;
  color:#667085!important;font-size:10px!important;line-height:1.25!important;
}
.bb-task-reminder-editor .bb-reminder-send-at span{font-weight:650!important;white-space:nowrap!important;}
.bb-task-reminder-editor .bb-reminder-send-at strong{
  color:#0f766e!important;font-size:10.5px!important;font-weight:800!important;text-align:right!important;white-space:nowrap!important;
}
@media(max-width:520px){
  .bb-reminder-default-time{font-size:9.5px!important;flex-wrap:wrap!important;}
  .bb-task-reminder-editor .bb-reminder-send-at{padding-left:2px!important;padding-right:2px!important;font-size:9px!important;}
  .bb-task-reminder-editor .bb-reminder-send-at strong{font-size:9.5px!important;}
}


/* v4.13.61 — make bottom task actions slightly larger and add left inset. */
.bb-task.bb-task-todo .bb-task-bottom-actions{
  width:calc(100% + 46px)!important;
  max-width:none!important;
  margin:7px 0 0 -42px!important;
  padding:1px 0 1px 4px!important;
  justify-content:flex-start!important;
  gap:3px!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions > button,
.bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder{
  flex:0 0 23px!important;
  width:23px!important;
  min-width:23px!important;
  height:23px!important;
  min-height:23px!important;
  padding:2px!important;
  border-radius:7px!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions > button svg,
.bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder svg{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
}
.bb-task.bb-task-todo .bb-task-bottom-reminder small{
  right:-2px!important;
  top:-3px!important;
  min-width:11px!important;
  height:11px!important;
  padding:0 2px!important;
  font-size:7px!important;
}
@media(max-width:640px){
  .bb-task.bb-task-todo .bb-task-bottom-actions{
    width:calc(100% + 44px)!important;
    margin-left:-40px!important;
    padding-left:3px!important;
    gap:2px!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-actions > button,
  .bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder{
    flex-basis:22px!important;
    width:22px!important;
    min-width:22px!important;
    height:22px!important;
    min-height:22px!important;
    padding:2px!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-actions > button svg,
  .bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder svg{
    width:13px!important;
    height:13px!important;
    min-width:13px!important;
    min-height:13px!important;
  }
}


/* v4.13.62 — add a little more left margin to the bottom task actions. */
.bb-task.bb-task-todo .bb-task-bottom-actions{
  width:calc(100% + 38px)!important;
  margin-left:-34px!important;
  padding-left:6px!important;
}
@media(max-width:640px){
  .bb-task.bb-task-todo .bb-task-bottom-actions{
    width:calc(100% + 37px)!important;
    margin-left:-33px!important;
    padding-left:5px!important;
  }
}


/* v4.13.66 — Even smaller Sub-task delete icon. */
.bb-card-subtask-delete,
.bb-inline-subtask-delete,
.bb-detail-subtask-delete{
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  padding:0!important;
  font-size:12px!important;
  line-height:20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:6px!important;
}
.bb-inline-subtask-delete{
  margin-left:auto!important;
}
@media(max-width:640px){
  .bb-card-subtask-delete,
  .bb-inline-subtask-delete,
  .bb-detail-subtask-delete{
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    min-height:20px!important;
  }
}


/* v4.13.67 — Show the Sub-task delete icon only for the selected/clicked Sub-task. */
.bb-card-subtask-delete,
.bb-inline-subtask-delete,
.bb-detail-subtask-delete{
  display:none!important;
}
.bb-card-subtask-row.bb-subtask-delete-visible .bb-card-subtask-delete,
.bb-inline-subtask-row.bb-subtask-delete-visible .bb-inline-subtask-delete,
.bb-detail-subtask-row.bb-subtask-delete-visible .bb-detail-subtask-delete{
  display:inline-flex!important;
}
.bb-card-subtask-row.bb-subtask-delete-visible,
.bb-inline-subtask-row.bb-subtask-delete-visible,
.bb-detail-subtask-row.bb-subtask-delete-visible{
  background:#eef6ff!important;
  border-radius:7px!important;
}


/* v4.13.69 — Work Area-level custom Task Stages. */
.bb-bucket-stage{
  border:1px solid color-mix(in srgb,var(--stage-color,#64748b) 22%,#e5e7eb)!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--stage-color,#64748b) 4%,#fff)!important;
  margin-bottom:10px!important;
  overflow:hidden;
}
.bb-bucket-stage>.bb-bucket-head{
  color:color-mix(in srgb,var(--stage-color,#64748b) 84%,#111827)!important;
  background:color-mix(in srgb,var(--stage-color,#64748b) 10%,#fff)!important;
  border-bottom:1px solid color-mix(in srgb,var(--stage-color,#64748b) 18%,#e5e7eb)!important;
  padding-left:10px!important;
}
.bb-bucket-stage>.bb-bucket-head>span{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  font-weight:800!important;
}
.bb-bucket-stage>.bb-bucket-head>span:before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:999px;
  background:var(--stage-color,#64748b);
}
.bb-bucket-stage>.bb-bucket-head>b{
  background:color-mix(in srgb,var(--stage-color,#64748b) 14%,#fff)!important;
  color:color-mix(in srgb,var(--stage-color,#64748b) 88%,#111827)!important;
}

/* Stage cards override Priority card tint. In Progress is green by default. */
.bb-task.bb-task-todo.has-stage{
  background:color-mix(in srgb,var(--task-stage-color,#16a34a) 12%,#fff)!important;
  border-color:color-mix(in srgb,var(--task-stage-color,#16a34a) 44%,#d1d5db)!important;
  box-shadow:0 1px 0 color-mix(in srgb,var(--task-stage-color,#16a34a) 12%,transparent),0 2px 7px rgba(15,23,42,.04)!important;
}
.bb-task.bb-task-todo.has-stage:hover{
  background:color-mix(in srgb,var(--task-stage-color,#16a34a) 16%,#fff)!important;
  border-color:color-mix(in srgb,var(--task-stage-color,#16a34a) 58%,#d1d5db)!important;
}
.bb-task.has-stage .bb-task-progress-toggle.active{
  border-color:var(--task-stage-color,#16a34a)!important;
  background:color-mix(in srgb,var(--task-stage-color,#16a34a) 12%,#fff)!important;
}
.bb-task.has-stage .bb-task-progress-toggle.active span{
  background:var(--task-stage-color,#16a34a)!important;
}

/* Compact Task Stage picker. */
.bb-stage-picker-pop{width:min(310px,calc(100vw - 24px))!important;max-width:310px!important}
.bb-task-stage-menu{display:flex;flex-direction:column;padding:5px;gap:3px}
.bb-task-stage-option{
  width:100%;
  border:1px solid transparent!important;
  background:#fff!important;
  color:#344054!important;
  border-radius:9px!important;
  padding:8px 9px!important;
  display:grid!important;
  grid-template-columns:16px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:8px!important;
  text-align:left!important;
  cursor:pointer!important;
  min-height:0!important;
}
.bb-task-stage-option:hover{
  background:color-mix(in srgb,var(--stage-color,#64748b) 7%,#fff)!important;
  border-color:color-mix(in srgb,var(--stage-color,#64748b) 18%,#e5e7eb)!important;
}
.bb-task-stage-option.selected{
  background:color-mix(in srgb,var(--stage-color,#64748b) 10%,#fff)!important;
  border-color:color-mix(in srgb,var(--stage-color,#64748b) 38%,#d1d5db)!important;
}
.bb-task-stage-option>b{grid-column:2;font-size:12px;line-height:1.25}
.bb-task-stage-option>small{grid-column:2;font-size:10px;color:#98a2b3;margin-top:2px;line-height:1.2}
.bb-stage-choice-dot{
  grid-column:1;
  grid-row:1/3;
  width:10px;
  height:10px;
  margin:2px 0 0 2px;
  border-radius:999px;
  background:var(--stage-color,#64748b);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--stage-color,#64748b) 12%,#fff);
}
.bb-stage-none{--stage-color:#98a2b3}
.bb-stage-choice-dot.none{background:transparent;border:1.5px solid #98a2b3;box-shadow:none}

/* Work Area stage editor. */
.bb-workarea-stages{
  border:1px solid #e4e7ec;
  border-radius:12px;
  background:#fbfcfe;
  padding:12px!important;
}
.bb-workarea-stages .bb-section-title{margin:0 0 9px!important;align-items:center!important}
.bb-workarea-stages .bb-section-title h3{margin:0!important;font-size:13px!important}
.bb-workarea-stages .bb-section-title p{margin:2px 0 0!important;font-size:10px!important;color:#667085!important}
.bb-workarea-stages .bb-stage-add-row{padding:6px 9px!important;font-size:11px!important;min-height:0!important}
.bb-stage-default-row,.bb-stage-editor-row{
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:5px 7px;
  border:1px solid #e4e7ec;
  border-radius:9px;
  background:#fff;
}
.bb-stage-default-row{grid-template-columns:24px minmax(0,1fr) auto;background:#f0fdf4;border-color:#bbf7d0}
.bb-stage-default-row strong{font-size:12px;color:#166534}
.bb-stage-default-row small{font-size:9px;color:#15803d;white-space:nowrap}
.bb-stage-swatch{
  width:16px;
  height:16px;
  border-radius:5px;
  background:var(--stage-color,#16a34a);
  justify-self:center;
}
.bb-stage-editor-list{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.bb-stage-editor-row{grid-template-columns:30px minmax(0,1fr) 26px}
.bb-stage-editor-row .bb-stage-color{
  width:26px!important;
  min-width:26px!important;
  height:26px!important;
  min-height:26px!important;
  padding:1px!important;
  border:1px solid #d0d5dd!important;
  border-radius:6px!important;
  background:#fff!important;
}
.bb-stage-editor-row .bb-stage-name{
  width:100%!important;
  min-width:0!important;
  height:30px!important;
  min-height:30px!important;
  padding:5px 8px!important;
  font-size:11px!important;
  border-radius:7px!important;
}
.bb-stage-editor-row .bb-stage-remove-row{
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  min-height:24px!important;
  padding:0!important;
  border-radius:6px!important;
  line-height:22px!important;
  font-size:14px!important;
}

@media(max-width:640px){
  .bb-bucket-stage{margin-bottom:8px!important}
  .bb-stage-picker-pop{left:12px!important;right:12px!important;width:auto!important;max-width:none!important}
  .bb-workarea-stages{padding:10px!important}
  .bb-stage-default-row{grid-template-columns:24px minmax(0,1fr)}
  .bb-stage-default-row small{grid-column:2;white-space:normal;margin-top:-4px}
}

/* v4.13.70 — reliable Task Stage selection + Work Area stage ordering. */
.bb-task-stage-option.is-saving{
  opacity:.62!important;
  pointer-events:none!important;
}
.bb-stage-editor-list{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
}
.bb-stage-editor-row{
  grid-template-columns:30px minmax(0,1fr) auto!important;
}
.bb-stage-editor-default{
  background:#f0fdf4!important;
  border-color:#bbf7d0!important;
}
.bb-stage-editor-default .bb-stage-fixed-name{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.bb-stage-editor-default .bb-stage-fixed-name strong{
  font-size:12px!important;
  color:#166534!important;
}
.bb-stage-editor-default .bb-stage-fixed-name small{
  font-size:9px!important;
  color:#15803d!important;
}
.bb-stage-row-actions,
.bb-stage-order-actions{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
}
.bb-stage-order-btn{
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  min-height:24px!important;
  padding:0!important;
  border:1px solid #d0d5dd!important;
  border-radius:6px!important;
  background:#fff!important;
  color:#475467!important;
  font-size:13px!important;
  line-height:1!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
}
.bb-stage-order-btn:hover:not(:disabled){
  background:#f2f4f7!important;
  border-color:#98a2b3!important;
}
.bb-stage-order-btn:disabled{
  opacity:.3!important;
  cursor:default!important;
}
.bb-stage-row-actions .bb-stage-remove-row{
  width:24px!important;
  min-width:24px!important;
  height:24px!important;
  min-height:24px!important;
  padding:0!important;
}


/* v4.13.72 — Workspace Task Stage filter after Work Areas. */
@media (min-width:1101px){
  .bb-workspace-toolbar .bb-compact-filters{
    grid-template-columns:repeat(5,minmax(108px,1fr)) 34px 34px!important;
  }
}
/* Keep each filter's visual identity stable even when a new filter is inserted. */
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter[data-filter="area"]>summary{
  background:#eef6ff!important;border-color:#9fc9f3!important;color:#174f86!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter[data-filter="stage"]>summary{
  background:#ecfeff!important;border-color:#67e8f9!important;color:#155e75!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter[data-filter="priority"]>summary{
  background:#fff7e8!important;border-color:#edc77d!important;color:#7a5200!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter[data-filter="assignee"]>summary{
  background:#eefaf3!important;border-color:#9bd4b1!important;color:#176b3a!important;
}
.bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter[data-filter="labels"]>summary{
  background:#f5efff!important;border-color:#c4a7ee!important;color:#61369b!important;
}

/* v4.13.73 — reusable business-level Stage Master picker inside Work Area form. */
.bb-stage-master-picker{
  margin:8px 0 10px;
  padding:8px;
  border:1px solid #dbe3ef;
  border-radius:10px;
  background:#fff;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
}
.bb-stage-master-picker[hidden]{display:none!important}
.bb-stage-master-picker-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 28px;
  gap:6px;
  align-items:center;
  margin-bottom:7px;
}
.bb-stage-master-search{
  width:100%!important;
  height:32px!important;
  min-height:32px!important;
  padding:6px 9px!important;
  border:1px solid #cfd8e6!important;
  border-radius:8px!important;
  font-size:11px!important;
  background:#fff!important;
}
.bb-stage-picker-close{
  width:28px!important;
  min-width:28px!important;
  height:28px!important;
  min-height:28px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:#991b1b!important;
  color:#fff!important;
  font-size:15px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.bb-stage-master-results{
  display:flex;
  flex-direction:column;
  gap:4px;
  max-height:210px;
  overflow:auto;
}
.bb-stage-master-option{
  width:100%;
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
  padding:7px 8px!important;
  min-height:42px!important;
  border:1px solid #e4e7ec!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#344054!important;
  text-align:left!important;
  cursor:pointer!important;
}
.bb-stage-master-option:hover:not(:disabled){background:#f8faff!important;border-color:#b9c7ec!important}
.bb-stage-master-option.is-added,.bb-stage-master-option:disabled{opacity:.62!important;cursor:default!important;background:#f8fafc!important}
.bb-stage-master-dot{
  width:12px;height:12px;border-radius:4px;
  background:var(--stage-color,#64748b);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--stage-color,#64748b) 12%,#fff);
}
.bb-stage-master-option>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:1px}
.bb-stage-master-option b{font-size:11px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-stage-master-option small{font-size:9px;color:#667085;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-stage-master-option em{font-style:normal;font-size:9px;font-weight:700;color:#475467;white-space:nowrap}
.bb-stage-create-new{
  width:100%!important;
  margin-top:7px!important;
  padding:7px 9px!important;
  border:1px dashed #94a3b8!important;
  border-radius:8px!important;
  background:#f8fafc!important;
  color:#334155!important;
  text-align:left!important;
  font-size:10px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.bb-stage-create-new:hover{background:#eef2ff!important;border-color:#818cf8!important;color:#3730a3!important}
.bb-stage-master-help{display:block;margin:6px 2px 0;color:#98a2b3;font-size:9px;line-height:1.3}
.bb-stage-master-empty{padding:9px;color:#98a2b3;font-size:10px;text-align:center}
.bb-stage-editor-shared .bb-stage-fixed-name{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.bb-stage-editor-shared .bb-stage-fixed-name strong{font-size:11px!important;color:#344054!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-stage-editor-shared .bb-stage-fixed-name small{font-size:9px!important;color:#98a2b3!important}
.bb-stage-editor-new{border-color:#a5b4fc!important;background:#fafaff!important}
@media(max-width:640px){
  .bb-stage-master-results{max-height:180px}
  .bb-stage-master-option{grid-template-columns:18px minmax(0,1fr);}
  .bb-stage-master-option em{display:none}
}


/* v4.13.74 — Task Name 220-character validation */
.bb-task-name-validation{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:5px;min-height:16px}
.bb-task-name-validation .bb-task-name-counter{font-size:10.5px;line-height:1.2;color:#98a2b3;font-weight:700;white-space:nowrap}
.bb-task-name-validation .bb-task-name-error{margin-right:auto;font-size:11px;line-height:1.3;color:#b42318;font-weight:700}
.bb-task-name-validation.is-over .bb-task-name-counter{color:#b42318}
#bb-task-form [name=task_name].bb-task-name-invalid,.bb-quick-task-card [name=task_name].bb-task-name-invalid{border-color:#d92d20!important;box-shadow:0 0 0 3px rgba(217,45,32,.08)!important}
.bb-inline-task-name.bb-task-name-invalid{outline:2px solid #d92d20!important;outline-offset:2px;border-radius:4px}
.bb-quick-task-name-validation{padding:0 2px 2px}
@media(max-width:640px){.bb-task-name-validation{align-items:flex-start;flex-wrap:wrap}.bb-task-name-validation .bb-task-name-error{width:100%;order:2}}


/* v4.13.75 — Quick Add uses the full card width; Add task sits below validation. */
.bb-quick-task-card .bb-quick-task-main{
  display:block!important;
  width:100%!important;
}
.bb-quick-task-card .bb-quick-task-title{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.bb-quick-task-card .bb-quick-task-name-validation{
  width:100%!important;
  box-sizing:border-box!important;
  padding:2px 4px 0!important;
  margin-top:2px!important;
}
.bb-quick-task-submit-row{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  margin:3px 0 4px!important;
}
.bb-quick-task-submit-row .bb-quick-task-add{
  align-self:auto!important;
  min-width:72px!important;
}
.bb-quick-task-add:disabled,
.bb-quick-task-add[disabled]{
  background:#cbd5e1!important;
  color:#ffffff!important;
  cursor:not-allowed!important;
  filter:none!important;
  opacity:1!important;
}
.bb-quick-task-add:disabled:hover,
.bb-quick-task-add[disabled]:hover{filter:none!important;}
@media(max-width:640px){
  .bb-quick-task-card .bb-quick-task-main{display:block!important;}
  .bb-quick-task-submit-row{margin-top:2px!important;}
  .bb-quick-task-submit-row .bb-quick-task-add{min-width:68px!important;}
}

/* v4.13.77 — Create-time Focus option. */
.bb-quick-actions-iconic .bb-quick-focus-toggle{
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#64748b!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
  flex:0 0 auto!important;
}
.bb-quick-actions-iconic .bb-quick-focus-toggle:hover{
  background:#fff7ed!important;
  color:#d97706!important;
}
.bb-quick-actions-iconic .bb-quick-focus-toggle.active{
  background:#fff4e5!important;
  color:#d97706!important;
  box-shadow:inset 0 0 0 1px #f59e0b!important;
}
.bb-quick-actions-iconic .bb-quick-focus-toggle .bb-quick-icon{
  font-size:19px!important;
  line-height:1!important;
  font-weight:800!important;
}
.bb-create-focus-field .bb-create-focus-switch{
  margin:0!important;
  min-height:42px!important;
}
.bb-create-focus-field .bb-create-focus-switch small{
  display:block;
  margin-top:2px;
  color:#667085;
  font-size:10px;
  font-weight:500;
}
@media(max-width:640px){
  .bb-quick-actions-iconic .bb-quick-focus-toggle{width:29px!important;min-width:29px!important;height:29px!important}
}

/* v4.13.78 — Work Area copy / archive / trash management. */
.bb-workarea-copy,.bb-workarea-archive{
  border:1px solid #d8dee9!important;
  background:#fff!important;
  display:grid!important;
  place-items:center!important;
  cursor:pointer!important;
  padding:0!important;
}
.bb-workarea-copy{color:#0f766e!important;background:#f0fdfa!important;border-color:#99f6e4!important}
.bb-workarea-copy:hover{color:#115e59!important;background:#ccfbf1!important;border-color:#5eead4!important}
.bb-workarea-archive{color:#7c3aed!important;background:#f5f3ff!important;border-color:#ddd6fe!important}
.bb-workarea-archive:hover{color:#6d28d9!important;background:#ede9fe!important;border-color:#c4b5fd!important}
.bb-workarea-copy svg,.bb-workarea-archive svg{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.bb-workarea-store-btn{white-space:nowrap}
.bb-workarea-store{min-width:min(680px,calc(100vw - 30px));max-width:760px}
.bb-workarea-store-list{display:grid;gap:9px;margin-top:14px;max-height:62vh;overflow:auto;padding-right:2px}
.bb-workarea-store-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:11px 12px}
.bb-workarea-store-main{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.bb-workarea-store-color{width:8px;height:38px;border-radius:999px;background:var(--wa,#4f46e5);flex:0 0 8px}
.bb-workarea-store-main>div{min-width:0}.bb-workarea-store-main strong{display:block;color:#172033;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bb-workarea-store-main small{display:block;color:#667085;font-size:10px;margin-top:3px;line-height:1.35}
.bb-workarea-store-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}.bb-workarea-store-actions .bb-btn{min-height:32px;padding:5px 9px;font-size:11px}
.bb-workarea-store-empty{margin:4px 0!important;padding:24px!important}
@media(max-width:700px){
  .bb-workarea-store-row{align-items:stretch;flex-direction:column}.bb-workarea-store-actions{width:100%}.bb-workarea-store-actions .bb-btn{flex:1}
  .bb-workarea-store-btn{font-size:0!important}.bb-workarea-store-btn[data-show-work-area-archive]::after{content:'▣';font-size:14px}.bb-workarea-store-btn[data-show-work-area-trash]::after{content:'🗑';font-size:14px}
}
.bb-workarea-core:has(.bb-workarea-position){grid-template-columns:minmax(0,1.35fr) minmax(120px,.55fr) minmax(150px,.7fr) minmax(105px,.45fr)}
@media(max-width:900px){.bb-workarea-core:has(.bb-workarea-position){grid-template-columns:1fr 1fr}.bb-workarea-core:has(.bb-workarea-position) .bb-field:first-child{grid-column:1/-1}}

/* v4.13.79 — Parties Master + universal User/Party @ mention picker */
.bb-party-avatar{
  width:34px;height:34px;border-radius:10px;display:inline-grid;place-items:center;
  flex:0 0 34px;background:#f5f3ff;color:#6d28d9;font-size:16px;font-weight:800;
  border:1px solid #e9e5ff;
}
.bb-party-table td{vertical-align:middle}
.bb-party-table td:nth-child(4){max-width:220px;overflow-wrap:anywhere}
.bb-mention-menu{
  display:none;max-height:300px;overflow:auto;background:#fff;border:1px solid #d7ddea;
  border-radius:12px;box-shadow:0 16px 42px rgba(15,23,42,.18);padding:5px;
}
.bb-mention-menu.open{display:block}
.bb-mention-option{
  width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;
  gap:8px;border:0;background:#fff;color:#1f2937;text-align:left;padding:8px 9px;
  border-radius:9px;cursor:pointer;min-height:48px;
}
.bb-mention-option:hover,.bb-mention-option.is-active{background:#f5f7ff}
.bb-mention-kind{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eef2ff;font-size:15px}
.bb-mention-kind.party{background:#f5f3ff}
.bb-mention-option>span:nth-child(2){min-width:0;display:flex;flex-direction:column}
.bb-mention-option strong{font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bb-mention-option small{font-size:10px;color:#7b8495;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.bb-mention-option em{font-style:normal;font-size:9px;font-weight:800;color:#667085;background:#f2f4f7;border-radius:999px;padding:3px 6px}
.bb-mention-empty{padding:11px 10px;color:#667085;font-size:11px}
.bb-mention-empty b{color:#344054}
@media(max-width:700px){
  .bb-mention-menu{max-height:42vh}
  .bb-mention-option{grid-template-columns:28px minmax(0,1fr)}
  .bb-mention-option em{display:none}
}


/* v4.13.81 — Task Owners/Assignees popup: direct selections editable; inherited access read-only. */
.bb-assignee-pop .bb-inline-inherited-access{
  margin:0 8px 8px;
  padding:8px 9px;
  border:1px solid #e4e8ef;
  border-radius:9px;
  background:#f8fafc;
}
.bb-assignee-pop .bb-inline-inherited-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:5px;
  color:#334155;
  font-size:11px;
  font-weight:800;
}
.bb-assignee-pop .bb-inline-inherited-title small{
  color:#64748b;
  font-size:9px;
  font-weight:700;
}
.bb-assignee-pop .bb-inline-inherited-person{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:4px 0;
  border-top:1px solid #eef2f7;
  font-size:10.5px;
}
.bb-assignee-pop .bb-inline-inherited-person:first-of-type{border-top:0}
.bb-assignee-pop .bb-inline-inherited-person span{font-weight:700;color:#475569}
.bb-assignee-pop .bb-inline-inherited-person small{color:#64748b;font-size:9px;text-align:right}
.bb-assignee-pop .bb-inline-inherited-access p{margin:6px 0 0;color:#64748b;font-size:9px;line-height:1.35}


/* v4.13.82 — Focus header Workspace name in white to match Work Area title. */
.bb-focus-area-column .bb-focus-col-head .bb-focus-workspace-name{color:#fff!important;}


/* v4.13.84 — View-name header must be fully opaque; no content bleed-through below/behind it. */
#bb-app .bb-topbar,
.bb-topbar{
  background:#ffffff!important;
  background-color:#ffffff!important;
  opacity:1!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
@media(max-width:900px){
  #bb-app .bb-topbar{
    background:#ffffff!important;
    background-color:#ffffff!important;
  }
}

/* v4.13.85 — AttendSpace */
.bb-attendspace{display:flex;flex-direction:column;gap:14px;min-width:0}
.bb-att-toolbar{position:sticky;top:0;z-index:18;display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;padding:10px 12px;border:1px solid #dbe4ee;border-radius:13px;background:#fff;box-shadow:0 4px 16px rgba(15,23,42,.06)}
.bb-att-filter{display:flex;flex-direction:column;gap:4px;min-width:135px}.bb-att-filter label{font-size:10px;font-weight:800;color:#667085;text-transform:uppercase;letter-spacing:.04em}.bb-att-filter input,.bb-att-filter select{height:36px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;padding:0 10px;font-size:12px;color:#1f2937}.bb-att-clear{height:36px}
.bb-att-date-area{border:1px solid #dbe4ee;border-radius:16px;background:#f8fafc;overflow:hidden;box-shadow:0 5px 18px rgba(15,23,42,.05)}
.bb-att-date-area.is-today{border-color:#86efac;background:#f0fdf4}.bb-att-date-area>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:#fff;border-bottom:1px solid #e5e7eb}.bb-att-date-area.is-today>header{background:#dcfce7}.bb-att-date-area>header>div:first-child{display:flex;align-items:center;gap:8px}.bb-att-date-area h2{margin:0;font-size:15px;color:#172033}.bb-att-today{display:inline-flex;align-items:center;height:21px;padding:0 8px;border-radius:999px;background:#16a34a;color:#fff;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.bb-att-day-stats{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.bb-att-day-stats span{display:inline-flex;gap:4px;align-items:center;padding:5px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:700}.bb-att-day-stats b{color:#0f172a}
.bb-att-user-list{display:flex;flex-direction:column}.bb-att-user-row{display:grid;grid-template-columns:minmax(210px,300px) minmax(220px,1fr) minmax(170px,auto);gap:12px;align-items:center;padding:10px 12px;background:#fff;border-bottom:1px solid #edf1f5}.bb-att-user-row:last-child{border-bottom:0}.bb-att-user-row.is-me{background:#fffdf2}.bb-att-user-main{display:flex;align-items:center;gap:9px;min-width:0}.bb-att-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:900;flex:0 0 32px}.bb-att-user-info{display:flex;flex-direction:column;min-width:0;flex:1}.bb-att-user-info strong{font-size:12px;color:#172033;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-att-user-info small{font-size:9.5px;color:#98a2b3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-att-status{display:inline-flex;align-items:center;justify-content:center;min-width:72px;height:24px;padding:0 8px;border-radius:999px;font-size:9px;font-weight:900;white-space:nowrap}.bb-att-status.in{background:#dcfce7;color:#166534}.bb-att-status.out{background:#fee2e2;color:#991b1b}.bb-att-status.break{background:#ffedd5;color:#9a3412}.bb-att-status.not-marked{background:#f1f5f9;color:#64748b}
.bb-att-timeline{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.bb-att-event-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;padding:4px 8px;color:#334155;font-size:9.5px;line-height:1.15;text-decoration:none}.bb-att-event-chip button{font:inherit}.bb-att-event-chip b{font-size:9.5px}.bb-att-event-chip span{color:#64748b}.bb-att-event-chip.in{border-color:#bbf7d0;background:#f0fdf4}.bb-att-event-chip.out{border-color:#fed7aa;background:#fff7ed}.bb-att-event-chip[role=button],button.bb-att-event-chip{cursor:pointer}.bb-att-empty-line{font-size:10px;color:#98a2b3}
.bb-att-actions{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap}.bb-att-action{min-height:30px;border:0;border-radius:8px;padding:5px 10px;font-size:10px;font-weight:900;cursor:pointer}.bb-att-action:disabled{opacity:.55;cursor:wait}.bb-att-action.main-in,.bb-att-action.combo-in{background:#16a34a;color:#fff}.bb-att-action.main-out{background:#dc2626;color:#fff}.bb-att-action.combo-out{background:#f59e0b;color:#fff}
.bb-att-combo-list{display:flex;flex-direction:column;gap:7px;max-height:52vh;overflow:auto}.bb-att-combo-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.bb-att-combo-row>div:first-child{display:flex;flex-direction:column;gap:2px;min-width:0}.bb-att-combo-row strong{font-size:12px;color:#172033}.bb-att-combo-row small{font-size:10px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-attendance-user-toggle{display:flex!important;align-items:center;gap:8px;min-height:38px;padding:7px 9px;border:1px solid #d0d5dd;border-radius:9px;background:#fff}.bb-attendance-user-toggle input{width:17px!important;height:17px!important;margin:0}.bb-attendance-user-toggle span{font-size:12px;font-weight:700;color:#344054}
@media(max-width:900px){.bb-att-toolbar{position:relative;top:auto;align-items:stretch}.bb-att-filter{min-width:calc(50% - 5px);flex:1}.bb-att-toolbar>.bb-btn{flex:1;min-width:140px}.bb-att-user-row{grid-template-columns:1fr;gap:7px;padding:11px}.bb-att-actions{justify-content:flex-start}.bb-att-date-area>header{align-items:flex-start;flex-direction:column}.bb-att-day-stats{width:100%}}
@media(max-width:520px){.bb-att-filter{min-width:100%}.bb-att-day-stats span{flex:1;justify-content:center}.bb-att-user-main{align-items:flex-start}.bb-att-status{margin-left:auto}.bb-att-action{flex:1 1 auto}.bb-att-combo-row{grid-template-columns:minmax(0,1fr) auto}.bb-att-combo-row>.bb-actions{grid-column:1/-1}}


/* v4.13.89 — Attendance/Payroll-ready User form */
.bb-employee-profile-form .bb-form-section{border-bottom:1px solid #eef2f6;padding-bottom:16px;margin-bottom:16px}
.bb-employee-profile-form .bb-form-section:last-of-type{border-bottom:0;margin-bottom:0}
.bb-employee-profile-form .bb-form-section>h3{margin:0 0 12px;font-size:13px;color:#172033}
.bb-attendance-payroll-section{background:#fbfcff;border:1px solid #e7ebf3!important;border-radius:12px;padding:14px!important}
.bb-user-rule-card{padding:10px!important;border:1px solid #e2e8f0;border-radius:11px;background:#fff}
.bb-user-rule-card>.bb-attendance-user-toggle{border:0!important;padding:2px 0!important;min-height:28px!important}
.bb-user-rule-card>.bb-field-help{margin:4px 0 0!important}
.bb-user-rule-overrides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;padding-top:10px;border-top:1px dashed #d8dee9}
.bb-user-weekly-off{grid-template-columns:1fr}
.bb-employee-profile-form textarea{resize:vertical;min-height:58px}
@media(max-width:700px){.bb-user-rule-overrides{grid-template-columns:1fr}.bb-attendance-payroll-section{padding:10px!important}}

/* v4.13.90 — Attendance Register, Monthly Sheet, People Masters and attendance status polish */
.bb-master-picker-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end}
.bb-master-picker-row>.bb-btn{height:38px;min-width:38px;padding:0 11px}
.bb-att-status.present{background:#dcfce7;color:#166534}
.bb-att-status.late{background:#fef3c7;color:#92400e}
.bb-att-status.half-day{background:#ffedd5;color:#9a3412}
.bb-att-status.absent{background:#fee2e2;color:#991b1b}
.bb-att-status.holiday{background:#ede9fe;color:#6d28d9}
.bb-att-status.weekly-off{background:#e0f2fe;color:#075985}
.bb-att-status.missing-out{background:#fce7f3;color:#9d174d}
.bb-att-status.future{background:#f8fafc;color:#94a3b8}
.bb-att-report-page,.bb-att-settings-page{display:flex;flex-direction:column;gap:14px;min-width:0}
.bb-att-report-toolbar{position:relative;top:auto;box-shadow:0 3px 12px rgba(15,23,42,.04)}
.bb-att-register-table,.bb-monthly-att-table{min-width:1060px}
.bb-att-register-table td:nth-child(2),.bb-monthly-att-table td:first-child{min-width:165px}
.bb-att-register-table td:nth-child(2)>small,.bb-monthly-att-table td:first-child>small{display:block;margin-top:2px;color:#98a2b3;font-size:9.5px}
.bb-summary-number{border:0;background:#eef2ff;color:#4338ca;border-radius:8px;min-width:30px;height:28px;padding:0 8px;font-weight:900;font-size:11px;cursor:pointer}
.bb-summary-number:hover{background:#e0e7ff}
.bb-att-summary-dates{display:flex;flex-wrap:wrap;gap:7px;max-height:45vh;overflow:auto}
.bb-att-summary-dates span{padding:7px 9px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#334155;font-size:11px;font-weight:700}
.bb-report-meta{display:flex;gap:8px;flex-wrap:wrap}
.bb-report-meta span{display:inline-flex;align-items:center;min-height:29px;padding:5px 9px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font-size:10px}
.bb-inline-number-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #d0d5dd;border-radius:9px;background:#fff;overflow:hidden}
.bb-inline-number-unit input{border:0!important;border-radius:0!important;min-width:0}
.bb-inline-number-unit span{padding:0 10px;color:#667085;font-size:10px;border-left:1px solid #e5e7eb}
.bb-att-history-list{display:flex;flex-direction:column;gap:6px;max-height:48vh;overflow:auto}
.bb-att-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 10px;border:1px solid #e2e8f0;border-radius:9px;background:#fff;text-align:left;cursor:pointer}
.bb-att-history-row:hover{background:#f8fafc;border-color:#cbd5e1}
.bb-att-history-row>span{display:flex;flex-direction:column;min-width:0}.bb-att-history-row strong{font-size:11px;color:#1f2937}.bb-att-history-row small{font-size:9px;color:#98a2b3}.bb-att-history-row em{font-style:normal;font-size:11px;font-weight:900;color:#475569;white-space:nowrap}
.bb-att-settings-page .bb-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bb-att-settings-page .bb-panel-head h2{margin:0}.bb-att-settings-page .bb-panel-head p{margin:3px 0 0;color:#667085;font-size:11px}
@media(max-width:700px){
  .bb-master-picker-row{grid-template-columns:minmax(0,1fr) 38px}
  .bb-att-settings-page .bb-panel-head{align-items:flex-start;flex-direction:column}
  .bb-att-settings-page .bb-panel-head>.bb-btn{width:100%}
  .bb-att-report-toolbar .bb-att-filter{min-width:100%}
}
.bb-att-date-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.bb-att-holiday-badge{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:9px;font-weight:900}
.bb-att-date-area.is-holiday{border-color:#c4b5fd}.bb-att-date-area.is-holiday>header{background:#f5f3ff}
.bb-att-holiday-actions{display:flex;align-items:center;gap:5px}.bb-att-mark-holiday{min-height:31px;padding:5px 9px;font-size:10px}
@media(max-width:900px){.bb-att-date-tools{width:100%;justify-content:flex-start}.bb-att-mark-holiday{width:100%}}


/* v4.13.92 — Weekly Off claim / approval controls */
.bb-att-row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:150px}
.bb-att-weekly-claim{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.bb-att-claim-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:9px;font-weight:900;white-space:nowrap}
.bb-att-claim-badge.pending{background:#fef3c7;color:#92400e}
.bb-att-claim-badge.approved{background:#dcfce7;color:#166534}
.bb-att-claim-badge.rejected{background:#fee2e2;color:#991b1b}
.bb-att-claim-btn{min-height:28px!important;padding:5px 9px!important;font-size:10px!important}
@media(max-width:900px){.bb-att-row-actions{align-items:flex-start;min-width:0}.bb-att-weekly-claim{justify-content:flex-start}}

.bb-att-weekly-claim .bb-mini.ok{background:#dcfce7!important;border-color:#bbf7d0!important;color:#166534!important}

/* v4.13.97 — attendance punch geolocation */
.bb-att-location-pin{display:inline-flex;align-items:center;gap:3px;text-decoration:none;font-weight:700;white-space:nowrap}
.bb-att-location-pin small{font-size:10px;font-weight:600;opacity:.7}
[data-att-punch].is-locating{opacity:.72;cursor:wait!important;min-width:118px}


/* v4.13.98 — readable address for attendance punch location */
.bb-att-location-address{display:inline-flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;max-width:360px!important;white-space:normal!important;text-decoration:none!important;line-height:1.35!important}
.bb-att-location-address>span{color:#344054!important;font-size:12px!important;font-weight:600!important;overflow-wrap:anywhere!important}
.bb-att-location-address>small{color:#667085!important;font-size:10px!important;font-weight:500!important}
.bb-att-location-address:hover>span{text-decoration:underline!important}
@media(max-width:700px){.bb-att-location-address{max-width:230px!important}.bb-att-location-address>span{font-size:11px!important}}


/* v4.13.99 — AttendSpace mobile card redesign */
.bb-att-mobile-location{display:none}
@media(max-width:520px){
  .bb-attendspace{gap:12px;padding-bottom:18px}
  .bb-att-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;padding:11px!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(15,23,42,.05)!important}
  .bb-att-toolbar .bb-att-filter{min-width:0!important;width:100%!important}
  .bb-att-toolbar .bb-att-filter:has(#bb-att-filter-from),
  .bb-att-toolbar .bb-att-filter:has(#bb-att-filter-to){display:none!important}
  .bb-att-toolbar .bb-att-filter label{font-size:9px!important}
  .bb-att-toolbar .bb-att-filter input,.bb-att-toolbar .bb-att-filter select{height:42px!important;border-radius:10px!important;font-size:13px!important}
  .bb-att-toolbar .bb-att-clear{grid-column:1/-1!important;width:100%!important;height:42px!important;border-radius:10px!important;font-weight:800!important}

  .bb-att-date-area{border-radius:16px!important;background:#f8fafc!important;box-shadow:0 5px 16px rgba(15,23,42,.06)!important;overflow:hidden!important}
  .bb-att-date-area.is-today{background:#f0fdf4!important}
  .bb-att-date-area>header{padding:13px!important;gap:10px!important}
  .bb-att-date-area>header>div:first-child{width:100%!important;display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
  .bb-att-date-area h2{font-size:16px!important;line-height:1.2!important}
  .bb-att-today{height:23px!important;padding:0 9px!important}
  .bb-att-date-tools{width:100%!important;display:flex!important;flex-direction:column!important;gap:9px!important}
  .bb-att-day-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important;width:100%!important}
  .bb-att-day-stats span{min-width:0!important;min-height:46px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;border-radius:11px!important;padding:7px 5px!important;background:#fff!important;border:1px solid rgba(148,163,184,.18)!important;text-align:center!important;font-size:9px!important;line-height:1.15!important}
  .bb-att-day-stats span:first-child{background:#ecfdf5!important;color:#166534!important}
  .bb-att-day-stats span:nth-child(2){background:#eff6ff!important;color:#1d4ed8!important}
  .bb-att-day-stats span:nth-child(3){background:#f8fafc!important;color:#64748b!important}
  .bb-att-day-stats b{font-size:13px!important;line-height:1!important}
  .bb-att-mark-holiday{height:42px!important;border-radius:10px!important;font-weight:800!important}
  .bb-att-holiday-actions{width:100%!important;justify-content:flex-end!important}

  .bb-att-user-list{gap:10px!important;padding:10px!important;background:#f8fafc!important}
  .bb-att-user-row{display:flex!important;flex-direction:column!important;gap:9px!important;padding:12px!important;border:1px solid #e5e7eb!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}
  .bb-att-user-row.is-me{background:#fff!important;border-color:#dbeafe!important}
  .bb-att-user-main{width:100%!important;align-items:center!important;gap:10px!important}
  .bb-att-avatar{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:11px!important;font-size:12px!important}
  .bb-att-user-info strong{font-size:13px!important}
  .bb-att-user-info small{font-size:10px!important}
  .bb-att-status{margin-left:auto!important;max-width:45%!important;height:auto!important;min-height:27px!important;padding:5px 9px!important;white-space:normal!important;text-align:center!important;line-height:1.15!important;font-size:9px!important}

  .bb-att-timeline{width:100%!important;gap:5px!important}
  .bb-att-event-chip{padding:5px 8px!important;font-size:10px!important}
  .bb-att-event-chip b,.bb-att-event-chip span{font-size:10px!important}
  .bb-att-empty-line{width:100%!important;padding:9px 10px!important;border-radius:9px!important;background:#f8fafc!important;font-size:10px!important}

  .bb-att-mobile-location{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;box-sizing:border-box!important;padding:10px 11px!important;border:1px solid #e2e8f0!important;border-radius:11px!important;background:#f8fafc!important;color:#172033!important;text-decoration:none!important}
  .bb-att-mobile-location-main{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;flex:1!important}
  .bb-att-mobile-location-time{font-size:10px!important;color:#166534!important}
  .bb-att-mobile-location-address{font-size:11px!important;line-height:1.35!important;color:#172033!important;overflow-wrap:anywhere!important}
  .bb-att-mobile-location small{font-size:9px!important;color:#94a3b8!important}
  .bb-att-mobile-location-go{font-size:24px!important;line-height:1!important;color:#475569!important;flex:0 0 auto!important}

  .bb-att-row-actions{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:7px!important;flex-wrap:wrap!important;width:100%!important;min-width:0!important}
  .bb-att-row-actions>.bb-att-actions{display:flex!important;flex:1 1 150px!important;justify-content:stretch!important;gap:7px!important}
  .bb-att-actions .bb-att-action{min-height:44px!important;flex:1 1 auto!important;border-radius:10px!important;font-size:13px!important;letter-spacing:.02em!important}
  .bb-att-row-actions>.bb-mini,.bb-att-manual-add{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:10px!important;font-size:16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .bb-att-weekly-claim{flex:1 1 100%!important;justify-content:flex-start!important}
  .bb-att-claim-badge{min-height:28px!important}
}


/* v4.14.00 — Mobile Workspace: remove the Work Area outline line directly below the fixed header. */
@media(max-width:900px){
  .bb-workarea-column::after{
    border-top:0!important;
  }
}


/* v4.14.01 — Compact AttendSpace mobile employee cards */
@media(max-width:700px){
  .bb-attendspace{gap:8px!important;padding-bottom:10px!important}
  .bb-att-date-area>header{padding:9px 10px!important}
  .bb-att-date-area h2{font-size:14px!important}
  .bb-att-date-tools{gap:6px!important}
  .bb-att-day-stats{gap:5px!important}
  .bb-att-day-stats span{min-height:34px!important;padding:4px 4px!important;border-radius:9px!important;font-size:8px!important}
  .bb-att-day-stats b{font-size:11px!important}
  .bb-att-mark-holiday{height:34px!important;min-height:34px!important;font-size:10px!important}

  .bb-att-user-list{gap:6px!important;padding:6px!important}
  .bb-att-user-row{gap:6px!important;padding:8px!important;border-radius:11px!important}
  .bb-att-user-main{gap:7px!important}
  .bb-att-avatar{width:32px!important;height:32px!important;flex-basis:32px!important;border-radius:9px!important;font-size:10px!important}
  .bb-att-user-info strong{font-size:12px!important;line-height:1.15!important}
  .bb-att-user-info small{font-size:8.5px!important;line-height:1.1!important;margin-top:1px!important}
  .bb-att-status{min-height:23px!important;padding:4px 7px!important;font-size:8px!important;border-radius:999px!important}

  .bb-att-timeline{gap:4px!important;margin:0!important}
  .bb-att-event-chip{padding:3px 6px!important;font-size:9px!important;border-radius:999px!important}
  .bb-att-event-chip b,.bb-att-event-chip span{font-size:9px!important}
  .bb-att-empty-line{padding:6px 8px!important;font-size:9px!important;border-radius:8px!important}

  .bb-att-mobile-location{gap:7px!important;padding:7px 8px!important;border-radius:9px!important}
  .bb-att-mobile-location-main{gap:2px!important}
  .bb-att-mobile-location-time{font-size:9px!important}
  .bb-att-mobile-location-address{font-size:9.5px!important;line-height:1.25!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .bb-att-mobile-location small{font-size:8px!important}
  .bb-att-mobile-location-go{font-size:18px!important}

  .bb-att-row-actions{gap:5px!important}
  .bb-att-row-actions>.bb-att-actions{gap:5px!important;flex-basis:120px!important}
  .bb-att-actions .bb-att-action{min-height:32px!important;height:32px!important;border-radius:8px!important;font-size:10px!important;padding:4px 8px!important}
  .bb-att-row-actions>.bb-mini,.bb-att-manual-add{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;border-radius:8px!important;font-size:13px!important}
  .bb-att-weekly-claim{margin-top:0!important}
  .bb-att-claim-badge{min-height:24px!important;font-size:8px!important}
}


/* v4.14.02 — Further reduce mobile AttendSpace bottom IN/OUT buttons */
@media(max-width:700px){
  .bb-att-row-actions>.bb-att-actions{flex-basis:110px!important}
}

/* v4.14.03 — Flexible after-due reminders until completed */
.bb-task-reminder-section{margin-top:14px;padding-top:14px;border-top:1px solid #dfe5ec}
.bb-task-reminder-section[hidden]{display:none!important}
.bb-task-reminder-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.bb-task-reminder-section-head strong{font-size:11px;letter-spacing:.05em;color:#344054}
.bb-task-reminder-section-head small{font-size:10px;color:#667085;text-align:right}
.bb-after-due-section{background:#fff8f2;border:1px solid #fed7aa;border-radius:12px;padding:12px;margin-top:14px}
.bb-after-due-section .bb-task-reminder-section-head{margin-bottom:9px}
.bb-after-due-enable,.bb-after-due-all-day{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#344054;cursor:pointer}
.bb-after-due-enable{padding:9px 10px;background:#fff;border:1px solid #e4e7ec;border-radius:9px}
.bb-after-due-enable input,.bb-after-due-all-day input{width:17px;height:17px;accent-color:#4f46e5}
.bb-after-due-controls{margin-top:10px}
.bb-after-due-controls[hidden]{display:none!important}
.bb-after-due-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bb-after-due-grid .bb-field{margin:0!important}
.bb-after-due-grid .bb-field label{display:block;margin-bottom:5px;font-size:10px;font-weight:800;color:#475467;text-transform:uppercase;letter-spacing:.035em}
.bb-after-due-grid input,.bb-after-due-grid select{width:100%;box-sizing:border-box}
.bb-after-due-inline{display:flex;align-items:center;gap:6px}
.bb-after-due-inline input,.bb-after-due-inline select{min-width:0}
.bb-after-due-inline span{font-size:10px;color:#667085;white-space:nowrap}
.bb-after-due-grid small{display:block;margin-top:4px;font-size:9px;color:#98a2b3}
.bb-after-due-all-day{align-self:end;min-height:38px;padding-bottom:3px}
.bb-after-due-summary{margin-top:10px;padding:8px 10px;border-radius:8px;background:#fff7ed;border:1px dashed #fdba74;font-size:10px;color:#7c2d12;line-height:1.35}
.bb-after-due-summary:empty{display:none}
@media(max-width:640px){
  .bb-task-reminder-section-head{flex-direction:column;gap:3px}
  .bb-task-reminder-section-head small{text-align:left}
  .bb-after-due-grid{grid-template-columns:1fr}
  .bb-after-due-inline{gap:5px}
}


/* v4.14.08 — Compact After Due reminder controls */
.bb-after-due-section{
  padding:10px!important;
  margin-top:10px!important;
  border-radius:11px!important;
}
.bb-after-due-section .bb-task-reminder-section-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:7px!important;
}
.bb-after-due-section .bb-task-reminder-section-head strong{
  font-size:11px!important;
  line-height:1.2!important;
}
.bb-after-due-section .bb-task-reminder-section-head small{
  margin:0!important;
  font-size:9px!important;
  line-height:1.25!important;
  text-align:right!important;
}
.bb-after-due-enable{
  min-height:38px!important;
  padding:7px 9px!important;
  border-radius:8px!important;
  font-size:11px!important;
}
.bb-after-due-enable input,.bb-after-due-all-day input{
  width:16px!important;
  height:16px!important;
}
.bb-after-due-controls{margin-top:8px!important}
.bb-after-due-grid{
  display:grid!important;
  grid-template-columns:minmax(180px,1.15fr) minmax(250px,1.55fr) minmax(150px,.9fr) minmax(82px,.55fr)!important;
  grid-template-areas:
    "repeat active duration allday"
    "maximum maximum . ."!important;
  gap:8px 10px!important;
  align-items:end!important;
}
.bb-after-due-grid>.bb-field:nth-child(1){grid-area:repeat!important}
.bb-after-due-grid>.bb-field:nth-child(2){grid-area:active!important}
.bb-after-due-grid>.bb-after-due-all-day{grid-area:allday!important}
.bb-after-due-grid>.bb-field:nth-child(4){grid-area:duration!important}
.bb-after-due-grid>.bb-field:nth-child(5){grid-area:maximum!important;max-width:310px!important}
.bb-after-due-grid .bb-field label{
  margin-bottom:4px!important;
  font-size:9px!important;
}
.bb-after-due-inline{gap:5px!important}
.bb-after-due-grid input,.bb-after-due-grid select{
  min-height:36px!important;
  height:36px!important;
  padding:6px 9px!important;
  border-radius:8px!important;
  font-size:11px!important;
}
.bb-after-due-inline span{font-size:9px!important}
.bb-after-due-grid small{margin-top:3px!important;font-size:8px!important}
.bb-after-due-all-day{
  min-height:36px!important;
  padding:0 2px 1px!important;
  font-size:10px!important;
  line-height:1.15!important;
  justify-content:center!important;
}
.bb-after-due-summary{
  margin-top:8px!important;
  padding:7px 9px!important;
  border-radius:8px!important;
  font-size:9px!important;
  line-height:1.3!important;
}
@media(max-width:900px){
  .bb-after-due-section .bb-task-reminder-section-head{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}
  .bb-after-due-section .bb-task-reminder-section-head small{text-align:left!important}
  .bb-after-due-grid{
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      "repeat repeat"
      "active active"
      "duration allday"
      "maximum maximum"!important;
  }
  .bb-after-due-grid>.bb-field:nth-child(5){max-width:none!important}
}
@media(max-width:520px){
  .bb-after-due-grid{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "repeat"
      "active"
      "duration"
      "allday"
      "maximum"!important;
    gap:7px!important;
  }
  .bb-after-due-all-day{justify-content:flex-start!important}
}


/* v4.14.09 — Modal-safe compact After Due layout; no horizontal clipping. */
.bb-after-due-section{
  padding:9px!important;
  margin-top:9px!important;
  overflow:hidden!important;
}
.bb-after-due-section .bb-task-reminder-section-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:2px!important;
  align-items:start!important;
  margin-bottom:6px!important;
}
.bb-after-due-section .bb-task-reminder-section-head strong{
  font-size:10px!important;
  line-height:1.2!important;
}
.bb-after-due-section .bb-task-reminder-section-head small{
  font-size:8px!important;
  text-align:left!important;
  line-height:1.25!important;
  color:#667085!important;
}
.bb-after-due-enable{
  min-height:34px!important;
  padding:6px 8px!important;
  font-size:10px!important;
}
.bb-after-due-controls{margin-top:7px!important}
.bb-after-due-grid{
  display:grid!important;
  width:100%!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.3fr)!important;
  grid-template-areas:
    "repeat active"
    "duration maximum"
    "allday allday"!important;
  gap:6px 8px!important;
  align-items:end!important;
}
.bb-after-due-grid>.bb-field:nth-child(1){grid-area:repeat!important}
.bb-after-due-grid>.bb-field:nth-child(2){grid-area:active!important}
.bb-after-due-grid>.bb-field:nth-child(4){grid-area:duration!important}
.bb-after-due-grid>.bb-field:nth-child(5){grid-area:maximum!important;max-width:none!important}
.bb-after-due-grid>.bb-after-due-all-day{grid-area:allday!important}
.bb-after-due-grid .bb-field,.bb-after-due-inline{min-width:0!important}
.bb-after-due-grid .bb-field label{font-size:8px!important;margin-bottom:3px!important}
.bb-after-due-grid input,.bb-after-due-grid select{
  min-width:0!important;
  width:100%!important;
  height:32px!important;
  min-height:32px!important;
  padding:5px 7px!important;
  font-size:10px!important;
  border-radius:7px!important;
}
.bb-after-due-inline{gap:4px!important}
.bb-after-due-inline span{font-size:8px!important}
.bb-after-due-grid small{font-size:7.5px!important;margin-top:2px!important}
.bb-after-due-all-day{
  min-height:24px!important;
  justify-content:flex-start!important;
  padding:0!important;
  font-size:9px!important;
}
.bb-after-due-all-day input{width:14px!important;height:14px!important}
.bb-after-due-summary{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:space-between!important;
  gap:4px 10px!important;
  margin-top:6px!important;
  padding:6px 8px!important;
  font-size:8px!important;
  line-height:1.25!important;
}
.bb-after-due-next{color:#166534!important;font-weight:700!important}
@media(max-width:560px){
  .bb-after-due-grid{
    grid-template-columns:1fr!important;
    grid-template-areas:"repeat" "active" "duration" "maximum" "allday"!important;
    gap:5px!important;
  }
  .bb-after-due-summary{display:block!important}
  .bb-after-due-next{display:block!important;margin-top:3px!important}
}


/* v4.14.16 — Admin/Manager AttendSpace compact four-column table */
.bb-attendspace-admin-table .bb-att-date-area{overflow:hidden}
.bb-att-admin-table-wrap{overflow-x:auto;background:#fff}
.bb-att-admin-table{width:100%;min-width:520px;border-collapse:collapse}
.bb-att-admin-table th{padding:10px 14px!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#64748b!important;background:#f8fafc!important}
.bb-att-admin-table td{padding:11px 14px!important;vertical-align:middle!important;border-top:1px solid #edf0f4!important;font-size:12px!important;color:#172033!important}
.bb-att-admin-table td:first-child{width:46%}
.bb-att-admin-table td:not(:first-child),.bb-att-admin-table th:not(:first-child){text-align:center!important;white-space:nowrap!important}
.bb-att-admin-table td strong{display:block;font-size:12px;line-height:1.2}
.bb-att-admin-table td small{display:block;margin-top:2px;font-size:9px;color:#94a3b8}
.bb-attendspace-admin-table .bb-att-date-area>header{padding:10px 14px!important}
@media(max-width:700px){
  .bb-att-admin-table{min-width:0!important;table-layout:fixed!important}
  .bb-att-admin-table th,.bb-att-admin-table td{padding:8px 6px!important;font-size:10px!important}
  .bb-att-admin-table th:first-child,.bb-att-admin-table td:first-child{width:46%!important;text-align:left!important}
  .bb-att-admin-table th:not(:first-child),.bb-att-admin-table td:not(:first-child){width:18%!important}
  .bb-att-admin-table td strong{font-size:10px!important}
  .bb-att-admin-table td small{font-size:8px!important}
}


/* v4.14.17 — AttendSpace admin table: separate Designation column */
.bb-att-admin-table{min-width:620px!important}
.bb-att-admin-table th:nth-child(1),.bb-att-admin-table td:nth-child(1){width:30%!important;text-align:left!important}
.bb-att-admin-table th:nth-child(2),.bb-att-admin-table td:nth-child(2){width:28%!important;text-align:left!important;white-space:normal!important}
.bb-att-admin-table th:nth-child(n+3),.bb-att-admin-table td:nth-child(n+3){width:14%!important;text-align:center!important;white-space:nowrap!important}
@media(max-width:700px){
  .bb-att-admin-table{min-width:560px!important;table-layout:auto!important}
  .bb-att-admin-table th:nth-child(1),.bb-att-admin-table td:nth-child(1){width:30%!important}
  .bb-att-admin-table th:nth-child(2),.bb-att-admin-table td:nth-child(2){width:28%!important}
  .bb-att-admin-table th:nth-child(n+3),.bb-att-admin-table td:nth-child(n+3){width:14%!important}
}


/* v4.14.18 — AttendSpace clickable employee details, mobile dates and Excel */
.bb-att-employee-link{
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
  color:#1d4ed8!important;
  font:inherit!important;
  font-weight:800!important;
  text-align:left!important;
  cursor:pointer!important;
  text-decoration:none!important;
}
.bb-att-employee-link:hover,.bb-att-employee-link:focus-visible{text-decoration:underline!important;color:#1e40af!important}
.bb-att-excel{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
@media(max-width:520px){
  .bb-att-toolbar .bb-att-filter:has(#bb-att-filter-from),
  .bb-att-toolbar .bb-att-filter:has(#bb-att-filter-to){display:flex!important}
  .bb-att-toolbar .bb-att-clear{grid-column:1!important}
  .bb-att-toolbar .bb-att-excel{grid-column:2!important;width:100%!important;height:42px!important;border-radius:10px!important;font-weight:800!important}
  .bb-att-admin-table th,.bb-att-admin-table td{padding-left:6px!important;padding-right:6px!important}
  .bb-att-employee-link{font-size:inherit!important;line-height:inherit!important}
}


/* v4.14.19 — AttendSpace employee click opens attendance detail card, not User Master. */
.bb-att-employee-detail{max-width:620px!important}
.bb-att-detail-heading{display:flex!important;align-items:center!important;gap:10px!important}
.bb-att-detail-heading>div{min-width:0;flex:1}
.bb-att-detail-heading .bb-att-status{margin-left:auto}
.bb-att-detail-avatar{width:38px!important;height:38px!important;flex:0 0 38px!important;font-size:12px!important}
.bb-att-detail-card{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
.bb-att-detail-actions{margin-top:2px}
.bb-att-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}
.bb-att-detail-summary>span{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;min-width:0}
.bb-att-detail-summary small{font-size:9px;color:#64748b;text-transform:uppercase;font-weight:800;letter-spacing:.03em}
.bb-att-detail-summary strong{font-size:12px;color:#172033}
.bb-att-detail-history{margin-right:auto}
@media(max-width:640px){
  .bb-att-employee-detail{max-width:none!important}
  .bb-att-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bb-att-detail-card{padding:9px!important;gap:7px!important}
  .bb-att-detail-heading{gap:8px!important}
}


/* v4.14.20 — AttendSpace: Holiday action beside TODAY/date title */
.bb-att-date-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bb-att-date-title .bb-att-mark-holiday{width:auto!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:4px 10px!important;border-radius:8px!important}
.bb-att-date-title .bb-att-holiday-actions{display:inline-flex!important;align-items:center!important;gap:4px!important}
@media(max-width:700px){
  .bb-att-date-area>header{gap:6px!important}
  .bb-att-date-title{width:100%!important;gap:6px!important}
  .bb-att-date-title .bb-att-mark-holiday{width:auto!important;height:26px!important;min-height:26px!important;padding:3px 9px!important;font-size:9px!important;margin-left:0!important}
  .bb-att-date-title .bb-att-holiday-actions .bb-mini{width:27px!important;min-width:27px!important;height:27px!important;min-height:27px!important}
  .bb-att-date-tools{margin-top:0!important}
}


/* v4.14.27 — Mobile AttendSpace filter funnel in top header */
@media(max-width:700px){
  .bb-attendspace-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-attendspace-active .bb-mobile-filter-top.active{
    background:#eef2ff!important;
    color:#4f46e5!important;
    border-color:#c7d2fe!important;
  }
  .bb-attendspace-active .bb-att-toolbar{
    display:none!important;
  }
  .bb-attendspace-active .bb-att-toolbar.filters-open{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* v4.14.28 — Monthly Sheet mobile month label + cleaner report */
.bb-month-input-wrap{position:relative;width:100%}
.bb-month-input-wrap>input{width:100%}
.bb-monthly-month-label{display:none}
@media(max-width:700px){
  .bb-monthly-month-filter .bb-month-input-wrap{position:relative}
  .bb-monthly-month-filter input[type="month"]{
    color:transparent!important;
    -webkit-text-fill-color:transparent!important;
    position:relative!important;
    z-index:1!important;
    background:transparent!important;
  }
  .bb-monthly-month-filter .bb-monthly-month-label{
    display:flex!important;
    position:absolute!important;
    inset:0 34px 0 0!important;
    align-items:center!important;
    padding-left:14px!important;
    font-size:16px!important;
    font-weight:700!important;
    color:#172033!important;
    pointer-events:none!important;
    z-index:2!important;
    white-space:nowrap!important;
  }
}


/* v4.14.29 — Mobile AttendSpace table ends cleanly at Break column */
@media(max-width:700px){
  .bb-att-admin-table-wrap{overflow-x:hidden!important;width:100%!important}
  .bb-att-admin-table{width:100%!important;min-width:100%!important;max-width:100%!important;table-layout:fixed!important}
  .bb-att-admin-table th:nth-child(1),.bb-att-admin-table td:nth-child(1){width:28%!important}
  .bb-att-admin-table th:nth-child(2),.bb-att-admin-table td:nth-child(2){width:28%!important}
  .bb-att-admin-table th:nth-child(3),.bb-att-admin-table td:nth-child(3),
  .bb-att-admin-table th:nth-child(4),.bb-att-admin-table td:nth-child(4),
  .bb-att-admin-table th:nth-child(5),.bb-att-admin-table td:nth-child(5){width:14.6667%!important}
  .bb-att-admin-table th,.bb-att-admin-table td{box-sizing:border-box!important}
}

/* v4.14.32 — Note-level date when Note Area has Date Applicable enabled */
.bb-note-card-date{display:inline-flex;align-items:center;margin:0 0 6px;padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:10px;font-weight:800;line-height:1.2}
.bb-note-date-field{margin-top:10px}

/* v4.14.33 — Work Area mandatory workflow remarks */
.bb-workarea-remark-rule{grid-column:1/-1;display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #d9e2f0;border-radius:10px;background:#f8fafc;cursor:pointer}
.bb-workarea-remark-rule input{width:18px;height:18px;margin:1px 0 0;accent-color:#4f46e5;flex:0 0 auto}
.bb-workarea-remark-rule span{display:flex;flex-direction:column;gap:2px;min-width:0}
.bb-workarea-remark-rule b{font-size:12px;color:#1f2937}
.bb-workarea-remark-rule small{font-size:10px;line-height:1.35;color:#667085;font-weight:500}
.bb-required-update-remark-form{min-width:min(520px,92vw)}
.bb-required-update-remark-form textarea{min-height:100px;resize:vertical}
@media(max-width:700px){.bb-workarea-remark-rule{padding:9px 10px}.bb-required-update-remark-form{min-width:0;width:100%}}


/* v4.14.38 — Mobile mandatory remarks popup: no visible scrollbars, no sideways overflow. */
@media (max-width:700px){
  #bb-modal.open:has(.bb-required-update-remark-form) > .bb-modal-card,
  html body > #bb-modal.open:has(.bb-required-update-remark-form) > .bb-modal-card{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  #bb-modal.open:has(.bb-required-update-remark-form) > .bb-modal-card::-webkit-scrollbar,
  html body > #bb-modal.open:has(.bb-required-update-remark-form) > .bb-modal-card::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
  }
  #bb-modal.open:has(.bb-required-update-remark-form) #bb-modal-content,
  #bb-modal.open:has(.bb-required-update-remark-form) .bb-required-update-remark-form{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  #bb-modal.open:has(.bb-required-update-remark-form) .bb-required-update-remark-form{
    padding:18px 14px 14px!important;
  }
  #bb-modal.open:has(.bb-required-update-remark-form) .bb-required-update-remark-form textarea{
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    resize:none!important;
  }
}
\n\n/* v4.14.47 — Quick Add: compact After Due reminder controls */\n.bb-quick-task-card .bb-quick-after-due{margin-top:10px;padding-top:9px;border-top:1px solid #d9e7df}\n.bb-quick-task-card .bb-quick-after-due-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}\n.bb-quick-task-card .bb-quick-after-due-head strong{font-size:10px;letter-spacing:.08em;color:#7c2d12}\n.bb-quick-task-card .bb-quick-after-due-head small{font-size:9px;color:#64748b}\n.bb-quick-task-card .bb-quick-after-toggle{min-height:36px;padding:7px 9px;border-radius:9px}\n.bb-quick-task-card .bb-quick-after-toggle span{font-size:10px}\n.bb-quick-task-card .bb-quick-after-controls{margin-top:7px;padding:8px;border:1px solid #fed7aa;border-radius:10px;background:#fffaf5}\n.bb-quick-task-card .bb-quick-after-controls .bb-after-due-grid{grid-template-columns:1fr!important;gap:7px!important}\n.bb-quick-task-card .bb-quick-after-controls .bb-field label{font-size:8px!important}\n.bb-quick-task-card .bb-quick-after-controls input,.bb-quick-task-card .bb-quick-after-controls select{min-height:32px!important;height:32px!important;font-size:10px!important;padding:4px 7px!important}\n.bb-quick-task-card .bb-quick-after-controls .bb-after-due-inline{gap:5px!important}\n.bb-quick-task-card .bb-quick-after-controls .bb-after-due-summary{margin-top:6px!important;padding:6px 7px!important;font-size:8px!important}\n.bb-quick-task-card .bb-quick-after-controls .bb-after-due-plan,.bb-quick-task-card .bb-quick-after-controls .bb-after-due-next{font-size:8px!important}\n

/* v4.14.48 — Quick Add After Due: fixed 8 AM–8 PM window, compact layout */
.bb-quick-task-card .bb-quick-after-controls{padding:6px!important;margin-top:5px!important}
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:5px!important}
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-repeat{grid-column:1/-1!important}
.bb-quick-task-card .bb-quick-after-controls .bb-field{min-width:0!important}
.bb-quick-task-card .bb-quick-after-controls .bb-field label{margin-bottom:2px!important;font-size:7px!important;letter-spacing:.03em!important}
.bb-quick-task-card .bb-quick-after-controls input,.bb-quick-task-card .bb-quick-after-controls select{min-height:29px!important;height:29px!important;font-size:9px!important;padding:3px 6px!important}
.bb-quick-task-card .bb-quick-after-controls .bb-after-due-inline{gap:4px!important}
.bb-quick-task-card .bb-quick-after-controls .bb-after-due-inline>span{font-size:8px!important}
.bb-quick-task-card .bb-quick-after-controls .bb-after-due-summary{margin-top:5px!important;padding:5px 6px!important;line-height:1.25!important}
.bb-quick-task-card .bb-quick-after-due{margin-top:7px!important;padding-top:6px!important}
.bb-quick-task-card .bb-quick-after-due-head{margin-bottom:5px!important}
.bb-quick-task-card .bb-quick-after-toggle{min-height:32px!important;padding:5px 7px!important}


/* v4.14.49 — Quick Add: keep Days unit visible beside Max Duration */
.bb-quick-task-card .bb-quick-after-duration .bb-after-due-inline{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:4px!important;align-items:center!important}
.bb-quick-task-card .bb-quick-after-duration .bb-quick-duration-unit{display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;min-width:34px!important;height:29px!important;box-sizing:border-box!important;font-size:8px!important;color:#667085!important;white-space:nowrap!important}


/* v4.14.51 — Daily Dashboard Quick Actions in the top-right of the dashboard heading */
.bb-summary-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.bb-dashboard-quick-actions{
  position:static;
  z-index:auto;
  margin-left:auto;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
  padding:7px;
  border:1px solid #dfe5ef;
  border-radius:16px;
  background:rgba(255,255,255,.94);
  box-shadow:0 5px 16px rgba(15,23,42,.10);
  backdrop-filter:blur(8px);
}
.bb-dashboard-quick-btn{
  width:44px;
  height:44px;
  min-width:44px;
  padding:0;
  border:1px solid #d8e0ec;
  border-radius:12px;
  background:#fff;
  color:#334155;
  display:inline-grid;
  place-items:center;
  cursor:pointer;
  transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease;
}
.bb-dashboard-quick-btn:hover{transform:translateY(-2px);box-shadow:0 7px 16px rgba(15,23,42,.12)}
.bb-dashboard-quick-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bb-dashboard-quick-btn.attendance{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}
.bb-dashboard-quick-btn.notes{color:#6d28d9;background:#faf5ff;border-color:#e9d5ff}
.bb-dashboard-quick-btn.task{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}
@media(max-width:700px){
  .bb-summary-head{gap:8px}
  .bb-dashboard-quick-actions{gap:6px;padding:6px;border-radius:14px}
  .bb-dashboard-quick-btn{width:40px;height:40px;min-width:40px;border-radius:10px}
  .bb-dashboard-quick-btn svg{width:19px;height:19px}
}


/* v4.14.63 — After Due duration dropdown with explicit Same Day option */
.bb-quick-task-card .bb-quick-after-duration .bb-quick-duration-select{width:100%!important;min-width:0!important;}
.bb-task-reminder-editor [name=after_due_duration_days]{width:100%;}


/* v4.14.65 — Keep AFTER DUE Repeat Every unit dropdown visible. */
.bb-quick-task-card .bb-quick-after-repeat .bb-after-due-inline,
.bb-task-reminder-editor .bb-after-due-grid .bb-field:first-child .bb-after-due-inline{
  display:grid!important;
  grid-template-columns:minmax(52px,.75fr) minmax(88px,1.25fr)!important;
  gap:5px!important;
  align-items:center!important;
  width:100%!important;
}
.bb-quick-task-card .bb-quick-after-repeat [name=after_due_interval_value],
.bb-task-reminder-editor [name=after_due_interval_value]{
  width:100%!important;
  min-width:0!important;
}
.bb-quick-task-card .bb-quick-after-repeat [name=after_due_interval_unit],
.bb-task-reminder-editor [name=after_due_interval_unit]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  min-width:88px!important;
  max-width:none!important;
}

/* v4.14.66 — AFTER DUE compact two-line layout.
   Line 1: Repeat Every [number] [unit]
   Line 2: Max Duration [select] | Max Reminders [number] */
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:7px 8px!important;
  align-items:end!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-repeat{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-repeat .bb-after-due-inline{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(105px,1fr)!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-duration,
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-max-reminders{
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-duration select,
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-max-reminders input{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:430px){
  .bb-quick-task-card .bb-quick-after-controls .bb-quick-after-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:6px!important;
  }
  .bb-quick-task-card .bb-quick-after-controls .bb-quick-after-repeat .bb-after-due-inline{
    grid-template-columns:minmax(0,.9fr) minmax(92px,1.1fr)!important;
    gap:6px!important;
  }
}


/* v4.14.67 — Force approved two-line AFTER DUE layout in every inline/quick reminder form.
   Row 1: Repeat Every = [number] [unit]
   Row 2: Max Duration | Max Reminders
   Deliberately not scoped to .bb-quick-task-card because the same compact reminder block
   is rendered inside existing-task cards where that ancestor is not always present. */
.bb-quick-after-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:
    "repeat repeat"
    "duration maximum"!important;
  gap:7px 8px!important;
  align-items:end!important;
  width:100%!important;
  min-width:0!important;
}
.bb-quick-after-grid>.bb-quick-after-repeat{
  grid-area:repeat!important;
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.bb-quick-after-grid>.bb-quick-after-duration{
  grid-area:duration!important;
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.bb-quick-after-grid>.bb-quick-after-max-reminders{
  grid-area:maximum!important;
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
}
.bb-quick-after-grid .bb-quick-after-repeat .bb-after-due-inline{
  display:grid!important;
  grid-template-columns:minmax(54px,1fr) minmax(86px,1fr)!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  align-items:center!important;
}
.bb-quick-after-grid .bb-quick-after-repeat input[name="after_due_interval_value"],
.bb-quick-after-grid .bb-quick-after-repeat select[name="after_due_interval_unit"],
.bb-quick-after-grid .bb-quick-after-duration select[name="after_due_duration_days"],
.bb-quick-after-grid .bb-quick-after-max-reminders input[name="after_due_max_reminders"]{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
/* Keep the approved two-column second row even on narrow task columns. */
@media(max-width:520px){
  .bb-quick-after-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:
      "repeat repeat"
      "duration maximum"!important;
    gap:6px!important;
  }
  .bb-quick-after-grid .bb-quick-after-repeat .bb-after-due-inline{
    grid-template-columns:minmax(48px,.8fr) minmax(82px,1.2fr)!important;
    gap:6px!important;
  }
}


/* v4.14.69 — Simplified inline activity table with clear Date + Activity columns */
.bb-task-bottom-comment{display:inline-flex;align-items:center;justify-content:center}
.bb-task-bottom-comment.active{background:#eef2ff;border-color:#cfd7ff;color:#4f46e5}
.bb-task-bottom-comment svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bb-task-inline-activity-panel{margin-top:10px;padding:10px;border:1px solid #dfe7f2;border-radius:12px;background:#fff}
.bb-task-inline-activity-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.bb-task-inline-activity-head strong{font-size:11px;color:#334155;letter-spacing:.01em}
.bb-task-inline-activity-close{border:1px solid #dbe2ef;background:#fff;color:#64748b;width:24px;height:24px;border-radius:8px;cursor:pointer;font-size:16px;line-height:1}
.bb-task-inline-activity-close:hover{background:#f8fafc;color:#334155}
.bb-task-inline-activity-table-wrap{overflow-x:auto;border:1px solid #e5eaf3;border-radius:10px;background:#fff}
.bb-task-inline-activity-table{width:100%;border-collapse:collapse;font-size:10px;table-layout:fixed}
.bb-task-inline-activity-table th,.bb-task-inline-activity-table td{padding:8px 9px;border-bottom:1px solid #edf1f7;text-align:left;vertical-align:top}
.bb-task-inline-activity-table th{background:#f8fafc;color:#64748b;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.bb-task-inline-activity-table tbody tr:last-child td{border-bottom:0}
.bb-task-inline-activity-table th:first-child,.bb-task-inline-activity-table td.bb-task-inline-date{width:112px}
.bb-task-inline-date{white-space:normal;line-height:1.35;color:#334155;word-break:break-word}
.bb-task-inline-activity-cell strong{display:block;color:#1f2937;font-size:10px;font-weight:700;line-height:1.35}
.bb-task-inline-activity-cell small{display:block;margin-top:3px;color:#64748b;font-size:9px;line-height:1.4;white-space:normal;word-break:break-word}
@media(max-width:720px){.bb-task-inline-activity-panel{padding:8px}.bb-task-inline-activity-table{font-size:9px}.bb-task-inline-activity-table th,.bb-task-inline-activity-table td{padding:7px 8px}.bb-task-inline-activity-table th:first-child,.bb-task-inline-activity-table td.bb-task-inline-date{width:96px}}


/* v4.14.70 — Make inline task activity table span the full task-card width */
.bb-task.bb-task-todo>.bb-task-inline-activity-panel{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:10px 0 2px!important;
  padding:10px!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #dfe7f2!important;
  border-radius:12px!important;
  box-shadow:0 2px 8px rgba(15,23,42,.04)!important;
}
.bb-task-inline-activity-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
.bb-task-inline-activity-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
.bb-task-inline-activity-table th:first-child,
.bb-task-inline-activity-table td.bb-task-inline-date{
  width:42%!important;
}
.bb-task-inline-activity-table th:last-child,
.bb-task-inline-activity-table td.bb-task-inline-activity-cell{
  width:58%!important;
}
.bb-task-inline-activity-table th,
.bb-task-inline-activity-table td{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.bb-task-inline-activity-head{margin-bottom:9px!important}
.bb-task-inline-activity-head strong{font-size:12px!important}
@media(max-width:720px){
  .bb-task.bb-task-todo>.bb-task-inline-activity-panel{padding:8px!important}
  .bb-task-inline-activity-table th:first-child,
  .bb-task-inline-activity-table td.bb-task-inline-date{width:40%!important}
  .bb-task-inline-activity-table th:last-child,
  .bb-task-inline-activity-table td.bb-task-inline-activity-cell{width:60%!important}
}


/* v4.14.71 — Work Area activity lives at the bottom of the Work Area, not inside each task */
.bb-workarea-activity-btn{width:36px;height:36px;border:1px solid #d9e0ea;border-radius:10px;background:#fff;color:#5b6474;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.bb-workarea-activity-btn:hover{background:#eef2ff;border-color:#bfc8ff;color:#4f46e5}
.bb-workarea-activity-btn.active{background:#273142;border-color:#273142;color:#ffffff;box-shadow:0 3px 10px rgba(39,49,66,.22)}
.bb-workarea-activity-btn.active:hover{background:#1f2937;border-color:#1f2937;color:#ffffff}
.bb-workarea-activity-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bb-workarea-activity-panel{margin:14px 10px 12px;padding:10px;border:1px solid #dfe7f2;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.05)}
.bb-workarea-activity-panel[hidden]{display:none!important}
.bb-workarea-activity-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.bb-workarea-activity-title strong{font-size:12px;color:#24324a}
.bb-workarea-activity-title span{font-size:9px;color:#8a94a6}
.bb-workarea-activity-table-wrap{overflow-x:auto;border:1px solid #e7ebf2;border-radius:9px;background:#fff}
.bb-workarea-activity-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10px}
.bb-workarea-activity-table th,.bb-workarea-activity-table td{padding:8px 9px;border-bottom:1px solid #edf1f7;text-align:left;vertical-align:top}
.bb-workarea-activity-table th{background:#f8fafc;color:#64748b;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.bb-workarea-activity-table tr:last-child td{border-bottom:0}
.bb-workarea-activity-table th:first-child,.bb-workarea-activity-date{width:96px}
.bb-workarea-activity-date{color:#475569;line-height:1.35;white-space:normal}
.bb-workarea-activity-text strong{display:block;color:#1f2937;font-size:10px;line-height:1.35;word-break:break-word}
.bb-workarea-activity-text small{display:block;margin-top:3px;color:#64748b;font-size:9px;line-height:1.35;word-break:break-word}
@media(max-width:720px){.bb-workarea-activity-panel{margin:12px 8px 10px;padding:8px}.bb-workarea-activity-table th,.bb-workarea-activity-table td{padding:7px}.bb-workarea-activity-table th:first-child,.bb-workarea-activity-date{width:84px}}


/* v4.14.72 — Work Area activity shown directly below each task */
.bb-workarea-task-activity{margin:6px 10px 10px 22px;padding:8px;border:1px solid #dfe7f2;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.bb-workarea-task-activity .bb-task-inline-activity-table-wrap{margin:0;overflow-x:auto}
.bb-workarea-task-activity .bb-task-inline-activity-table{width:100%;table-layout:fixed;min-width:0}
.bb-workarea-task-activity .bb-task-inline-activity-table th:first-child,
.bb-workarea-task-activity .bb-task-inline-activity-table td.bb-task-inline-date{width:92px}
.bb-workarea-task-activity .bb-empty-mini{padding:8px 4px;color:#94a3b8;font-size:9px}
@media(max-width:720px){.bb-workarea-task-activity{margin:6px 8px 9px 18px;padding:7px}.bb-workarea-task-activity .bb-task-inline-activity-table th:first-child,.bb-workarea-task-activity .bb-task-inline-activity-table td.bb-task-inline-date{width:84px}}


/* v4.14.76 — Compact Work Area header action row so every icon stays inside the column */
.bb-workarea-column .bb-col-head-actions{
  justify-content:flex-start!important;
  gap:3px!important;
  overflow:visible!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,
.bb-workarea-column .bb-workarea-activity-btn{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  max-width:30px!important;
  max-height:30px!important;
  flex:0 0 30px!important;
  border-radius:8px!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.bb-workarea-column .bb-workarea-quick-actions{gap:3px!important}
.bb-workarea-column .bb-col-head-actions svg,
.bb-workarea-column .bb-workarea-activity-btn svg{
  width:14px!important;
  height:14px!important;
}
.bb-workarea-column .bb-workarea-add-unified svg{width:16px!important;height:16px!important}
@media(max-width:700px){
  .bb-workarea-column .bb-col-head-actions{gap:2px!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,
  .bb-workarea-column .bb-workarea-activity-btn{
    width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;max-width:29px!important;max-height:29px!important;flex-basis:29px!important;
  }
}


/* v4.14.77 — Work Area remarks/activity view days limit */
.bb-workarea-remarks-view-limit{grid-column:1/-1;border:1px solid #d9e2ef;background:#fbfcff;border-radius:12px;padding:11px 13px;margin-top:-2px}
.bb-workarea-remarks-view-limit>label{display:block;font-size:11px;font-weight:800;color:#24324a;margin-bottom:7px}
.bb-workarea-days-limit-row{display:flex;align-items:center;gap:8px;max-width:230px}
.bb-workarea-days-limit-row input{width:100px;min-width:0;height:38px;border:1px solid #d5ddea;border-radius:9px;padding:0 10px;background:#fff;color:#172033;font-size:12px}
.bb-workarea-days-limit-row span{font-size:11px;font-weight:700;color:#64748b}
.bb-workarea-remarks-view-limit>small{display:block;margin-top:6px;color:#667085;font-size:9px;line-height:1.45}
@media(max-width:720px){.bb-workarea-days-limit-row{max-width:none}.bb-workarea-days-limit-row input{width:110px}}


/* v4.14.82 — Compact Workspace toolbar and remove redundant Template toolbar action */
@media(min-width:901px){
  .bb-workspace-toolbar{
    padding:4px 6px!important;
    gap:4px!important;
    min-height:38px!important;
  }
  .bb-workspace-toolbar-left{
    gap:4px!important;
  }
  .bb-workspace-toolbar .bb-back-workspaces{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    flex-basis:28px!important;
  }
  .bb-workspace-toolbar .bb-btn-compact,
  .bb-workspace-toolbar .bb-add-area-top{
    height:28px!important;
    min-height:28px!important;
    padding:0 8px!important;
    font-size:9px!important;
    border-radius:7px!important;
  }
  .bb-workspace-toolbar .bb-workspace-view-picker select{
    height:28px!important;
    min-height:28px!important;
    font-size:9px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  .bb-workspace-toolbar .bb-overdue-filter-chip,
  .bb-workspace-toolbar .bb-completed-filter-chip,
  .bb-workspace-toolbar .bb-kpi-chip{
    height:28px!important;
    min-height:28px!important;
    padding:0 7px!important;
    font-size:9px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter{
    width:112px!important;
    min-width:112px!important;
    max-width:112px!important;
    height:28px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter>summary{
    height:28px!important;
    min-height:28px!important;
    padding:0 8px!important;
    font-size:9px!important;
    border-radius:7px!important;
  }
  .bb-workspace-toolbar .bb-clear-filters{
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
  }
}


/* v4.14.83 — Further compact Card selector and Workspace filters */
@media(min-width:901px){
  .bb-workspace-toolbar{
    min-height:34px!important;
    padding:3px 5px!important;
    gap:3px!important;
  }
  .bb-workspace-toolbar-left{
    gap:3px!important;
  }

  .bb-workspace-toolbar .bb-back-workspaces{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    flex-basis:26px!important;
  }

  .bb-workspace-toolbar .bb-btn-compact,
  .bb-workspace-toolbar .bb-add-area-top{
    height:26px!important;
    min-height:26px!important;
    padding:0 7px!important;
    font-size:8.5px!important;
    border-radius:6px!important;
  }

  /* Card / Table / Calendar selector */
  .bb-workspace-toolbar .bb-workspace-view-picker{
    height:26px!important;
    min-height:26px!important;
    padding:0 2px!important;
    border-radius:6px!important;
  }
  .bb-workspace-toolbar .bb-workspace-view-picker select{
    width:94px!important;
    min-width:94px!important;
    max-width:94px!important;
    height:24px!important;
    min-height:24px!important;
    padding:0 18px 0 7px!important;
    font-size:8.5px!important;
  }

  .bb-workspace-toolbar .bb-overdue-filter-chip,
  .bb-workspace-toolbar .bb-completed-filter-chip,
  .bb-workspace-toolbar .bb-kpi-chip{
    height:26px!important;
    min-height:26px!important;
    padding:0 6px!important;
    font-size:8.5px!important;
    border-radius:6px!important;
  }

  .bb-workspace-toolbar .bb-compact-filters{
    gap:3px!important;
    grid-template-columns:auto!important;
  }

  .bb-workspace-toolbar .bb-multi-filter{
    height:26px!important;
    min-height:26px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter>summary{
    height:26px!important;
    min-height:26px!important;
    padding:0 6px!important;
    font-size:8.5px!important;
    border-radius:6px!important;
  }

  .bb-workspace-toolbar .bb-multi-filter[data-filter="area"]{
    width:92px!important;min-width:92px!important;max-width:92px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="stage"]{
    width:88px!important;min-width:88px!important;max-width:88px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="priority"]{
    width:82px!important;min-width:82px!important;max-width:82px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="assignee"]{
    width:88px!important;min-width:88px!important;max-width:88px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="labels"]{
    width:76px!important;min-width:76px!important;max-width:76px!important;
  }

  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn,
  .bb-workspace-toolbar .bb-clear-filters,
  .bb-workspace-toolbar .bb-export-visible{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    flex:0 0 26px!important;
    padding:0!important;
    border-radius:6px!important;
  }
}


/* v4.14.84 — Clear compact Workspace toolbar without overlap */
@media(min-width:901px){
  .bb-workspace-toolbar{
    gap:3px!important;
    padding:3px 5px!important;
    overflow-x:auto!important;
  }
  .bb-workspace-toolbar-left{
    gap:3px!important;
    flex:0 0 auto!important;
  }
  .bb-workspace-toolbar .bb-compact-kpis{
    display:flex!important;
    flex:0 0 auto!important;
    gap:3px!important;
    margin:0!important;
    overflow:visible!important;
  }
  .bb-workspace-toolbar .bb-completed-filter-chip{
    margin-left:0!important;
  }

  .bb-workspace-toolbar .bb-compact-filters,
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    display:flex!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    gap:3px!important;
    overflow:visible!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter{
    flex:0 0 auto!important;
  }

  .bb-workspace-toolbar .bb-btn-compact,
  .bb-workspace-toolbar .bb-add-area-top{
    padding:0 6px!important;
    font-size:8.5px!important;
    white-space:nowrap!important;
  }
  .bb-workspace-toolbar .bb-workarea-store-btn{
    padding-left:6px!important;
    padding-right:6px!important;
  }

  .bb-workspace-toolbar .bb-workspace-view-picker select{
    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;
    padding:0 17px 0 7px!important;
  }

  .bb-workspace-toolbar .bb-overdue-filter-chip,
  .bb-workspace-toolbar .bb-completed-filter-chip,
  .bb-workspace-toolbar .bb-kpi-chip{
    padding:0 6px!important;
    font-size:8.5px!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
  }

  .bb-workspace-toolbar .bb-multi-filter[data-filter="area"]{
    width:86px!important;min-width:86px!important;max-width:86px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="stage"]{
    width:82px!important;min-width:82px!important;max-width:82px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="priority"]{
    width:76px!important;min-width:76px!important;max-width:76px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="assignee"]{
    width:82px!important;min-width:82px!important;max-width:82px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter[data-filter="labels"]{
    width:68px!important;min-width:68px!important;max-width:68px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter>summary{
    padding:0 5px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn,
  .bb-workspace-toolbar .bb-clear-filters,
  .bb-workspace-toolbar .bb-export-visible{
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    flex:0 0 26px!important;
  }
}


/* v4.14.85 — Keep Workspace filter arrow vertically centered on the same line */
@media(min-width:901px){
  .bb-workspace-toolbar .bb-multi-filter>summary{
    display:flex!important;
    align-items:center!important;
    line-height:1!important;
    padding:0 17px 0 6px!important;
    position:relative!important;
  }
  .bb-workspace-toolbar .bb-multi-filter>summary:after{
    position:absolute!important;
    right:5px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    line-height:1!important;
    margin:0!important;
    font-size:10px!important;
  }
}


/* v4.14.86 — Use full workspace width when left menu is hidden */
@media(min-width:901px){
  #bb-app.bb-sidebar-collapsed{display:block!important}
  #bb-app.bb-sidebar-collapsed .bb-sidebar{display:none!important}
  #bb-app.bb-sidebar-collapsed .bb-main{
    width:100%!important;
    max-width:100%!important;
    flex:0 0 100%!important;
    margin-left:0!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-topbar,
  #bb-app.bb-sidebar-collapsed .bb-content,
  #bb-app.bb-sidebar-collapsed .bb-workspace-compact-head,
  #bb-app.bb-sidebar-collapsed .bb-workspace-control-row,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar,
  #bb-app.bb-sidebar-collapsed .bb-board-scroll,
  #bb-app.bb-sidebar-collapsed .bb-board{
    width:100%!important;
    max-width:100%!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-topbar{padding-left:16px!important;padding-right:16px!important}
  #bb-app.bb-sidebar-collapsed .bb-content{padding-left:14px!important;padding-right:14px!important}
  #bb-app.bb-sidebar-collapsed .bb-board{min-width:100%!important}
}


/* v4.14.87 — Workspace toolbar adapts to sidebar shown/hidden */
@media(min-width:901px){
  /* Sidebar visible: keep toolbar tighter so everything stays on one line. */
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar{
    gap:2px!important;
    padding:3px 4px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar-left{gap:2px!important}
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-workspace-view-picker select{
    width:76px!important;min-width:76px!important;max-width:76px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-multi-filter[data-filter="area"]{
    width:80px!important;min-width:80px!important;max-width:80px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-multi-filter[data-filter="stage"]{
    width:78px!important;min-width:78px!important;max-width:78px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-multi-filter[data-filter="priority"]{
    width:72px!important;min-width:72px!important;max-width:72px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-multi-filter[data-filter="assignee"]{
    width:78px!important;min-width:78px!important;max-width:78px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-multi-filter[data-filter="labels"]{
    width:64px!important;min-width:64px!important;max-width:64px!important;
  }

  /* Sidebar hidden: use the extra room and make the same controls easier to read. */
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar{
    gap:4px!important;
    padding:4px 6px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar-left{gap:4px!important}
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-workspace-view-picker select{
    width:92px!important;min-width:92px!important;max-width:92px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-multi-filter[data-filter="area"]{
    width:94px!important;min-width:94px!important;max-width:94px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-multi-filter[data-filter="stage"]{
    width:90px!important;min-width:90px!important;max-width:90px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-multi-filter[data-filter="priority"]{
    width:84px!important;min-width:84px!important;max-width:84px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-multi-filter[data-filter="assignee"]{
    width:90px!important;min-width:90px!important;max-width:90px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-multi-filter[data-filter="labels"]{
    width:76px!important;min-width:76px!important;max-width:76px!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-btn-compact,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-overdue-filter-chip,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-completed-filter-chip,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-multi-filter>summary{
    font-size:9px!important;
  }
}


/* v4.14.88 — Toolbar should use full width with no empty white tail */
@media(min-width:901px){
  .bb-workspace-toolbar{
    grid-template-columns:auto auto minmax(0,1fr)!important;
    column-gap:4px!important;
  }
  .bb-workspace-toolbar .bb-compact-kpis{
    justify-content:flex-start!important;
    overflow:visible!important;
    flex:0 0 auto!important;
  }
  .bb-workspace-toolbar .bb-compact-filters,
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-compact-filters,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-compact-filters{
    justify-self:stretch!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    display:grid!important;
    align-items:center!important;
    grid-template-columns:repeat(5,minmax(72px,1fr)) 26px 26px!important;
    gap:4px!important;
    overflow:visible!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-multi-filter,
  .bb-workspace-toolbar .bb-compact-filters>.bb-filter-field-compact{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .bb-workspace-toolbar .bb-filter-field-compact .bb-select,
  .bb-workspace-toolbar .bb-multi-filter>summary,
  .bb-workspace-toolbar .bb-multi-filter,
  .bb-workspace-toolbar .bb-workspace-view-picker select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn,
  .bb-workspace-toolbar .bb-clear-filters,
  .bb-workspace-toolbar .bb-export-visible{
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    justify-self:stretch!important;
  }

  /* Sidebar visible: a bit tighter but still stretched to full row width */
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-compact-filters{
    grid-template-columns:repeat(5,minmax(66px,1fr)) 26px 26px!important;
  }

  /* Sidebar hidden: use extra room so controls expand and fill the row nicely */
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-compact-filters{
    grid-template-columns:repeat(5,minmax(84px,1fr)) 26px 26px!important;
  }
}


/* v4.14.89 — Larger bottom horizontal scroll dock, shown clearly in one full row */
@media(min-width:901px){
  .bb-board-scroll-dock{
    display:flex!important;
    position:fixed!important;
    left:calc(var(--bb-sidebar-width,250px) + 14px)!important;
    right:14px!important;
    bottom:10px!important;
    height:50px!important;
    align-items:center!important;
    gap:10px!important;
    padding:6px 10px!important;
    border:1px solid #cbd5e1!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 8px 24px rgba(15,23,42,.18)!important;
    backdrop-filter:blur(6px)!important;
    z-index:8500!important;
  }
  #bb-app.bb-sidebar-collapsed .bb-board-scroll-dock{
    left:14px!important;
    right:14px!important;
  }
  .bb-board-scroll-dock .bb-board-scroll-range{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    height:26px!important;
    accent-color:#475569!important;
  }
  .bb-board-scroll-range::-webkit-slider-runnable-track{
    height:16px!important;
    background:#e8edf4!important;
    border-radius:999px!important;
    border:1px solid #d7dee9!important;
  }
  .bb-board-scroll-range::-webkit-slider-thumb{
    -webkit-appearance:none!important;
    appearance:none!important;
    width:90px!important;
    height:18px!important;
    margin-top:-2px!important;
    border-radius:999px!important;
    background:#64748b!important;
    border:2px solid #dfe6ee!important;
    box-shadow:0 1px 2px rgba(15,23,42,.12)!important;
    cursor:pointer!important;
  }
  .bb-board-scroll-range::-moz-range-track{
    height:16px!important;
    background:#e8edf4!important;
    border-radius:999px!important;
    border:1px solid #d7dee9!important;
  }
  .bb-board-scroll-range::-moz-range-thumb{
    width:90px!important;
    height:18px!important;
    border:2px solid #dfe6ee!important;
    border-radius:999px!important;
    background:#64748b!important;
    box-shadow:0 1px 2px rgba(15,23,42,.12)!important;
    cursor:pointer!important;
  }
  .bb-board-slide-left,.bb-board-slide-right,
  .bb-board-scroll-dock .bb-board-slide-left,.bb-board-scroll-dock .bb-board-slide-right{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border:1px solid #d2dbe7!important;
    border-radius:12px!important;
    background:#f8fafc!important;
    color:#475569!important;
    font-size:24px!important;
    line-height:1!important;
    cursor:pointer!important;
    display:grid!important;
    place-items:center!important;
  }
  .bb-board-slide-left:hover,.bb-board-slide-right:hover,
  .bb-board-scroll-dock .bb-board-slide-left:hover,.bb-board-scroll-dock .bb-board-slide-right:hover{
    background:#eef2f7!important;
    color:#334155!important;
    border-color:#bcc8d6!important;
  }
  .bb-content:has(.bb-board-scroll-dock){padding-bottom:88px!important}
}


/* v4.14.90 — Larger top Workspace toolbar controls, still one line */
@media(min-width:901px){
  .bb-workspace-toolbar{
    min-height:42px!important;
    padding:5px 6px!important;
    gap:4px!important;
    grid-template-columns:auto auto minmax(0,1fr)!important;
    overflow-x:hidden!important;
  }
  .bb-workspace-toolbar-left{
    gap:4px!important;
    min-width:0!important;
  }

  .bb-workspace-toolbar .bb-back-workspaces{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    flex:0 0 32px!important;
    font-size:14px!important;
  }

  .bb-workspace-toolbar .bb-btn-compact,
  .bb-workspace-toolbar .bb-add-area-top,
  .bb-workspace-toolbar .bb-workarea-store-btn{
    height:32px!important;
    min-height:32px!important;
    padding:0 9px!important;
    font-size:9.5px!important;
    border-radius:7px!important;
    white-space:nowrap!important;
  }

  .bb-workspace-toolbar .bb-workspace-view-picker{
    height:32px!important;
    min-height:32px!important;
  }
  .bb-workspace-toolbar .bb-workspace-view-picker select{
    height:32px!important;
    min-height:32px!important;
    padding:0 23px 0 9px!important;
    font-size:9.5px!important;
    border-radius:7px!important;
  }

  .bb-workspace-toolbar .bb-overdue-filter-chip,
  .bb-workspace-toolbar .bb-completed-filter-chip,
  .bb-workspace-toolbar .bb-kpi-chip{
    height:32px!important;
    min-height:32px!important;
    padding:0 8px!important;
    font-size:9.5px!important;
    border-radius:7px!important;
    gap:5px!important;
  }
  .bb-workspace-toolbar .bb-kpi-chip b{
    font-size:13px!important;
  }

  .bb-workspace-toolbar .bb-compact-filters,
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-compact-filters,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-compact-filters{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(74px,1fr)) 32px 32px!important;
    gap:4px!important;
    align-items:center!important;
  }

  .bb-workspace-toolbar .bb-multi-filter,
  .bb-workspace-toolbar .bb-filter-field-compact{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:32px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter>summary,
  .bb-workspace-toolbar .bb-filter-field-compact .bb-select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:32px!important;
    min-height:32px!important;
    padding:0 22px 0 8px!important;
    font-size:9.5px!important;
    border-radius:7px!important;
    line-height:30px!important;
  }
  .bb-workspace-toolbar .bb-multi-filter>summary:after{
    right:7px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    line-height:1!important;
    font-size:11px!important;
  }

  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn,
  .bb-workspace-toolbar .bb-clear-filters,
  .bb-workspace-toolbar .bb-export-visible{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    flex:0 0 32px!important;
    padding:0!important;
    border-radius:7px!important;
  }
  .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn svg,
  .bb-workspace-toolbar .bb-export-visible svg{
    width:16px!important;
    height:16px!important;
  }

  /* Sidebar visible: preserve one row by keeping only widths slightly tighter. */
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar{
    gap:3px!important;
    padding-left:5px!important;
    padding-right:5px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar-left{gap:3px!important}
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-btn-compact,
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-add-area-top,
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-workarea-store-btn{
    padding-left:7px!important;
    padding-right:7px!important;
    font-size:9px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-compact-filters{
    grid-template-columns:repeat(5,minmax(64px,1fr)) 30px 30px!important;
    gap:3px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-compact-filters>.bb-icon-btn,
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-clear-filters,
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-export-visible{
    width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;flex-basis:30px!important;
  }

  /* Sidebar hidden: take advantage of full width while keeping the whole toolbar in one view. */
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-compact-filters{
    grid-template-columns:repeat(5,minmax(90px,1fr)) 32px 32px!important;
  }
}


/* v4.14.91 — Equal spacing and clear full-width Workspace toolbar controls */
@media(min-width:901px){
  .bb-workspace-toolbar{
    grid-template-columns:auto auto minmax(0,1fr)!important;
    column-gap:4px!important;
    row-gap:0!important;
  }

  .bb-workspace-toolbar-left,
  .bb-workspace-toolbar .bb-compact-kpis{
    gap:4px!important;
  }

  .bb-workspace-toolbar .bb-compact-filters,
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar .bb-compact-filters,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar .bb-compact-filters{
    display:flex!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    overflow:visible!important;
  }

  .bb-workspace-toolbar .bb-compact-filters > .bb-multi-filter,
  .bb-workspace-toolbar .bb-compact-filters > .bb-filter-field-compact{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    justify-self:stretch!important;
  }

  .bb-workspace-toolbar .bb-multi-filter > summary,
  .bb-workspace-toolbar .bb-filter-field-compact .bb-select{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }

  .bb-workspace-toolbar .bb-compact-filters > .bb-icon-btn,
  .bb-workspace-toolbar .bb-clear-filters,
  .bb-workspace-toolbar .bb-export-visible{
    flex:0 0 32px!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
  }

  /* Keep the same visible gap whether the sidebar is open or hidden. */
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar{
    gap:4px!important;
  }
  #bb-app:not(.bb-sidebar-collapsed) .bb-workspace-toolbar-left,
  #bb-app.bb-sidebar-collapsed .bb-workspace-toolbar-left{
    gap:4px!important;
  }
}


/* v4.14.92 — Notification / Before Reminder / After Due in one clean row */
.bb-quick-notify-panel .bb-reminder-top-options,
.bb-task-reminder-editor-panel .bb-reminder-top-options{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:7px!important;
  align-items:stretch!important;
  margin-top:7px!important;
}
.bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row,
.bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row{
  min-width:0!important;
  min-height:52px!important;
  padding:8px!important;
  margin:0!important;
  border:1px solid #d9e1ec!important;
  border-radius:10px!important;
  background:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row input[type=checkbox],
.bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row input[type=checkbox]{
  flex:0 0 auto!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  accent-color:#4f46e5!important;
}
.bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row span,
.bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row span{
  display:block!important;
  min-width:0!important;
  font-size:10px!important;
  font-weight:750!important;
  line-height:1.2!important;
  color:#1f2937!important;
  text-align:left!important;
  white-space:normal!important;
}
.bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row:has(input:checked),
.bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row:has(input:checked){
  border-color:#b8c3ff!important;
  background:#f5f6ff!important;
}
.bb-task-reminder-editor-panel .bb-reminder-info{display:none!important}

/* No repeated BEFORE/AFTER headings or helper taglines below the top row. */
.bb-task-reminder-editor-panel .bb-before-due-section .bb-task-reminder-section-head,
.bb-task-reminder-editor-panel .bb-after-due-section .bb-task-reminder-section-head,
.bb-quick-auto-notify-panel .bb-quick-after-due-head,
.bb-task-reminder-editor-heading .bb-task-reminder-title p{
  display:none!important;
}
.bb-task-reminder-editor-panel .bb-before-due-section,
.bb-task-reminder-editor-panel .bb-after-due-section,
.bb-quick-auto-notify-panel .bb-quick-after-due{
  margin-top:8px!important;
}
.bb-task-reminder-editor-panel .bb-after-due-section{
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.bb-quick-auto-notify-panel .bb-quick-after-due{
  padding-top:0!important;
  border-top:0!important;
}

/* The three choices remain on one line even in narrow task columns. */
@media(max-width:600px){
  .bb-quick-notify-panel .bb-reminder-top-options,
  .bb-task-reminder-editor-panel .bb-reminder-top-options{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
  }
  .bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row,
  .bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row{
    min-height:48px!important;
    padding:6px 4px!important;
    gap:4px!important;
  }
  .bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row input[type=checkbox],
  .bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row input[type=checkbox]{
    width:16px!important;
    height:16px!important;
  }
  .bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row span,
  .bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row span{
    font-size:8.5px!important;
  }
}


/* v4.14.93 — Clear reminder choices: label on top, checkbox below, no wrapping */
.bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row,
.bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row{
  min-height:58px!important;
  padding:7px 5px!important;
  display:flex!important;
  flex-direction:column-reverse!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
}
.bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row span,
.bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row span{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  font-size:9px!important;
  font-weight:750!important;
  line-height:1.1!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row input[type=checkbox],
.bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row input[type=checkbox]{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  flex:0 0 18px!important;
  margin:0!important;
}
@media(max-width:600px){
  .bb-quick-notify-panel .bb-reminder-top-options,
  .bb-task-reminder-editor-panel .bb-reminder-top-options{
    gap:4px!important;
  }
  .bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row,
  .bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row{
    min-height:56px!important;
    padding:6px 2px!important;
    gap:5px!important;
  }
  .bb-quick-notify-panel .bb-reminder-top-options .bb-quick-notify-row span,
  .bb-task-reminder-editor-panel .bb-reminder-top-options .bb-quick-notify-row span{
    font-size:8px!important;
    white-space:nowrap!important;
  }
}


/* v4.14.95 — Focus summary cleanup */
.bb-focus-summary{display:grid;grid-template-columns:auto minmax(220px,1fr) auto!important;align-items:center;gap:12px}
.bb-focus-summary .bb-focus-search{width:100%;max-width:420px;justify-self:start}
.bb-focus-summary .bb-focus-search input{width:100%}
@media(max-width:900px){
  .bb-focus-summary{grid-template-columns:1fr!important}
  .bb-focus-summary .bb-focus-search{max-width:none}
}


/* v4.14.98 — Single-step inline Task creation */
@media(min-width:901px){
  .bb-workarea-column.bb-quick-create-open{width:620px!important;min-width:620px!important;max-width:620px!important;transition:width .18s ease,min-width .18s ease,max-width .18s ease}
}
.bb-quick-create-form{margin:10px!important;padding:12px!important;border:1px solid #dbe3ee!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.08)!important;display:block!important}
.bb-quick-create-field{min-width:0}.bb-quick-create-field>label,.bb-quick-notes-section>label{display:block;margin:0 0 5px;font-size:10px;font-weight:800;color:#23324a}
.bb-quick-task-field{margin-bottom:10px}.bb-quick-task-field textarea{width:100%;min-height:44px!important;max-height:110px;border:1px solid #cfd8e6;border-radius:9px;padding:10px 11px;font-size:12px;line-height:1.35;resize:none;box-sizing:border-box}.bb-quick-task-field em{color:#e11d48;font-style:normal}
.bb-quick-create-grid{display:grid;gap:8px;margin-bottom:10px;align-items:end}.bb-quick-people-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 78px}.bb-quick-schedule-grid{grid-template-columns:1.05fr .85fr 1fr 1fr}.bb-quick-meta-grid{grid-template-columns:1fr 1fr}
.bb-quick-create-field input,.bb-quick-create-field select,.bb-quick-create-people>summary{width:100%;height:36px;min-width:0;box-sizing:border-box;border:1px solid #cfd8e6;border-radius:8px;background:#fff;padding:0 9px;font-size:10px;color:#182335}
.bb-quick-create-people{position:relative}.bb-quick-create-people>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none}.bb-quick-create-people>summary::-webkit-details-marker{display:none}
.bb-quick-create-people .bb-quick-people-list{position:absolute;top:40px;left:0;right:0;z-index:80;min-width:220px;max-height:260px;overflow:auto;background:#fff;border:1px solid #d6deea;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.18);padding:7px}
.bb-quick-notify-field{align-self:end}.bb-quick-notify-inline{height:36px!important;border:1px solid #cfd8e6;border-radius:8px;background:#fff;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;margin:0!important;padding:0 7px!important;box-sizing:border-box}.bb-quick-notify-inline input{width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important}.bb-quick-notify-inline span{font-size:9px;font-weight:750;white-space:nowrap}.bb-quick-notify-inline:has(input:disabled){opacity:.45;background:#f8fafc}
.bb-quick-reminder-details{margin:-2px 0 10px;padding:9px;border:1px solid #e1e7ef;border-radius:10px;background:#fafcff}.bb-quick-before-details{display:flex;flex-direction:column;gap:7px}.bb-quick-reminder-list{display:flex;flex-direction:column;gap:6px}.bb-quick-add-reminder,.bb-quick-add-subtask-row{border:1px dashed #a8b8d0;background:#f8fbff;color:#315ea8;border-radius:8px;min-height:32px;font-size:10px;font-weight:750;cursor:pointer}
.bb-quick-subtasks-section{margin:12px 0 10px;padding:10px;border:1px solid #dbe5f2;border-radius:11px;background:#f7fbff}.bb-quick-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;color:#1d3557;font-size:11px}.bb-quick-subtask-list{display:flex;flex-direction:column;gap:6px;margin-bottom:7px}.bb-quick-subtask-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:6px;align-items:center}.bb-quick-subtask-row input{height:34px;border:1px solid #cfd8e6;border-radius:8px;padding:0 9px;font-size:10px;min-width:0;background:#fff}.bb-quick-remove-subtask-row{width:34px;height:34px;border:1px solid #fecaca;border-radius:8px;background:#fff5f5;color:#dc2626;cursor:pointer}.bb-quick-add-subtask-row{width:100%}
.bb-quick-notes-section{margin-bottom:10px}.bb-quick-notes-section textarea{width:100%;min-height:90px;box-sizing:border-box;border:1px solid #cfd8e6;border-radius:9px;padding:9px 10px;font-size:10px;resize:vertical}
.bb-quick-create-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid #e7ecf3}.bb-quick-create-actions .bb-btn{min-height:36px;padding:0 14px}
.bb-quick-task-name-validation{margin-top:4px!important}.bb-quick-task-name-validation .bb-task-name-counter{margin-left:auto}
@media(max-width:900px){.bb-quick-create-form{margin:8px!important;padding:10px!important}.bb-quick-people-grid{grid-template-columns:1fr 1fr}.bb-quick-notify-field{grid-column:1/-1}.bb-quick-notify-inline{justify-content:flex-start!important}.bb-quick-schedule-grid{grid-template-columns:1fr 1fr}.bb-quick-meta-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.bb-quick-people-grid,.bb-quick-schedule-grid,.bb-quick-meta-grid{grid-template-columns:1fr}.bb-quick-notify-field{grid-column:auto}}


/* v4.14.99 — Add Task opens as a dedicated modal; board width never changes */
.bb-workarea-column.bb-quick-create-open{width:var(--bb-workarea-width,330px)!important;min-width:var(--bb-workarea-width,330px)!important;max-width:var(--bb-workarea-width,330px)!important}
.bb-modal:has(.bb-quick-create-modal-shell){align-items:center!important;padding:22px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-modal-card{width:min(940px,96vw)!important;max-height:92vh!important;overflow:auto!important;border-radius:18px!important}
.bb-quick-create-modal-shell{padding:22px 22px 18px;background:#fff}
.bb-quick-create-modal-head{padding:0 42px 14px 0;border-bottom:1px solid #e7ecf3;margin-bottom:12px}
.bb-quick-create-modal-head h2{margin:0 0 3px;font-size:22px;color:#152033}
.bb-quick-create-modal-head p{margin:0;font-size:11px;color:#7b879b;font-weight:650}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-form{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-task-field textarea{min-height:58px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-field>label,
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-notes-section>label{font-size:11px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-field input,
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-field select,
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-people>summary{height:40px!important;font-size:11px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-notify-inline{height:40px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-subtask-row input{height:38px!important;font-size:11px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-remove-subtask-row{height:38px!important;width:38px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-subtask-row{grid-template-columns:minmax(0,1fr) 38px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-notes-section textarea{min-height:110px!important;font-size:11px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-actions{position:sticky;bottom:-18px;background:#fff;padding:12px 0 2px;z-index:5}
@media(max-width:900px){
  .bb-modal:has(.bb-quick-create-modal-shell){align-items:flex-end!important;padding:0!important}
  .bb-modal:has(.bb-quick-create-modal-shell) .bb-modal-card{width:100%!important;max-height:96vh!important;border-radius:18px 18px 0 0!important}
  .bb-quick-create-modal-shell{padding:18px 14px 14px!important}
}


/* v4.15.00 — Fix Add Task Owner / Assignee dropdown values inside modal */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-people{
  position:relative!important;
  overflow:visible!important;
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-people[open]{z-index:120!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-people .bb-quick-people-list{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  min-width:0!important;
  max-height:230px!important;
  margin-top:6px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#fff!important;
  border:1px solid #cfd8e6!important;
  border-radius:10px!important;
  box-shadow:0 8px 18px rgba(15,23,42,.10)!important;
  padding:7px!important;
  box-sizing:border-box!important;
  z-index:121!important;
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-people-search-wrap{
  position:sticky!important;top:0!important;z-index:2!important;background:#fff!important;padding-bottom:6px!important
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-people-search-wrap input{
  width:100%!important;height:34px!important;box-sizing:border-box!important
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-person{
  display:flex!important;align-items:center!important;gap:8px!important;min-height:34px!important;padding:5px 6px!important;border-radius:7px!important;cursor:pointer!important
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-person:hover{background:#f5f8fc!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-person input[type=checkbox]{
  width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-person span{
  font-size:11px!important;color:#1f2937!important;line-height:1.25!important
}


/* v4.15.01 — Add Task modal dropdown consistency */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-dropdown{position:relative!important;width:100%!important;overflow:visible!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-dropdown>summary{width:100%!important;height:36px!important;box-sizing:border-box!important;border:1px solid #cfd8e6!important;border-radius:8px!important;background:#fff!important;padding:0 9px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;cursor:pointer!important;list-style:none!important;font-size:10px!important;color:#182335!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-dropdown>summary::-webkit-details-marker{display:none!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-dropdown[open]{z-index:125!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-menu{position:relative!important;width:100%!important;box-sizing:border-box!important;margin-top:6px!important;padding:7px!important;max-height:260px!important;overflow-y:auto!important;background:#fff!important;border:1px solid #cfd8e6!important;border-radius:10px!important;box-shadow:0 8px 18px rgba(15,23,42,.10)!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-search-wrap{position:sticky!important;top:0!important;z-index:2!important;background:#fff!important;display:flex!important;align-items:center!important;gap:6px!important;padding-bottom:6px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-search-wrap input,.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-new-row input{height:34px!important;flex:1 1 auto!important;min-width:0!important;border:1px solid #d7dfeb!important;border-radius:7px!important;padding:0 8px!important;box-sizing:border-box!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-options{display:flex!important;flex-direction:column!important;gap:2px!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-option{display:flex!important;align-items:center!important;gap:8px!important;min-height:32px!important;padding:4px 6px!important;border-radius:7px!important;cursor:pointer!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-option:hover{background:#f5f8fc!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-option input{width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-new-row{display:flex!important;align-items:center!important;gap:6px!important;margin-top:7px!important;padding-top:7px!important;border-top:1px solid #edf1f6!important}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-label-add-btn{height:34px!important;white-space:nowrap!important;border:1px solid #bcd0ee!important;border-radius:7px!important;background:#f7faff!important;color:#245ca6!important;font-weight:750!important;padding:0 10px!important;cursor:pointer!important}
.bb-modal:has(.bb-quick-create-modal-shell) select[name=quick_reminder_mode]:disabled{background:#f8fafc!important;color:#94a3b8!important;cursor:not-allowed!important}


/* v4.15.05 — Reminder disabled-state clarity */
.bb-quick-create-form [name=quick_reminder_mode]:disabled{
  background:#f3f5f8!important;color:#9aa4b2!important;cursor:not-allowed!important;opacity:.75!important
}

/* v4.15.03 — Compact Add Task Actions */
.bb-quick-actions-section{margin:9px 0 10px;padding:9px;border:1px solid #e1e7ef;border-radius:10px;background:#fbfcfe}
.bb-quick-actions-title{margin-bottom:7px;font-size:10px;font-weight:800;color:#23324a}
.bb-quick-create-actions-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.bb-quick-create-action{min-height:38px;border:1px solid #cfd8e6;border-radius:9px;background:#fff;color:#334155;display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;font-size:10px;font-weight:750;cursor:pointer;white-space:nowrap}
.bb-quick-create-action:hover{background:#f4f8fd;border-color:#aac1dc}.bb-quick-create-action.is-open{background:#eef6ff;border-color:#7fa8d8;color:#234f84}.bb-quick-create-action.has-value{border-color:#9eb8d6;background:#f7fbff}
.bb-quick-action-state{display:inline-flex;align-items:center;justify-content:center;min-width:17px;max-width:70px;height:17px;padding:0 5px;border-radius:999px;background:#e8f0fb;color:#315f92;font-size:8px;font-weight:800;overflow:hidden;text-overflow:ellipsis}
.bb-quick-action-state:empty{display:none}
.bb-quick-action-panels{margin:0 0 10px}.bb-quick-action-panel{padding:10px;border:1px solid #dfe6ef;border-radius:10px;background:#fff;margin-bottom:7px}.bb-quick-action-panel[hidden]{display:none!important}
.bb-quick-action-panel .bb-quick-subtasks-section{margin:0;padding:0;border:0;background:transparent}.bb-quick-action-panel .bb-quick-notes-section{margin:0}.bb-quick-action-panel .bb-quick-create-field>label,.bb-quick-action-panel .bb-quick-notes-section>label{font-size:10px;font-weight:800;color:#23324a}
@media(max-width:620px){.bb-quick-create-actions-row{grid-template-columns:1fr 1fr}.bb-quick-create-action{justify-content:flex-start}}


/* v4.15.04 — Populated Add Task actions remain open */
.bb-quick-create-action.has-value.is-open{background:#eef6ff!important;border-color:#8fb2de!important}


/* v4.15.06 — Clear Before/After reminder choices, especially on mobile */
.bb-quick-reminder-choice{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  width:100%;
}
.bb-quick-reminder-choice-item{
  min-height:40px;
  border:1px solid #ccd7e6;
  border-radius:9px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:7px 8px;
  cursor:pointer;
  font-weight:750;
  box-sizing:border-box;
  user-select:none;
}
.bb-quick-reminder-choice-item input{
  width:16px!important;
  height:16px!important;
  margin:0!important;
  flex:0 0 16px;
}
.bb-quick-reminder-choice-item:has(input:checked){
  border-color:#3b82f6;
  background:#eff6ff;
  color:#1d4ed8;
}
.bb-quick-reminder-choice.is-disabled .bb-quick-reminder-choice-item{
  background:#f3f5f8;
  color:#9aa4b2;
  cursor:not-allowed;
  opacity:.72;
}
.bb-quick-reminder-choice-item span{
  white-space:nowrap;
}
@media(max-width:520px){
  .bb-quick-reminder-field{grid-column:1/-1}
  .bb-quick-reminder-choice{grid-template-columns:1fr 1fr}
  .bb-quick-reminder-choice-item{min-height:44px;font-size:14px}
}


/* v4.15.07 — Reminder mockup implementation */
.bb-quick-reminder-details{
  margin:8px 0 10px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.bb-quick-reminder-card{
  padding:12px!important;
  border-radius:12px!important;
  box-sizing:border-box;
}
.bb-quick-reminder-card-before{
  border:1px solid #c9ddf7!important;
  background:#f3f8ff!important;
}
.bb-quick-reminder-card-after{
  border:1px solid #cdebd9!important;
  background:#f3fbf6!important;
}
.bb-quick-reminder-card-head{
  display:flex;
  flex-direction:column;
  gap:2px;
  margin-bottom:9px;
}
.bb-quick-reminder-card-head strong{
  font-size:11px;
  color:#17233b;
}
.bb-quick-reminder-card-head small{
  font-size:9px;
  color:#718096;
  font-weight:550;
}
.bb-quick-reminder-list{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  max-width:440px;
}
.bb-quick-task-card .bb-quick-reminder-row{
  display:grid!important;
  grid-template-columns:105px minmax(120px,170px) 34px!important;
  gap:7px!important;
  align-items:center!important;
}
.bb-quick-task-card .bb-quick-reminder-row input,
.bb-quick-task-card .bb-quick-reminder-row select{
  height:36px!important;
  min-height:36px!important;
  border:1px solid #c9d5e5!important;
  border-radius:8px!important;
  background:#fff!important;
  font-size:10px!important;
  padding:5px 8px!important;
  box-sizing:border-box!important;
}
.bb-quick-task-card .bb-quick-remove-reminder{
  width:34px!important;
  height:34px!important;
  border:0!important;
  background:transparent!important;
  font-size:14px!important;
}
.bb-quick-add-reminder{
  align-self:flex-start;
  width:auto!important;
  min-width:120px!important;
  margin-top:8px!important;
  padding:6px 12px!important;
  border:1px dashed #78a8ed!important;
  background:#fff!important;
  color:#2563c7!important;
  border-radius:8px!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-quick-after-grid{
  display:grid!important;
  grid-template-columns:minmax(190px,1fr) minmax(155px,.72fr) minmax(130px,.62fr)!important;
  gap:12px!important;
  align-items:end!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-field label{
  display:block!important;
  margin-bottom:5px!important;
  font-size:9px!important;
  font-weight:750!important;
  color:#344258!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-after-due-inline{
  display:grid!important;
  grid-template-columns:80px minmax(105px,1fr)!important;
  gap:7px!important;
}
.bb-quick-task-card .bb-quick-after-controls input,
.bb-quick-task-card .bb-quick-after-controls select{
  height:36px!important;
  min-height:36px!important;
  border:1px solid #c9d5e5!important;
  border-radius:8px!important;
  background:#fff!important;
  font-size:10px!important;
  padding:5px 8px!important;
  box-sizing:border-box!important;
}
.bb-quick-task-card .bb-quick-after-controls .bb-field small{
  display:block;
  margin-top:3px;
  font-size:8px;
  color:#7b8798;
}
.bb-quick-task-card .bb-after-due-summary{
  margin-top:8px!important;
  padding:7px 9px!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.75)!important;
  font-size:8px!important;
}
@media(max-width:700px){
  .bb-quick-task-card .bb-quick-reminder-row{
    grid-template-columns:72px minmax(0,1fr) 32px!important;
  }
  .bb-quick-task-card .bb-quick-after-controls .bb-quick-after-grid{
    grid-template-columns:1fr!important;
  }
  .bb-quick-task-card .bb-quick-after-controls .bb-after-due-inline{
    grid-template-columns:82px minmax(0,1fr)!important;
  }
}


/* v4.15.08 — Reminder on its own row */
.bb-quick-task-card .bb-quick-schedule-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.bb-quick-reminder-rowline{
  margin-top:8px!important;
  width:100%!important;
}
.bb-quick-reminder-rowline>label{
  display:block!important;
  margin-bottom:6px!important;
}
.bb-quick-reminder-rowline .bb-quick-reminder-choice{
  display:flex!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  width:auto!important;
}
.bb-quick-reminder-rowline .bb-quick-reminder-choice-item{
  width:auto!important;
  min-width:130px!important;
  justify-content:flex-start!important;
  padding:7px 10px!important;
}
@media(max-width:700px){
  .bb-quick-task-card .bb-quick-schedule-grid{
    grid-template-columns:1fr!important;
  }
  .bb-quick-reminder-rowline .bb-quick-reminder-choice{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
  }
  .bb-quick-reminder-rowline .bb-quick-reminder-choice-item{
    min-width:0!important;
    width:100%!important;
    justify-content:center!important;
  }
}


/* v4.15.09 — Google Calendar-style reminder rules */
.bb-quick-reminder-rowline{margin-top:8px!important}
.bb-calendar-reminder-list{display:flex;flex-direction:column;gap:7px;margin-bottom:7px}
.bb-calendar-reminder-row{
  display:grid;
  grid-template-columns:90px 150px 155px 36px;
  gap:7px;
  align-items:center;
  max-width:470px;
}
.bb-calendar-reminder-row input,
.bb-calendar-reminder-row select{
  height:36px!important;min-height:36px!important;border:1px solid #c9d5e5!important;border-radius:8px!important;
  background:#fff!important;padding:5px 8px!important;box-sizing:border-box!important;font-size:10px!important;
}
.bb-calendar-remove-reminder{
  width:34px;height:34px;border:0;background:transparent;cursor:pointer;font-size:14px;
}
.bb-calendar-add-reminder{
  width:auto!important;min-width:118px!important;height:35px!important;padding:6px 11px!important;
  border:1px dashed #77a6e7!important;border-radius:8px!important;background:#fff!important;color:#245eb2!important;font-weight:750!important;
}
.bb-calendar-add-reminder:disabled{opacity:.45!important;cursor:not-allowed!important}
.bb-calendar-after-repeat{
  margin-top:9px;padding:9px 10px;border:1px solid #dce6f2;border-radius:9px;background:#f8fbff;
}
.bb-calendar-repeat-check{display:inline-flex!important;align-items:center!important;gap:7px!important;font-weight:750!important;font-size:10px!important}
.bb-calendar-repeat-check input{width:16px!important;height:16px!important;margin:0!important}
.bb-calendar-repeat-controls{
  margin-top:8px;display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:9px;color:#58667a
}
.bb-calendar-repeat-controls[hidden]{display:none!important}
.bb-calendar-repeat-controls input{width:72px!important}
.bb-calendar-repeat-controls input,
.bb-calendar-repeat-controls select{
  height:34px!important;min-height:34px!important;border:1px solid #c9d5e5!important;border-radius:8px!important;background:#fff!important;padding:4px 7px!important;font-size:9px!important;
}
@media(max-width:700px){
  .bb-calendar-reminder-row{grid-template-columns:68px minmax(90px,1fr) minmax(105px,1fr) 32px;max-width:none}
  .bb-calendar-reminder-row input,.bb-calendar-reminder-row select{font-size:9px!important}
  .bb-calendar-repeat-controls{align-items:stretch}
}


/* v4.15.10 — Add Task modal scrolling + repeat-after-due overlap fix */

/* One deliberate vertical scrollbar on the right of the Add Task modal. */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-modal-card{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}

/* Do not float the footer over Reminder/Actions content. */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-actions{
  position:static!important;
  bottom:auto!important;
  z-index:auto!important;
  margin-top:12px!important;
  padding:12px 0 2px!important;
  background:#fff!important;
}

/* Keep the repeat-after-due editor as one compact contained row. */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-after-repeat{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}

.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-repeat-controls{
  display:grid!important;
  grid-template-columns:auto 76px minmax(110px,150px) auto minmax(150px,210px)!important;
  align-items:center!important;
  justify-content:start!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-repeat-controls input{
  width:76px!important;
  min-width:0!important;
}

.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-repeat-controls select{
  width:100%!important;
  min-width:0!important;
  max-width:210px!important;
}

.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-repeat-controls span{
  white-space:nowrap!important;
}

/* Make every Reminder row respect the modal width. */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-reminder-row{
  width:min(100%,470px)!important;
  min-width:0!important;
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-reminder-row>*{
  min-width:0!important;
}

/* Visible but unobtrusive scrollbar. */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-modal-card{
  scrollbar-width:thin;
  scrollbar-color:#aab4c3 transparent;
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-modal-card::-webkit-scrollbar{
  width:8px;
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-modal-card::-webkit-scrollbar-track{
  background:transparent;
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-modal-card::-webkit-scrollbar-thumb{
  background:#aab4c3;
  border-radius:10px;
  border:2px solid transparent;
  background-clip:content-box;
}

@media(max-width:700px){
  .bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-repeat-controls{
    grid-template-columns:auto 68px minmax(90px,1fr)!important;
  }
  .bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-repeat-controls span:nth-of-type(2){
    grid-column:1;
  }
  .bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-repeat-controls select[name=after_due_duration_days]{
    grid-column:2/4;
    max-width:none!important;
  }
  .bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-create-actions{
    padding-bottom:10px!important;
  }
}


/* v4.15.11 — Repeat After Due independent of individual After Due rules */
.bb-calendar-after-repeat{
  margin-top:10px!important;
}
.bb-calendar-after-repeat[hidden]{
  display:none!important;
}
.bb-calendar-repeat-controls select:disabled,
.bb-calendar-repeat-controls input:disabled{
  opacity:.55!important;
  cursor:not-allowed!important;
}


/* v4.15.12 — Repeat After Due send-window controls */
.bb-calendar-repeat-window{
  margin-top:10px;
  padding-top:9px;
  border-top:1px solid #e2e8f0;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.bb-calendar-repeat-window[hidden]{display:none!important}
.bb-calendar-repeat-window .bb-calendar-window-label{
  font-size:9px;
  font-weight:800;
  color:#344258;
}
.bb-calendar-repeat-window label{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  font-size:9px!important;
  font-weight:650!important;
  cursor:pointer;
}
.bb-calendar-repeat-window input[type=radio]{
  width:15px!important;
  height:15px!important;
  margin:0!important;
}
.bb-calendar-custom-hours{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.bb-calendar-custom-hours[hidden]{display:none!important}
.bb-calendar-custom-hours input[type=time]{
  height:32px!important;
  min-height:32px!important;
  width:110px!important;
  border:1px solid #c9d5e5!important;
  border-radius:8px!important;
  background:#fff!important;
  padding:4px 7px!important;
  font-size:9px!important;
}
@media(max-width:700px){
  .bb-calendar-repeat-window{
    align-items:flex-start;
    gap:9px;
  }
  .bb-calendar-custom-hours{
    width:100%;
  }
}


/* v4.15.14 — Dashboard + opens direct Work Area task flow */
.bb-dashboard-direct-task{
  width:min(620px,92vw)!important;
}
.bb-dashboard-task-context-grid,
.bb-dashboard-quick-context{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:8px 0 12px;
}
.bb-dashboard-direct-task-note{
  padding:10px 12px;
  border:1px dashed #cbd5e1;
  border-radius:9px;
  background:#f8fafc;
  color:#64748b;
  font-size:10px;
}
.bb-dashboard-quick-context{
  padding:10px;
  border:1px solid #dbe5f0;
  border-radius:10px;
  background:#f8fbff;
}
.bb-dashboard-quick-context select{
  width:100%!important;
}
@media(max-width:700px){
  .bb-dashboard-task-context-grid,
  .bb-dashboard-quick-context{
    grid-template-columns:1fr;
  }
}


/* v4.15.15 — Dashboard + opens the complete task form immediately */
.bb-dashboard-quick-context{
  margin-top:0!important;
}
.bb-dashboard-quick-context select{
  min-height:40px!important;
}


/* v4.15.16 — Dashboard Add Note opens full Note form immediately */
.bb-dashboard-note-context{
  padding:10px;
  margin:0 0 12px;
  border:1px solid #dbe5f0;
  border-radius:10px;
  background:#f8fbff;
}
.bb-dashboard-note-context .bb-field{
  margin:0!important;
}
.bb-dashboard-note-context select{
  width:100%!important;
  min-height:40px!important;
}
.bb-dashboard-note-date-slot:empty{
  display:none;
}


/* v4.15.17 — Searchable Dashboard Note Area dropdown */
.bb-dashboard-note-area-picker{
  position:relative;
  width:100%;
}
.bb-dashboard-note-area-picker>summary{
  list-style:none;
  min-height:40px;
  border:1px solid #cbd7e6;
  border-radius:8px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  cursor:pointer;
  box-sizing:border-box;
}
.bb-dashboard-note-area-picker>summary::-webkit-details-marker{display:none}
.bb-dashboard-note-area-menu{
  position:absolute;
  z-index:220;
  left:0;
  right:0;
  top:calc(100% + 5px);
  border:1px solid #cbd7e6;
  border-radius:9px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.14);
  padding:7px;
  max-height:300px;
  overflow:auto;
}
.bb-dashboard-note-area-search-wrap{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
  background:#fff;
  padding-bottom:7px;
}
.bb-dashboard-note-area-search{
  width:100%!important;
  min-height:36px!important;
  border:1px solid #cbd7e6!important;
  border-radius:8px!important;
  padding:6px 9px!important;
  box-sizing:border-box!important;
}
.bb-dashboard-note-area-options{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.bb-dashboard-note-area-option{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  padding:8px 9px;
  border-radius:7px;
  cursor:pointer;
  font-size:10px;
  color:#17233b;
}
.bb-dashboard-note-area-option:hover{
  background:#f1f6fc;
}
.bb-dashboard-note-area-empty{
  padding:10px;
  text-align:center;
  color:#7b8798;
  font-size:9px;
}



/* v4.15.21 — Searchable Dashboard Task Area dropdown */
.bb-dashboard-task-area-picker{
  position:relative;
  width:100%;
}
.bb-dashboard-task-area-picker>summary{
  list-style:none;
  min-height:40px;
  border:1px solid #cbd7e6;
  border-radius:8px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  cursor:pointer;
  box-sizing:border-box;
}
.bb-dashboard-task-area-picker>summary::-webkit-details-marker{display:none}
.bb-dashboard-task-area-menu{
  position:absolute;
  z-index:220;
  left:0;
  right:0;
  top:calc(100% + 5px);
  border:1px solid #cbd7e6;
  border-radius:9px;
  background:#fff;
  box-shadow:0 10px 26px rgba(15,23,42,.14);
  padding:7px;
  max-height:300px;
  overflow:auto;
}
.bb-dashboard-task-area-search-wrap{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
  background:#fff;
  padding-bottom:7px;
}
.bb-dashboard-task-area-search{
  width:100%!important;
  min-height:36px!important;
  border:1px solid #cbd7e6!important;
  border-radius:8px!important;
  padding:6px 9px!important;
  box-sizing:border-box!important;
}
.bb-dashboard-task-area-options{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.bb-dashboard-task-area-option{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  padding:8px 9px;
  border-radius:7px;
  cursor:pointer;
  font-size:10px;
  color:#17233b;
}
.bb-dashboard-task-area-option:hover{
  background:#f1f6fc;
}
.bb-dashboard-task-area-empty{
  padding:10px;
  text-align:center;
  color:#7b8798;
  font-size:9px;
}

/* v4.15.18 — Dashboard quick actions vertically stacked at bottom-right */
.bb-dashboard-quick-actions{
  position:fixed!important;
  right:20px!important;
  bottom:20px!important;
  top:auto!important;
  left:auto!important;
  z-index:120!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:7px!important;
  padding:7px!important;
  border:1px solid #dfe5ef!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.16)!important;
  backdrop-filter:blur(8px)!important;
}
.bb-dashboard-quick-btn{
  display:grid!important;
  flex:0 0 auto!important;
}
@media(max-width:700px){
  .bb-dashboard-quick-actions{
    right:12px!important;
    bottom:14px!important;
    gap:5px!important;
    padding:6px!important;
    border-radius:14px!important;
  }
}


/* v4.15.19 — Quick actions visible on every Workboard view */
.bb-global-quick-actions{
  display:flex!important;
  position:fixed!important;
  right:20px!important;
  bottom:20px!important;
  z-index:120!important;
}
.bb-modal-open .bb-global-quick-actions,
body:has(.bb-modal.is-open) .bb-global-quick-actions{
  z-index:20!important;
}
@media(max-width:700px){
  .bb-global-quick-actions{
    right:12px!important;
    bottom:14px!important;
  }
}


/* v4.15.22 — Reopen permission */
.bb-task-completed-static{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:5px;
  background:#16a34a;
  color:#fff;
  font-size:12px;
  font-weight:900;
  line-height:1;
  flex:0 0 18px;
}


/* v4.15.23 — Hide visible scrollbars on mobile while keeping scroll/swipe working */
@media (max-width: 900px){
  html,
  body,
  #bb-app,
  #bb-content,
  .bb-main,
  .bb-workspace-view,
  .bb-workspace-board,
  .bb-board,
  .bb-columns,
  .bb-workarea-scroll,
  .bb-workspace-horizontal-scroll,
  .bb-workspace-scroll-dock,
  .bb-notespace-horizontal-scroll,
  .bb-notespace-scroll-dock,
  .bb-modal-card{
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  #bb-app::-webkit-scrollbar,
  #bb-content::-webkit-scrollbar,
  .bb-main::-webkit-scrollbar,
  .bb-workspace-view::-webkit-scrollbar,
  .bb-workspace-board::-webkit-scrollbar,
  .bb-board::-webkit-scrollbar,
  .bb-columns::-webkit-scrollbar,
  .bb-workarea-scroll::-webkit-scrollbar,
  .bb-workspace-horizontal-scroll::-webkit-scrollbar,
  .bb-workspace-scroll-dock::-webkit-scrollbar,
  .bb-notespace-horizontal-scroll::-webkit-scrollbar,
  .bb-notespace-scroll-dock::-webkit-scrollbar,
  .bb-modal-card::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
    background:transparent!important;
  }

  .bb-workspace-scroll-dock,
  .bb-notespace-scroll-dock{
    display:none!important;
  }
}


/* v4.15.26 — Remove the visible bottom scrollbar line/dock on mobile */
@media (max-width:900px){
  .bb-board-scroll-dock,
  .bb-notes-scroll-dock,
  .bb-math-scroll-dock{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    box-shadow:none!important;
    pointer-events:none!important;
  }

  #bb-content:has(.bb-board-scroll-dock),
  #bb-content:has(.bb-notes-scroll-dock),
  #bb-content:has(.bb-math-scroll-dock){
    padding-bottom:12px!important;
  }

  .bb-board-scroll{
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  .bb-board-scroll::-webkit-scrollbar{
    width:0!important;
    height:0!important;
    display:none!important;
  }
}


/* v4.15.27 — Attendance Supervisor */
.bb-attendance-supervisor-toggle{
  margin-top:8px!important;
  border-top:1px solid #e6ebf2;
  padding-top:8px!important;
}


/* v4.15.28 — Supervisor Employee searchable multi-select */
.bb-supervisor-employee-wrap{margin-top:10px}
.bb-supervisor-employee-wrap>label{display:block;margin-bottom:5px;font-size:10px;font-weight:700}
.bb-supervisor-employee-dropdown{position:relative;width:100%}
.bb-supervisor-employee-dropdown>summary{
  list-style:none;min-height:40px;border:1px solid #cbd7e6;border-radius:8px;background:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;cursor:pointer;box-sizing:border-box
}
.bb-supervisor-employee-dropdown>summary::-webkit-details-marker{display:none}
.bb-supervisor-employee-menu{
  position:absolute;z-index:280;left:0;right:0;top:calc(100% + 5px);max-height:280px;overflow:auto;
  border:1px solid #cbd7e6;border-radius:9px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.14);padding:7px
}
.bb-supervisor-employee-search-wrap{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:6px;background:#fff;padding-bottom:7px}
.bb-supervisor-employee-search{width:100%!important;min-height:36px!important;border:1px solid #cbd7e6!important;border-radius:8px!important;padding:6px 9px!important;box-sizing:border-box!important}
.bb-supervisor-employee-options{display:flex;flex-direction:column;gap:2px}
.bb-supervisor-employee-option{display:flex!important;align-items:center!important;gap:8px!important;min-height:34px;padding:6px 8px!important;border-radius:7px;cursor:pointer}
.bb-supervisor-employee-option:hover{background:#f1f6fc}
.bb-supervisor-employee-option input{width:16px!important;height:16px!important;margin:0!important}
.bb-supervisor-employee-no-results,.bb-supervisor-employee-empty{display:block;padding:9px;color:#7b8798;font-size:9px}


/* v4.15.29 — Compact Supervisor employee dropdown spacing */
.bb-supervisor-employee-options{
  gap:0!important;
}
.bb-supervisor-employee-option{
  min-height:28px!important;
  padding:3px 6px!important;
  margin:0!important;
  line-height:1.2!important;
}
.bb-supervisor-employee-option span{
  line-height:1.2!important;
}


/* v4.15.30 — Employee's Supervisor searchable single-select */
.bb-supervisor-person-wrap{margin-top:10px}
.bb-supervisor-person-wrap>label{display:block;margin-bottom:5px;font-size:10px;font-weight:700}
.bb-supervisor-person-dropdown{position:relative;width:100%}
.bb-supervisor-person-dropdown>summary{
  list-style:none;min-height:40px;border:1px solid #cbd7e6;border-radius:8px;background:#fff;
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;cursor:pointer;box-sizing:border-box
}
.bb-supervisor-person-dropdown>summary::-webkit-details-marker{display:none}
.bb-supervisor-person-menu{
  position:absolute;z-index:280;left:0;right:0;top:calc(100% + 5px);max-height:280px;overflow:auto;
  border:1px solid #cbd7e6;border-radius:9px;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.14);padding:7px
}
.bb-supervisor-person-search-wrap{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:6px;background:#fff;padding-bottom:7px}
.bb-supervisor-person-search{width:100%!important;min-height:36px!important;border:1px solid #cbd7e6!important;border-radius:8px!important;padding:6px 9px!important;box-sizing:border-box!important}
.bb-supervisor-person-options{display:flex;flex-direction:column;gap:0}
.bb-supervisor-person-option{
  width:100%;min-height:30px;border:0;background:#fff;text-align:left;padding:5px 7px;border-radius:7px;cursor:pointer;font-size:10px;color:#17233b
}
.bb-supervisor-person-option:hover{background:#f1f6fc}
.bb-supervisor-person-no-results{display:block;padding:9px;color:#7b8798;font-size:9px}

/* v4.15.31 — Labels Master */


/* v4.15.34 — Pending Tasks table view */
.bb-pending-shell{display:flex;flex-direction:column;gap:12px}
.bb-pending-summary{display:flex;gap:8px;flex-wrap:wrap}
.bb-pending-chip{
  min-width:110px;border:1px solid #dbe4ef;border-radius:10px;background:#fff;padding:8px 12px;
  display:flex;align-items:center;gap:7px;cursor:pointer;color:#24324a
}
.bb-pending-chip b{font-size:16px}
.bb-pending-chip span{font-size:10px;font-weight:700}
.bb-pending-chip.active{border-color:#5865f2;background:#eef0ff;color:#3444d9}
.bb-pending-panel{overflow:visible}
.bb-pending-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #e3e8f0}
.bb-pending-search-wrap{min-width:260px;max-width:420px;flex:1}
.bb-pending-toolbar-actions{display:flex;gap:8px}
.bb-pending-clear{color:#b91c1c!important}
.bb-pending-filters{display:flex;gap:7px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid #e3e8f0;background:#fbfcfe}
.bb-pending-filter{position:relative}
.bb-pending-filter>summary{list-style:none;min-width:115px;height:36px;border:1px solid #ccd7e5;border-radius:8px;background:#fff;padding:8px 30px 8px 10px;cursor:pointer;font-size:10px;font-weight:700;position:relative}
.bb-pending-filter>summary::-webkit-details-marker{display:none}
.bb-pending-filter>summary:after{content:'⌄';position:absolute;right:9px;top:7px}
.bb-pending-filter-menu{position:absolute;z-index:260;left:0;top:calc(100% + 5px);width:250px;max-height:300px;overflow:auto;background:#fff;border:1px solid #ccd7e5;border-radius:9px;box-shadow:0 10px 26px rgba(15,23,42,.14);padding:7px}
.bb-pending-filter-search-wrap{position:sticky;top:0;z-index:2;background:#fff;display:flex;gap:5px;align-items:center;padding-bottom:6px}
.bb-pending-filter-search{width:100%;min-height:34px;border:1px solid #d3dce8;border-radius:7px;padding:5px 8px}
.bb-pending-filter-option{display:flex;align-items:center;gap:7px;padding:5px 6px;border-radius:6px;font-size:10px;cursor:pointer}
.bb-pending-filter-option:hover{background:#f2f6fb}
.bb-pending-filter-option input{width:15px;height:15px;margin:0}
.bb-pending-filter-no-results{display:block;padding:8px;color:#748094}
.bb-pending-table-wrap{overflow:auto}
.bb-pending-table{min-width:1500px}
.bb-pending-table th{white-space:nowrap}
.bb-pending-task-link{border:0;background:none;padding:0;color:#1d4ed8;font-weight:750;cursor:pointer;text-align:left}
.bb-pending-label{display:inline-block;padding:2px 6px;border-radius:10px;background:#f0f4f8;font-size:9px;white-space:nowrap}
.bb-pending-priority,.bb-pending-due{display:inline-block;padding:3px 7px;border-radius:10px;font-size:9px;font-weight:750;white-space:nowrap}
.bb-pending-priority.urgent{background:#fee2e2;color:#b91c1c}
.bb-pending-priority.high{background:#ffedd5;color:#c2410c}
.bb-pending-priority.medium{background:#eef2f7;color:#475569}
.bb-pending-priority.low{background:#dcfce7;color:#15803d}
.bb-pending-priority.no-priority{background:#f3f4f6;color:#6b7280}
.bb-pending-due.overdue{background:#fee2e2;color:#b91c1c}
.bb-pending-due.today{background:#fff7d6;color:#9a6700}
.bb-pending-due.upcoming{background:#e0f2fe;color:#0369a1}
.bb-pending-due.no_due{background:#f3f4f6;color:#6b7280}
.bb-pending-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 14px;border-top:1px solid #e3e8f0}
.bb-pending-pagination span{font-size:10px;color:#64748b}
@media(max-width:900px){
  .bb-pending-toolbar{align-items:stretch;flex-direction:column}
  .bb-pending-search-wrap{min-width:0;max-width:none;width:100%}
  .bb-pending-toolbar-actions{justify-content:flex-end}
  .bb-pending-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .bb-pending-filters::-webkit-scrollbar{display:none}
  .bb-pending-filter{flex:0 0 auto}
  .bb-pending-summary{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .bb-pending-summary::-webkit-scrollbar{display:none}
  .bb-pending-chip{flex:0 0 auto}
}


/* v4.15.36 — Pending Tasks action uses a clear Update button */
.bb-pending-actions{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  white-space:nowrap;
}
.bb-pending-update-btn{
  min-height:30px!important;
  height:30px!important;
  padding:4px 10px!important;
  font-size:9px!important;
  font-weight:750!important;
  border-radius:7px!important;
}


/* v4.15.37 — Compact Pending Task Update form */
.bb-pending-task-update-form{
  width:min(620px,92vw)!important;
}
.bb-pending-task-update-form .bb-form-heading{
  margin-bottom:10px!important;
}
.bb-pending-task-update-form .bb-form-heading p{
  margin-top:4px!important;
  font-weight:650;
  color:#526078;
}
.bb-pending-update-fields{
  padding:12px!important;
}
.bb-pending-update-fields textarea{
  min-height:92px!important;
  resize:vertical;
}


/* v4.15.38 — Pending Tasks filter-search fix + colorful table view */

/* Search inside every filter must actually hide non-matching choices. */
.bb-pending-filter-option[aria-hidden="true"]{
  display:none!important;
}
.bb-pending-filter-no-results{
  display:block;
  padding:10px 8px;
  color:#7c8799;
  font-size:10px;
}
.bb-pending-filter-no-results[hidden]{
  display:none!important;
}

/* Give each filter a soft visual identity. */
.bb-pending-filters .bb-pending-filter:nth-child(1)>summary{background:#eef6ff;border-color:#bfdcff;color:#245b91}
.bb-pending-filters .bb-pending-filter:nth-child(2)>summary{background:#f2efff;border-color:#d8ccff;color:#5b45a5}
.bb-pending-filters .bb-pending-filter:nth-child(3)>summary{background:#eefcf8;border-color:#bfe9dc;color:#14745f}
.bb-pending-filters .bb-pending-filter:nth-child(4)>summary{background:#fff6e8;border-color:#f4d8a5;color:#8b5a14}
.bb-pending-filters .bb-pending-filter:nth-child(5)>summary{background:#fff0f5;border-color:#f2c3d3;color:#9b3b62}
.bb-pending-filters .bb-pending-filter:nth-child(6)>summary{background:#fff4ed;border-color:#f4c6a9;color:#9a4b1f}
.bb-pending-filters .bb-pending-filter:nth-child(7)>summary{background:#f1f8ff;border-color:#c9ddf2;color:#315d88}
.bb-pending-filters .bb-pending-filter:nth-child(8)>summary{background:#f5f4ff;border-color:#d7d3ff;color:#5546a4}

/* Search + action bar gets a light visual separation. */
.bb-pending-toolbar{
  background:linear-gradient(90deg,#fbfdff 0%,#f7f9ff 100%);
}
.bb-pending-search-wrap{
  background:#fff;
  border-radius:9px;
}

/* Colored header makes the table easier to scan. */
.bb-pending-table thead th{
  background:#edf3fb!important;
  color:#4a5c75!important;
  border-bottom:1px solid #d7e1ef!important;
  font-weight:800!important;
}

/* Soft row coloring by due state. */
.bb-pending-table tbody tr.bb-pending-row{
  transition:background .15s ease,box-shadow .15s ease;
}
.bb-pending-table tbody tr.bb-pending-row:hover{
  filter:brightness(.985);
}
.bb-pending-table tbody tr.bb-pending-row-overdue{
  background:#fff6f6;
  box-shadow:inset 4px 0 0 #ef4444;
}
.bb-pending-table tbody tr.bb-pending-row-today{
  background:#fffaf0;
  box-shadow:inset 4px 0 0 #f59e0b;
}
.bb-pending-table tbody tr.bb-pending-row-upcoming{
  background:#f5fbff;
  box-shadow:inset 4px 0 0 #38bdf8;
}
.bb-pending-table tbody tr.bb-pending-row-no_due{
  background:#fafbfc;
  box-shadow:inset 4px 0 0 #94a3b8;
}

/* Stronger Task link. */
.bb-pending-task-link{
  color:#2456d8!important;
}
.bb-pending-task-link:hover{
  color:#163ba5!important;
  text-decoration:underline;
}

/* Make labels more colorful but still compact. */
.bb-pending-label{
  background:#eaf2ff!important;
  color:#355785!important;
  border:1px solid #d6e4f7;
}
.bb-pending-label:nth-child(2n){
  background:#f2edff!important;
  color:#614aa0!important;
  border-color:#e0d6f7;
}
.bb-pending-label:nth-child(3n){
  background:#eaf8f1!important;
  color:#2f7855!important;
  border-color:#d4ecdf;
}

/* Summary chips receive matching status colors. */
.bb-pending-chip[data-pending-due-chip=""]{background:#eef2ff;border-color:#cbd3ff;color:#4050b5}
.bb-pending-chip[data-pending-due-chip="overdue"]{background:#fff1f2;border-color:#fecdd3;color:#b42336}
.bb-pending-chip[data-pending-due-chip="today"]{background:#fff8e7;border-color:#fde2a6;color:#98610c}
.bb-pending-chip[data-pending-due-chip="upcoming"]{background:#edf8ff;border-color:#c5e8fb;color:#12658d}
.bb-pending-chip[data-pending-due-chip="no_due"]{background:#f4f6f8;border-color:#dce1e7;color:#596678}


/* v4.15.39 — Pending Tasks table refinement */

/* Filter dropdown: one option per line, never wrap into columns. */
.bb-pending-filter-menu{
  width:max-content!important;
  min-width:250px!important;
  max-width:min(420px,88vw)!important;
}
.bb-pending-filter-options,
.bb-pending-filter-menu{
  flex-direction:column!important;
}
.bb-pending-filter-option{
  display:flex!important;
  width:100%!important;
  box-sizing:border-box!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  align-items:center!important;
  margin:0!important;
}
.bb-pending-filter-option span{
  white-space:nowrap!important;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Remove the colored left rail from rows. Keep only the soft row background. */
.bb-pending-table tbody tr.bb-pending-row-overdue,
.bb-pending-table tbody tr.bb-pending-row-today,
.bb-pending-table tbody tr.bb-pending-row-upcoming,
.bb-pending-table tbody tr.bb-pending-row-no_due{
  box-shadow:none!important;
}

/* Clear cell borders in the Pending Tasks table. */
.bb-pending-table{
  border-collapse:collapse!important;
}
.bb-pending-table th,
.bb-pending-table td{
  border:1px solid #d9e2ec!important;
}
.bb-pending-table thead th{
  border-color:#cdd9e7!important;
}

/* Blank means blank — don't visually reserve space for missing field values. */
.bb-pending-table td:empty{
  background-clip:padding-box;
}


/* v4.15.40 — Activity Log searchable filters + colorful bordered table */
.bb-activity-filters{
  gap:8px!important;
}
.bb-activity-search-filter-wrap{
  min-width:0;
}
.bb-activity-search-filter{
  position:relative;
  width:100%;
}
.bb-activity-search-filter>summary{
  list-style:none;
  min-height:38px;
  border:1px solid #cdd9e7;
  border-radius:8px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:7px 10px;
  cursor:pointer;
  box-sizing:border-box;
  font-size:10px;
}
.bb-activity-search-filter>summary::-webkit-details-marker{display:none}
.bb-activity-search-menu{
  position:absolute;
  z-index:300;
  left:0;
  right:0;
  top:calc(100% + 5px);
  min-width:240px;
  max-width:min(360px,88vw);
  max-height:320px;
  overflow:auto;
  border:1px solid #cbd7e6;
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.16);
  padding:7px;
}
.bb-activity-filter-search-wrap{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
  padding-bottom:7px;
  background:#fff;
}
.bb-activity-filter-search{
  width:100%!important;
  min-height:34px!important;
  padding:5px 8px!important;
  border:1px solid #cbd7e6!important;
  border-radius:7px!important;
  box-sizing:border-box!important;
}
.bb-activity-search-options{
  display:flex;
  flex-direction:column;
  gap:1px;
}
.bb-activity-search-option{
  width:100%;
  border:0;
  border-radius:6px;
  background:#fff;
  text-align:left;
  padding:7px 8px;
  cursor:pointer;
  font-size:10px;
  color:#1f2d43;
  white-space:nowrap;
}
.bb-activity-search-option:hover{
  background:#eef5ff;
}
.bb-activity-filter-no-results{
  display:block;
  padding:9px;
  color:#7a8799;
  font-size:9px;
}
.bb-activity-filter-no-results[hidden]{display:none!important}

/* Soft filter colors */
.bb-activity-search-filter-wrap:nth-of-type(1) .bb-activity-search-filter>summary{background:#eef6ff;border-color:#c8def7}
.bb-activity-search-filter-wrap:nth-of-type(2) .bb-activity-search-filter>summary{background:#f2efff;border-color:#d9cefa}
.bb-activity-search-filter-wrap:nth-of-type(3) .bb-activity-search-filter>summary{background:#eefaf6;border-color:#c8e8da}
.bb-activity-search-filter-wrap:nth-of-type(4) .bb-activity-search-filter>summary{background:#fff5ea;border-color:#f0d5b3}

/* Full cell borders */
.bb-activity-table{
  border-collapse:collapse!important;
  width:100%!important;
}
.bb-activity-table th,
.bb-activity-table td{
  border:1px solid #d8e2ee!important;
}
.bb-activity-table thead th{
  background:#edf3fb!important;
  color:#4a5c75!important;
  border-color:#cdd9e7!important;
  font-weight:800!important;
}

/* Color-coded activity rows */
.bb-activity-table tbody tr.bb-activity-completed{
  background:#f2fbf5;
}
.bb-activity-table tbody tr.bb-activity-in-progress{
  background:#f1f7ff;
}
.bb-activity-table tbody tr.bb-activity-progress-update{
  background:#fff9ed;
}
.bb-activity-table tbody tr:hover{
  filter:brightness(.985);
}
.bb-activity-status{
  display:inline-block;
  padding:3px 7px;
  border-radius:10px;
  font-size:9px;
  font-weight:750;
  white-space:nowrap;
}
.bb-activity-status.completed{background:#dcfce7;color:#166534}
.bb-activity-status.in-progress{background:#dbeafe;color:#1d4ed8}
.bb-activity-status.progress-update{background:#fef3c7;color:#92400e}

@media(max-width:900px){
  .bb-activity-search-menu{
    min-width:220px;
  }
}


/* v4.15.41 — Activity Log proper table layout
   IMPORTANT: .bb-activity-row belongs to the Dashboard feed and is display:grid.
   Activity Log table rows use .bb-activity-log-row instead. */
.bb-activity-register .bb-activity-table{
  display:table!important;
  width:100%!important;
  min-width:1000px!important;
  table-layout:auto!important;
  border-collapse:collapse!important;
}
.bb-activity-register .bb-activity-table thead{
  display:table-header-group!important;
}
.bb-activity-register .bb-activity-table tbody{
  display:table-row-group!important;
}
.bb-activity-register .bb-activity-table tr,
.bb-activity-register .bb-activity-table tr.bb-activity-log-row{
  display:table-row!important;
  padding:0!important;
  margin:0!important;
  grid-template-columns:none!important;
  gap:0!important;
}
.bb-activity-register .bb-activity-table th,
.bb-activity-register .bb-activity-table td{
  display:table-cell!important;
  position:static!important;
  float:none!important;
  padding:11px 12px!important;
  vertical-align:top!important;
  border:1px solid #d8e2ee!important;
  line-height:1.4!important;
}
.bb-activity-register .bb-activity-table th:nth-child(1),
.bb-activity-register .bb-activity-table td:nth-child(1){min-width:95px;width:11%}
.bb-activity-register .bb-activity-table th:nth-child(2),
.bb-activity-register .bb-activity-table td:nth-child(2){min-width:115px;width:13%}
.bb-activity-register .bb-activity-table th:nth-child(3),
.bb-activity-register .bb-activity-table td:nth-child(3){min-width:100px;width:12%}
.bb-activity-register .bb-activity-table th:nth-child(4),
.bb-activity-register .bb-activity-table td:nth-child(4){min-width:180px;width:22%}
.bb-activity-register .bb-activity-table th:nth-child(5),
.bb-activity-register .bb-activity-table td:nth-child(5){min-width:100px;width:11%}
.bb-activity-register .bb-activity-table th:nth-child(6),
.bb-activity-register .bb-activity-table td:nth-child(6){min-width:190px;width:22%}
.bb-activity-register .bb-activity-table th:nth-child(7),
.bb-activity-register .bb-activity-table td:nth-child(7){min-width:120px;width:13%}
.bb-activity-register .bb-activity-table-wrap{
  width:100%;
  overflow:auto!important;
}
.bb-activity-register .bb-activity-table td{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Keep the v4.15.40 colors on the corrected table-row class. */
.bb-activity-register .bb-activity-table tbody tr.bb-activity-log-row.bb-activity-completed{background:#f2fbf5!important}
.bb-activity-register .bb-activity-table tbody tr.bb-activity-log-row.bb-activity-in-progress{background:#f1f7ff!important}
.bb-activity-register .bb-activity-table tbody tr.bb-activity-log-row.bb-activity-progress-update{background:#fff9ed!important}
.bb-activity-register .bb-activity-table tbody tr.bb-activity-log-row:hover{filter:brightness(.985)}


/* v4.15.42 — Show / Hide Filter controls for Pending Tasks and Activity Log */
.bb-filter-toggle-btn{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  white-space:nowrap;
}
.bb-filter-toggle-btn.active{
  background:#eef2ff!important;
  border-color:#aeb8ff!important;
  color:#4050bd!important;
}
.bb-filter-toggle-icon{
  display:inline-block;
  transition:transform .16s ease;
  font-size:12px;
  line-height:1;
}
.bb-filter-toggle-btn.active .bb-filter-toggle-icon{
  transform:rotate(180deg);
}
.bb-pending-filters[hidden],
.bb-activity-filter-fields[hidden]{
  display:none!important;
}

/* Activity Log now has an always-visible compact toolbar and a separate filter row. */
.bb-activity-filter-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid #e1e7ef;
  background:linear-gradient(90deg,#fbfdff 0%,#f7f9ff 100%);
}
.bb-activity-filter-toolbar #bb-act-search{
  flex:1;
  min-width:220px;
  max-width:520px;
  min-height:38px;
}
.bb-activity-filter-fields{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:10px 14px;
  border-bottom:1px solid #e1e7ef;
  background:#fbfcfe;
}
.bb-activity-filter-fields>input,
.bb-activity-filter-fields>.bb-activity-search-filter-wrap{
  min-width:0;
}
.bb-activity-filter-fields>input{
  width:100%;
  box-sizing:border-box;
}
@media(max-width:900px){
  .bb-activity-filter-toolbar{
    align-items:stretch;
    flex-direction:column;
  }
  .bb-activity-filter-toolbar #bb-act-search{
    max-width:none;
    width:100%;
  }
  .bb-activity-filter-actions{
    justify-content:flex-end;
    flex-wrap:wrap;
  }
  .bb-activity-filter-fields{
    grid-template-columns:1fr;
  }
}


/* v4.15.43 — Icon-only Filter / Clear / Excel actions */
.bb-icon-only-btn{
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  font-size:14px!important;
  line-height:1!important;
}
.bb-icon-only-btn .bb-filter-toggle-label{
  display:none!important;
}
.bb-pending-clear.bb-icon-only-btn,
.bb-activity-clear-btn.bb-icon-only-btn{
  color:#c62828!important;
}


/* v4.15.44 — Search + Filter + Clear + Excel on one line */
.bb-pending-toolbar,
.bb-activity-filter-toolbar{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  flex-wrap:nowrap!important;
}

.bb-pending-search-wrap,
.bb-activity-filter-toolbar #bb-act-search{
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
}

.bb-pending-toolbar-actions,
.bb-activity-filter-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  flex-wrap:nowrap!important;
  flex:0 0 auto!important;
}

.bb-filter-toggle-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  transform:none!important;
}
.bb-filter-toggle-btn.active .bb-filter-toggle-icon{
  transform:none!important;
}
.bb-filter-funnel-svg{
  width:17px;
  height:17px;
  display:block;
}

/* Show/Hide Filters uses the funnel icon itself; active state indicates filters are open. */
.bb-filter-toggle-btn{
  position:relative;
}
.bb-filter-toggle-btn.active::after{
  content:'';
  position:absolute;
  bottom:4px;
  left:50%;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  transform:translateX(-50%);
}

/* Keep the row compact even on mobile. */
@media(max-width:900px){
  .bb-pending-toolbar,
  .bb-activity-filter-toolbar{
    flex-direction:row!important;
    align-items:center!important;
    gap:6px!important;
  }
  .bb-pending-search-wrap,
  .bb-activity-filter-toolbar #bb-act-search{
    width:auto!important;
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .bb-pending-toolbar-actions,
  .bb-activity-filter-actions{
    flex:0 0 auto!important;
    flex-wrap:nowrap!important;
  }
  .bb-icon-only-btn{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
  }
}


/* v4.15.45 — Workspace / Work Area dependent filters */
.bb-pending-filter[data-filter="workspace"] .bb-pending-filter-menu,
.bb-pending-filter[data-filter="area"] .bb-pending-filter-menu,
.bb-activity-search-filter[data-target="bb-act-workspace"] .bb-activity-search-menu,
.bb-activity-search-filter[data-target="bb-act-area"] .bb-activity-search-menu{
  max-height:320px;
}


/* v4.15.46 — Activity Log live search fix */
#bb-act-search{
  outline:none;
}
#bb-act-search:focus{
  border-color:#6b7cff!important;
  box-shadow:0 0 0 2px rgba(84,104,255,.12)!important;
}


/* v4.15.47 — Activity Log filtering must override native table-row display rules */
.bb-activity-register .bb-activity-table tr.bb-activity-row-hidden{
  display:none!important;
}


/* v4.15.48 — Simplified Edit Task / Sub Tasks */
.bb-check-row .bb-check-main{
  grid-template-columns:auto 1fr auto!important;
}
.bb-check-row .bb-subtask-people-editor,
.bb-check-row .bb-subtask-people{
  display:none!important;
}


/* v4.15.49 — Sub Tasks directly below Task Name */
#bb-task-form #bb-checklist-editor .bb-check-main{
  grid-template-columns:auto 1fr auto!important;
}
#bb-task-form .bb-subtask-people,
#bb-task-form .bb-subtask-people-editor{
  display:none!important;
}


/* v4.15.51 — Quick-style Edit Task + searchable Work Area */
.bb-edit-task-area-context{
  margin-bottom:12px;
  padding:10px;
  border:1px solid #dce5f0;
  border-radius:10px;
  background:#f8fbff;
}
.bb-edit-task-area-picker{position:relative;width:100%}
.bb-edit-task-area-picker>summary{
  list-style:none;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border:1px solid #cbd7e6;
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  box-sizing:border-box;
}
.bb-edit-task-area-picker>summary::-webkit-details-marker{display:none}
.bb-edit-task-area-menu{
  position:absolute;
  z-index:360;
  left:0;right:0;
  top:calc(100% + 5px);
  max-height:320px;
  overflow:auto;
  border:1px solid #cbd7e6;
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,23,42,.16);
  padding:7px;
}
.bb-edit-task-area-search-wrap{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
  background:#fff;
  padding-bottom:7px;
}
.bb-edit-task-area-search{
  width:100%!important;
  min-height:36px!important;
  padding:6px 9px!important;
  border:1px solid #cbd7e6!important;
  border-radius:8px!important;
  box-sizing:border-box!important;
}
.bb-edit-task-area-options{display:flex;flex-direction:column;gap:1px}
.bb-edit-task-area-option{
  width:100%;
  border:0;
  background:#fff;
  text-align:left;
  padding:7px 9px;
  border-radius:7px;
  cursor:pointer;
  font-size:10px;
  color:#17233b;
  white-space:normal;
}
.bb-edit-task-area-option:hover{background:#eef5ff}
.bb-edit-task-area-empty{padding:9px;color:#7c8799;font-size:9px}


/* v4.15.55 — Notespace / MathSpace Share */
.bb-share-form .bb-assignment-editor{
  margin-top:0;
}
.bb-mathspace-sharing .bb-assignment-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}


/* v4.15.57 — cleaner Notespace / MathSpace sharing UI */
.bb-space-share-modern{
  width:min(760px,calc(100vw - 36px));
  max-width:760px;
}
.bb-space-share-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:2px 0 14px;
  border-bottom:1px solid #e7edf5;
}
.bb-space-share-title{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.bb-space-share-title h2{
  margin:0 0 3px;
  font-size:18px;
  line-height:1.2;
}
.bb-space-share-title p{
  margin:0;
  color:#64748b;
  font-size:11px;
}
.bb-space-share-search-wrap{
  width:min(280px,42%);
  min-width:200px;
  height:38px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 10px;
  border:1px solid #d6dfeb;
  border-radius:9px;
  background:#fff;
}
.bb-space-share-search-wrap span{
  color:#64748b;
  font-size:15px;
}
.bb-space-share-search{
  width:100%;
  min-width:0;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  padding:0!important;
  height:34px!important;
  background:transparent!important;
  font-size:11px!important;
}
.bb-space-share-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.bb-space-share-column{
  border:1px solid #dce5f0;
  border-radius:11px;
  overflow:hidden;
  background:#fff;
}
.bb-space-share-column-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  background:#f8fafc;
  border-bottom:1px solid #e7edf5;
}
.bb-space-share-column-head h3{
  margin:0;
  font-size:12px;
  color:#17233b;
}
.bb-space-share-column-head small{
  display:block;
  margin-top:2px;
  color:#7b8798;
  font-size:9px;
}
.bb-space-share-count{
  min-width:24px;
  height:24px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eef2ff;
  color:#4f46e5;
  font-size:10px;
  font-weight:700;
}
.bb-space-share-list{
  height:250px;
  overflow:auto;
  padding:5px;
}
.bb-space-person-row{
  display:grid;
  grid-template-columns:18px 28px minmax(0,1fr);
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:5px 8px;
  border-radius:8px;
  cursor:pointer;
}
.bb-space-person-row:hover{
  background:#f6f8fc;
}
.bb-space-person-row input{
  margin:0!important;
}
.bb-space-person-avatar{
  width:27px;
  height:27px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eef2ff;
  color:#4f46e5;
  font-size:10px;
  font-weight:700;
}
.bb-space-person-name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
  color:#26334a;
}
.bb-space-share-no-results{
  margin-top:10px;
  padding:9px 11px;
  border-radius:8px;
  background:#f8fafc;
  color:#64748b;
  text-align:center;
  font-size:10px;
}
.bb-space-share-note{
  margin-top:12px;
}
.bb-space-share-actions{
  margin-top:14px;
}
@media(max-width:680px){
  .bb-space-share-modern{
    width:calc(100vw - 22px);
  }
  .bb-space-share-head{
    align-items:stretch;
    flex-direction:column;
  }
  .bb-space-share-search-wrap{
    width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  .bb-space-share-grid{
    grid-template-columns:1fr;
  }
  .bb-space-share-list{
    height:180px;
  }
}


/* v4.15.58 — Holiday Master */
.bb-holiday-master{
  max-width:900px;
  margin:0 auto;
}
.bb-holiday-master-toolbar{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
}
.bb-holiday-table{
  width:100%;
  table-layout:fixed;
}
.bb-holiday-table th:first-child,
.bb-holiday-table td:first-child{
  width:38%;
}
.bb-holiday-table th,
.bb-holiday-table td{
  border:1px solid #dfe6ef;
}
.bb-holiday-table th{
  text-align:left;
}
.bb-holiday-table input[type="date"],
.bb-holiday-table input[type="text"]{
  width:100%;
  min-width:0;
  height:38px;
  box-sizing:border-box;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:7px 9px!important;
  font-size:12px!important;
}
.bb-holiday-table input:focus{
  outline:2px solid rgba(79,70,229,.18)!important;
  outline-offset:-2px;
  background:#fff!important;
}
.bb-holiday-master-help{
  margin-top:10px;
  color:#64748b;
  font-size:10px;
}
@media(max-width:680px){
  .bb-holiday-master-toolbar{
    flex-wrap:wrap;
  }
  .bb-holiday-master-toolbar .bb-record-count{
    width:100%;
  }
  .bb-holiday-table th:first-child,
  .bb-holiday-table td:first-child{
    width:42%;
  }
}


/* v4.15.60 — Holiday template import/export */
.bb-holiday-master-row.is-saving{
  opacity:.62;
}
.bb-holiday-master-row.is-saving input{
  pointer-events:none;
}
@media(max-width:720px){
  .bb-holiday-master-toolbar .bb-form-spacer{
    display:none;
  }
  .bb-holiday-master-toolbar .bb-btn{
    flex:1 1 auto;
  }
}


/* v4.15.61 — Holiday delete row */
.bb-holiday-name-cell{
  display:flex;
  align-items:center;
  gap:6px;
  padding-right:6px;
}
.bb-holiday-name-cell [data-holiday-name]{
  flex:1 1 auto;
}
.bb-holiday-delete-row{
  flex:0 0 32px;
  width:32px;
  height:30px;
  border:1px solid #fecaca;
  border-radius:7px;
  background:#fff5f5;
  color:#b91c1c;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  line-height:1;
}
.bb-holiday-delete-row:hover{
  background:#fee2e2;
}
.bb-holiday-delete-row:disabled{
  opacity:.5;
  cursor:not-allowed;
}


/* v4.15.63 — direct Edit Task button beside Copy Task */
.bb-task-bottom-edit{
  color:#6d28d9!important;
  background:#f5f3ff!important;
  border:1px solid #c4b5fd!important;
}
.bb-task-bottom-edit:hover,
.bb-task-bottom-edit:focus-visible{
  background:#ede9fe!important;
  border-color:#a78bfa!important;
  color:#5b21b6!important;
  outline:none!important;
}
.bb-task-bottom-edit svg{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!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-edit svg{
    width:15px!important;
    height:15px!important;
    min-width:15px!important;
    min-height:15px!important;
  }
}


/* v4.15.64 — searchable Workspace switcher in header */
.bb-workspace-switcher-host{
  position:relative;
}
.bb-workspace-switcher-title{
  display:flex!important;
  align-items:center!important;
  min-width:0;
}
.bb-workspace-switcher-wrap{
  position:relative;
  display:inline-flex;
  min-width:0;
}
.bb-workspace-switcher-trigger{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  max-width:360px;
  padding:2px 4px 2px 0;
  margin:0;
  font:inherit;
  font-weight:inherit;
  cursor:pointer;
  border-radius:7px;
}
.bb-workspace-switcher-trigger:hover,
.bb-workspace-switcher-trigger:focus-visible{
  background:#f3f6fb;
  outline:none;
}
.bb-workspace-switcher-trigger>span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bb-workspace-switcher-trigger svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .16s ease;
}
.bb-workspace-switcher-wrap.open .bb-workspace-switcher-trigger svg{
  transform:rotate(180deg);
}
.bb-workspace-switcher-menu{
  position:absolute;
  z-index:10050;
  left:0;
  top:calc(100% + 9px);
  width:min(330px,calc(100vw - 28px));
  max-height:390px;
  padding:8px;
  border:1px solid #dbe3ee;
  border-radius:11px;
  background:#fff;
  box-shadow:0 16px 38px rgba(15,23,42,.18);
  font-size:12px;
}
.bb-workspace-switcher-menu[hidden]{
  display:none!important;
}
.bb-workspace-switcher-search-wrap{
  display:flex;
  align-items:center;
  gap:7px;
  height:38px;
  padding:0 9px;
  margin-bottom:7px;
  border:1px solid #d7e0eb;
  border-radius:8px;
  background:#fff;
}
.bb-workspace-switcher-search-wrap svg{
  width:15px;
  height:15px;
  flex:0 0 15px;
  fill:none;
  stroke:#64748b;
  stroke-width:1.8;
  stroke-linecap:round;
}
.bb-workspace-switcher-search{
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  font-size:11px!important;
}
.bb-workspace-switcher-options{
  max-height:310px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.bb-workspace-switcher-option{
  width:100%;
  min-height:38px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  align-items:center;
  gap:7px;
  padding:7px 9px;
  border:0;
  border-radius:8px;
  background:#fff;
  color:#1f2937;
  text-align:left;
  cursor:pointer;
}
.bb-workspace-switcher-option:hover{
  background:#f4f7fb;
}
.bb-workspace-switcher-option.is-current{
  background:#eef2ff;
  color:#3730a3;
  font-weight:700;
}
.bb-workspace-switcher-check{
  width:20px;
  text-align:center;
  font-weight:800;
}
.bb-workspace-switcher-name{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.bb-workspace-switcher-empty{
  padding:12px 8px;
  color:#64748b;
  text-align:center;
  font-size:11px;
}
@media(max-width:900px){
  .bb-workspace-switcher-trigger{
    max-width:calc(100vw - 155px);
  }
  .bb-workspace-switcher-menu{
    position:fixed;
    left:12px;
    right:12px;
    top:76px;
    width:auto;
    max-height:calc(100vh - 100px);
  }
  .bb-workspace-switcher-options{
    max-height:calc(100vh - 175px);
  }
}


/* v4.15.65 — Note Area / Math Area sharing inside Add/Edit forms */
.bb-note-area-sharing,
.bb-math-area-sharing{
  background:#fbfdff!important;
  border-color:#dce5f0!important;
}
.bb-note-area-sharing .bb-assignment-editor,
.bb-math-area-sharing .bb-assignment-editor{
  margin-top:0!important;
}


/* v4.15.66 — hide Workspace Overdue / Completed KPI row on mobile */
@media (max-width:900px){
  .bb-workspace-toolbar .bb-compact-kpis{
    display:none!important;
  }
}


/* v4.15.67 — Workspace Switcher search must remain usable inside topbar.
   Older global topbar rules intentionally hide legacy search inputs, so
   explicitly restore only the Workspace Switcher search field. */
#bb-app .bb-topbar .bb-workspace-switcher-menu input.bb-workspace-switcher-search,
#bb-app .bb-topbar input.bb-workspace-switcher-search,
.bb-topbar .bb-workspace-switcher-search{
  display:block!important;
  visibility:visible!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:visible!important;
  pointer-events:auto!important;
  opacity:1!important;
  background:transparent!important;
  box-shadow:none!important;
  outline:0!important;
  font-size:11px!important;
  color:#1f2937!important;
  appearance:auto!important;
  -webkit-appearance:auto!important;
}
#bb-app .bb-topbar .bb-workspace-switcher-menu input.bb-workspace-switcher-search::placeholder{
  color:#8a94a6!important;
  opacity:1!important;
}


/* v4.15.68 — definitive Workspace Switcher search fix */
#bb-app .bb-topbar input.bb-workspace-switcher-search[type="text"],
.bb-workspace-switcher-search[type="text"]{
  display:block!important;
  visibility:visible!important;
  pointer-events:auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  opacity:1!important;
  background:transparent!important;
  color:#1f2937!important;
  box-shadow:none!important;
  outline:none!important;
}
.bb-workspace-switcher-option[hidden]{
  display:none!important;
}

/* v4.15.70 — Note Area / Math Area sharing permissions */
.bb-area-share-editor{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.bb-area-share-table-wrap{
  width:100%;
  overflow-x:auto;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
}
.bb-area-share-table{
  width:100%;
  min-width:620px;
  border-collapse:collapse;
  table-layout:fixed;
}
.bb-area-share-table th,
.bb-area-share-table td{
  padding:11px 12px;
  border-bottom:1px solid #eef1f5;
  text-align:left;
  vertical-align:middle;
}
.bb-area-share-table th{
  background:#f8fafc;
  color:#475569;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.bb-area-share-table th:first-child,
.bb-area-share-table td:first-child{width:38%;}
.bb-area-share-table th:last-child,
.bb-area-share-table td:last-child{width:62%;}
.bb-area-share-table tbody tr:last-child td{border-bottom:0;}
.bb-area-share-user{
  width:100%;
  min-height:38px;
  border:1px solid #d8dee8;
  border-radius:8px;
  background:#fff;
  padding:7px 9px;
}
.bb-area-permission-buttons{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}
.bb-area-perm-toggle{
  position:relative;
  display:inline-flex;
  cursor:pointer;
  user-select:none;
}
.bb-area-perm-toggle input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.bb-area-perm-toggle span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  height:32px;
  padding:0 10px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#fff;
  color:#475569;
  font-size:11px;
  font-weight:800;
  line-height:1;
  letter-spacing:.025em;
  transition:.15s ease;
}
.bb-area-perm-toggle:hover span{
  border-color:#94a3b8;
  background:#f8fafc;
}
.bb-area-perm-toggle input:checked + span{
  color:#fff;
  box-shadow:0 1px 2px rgba(15,23,42,.14);
}
.bb-area-perm-toggle.add input:checked + span{
  border-color:#16a34a;
  background:#16a34a;
}
.bb-area-perm-toggle.edit input:checked + span{
  border-color:#2563eb;
  background:#2563eb;
}
.bb-area-perm-toggle.delete input:checked + span{
  border-color:#dc2626;
  background:#dc2626;
}
.bb-area-perm-toggle.view input:checked + span{
  border-color:#7c3aed;
  background:#7c3aed;
}
.bb-area-share-remove{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  margin-left:2px;
  border:1px solid #fecaca;
  border-radius:8px;
  background:#fff;
  color:#dc2626;
  font-size:18px;
  line-height:1;
  cursor:pointer;
}
.bb-area-share-remove:hover{
  background:#fef2f2;
  border-color:#fca5a5;
}
.bb-area-share-help{
  color:#64748b;
  font-size:12px;
  line-height:1.45;
}
@media (max-width:700px){
  .bb-area-share-table{min-width:560px;}
  .bb-area-share-table th:first-child,
  .bb-area-share-table td:first-child{width:34%;}
  .bb-area-share-table th:last-child,
  .bb-area-share-table td:last-child{width:66%;}
  .bb-area-perm-toggle span{min-width:54px;padding:0 8px;}
}


/* v4.15.72 — single-row Area share picker + selected users table */
.bb-area-share-picker{
  display:grid;
  grid-template-columns:minmax(220px,38%) 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid #dbe3ee;
  border-radius:12px;
  background:#f8fbff;
}
.bb-area-share-picker-user{min-width:0;}
.bb-area-share-picker .bb-area-share-user{width:100%;}
.bb-area-share-add-selection{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:32px;
  border:1px solid #2563eb;
  border-radius:8px;
  background:#2563eb;
  color:#fff;
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
.bb-area-share-add-selection:hover{background:#1d4ed8;border-color:#1d4ed8;}
.bb-area-share-selected-user{
  display:block;
  color:#0f172a;
  font-size:13px;
  font-weight:700;
}
@media(max-width:700px){
  .bb-area-share-picker{grid-template-columns:1fr;}
  .bb-area-share-picker .bb-area-permission-buttons{gap:5px;}
  .bb-area-share-table{min-width:560px;}
}

/* v4.15.78 — Task Edit cleanup: no stray fields below footer; no repeat-after-due summary line */
.bb-modal:has(.bb-quick-create-modal-shell) .bb-quick-task-card .bb-quick-create-actions ~ *:not(input[type="hidden"]){
  display:none!important;
}
.bb-modal:has(.bb-quick-create-modal-shell) .bb-calendar-after-repeat .bb-after-due-summary{
  display:none!important;
  border:0!important;
  background:transparent!important;
  padding:0!important;
  margin:0!important;
}


/* v4.15.79 — Holiday Calendar + colorful master */
.bb-holiday-master{max-width:980px!important;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.bb-holiday-master-toolbar{padding:10px 12px;margin:0!important;border-bottom:1px solid #e2e8f0;background:linear-gradient(90deg,#eff6ff 0%,#f5f3ff 46%,#fff7ed 100%)}
.bb-holiday-view-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.05)}
.bb-holiday-view-switch button{height:32px;padding:0 14px;border:0;border-radius:7px;background:transparent;color:#475569;font-size:11px;font-weight:800;cursor:pointer}
.bb-holiday-view-switch button.active{background:#4f46e5;color:#fff;box-shadow:0 2px 6px rgba(79,70,229,.24)}
.bb-holiday-template-btn{background:#fff!important}
.bb-holiday-add-btn{background:linear-gradient(135deg,#4f46e5,#6366f1)!important}
.bb-holiday-table thead th{background:linear-gradient(90deg,#f8fafc,#eef2ff);color:#334155;font-weight:900}
.bb-holiday-master-row:nth-child(6n+1) td{background:#fff7ed}
.bb-holiday-master-row:nth-child(6n+2) td{background:#f0fdf4}
.bb-holiday-master-row:nth-child(6n+3) td{background:#eff6ff}
.bb-holiday-master-row:nth-child(6n+4) td{background:#fdf4ff}
.bb-holiday-master-row:nth-child(6n+5) td{background:#fff1f2}
.bb-holiday-master-row:nth-child(6n) td{background:#f0fdfa}
.bb-holiday-delete-row{border-color:#991b1b!important;background:#fff!important;color:#991b1b!important}
.bb-holiday-delete-row svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bb-holiday-delete-row:hover{background:#991b1b!important;color:#fff!important;border-color:#7f1d1d!important}
.bb-holiday-calendar{padding:14px}
.bb-holiday-calendar-head{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:8px;margin-bottom:10px;padding:8px 10px;border-radius:12px;background:linear-gradient(90deg,#eef2ff,#faf5ff,#fff7ed)}
.bb-holiday-calendar-head strong{text-align:center;font-size:16px;color:#1e293b}
.bb-holiday-month-btn{width:34px;height:34px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#4338ca;font-size:24px;line-height:1;cursor:pointer}
.bb-holiday-weekdays,.bb-holiday-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.bb-holiday-weekdays{border:1px solid #e2e8f0;border-bottom:0;border-radius:10px 10px 0 0;overflow:hidden}
.bb-holiday-weekdays span{padding:8px 4px;text-align:center;background:#f8fafc;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.bb-holiday-calendar-grid{border-left:1px solid #e2e8f0;border-top:1px solid #e2e8f0}
.bb-holiday-calendar-cell{min-height:95px;padding:7px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#fff;position:relative}
.bb-holiday-calendar-cell:nth-last-child(-n+7):first-child,.bb-holiday-calendar-grid{border-radius:0 0 10px 10px;overflow:hidden}
.bb-holiday-calendar-cell.is-muted{background:#f8fafc;color:#94a3b8}
.bb-holiday-calendar-cell.is-today{box-shadow:inset 0 0 0 2px #6366f1;background:#eef2ff}
.bb-holiday-calendar-cell.has-holiday{background:linear-gradient(180deg,#fff 0%,#fffaf0 100%)}
.bb-holiday-calendar-date{font-size:11px;font-weight:900;color:#334155;margin-bottom:5px}
.bb-holiday-calendar-cell.is-muted .bb-holiday-calendar-date{color:#94a3b8}
.bb-holiday-calendar-event{display:block;width:100%;margin:3px 0 0;padding:5px 6px;border:0;border-radius:7px;text-align:left;font-size:10px;font-weight:800;line-height:1.2;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.bb-holiday-calendar-event.tone-1{background:#ffedd5;color:#9a3412}
.bb-holiday-calendar-event.tone-2{background:#dcfce7;color:#166534}
.bb-holiday-calendar-event.tone-3{background:#dbeafe;color:#1d4ed8}
.bb-holiday-calendar-event.tone-4{background:#f3e8ff;color:#7e22ce}
.bb-holiday-calendar-event.tone-5{background:#ffe4e6;color:#be123c}
.bb-holiday-calendar-event.tone-6{background:#ccfbf1;color:#0f766e}
@media(max-width:720px){
  .bb-holiday-master-toolbar{align-items:stretch}
  .bb-holiday-view-switch{width:100%}.bb-holiday-view-switch button{flex:1}
  .bb-holiday-calendar{padding:8px;overflow-x:auto}
  .bb-holiday-weekdays,.bb-holiday-calendar-grid{min-width:680px}
  .bb-holiday-calendar-cell{min-height:82px}
}


/* v4.15.80 — Current Financial Year 12-month Holiday Calendar */
.bb-holiday-master{max-width:1180px!important}
.bb-holiday-fy-calendar{padding:14px;background:#f8fafc}
.bb-holiday-fy-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 14px;border:1px solid #dbeafe;border-radius:12px;background:linear-gradient(90deg,#eef2ff,#f5f3ff,#fff7ed)}
.bb-holiday-fy-head strong{font-size:15px;color:#1e293b}
.bb-holiday-fy-head span{font-size:11px;font-weight:800;color:#64748b}
.bb-holiday-fy-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bb-holiday-month-card{min-width:0;border:1px solid #dbe3ef;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.bb-holiday-month-card h3{margin:0;padding:8px 10px;text-align:center;background:linear-gradient(90deg,#f8fafc,#eef2ff);border-bottom:1px solid #e2e8f0;color:#1e293b;font-size:12px;font-weight:900}
.bb-holiday-month-card h3 span{font-weight:700;color:#64748b}
.bb-holiday-fy-weekdays,.bb-holiday-fy-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.bb-holiday-fy-weekdays span{padding:5px 1px;text-align:center;background:#f8fafc;color:#64748b;font-size:8px;font-weight:900}
.bb-holiday-fy-grid{border-top:1px solid #edf2f7}
.bb-holiday-fy-cell{min-height:48px;padding:4px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;background:#fff;overflow:hidden}
.bb-holiday-fy-cell:nth-child(7n){border-right:0}
.bb-holiday-fy-cell.is-empty{background:#f8fafc}
.bb-holiday-fy-cell.is-today{box-shadow:inset 0 0 0 2px #6366f1;background:#eef2ff}
.bb-holiday-fy-cell.has-holiday{background:#fffaf0}
.bb-holiday-fy-cell .bb-holiday-calendar-date{margin-bottom:2px;font-size:9px}
.bb-holiday-fy-cell .bb-holiday-calendar-event{margin-top:2px;padding:3px 4px;border-radius:5px;font-size:8px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:900px){.bb-holiday-fy-months{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.bb-holiday-fy-head{align-items:flex-start;flex-direction:column}.bb-holiday-fy-months{grid-template-columns:1fr}.bb-holiday-fy-cell{min-height:54px}.bb-holiday-fy-cell .bb-holiday-calendar-event{font-size:9px}}

.bb-holiday-hover-tip{position:absolute;left:-9999px;top:-9999px;z-index:99999;max-width:240px;padding:8px 10px;border-radius:10px;background:rgba(15,23,42,.96);color:#fff;font-size:12px;font-weight:700;line-height:1.35;box-shadow:0 14px 38px rgba(15,23,42,.22);pointer-events:none;white-space:normal;word-break:break-word}.bb-holiday-hover-tip[hidden]{display:none!important}.bb-holiday-hover-tip.is-visible{display:block}

/* v4.15.82 Holiday FY calendar visual refinement */
.bb-holiday-fy-cell .bb-holiday-calendar-date{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;min-height:18px;margin-bottom:2px;font-size:9px;font-weight:800}
.bb-holiday-month-card:nth-child(12n+1){background:#fff7ed}.bb-holiday-month-card:nth-child(12n+1) h3{background:#ffedd5}
.bb-holiday-month-card:nth-child(12n+2){background:#f0fdf4}.bb-holiday-month-card:nth-child(12n+2) h3{background:#dcfce7}
.bb-holiday-month-card:nth-child(12n+3){background:#eff6ff}.bb-holiday-month-card:nth-child(12n+3) h3{background:#dbeafe}
.bb-holiday-month-card:nth-child(12n+4){background:#fdf4ff}.bb-holiday-month-card:nth-child(12n+4) h3{background:#f3e8ff}
.bb-holiday-month-card:nth-child(12n+5){background:#fff1f2}.bb-holiday-month-card:nth-child(12n+5) h3{background:#ffe4e6}
.bb-holiday-month-card:nth-child(12n+6){background:#f0fdfa}.bb-holiday-month-card:nth-child(12n+6) h3{background:#ccfbf1}
.bb-holiday-month-card:nth-child(12n+7){background:#fefce8}.bb-holiday-month-card:nth-child(12n+7) h3{background:#fef9c3}
.bb-holiday-month-card:nth-child(12n+8){background:#eef2ff}.bb-holiday-month-card:nth-child(12n+8) h3{background:#e0e7ff}
.bb-holiday-month-card:nth-child(12n+9){background:#f8fafc}.bb-holiday-month-card:nth-child(12n+9) h3{background:#e2e8f0}
.bb-holiday-month-card:nth-child(12n+10){background:#ecfeff}.bb-holiday-month-card:nth-child(12n+10) h3{background:#cffafe}
.bb-holiday-month-card:nth-child(12n+11){background:#faf5ff}.bb-holiday-month-card:nth-child(12n+11) h3{background:#ede9fe}
.bb-holiday-month-card:nth-child(12n+12){background:#f7fee7}.bb-holiday-month-card:nth-child(12n+12) h3{background:#ecfccb}
.bb-holiday-month-card .bb-holiday-fy-weekdays span{background:rgba(255,255,255,.58)}
.bb-holiday-month-card .bb-holiday-fy-cell:not(.is-empty):not(.is-today):not(.has-holiday){background:rgba(255,255,255,.72)}

.bb-holiday-fy-cell[data-holiday-calendar-date]{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.bb-holiday-fy-cell[data-holiday-calendar-date]:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px #93c5fd,0 6px 16px rgba(59,130,246,.10)}.bb-holiday-fy-cell[data-holiday-calendar-date]:focus{outline:none;box-shadow:inset 0 0 0 2px #2563eb,0 0 0 3px rgba(37,99,235,.12)}

/* v4.15.84 Holiday add popup */
.bb-holiday-popup-form{max-width:560px;margin:0 auto}.bb-holiday-popup-grid{grid-template-columns:1fr 1.35fr;gap:14px}.bb-holiday-popup-form .bb-form-heading{margin-bottom:16px}@media(max-width:620px){.bb-holiday-popup-grid{grid-template-columns:1fr}}

.bb-holiday-view-switch button{width:38px;padding:0;display:inline-flex;align-items:center;justify-content:center}.bb-holiday-view-switch button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}@media(max-width:620px){.bb-holiday-view-switch{width:auto!important}.bb-holiday-view-switch button{flex:0 0 38px!important}}

/* v4.15.86 - Colorful FY Holiday Calendar */
.bb-holiday-fy-calendar{
  padding:18px;
  background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);
}
.bb-holiday-fy-months{
  gap:16px;
}
.bb-holiday-month-card{
  --month-accent:#6366f1;
  --month-deep:#3730a3;
  --month-soft:#eef2ff;
  --month-soft-2:#f8faff;
  --month-weekend:#eef2ff;
  border:1px solid color-mix(in srgb,var(--month-accent) 24%,#e2e8f0);
  border-radius:17px;
  background:var(--month-soft-2);
  box-shadow:0 8px 24px rgba(15,23,42,.08);
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease;
}
.bb-holiday-month-card:hover{
  transform:translateY(-2px);
  box-shadow:0 13px 30px rgba(15,23,42,.12);
}
.bb-holiday-month-card h3{
  position:relative;
  margin:0;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:10px 12px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.62);
  background:linear-gradient(135deg,var(--month-soft),color-mix(in srgb,var(--month-accent) 24%,#fff));
  color:var(--month-deep);
  font-size:13px;
  font-weight:900;
  letter-spacing:.01em;
}
.bb-holiday-month-card h3::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--month-accent);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--month-accent) 14%,transparent);
}
.bb-holiday-month-card h3 span{
  color:inherit;
  font-weight:800;
}
.bb-holiday-month-card .bb-holiday-fy-weekdays{
  background:rgba(255,255,255,.78);
  border-bottom:1px solid color-mix(in srgb,var(--month-accent) 14%,#e2e8f0);
}
.bb-holiday-month-card .bb-holiday-fy-weekdays span{
  padding:7px 2px;
  background:transparent;
  color:#475569;
  font-size:8px;
  font-weight:900;
}
.bb-holiday-month-card .bb-holiday-fy-weekdays span:nth-child(6),
.bb-holiday-month-card .bb-holiday-fy-weekdays span:nth-child(7){
  color:var(--month-accent);
}
.bb-holiday-month-card .bb-holiday-fy-cell{
  min-height:52px;
  padding:4px;
  border-right:1px solid color-mix(in srgb,var(--month-accent) 10%,#e2e8f0);
  border-bottom:1px solid color-mix(in srgb,var(--month-accent) 10%,#e2e8f0);
  background:rgba(255,255,255,.78);
}
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n+6),
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n){
  background:var(--month-weekend);
}
.bb-holiday-month-card .bb-holiday-fy-cell.is-empty{
  background:color-mix(in srgb,var(--month-soft) 54%,#f8fafc);
  opacity:.72;
}
.bb-holiday-month-card .bb-holiday-fy-cell .bb-holiday-calendar-date{
  width:24px;
  height:24px;
  min-height:24px;
  margin:0 auto 2px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:#1e293b;
  font-size:9px;
  font-weight:900;
}
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n+6) .bb-holiday-calendar-date,
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n) .bb-holiday-calendar-date{
  color:var(--month-deep);
}
.bb-holiday-month-card .bb-holiday-fy-cell.is-today{
  background:color-mix(in srgb,var(--month-accent) 10%,#fff);
  box-shadow:inset 0 0 0 2px var(--month-accent);
}
.bb-holiday-month-card .bb-holiday-fy-cell.is-today .bb-holiday-calendar-date{
  background:var(--month-accent);
  color:#fff;
  box-shadow:0 3px 8px color-mix(in srgb,var(--month-accent) 28%,transparent);
}
.bb-holiday-month-card .bb-holiday-fy-cell.has-holiday{
  background:color-mix(in srgb,var(--month-soft) 68%,#fff);
}
.bb-holiday-month-card .bb-holiday-calendar-event{
  display:block;
  width:100%;
  margin-top:2px;
  padding:4px 5px;
  border:0;
  border-radius:7px;
  color:#fff!important;
  background:var(--month-accent)!important;
  box-shadow:0 2px 6px color-mix(in srgb,var(--month-accent) 24%,transparent);
  font-size:8px;
  font-weight:900;
  line-height:1.1;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bb-holiday-month-card .bb-holiday-fy-cell[data-holiday-calendar-date]:hover{
  background:color-mix(in srgb,var(--month-soft) 75%,#fff);
  box-shadow:inset 0 0 0 1px var(--month-accent),0 5px 14px color-mix(in srgb,var(--month-accent) 14%,transparent);
}
.bb-holiday-month-card .bb-holiday-fy-cell[data-holiday-calendar-date]:focus{
  box-shadow:inset 0 0 0 2px var(--month-accent),0 0 0 3px color-mix(in srgb,var(--month-accent) 14%,transparent);
}

/* Twelve distinct month themes */
.bb-holiday-month-card:nth-child(12n+1){--month-accent:#f97316;--month-deep:#9a3412;--month-soft:#ffedd5;--month-soft-2:#fffaf4;--month-weekend:#fff1e5;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+2){--month-accent:#22c55e;--month-deep:#166534;--month-soft:#dcfce7;--month-soft-2:#f5fff8;--month-weekend:#eafbef;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+3){--month-accent:#3b82f6;--month-deep:#1d4ed8;--month-soft:#dbeafe;--month-soft-2:#f5f9ff;--month-weekend:#eaf3ff;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+4){--month-accent:#a855f7;--month-deep:#7e22ce;--month-soft:#f3e8ff;--month-soft-2:#fcf8ff;--month-weekend:#f7efff;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+5){--month-accent:#f43f5e;--month-deep:#be123c;--month-soft:#ffe4e6;--month-soft-2:#fff7f8;--month-weekend:#fff0f2;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+6){--month-accent:#14b8a6;--month-deep:#0f766e;--month-soft:#ccfbf1;--month-soft-2:#f3fffc;--month-weekend:#e3faf6;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+7){--month-accent:#eab308;--month-deep:#854d0e;--month-soft:#fef9c3;--month-soft-2:#fffdf2;--month-weekend:#fff9dc;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+8){--month-accent:#6366f1;--month-deep:#4338ca;--month-soft:#e0e7ff;--month-soft-2:#f7f8ff;--month-weekend:#eef0ff;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+9){--month-accent:#0ea5e9;--month-deep:#0369a1;--month-soft:#e0f2fe;--month-soft-2:#f5fbff;--month-weekend:#eaf7ff;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+10){--month-accent:#06b6d4;--month-deep:#0e7490;--month-soft:#cffafe;--month-soft-2:#f3fdff;--month-weekend:#e6faff;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+11){--month-accent:#8b5cf6;--month-deep:#6d28d9;--month-soft:#ede9fe;--month-soft-2:#faf8ff;--month-weekend:#f3efff;background:var(--month-soft-2)}
.bb-holiday-month-card:nth-child(12n+12){--month-accent:#84cc16;--month-deep:#4d7c0f;--month-soft:#ecfccb;--month-soft-2:#fafff3;--month-weekend:#f1fadf;background:var(--month-soft-2)}

@media(max-width:620px){
  .bb-holiday-fy-calendar{padding:10px}
  .bb-holiday-fy-months{gap:12px}
  .bb-holiday-month-card h3{min-height:40px;font-size:13px}
  .bb-holiday-month-card .bb-holiday-fy-cell{min-height:56px}
}

.bb-holiday-readonly .bb-holiday-calendar-event{cursor:default}.bb-holiday-readonly .bb-holiday-fy-cell:not([data-holiday-calendar-date]){cursor:default}.bb-holiday-readonly-table td{padding-top:14px!important;padding-bottom:14px!important}


/* v4.15.88 — richer holiday calendar, aligned to approved colorful mockup */
.bb-holiday-master{max-width:1240px!important}
.bb-holiday-fy-calendar{padding:18px;background:#f8fafc}
.bb-holiday-fy-months{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.bb-holiday-month-card{
  border:1px solid color-mix(in srgb,var(--month-accent) 24%,#dbe3ef)!important;
  border-radius:20px!important;
  overflow:hidden;
  background:linear-gradient(180deg,var(--month-soft-2),#fff 76%)!important;
  box-shadow:0 10px 28px color-mix(in srgb,var(--month-accent) 12%,rgba(15,23,42,.10))!important;
}
.bb-holiday-month-head{
  min-height:72px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 18px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--month-soft) 90%,#fff),color-mix(in srgb,var(--month-accent) 34%,#fff));
  border-bottom:1px solid color-mix(in srgb,var(--month-accent) 18%,#fff);
}
.bb-holiday-month-icon{
  width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;
  border-radius:14px;background:rgba(255,255,255,.52);color:var(--month-accent);
  font-size:24px;font-weight:900;box-shadow:0 5px 14px color-mix(in srgb,var(--month-accent) 16%,transparent)
}
.bb-holiday-month-card h3{
  min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important;
  display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center!important;gap:2px!important;
  color:var(--month-deep)!important;text-align:left!important
}
.bb-holiday-month-card h3::before{display:none!important}
.bb-holiday-month-card h3 strong{font-size:18px;line-height:1.1;font-weight:900;letter-spacing:-.02em;color:var(--month-deep)}
.bb-holiday-month-card h3 small{font-size:10px;line-height:1.2;font-weight:700;color:color-mix(in srgb,var(--month-deep) 68%,#64748b)}
.bb-holiday-month-card .bb-holiday-fy-weekdays{
  min-height:38px;background:rgba(255,255,255,.82)!important;border-bottom:1px solid color-mix(in srgb,var(--month-accent) 13%,#e2e8f0)!important
}
.bb-holiday-month-card .bb-holiday-fy-weekdays span{
  display:flex;align-items:center;justify-content:center;padding:9px 1px!important;background:transparent!important;color:#334155!important;font-size:10px!important;font-weight:900!important
}
.bb-holiday-month-card .bb-holiday-fy-weekdays span:first-child,
.bb-holiday-month-card .bb-holiday-fy-weekdays span:last-child{color:var(--month-deep)!important}
.bb-holiday-month-card .bb-holiday-fy-cell{
  min-height:62px!important;padding:6px 4px!important;background:rgba(255,255,255,.83)!important;
  border-right:1px solid color-mix(in srgb,var(--month-accent) 11%,#e6edf5)!important;
  border-bottom:1px solid color-mix(in srgb,var(--month-accent) 11%,#e6edf5)!important
}
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n+1),
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n){background:var(--month-weekend)!important}
.bb-holiday-month-card .bb-holiday-fy-cell.is-empty{background:color-mix(in srgb,var(--month-soft) 46%,#f8fafc)!important;opacity:.7}
.bb-holiday-month-card .bb-holiday-fy-cell .bb-holiday-calendar-date{
  width:30px!important;height:30px!important;min-height:30px!important;margin:0 auto 4px!important;
  font-size:11px!important;font-weight:900!important;color:#24364f!important
}
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n+1) .bb-holiday-calendar-date,
.bb-holiday-month-card .bb-holiday-fy-cell:nth-child(7n) .bb-holiday-calendar-date{color:var(--month-deep)!important}
.bb-holiday-month-card .bb-holiday-fy-cell.has-holiday{background:color-mix(in srgb,var(--month-soft) 76%,#fff)!important}
.bb-holiday-month-card .bb-holiday-calendar-event{
  width:auto!important;max-width:calc(100% - 6px);margin:0 auto 2px!important;padding:5px 8px!important;
  border-radius:8px!important;background:var(--month-accent)!important;color:#fff!important;
  font-size:9px!important;font-weight:900!important;box-shadow:0 4px 10px color-mix(in srgb,var(--month-accent) 24%,transparent)!important
}
.bb-holiday-month-card .bb-holiday-fy-cell[data-holiday-calendar-date]:hover{
  transform:translateY(-2px)!important;z-index:1;background:color-mix(in srgb,var(--month-soft) 80%,#fff)!important;
  box-shadow:inset 0 0 0 1px var(--month-accent),0 8px 20px color-mix(in srgb,var(--month-accent) 15%,transparent)!important
}
@media(max-width:980px){.bb-holiday-fy-months{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.bb-holiday-fy-months{grid-template-columns:1fr}.bb-holiday-month-head{min-height:64px}.bb-holiday-month-card .bb-holiday-fy-cell{min-height:58px!important}}

.bb-view-attendance-card{margin-top:12px;padding:12px 14px}.bb-view-attendance-card .bb-field-help{display:block;margin:6px 0 0 28px}

.bb-view-attendance-card .bb-view-attendance-user{margin-top:12px}.bb-view-attendance-card .bb-view-attendance-user label{display:block;margin-bottom:6px}.bb-view-attendance-card .bb-view-attendance-user select{width:100%}.bb-att-user-row.is-readonly .bb-att-row-actions:empty{display:none}

/* v4.15.93 — compact Holiday mobile view */
.bb-holiday-add-icon{display:none}
.bb-holiday-master-toolbar:empty{display:none}
@media(max-width:620px){
  .bb-holiday-template-btn,#bb-holiday-template-file,.bb-holiday-view-switch{display:none!important}
  .bb-holiday-master-toolbar{justify-content:flex-end!important;padding:8px!important;min-height:0}
  .bb-holiday-master-toolbar .bb-form-spacer{display:none!important}
  .bb-holiday-add-btn{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .bb-holiday-add-text{display:none!important}
  .bb-holiday-add-icon{display:inline!important;font-size:22px!important;font-weight:800!important;line-height:1}
}

/* v4.15.95 — Holiday mobile fit-to-screen */
@media(max-width:620px){
  .bb-holiday-master{width:100%!important;max-width:100%!important;margin:0!important;overflow:hidden!important}
  .bb-holiday-master .bb-table-wrap{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .bb-holiday-master .bb-holiday-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}
  .bb-holiday-master .bb-holiday-table th,.bb-holiday-master .bb-holiday-table td{min-width:0!important;padding:0!important;box-sizing:border-box!important}
  .bb-holiday-master .bb-holiday-table th:first-child,.bb-holiday-master .bb-holiday-table td:first-child{width:38%!important}
  .bb-holiday-master .bb-holiday-table th:nth-child(2),.bb-holiday-master .bb-holiday-table td:nth-child(2){width:62%!important}
  .bb-holiday-master .bb-holiday-table input[type="date"],.bb-holiday-master .bb-holiday-table input[type="text"]{width:100%!important;min-width:0!important;max-width:100%!important;font-size:11px!important;padding:7px 8px!important}
  .bb-holiday-master .bb-holiday-name-cell{width:100%!important;min-width:0!important;gap:4px!important;padding-right:4px!important}
  .bb-holiday-master .bb-holiday-name-cell [data-holiday-name]{min-width:0!important;max-width:100%!important}
  .bb-holiday-master .bb-holiday-delete-row{flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:30px!important}
  .bb-holiday-master .bb-holiday-table th{font-size:9px!important;padding:9px 8px!important}
}

/* v4.15.97 — Holiday mobile true full-width table */
@media(max-width:620px){
  .bb-holiday-master.bb-holiday-table-view{padding:0!important;width:100%!important;max-width:none!important}
  .bb-holiday-master.bb-holiday-table-view>.bb-table-wrap{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table,
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-readonly-table{display:table!important;width:100%!important;max-width:none!important;min-width:100%!important;margin:0!important;border-spacing:0!important;table-layout:fixed!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table thead{display:table-header-group!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table tbody{display:table-row-group!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table tr{display:table-row!important;width:100%!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table th,
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table td{display:table-cell!important;box-sizing:border-box!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table th:first-child,
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table td:first-child{width:34%!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table th:nth-child(2),
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-table td:nth-child(2){width:66%!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-name-cell{display:flex!important;width:100%!important;align-items:center!important}
  .bb-holiday-master.bb-holiday-table-view .bb-holiday-name-cell [data-holiday-name]{flex:1 1 auto!important;width:auto!important}
}

/* v4.15.99 — mobile sharing controls: icon-only, no horizontal scroll */
.bb-area-perm-icon{display:none;width:17px;height:17px;align-items:center;justify-content:center;line-height:0}
.bb-area-perm-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bb-area-perm-text{font:inherit;letter-spacing:inherit}
@media(max-width:700px){
  .bb-area-share-editor{gap:10px}
  .bb-area-share-picker{grid-template-columns:1fr;padding:10px;gap:8px}
  .bb-area-share-picker .bb-area-permission-buttons{display:grid;grid-template-columns:repeat(5,36px);gap:7px;justify-content:start;overflow:visible}
  .bb-area-share-table-wrap{overflow-x:hidden}
  .bb-area-share-table{width:100%!important;min-width:0!important;table-layout:fixed}
  .bb-area-share-table th,.bb-area-share-table td{padding:9px 7px}
  .bb-area-share-table th:first-child,.bb-area-share-table td:first-child{width:40%!important}
  .bb-area-share-table th:last-child,.bb-area-share-table td:last-child{width:60%!important}
  .bb-area-share-table td:last-child .bb-area-permission-buttons{display:grid;grid-template-columns:repeat(5,32px);gap:4px;justify-content:start;flex-wrap:nowrap}
  .bb-area-perm-toggle span{width:36px;min-width:36px;height:34px;padding:0;border-radius:8px}
  .bb-area-share-table td:last-child .bb-area-perm-toggle span{width:32px;min-width:32px;height:32px}
  .bb-area-perm-text{display:none!important}
  .bb-area-perm-icon{display:inline-flex}
  .bb-area-share-add-selection{width:36px;height:34px;margin:0;font-size:20px}
  .bb-area-share-table .bb-area-share-remove{width:32px;height:32px;margin:0;font-size:18px}
  .bb-area-share-selected-user{font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
  .bb-area-share-table th{font-size:10px;padding-top:8px;padding-bottom:8px}
  .bb-area-perm-toggle.delete span:not(:has(input)){color:inherit}
}

/* v4.16.01 — remove form heading taglines */
.bb-form .bb-form-heading p,.bb-form .bb-task-form-head p{display:none!important}

.bb-attendance-viewer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.bb-attendance-viewer-option{display:flex;align-items:center;gap:9px;min-height:40px;padding:8px 10px;border:1px solid #d8e0ee;border-radius:10px;background:#fff;font-weight:600;cursor:pointer}.bb-attendance-viewer-option input{width:16px;height:16px;margin:0}.bb-attendance-viewer-option:has(input:checked){border-color:#86a8ff;background:#eef4ff;color:#1d4ed8}@media(max-width:640px){.bb-attendance-viewer-grid{grid-template-columns:1fr}}

/* v4.16.04 — share icon mapping: + ADD, pencil EDIT, trash DELETE, eye VIEW, person+ Add User */
.bb-area-share-add-selection svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){.bb-area-share-add-selection svg{width:18px;height:18px}}

.bb-attendance-viewer-dropdown{position:relative;margin-top:8px}.bb-attendance-viewer-dropdown>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;cursor:pointer}.bb-attendance-viewer-dropdown>summary::-webkit-details-marker{display:none}.bb-attendance-viewer-dropdown[open]>summary{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.10)}.bb-attendance-viewer-menu{margin-top:8px;border:1px solid #dbe3ef;border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.10);max-height:260px;overflow:auto}.bb-attendance-viewer-options{padding:6px}.bb-attendance-viewer-option{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:8px;cursor:pointer}.bb-attendance-viewer-option:hover{background:#f8fafc}.bb-attendance-viewer-option input{margin:0}.bb-attendance-viewer-option:has(input:checked){background:#eef2ff;color:#3730a3;font-weight:600}@media(max-width:700px){.bb-attendance-viewer-dropdown>summary{min-height:40px}.bb-attendance-viewer-menu{max-height:220px}}

/* v4.16.06 View Attendance dropdown redesign */
.bb-attendance-viewer-dropdown{position:relative;margin-top:8px}
.bb-attendance-viewer-dropdown>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:7px 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;cursor:pointer}
.bb-attendance-viewer-dropdown>summary::-webkit-details-marker{display:none}
.bb-attendance-viewer-dropdown[open]>summary{border-color:#4f46e5;box-shadow:0 0 0 2px rgba(79,70,229,.10)}
.bb-attendance-viewer-chip-list{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;flex:1}
.bb-attendance-viewer-chip{display:inline-flex;align-items:center;gap:6px;max-width:190px;padding:5px 8px;border-radius:8px;background:#eef2ff;color:#1d4ed8;font-weight:700;font-size:12px}
.bb-attendance-viewer-chip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-attendance-viewer-chip button{border:0;background:transparent;color:#1d4ed8;font-size:15px;line-height:1;padding:0;cursor:pointer}
.bb-attendance-viewer-placeholder{color:#64748b;font-weight:500}
.bb-attendance-viewer-menu{margin-top:8px;border:1px solid #dbe3ef;border-radius:12px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.14);overflow:hidden}
.bb-attendance-viewer-tools{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #e5e7eb}
.bb-attendance-viewer-search-wrap{display:flex;align-items:center;gap:8px;flex:1;min-width:0;border:1px solid #cbd5e1;border-radius:9px;padding:0 10px;background:#fff}
.bb-attendance-viewer-search-wrap input{width:100%;border:0!important;box-shadow:none!important;padding:9px 0!important;outline:none;background:transparent}
.bb-attendance-viewer-bulk{display:flex;gap:10px;white-space:nowrap}
.bb-attendance-viewer-bulk button{border:0;background:transparent;color:#2563eb;font-weight:700;cursor:pointer;padding:6px 2px}
.bb-attendance-viewer-options{padding:6px;max-height:240px;overflow:auto}
.bb-attendance-viewer-option{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 10px;border:0;border-radius:8px;background:#fff;font-weight:600;cursor:pointer}
.bb-attendance-viewer-option:hover{background:#f8fafc}
.bb-attendance-viewer-option.is-selected{background:#eaf2ff;color:#1d4ed8}
.bb-attendance-viewer-option input{width:16px;height:16px;margin:0}
.bb-attendance-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border-top:1px solid #e5e7eb;background:#fff}
.bb-attendance-viewer-count{font-size:12px;color:#334155}
.bb-attendance-viewer-footer .bb-btn{min-width:74px}
@media(max-width:700px){.bb-attendance-viewer-tools{align-items:stretch;flex-direction:column}.bb-attendance-viewer-bulk{justify-content:flex-end}.bb-attendance-viewer-options{max-height:220px}.bb-attendance-viewer-chip{max-width:145px}.bb-attendance-viewer-footer{position:sticky;bottom:0}.bb-attendance-viewer-menu{max-height:none}}

/* v4.16.07 — true floating View Attendance dropdown */
.bb-view-attendance-card{position:relative;overflow:visible!important;z-index:20}
.bb-attendance-viewer-dropdown{position:relative!important;z-index:30}
.bb-attendance-viewer-dropdown[open]{z-index:999}
.bb-attendance-viewer-dropdown>.bb-attendance-viewer-menu{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 6px)!important;margin-top:0!important;z-index:9999!important;display:flex!important;flex-direction:column!important;max-height:360px!important;overflow:hidden!important;background:#fff!important;border:1px solid #dbe3ef!important;border-radius:12px!important;box-shadow:0 18px 45px rgba(15,23,42,.20)!important}
.bb-attendance-viewer-tools{flex:0 0 auto;background:#fff}
.bb-attendance-viewer-options{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain}
.bb-attendance-viewer-footer{flex:0 0 auto!important;position:static!important;bottom:auto!important;background:#fff!important;box-shadow:0 -6px 14px rgba(15,23,42,.04)}
.bb-attendance-viewer-option{min-height:34px!important;padding:7px 10px!important}
.bb-attendance-viewer-menu .bb-btn{min-height:34px}
@media(max-width:700px){
 .bb-attendance-viewer-dropdown>.bb-attendance-viewer-menu{left:0!important;right:0!important;max-height:320px!important}
 .bb-attendance-viewer-tools{padding:8px!important;gap:7px!important}
 .bb-attendance-viewer-search-wrap input{padding:8px 0!important}
 .bb-attendance-viewer-bulk{justify-content:space-between!important}
 .bb-attendance-viewer-footer{padding:8px 10px!important}
}


/* v4.16.08 — compact native-style View Attendance multi-select */
.bb-view-attendance-card{padding:10px 0 0!important;margin-top:8px!important;border:0!important;background:transparent!important;box-shadow:none!important;position:relative!important;overflow:visible!important;z-index:40!important}
.bb-view-attendance-card>label{display:block;margin:0 0 6px;font-weight:700;color:#0f172a}
.bb-attendance-viewer-dropdown{position:relative!important;margin:0!important;z-index:50!important}
.bb-attendance-viewer-dropdown>summary{height:42px!important;min-height:42px!important;padding:0 12px!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;display:flex!important;align-items:center!important;gap:8px!important;box-shadow:none!important}
.bb-attendance-viewer-dropdown[open]>summary{border-color:#4f46e5!important;box-shadow:0 0 0 2px rgba(79,70,229,.08)!important}
.bb-attendance-viewer-summary-text{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a;font-weight:500;font-size:14px}
.bb-attendance-viewer-summary-text.is-placeholder{color:#64748b}
.bb-attendance-viewer-dropdown>.bb-attendance-viewer-menu{position:absolute!important;left:0!important;right:auto!important;top:calc(100% + 4px)!important;width:100%!important;min-width:320px!important;max-width:430px!important;max-height:320px!important;margin:0!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:8px!important;box-shadow:0 12px 28px rgba(15,23,42,.16)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;z-index:99999!important}
.bb-attendance-viewer-tools{display:flex!important;align-items:center!important;gap:8px!important;padding:8px!important;border-bottom:1px solid #e5e7eb!important;background:#fff!important}
.bb-attendance-viewer-search-wrap{height:34px!important;padding:0 8px!important;border:1px solid #cbd5e1!important;border-radius:7px!important;display:flex!important;align-items:center!important;gap:6px!important;flex:1!important;min-width:0!important}
.bb-attendance-viewer-search-wrap input{height:32px!important;padding:0!important;font-size:13px!important}
.bb-attendance-viewer-bulk{display:flex!important;gap:8px!important;white-space:nowrap!important}
.bb-attendance-viewer-bulk button{padding:3px 0!important;font-size:12px!important;font-weight:600!important;color:#2563eb!important}
.bb-attendance-viewer-options{padding:4px!important;max-height:210px!important;overflow-y:auto!important;overflow-x:hidden!important}
.bb-attendance-viewer-option{display:flex!important;align-items:center!important;gap:8px!important;min-height:32px!important;height:32px!important;padding:0 8px!important;margin:0!important;border:0!important;border-radius:5px!important;background:#fff!important;font-size:13px!important;font-weight:500!important;cursor:pointer!important}
.bb-attendance-viewer-option:hover{background:#f8fafc!important}
.bb-attendance-viewer-option.is-selected{background:#eef4ff!important;color:#1d4ed8!important}
.bb-attendance-viewer-option input{width:15px!important;height:15px!important;margin:0!important;flex:0 0 auto!important}
.bb-attendance-viewer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-attendance-viewer-footer{height:42px!important;min-height:42px!important;padding:6px 8px!important;border-top:1px solid #e5e7eb!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;position:static!important}
.bb-attendance-viewer-count{font-size:11px!important;font-weight:600!important;color:#64748b!important}
.bb-attendance-viewer-footer .bb-btn{min-width:58px!important;min-height:30px!important;height:30px!important;padding:0 12px!important;border-radius:6px!important;font-size:12px!important}
@media(max-width:700px){
 .bb-attendance-viewer-dropdown>.bb-attendance-viewer-menu{width:min(360px,calc(100vw - 36px))!important;min-width:0!important;max-width:none!important}
 .bb-attendance-viewer-tools{flex-direction:row!important;align-items:center!important}
 .bb-attendance-viewer-bulk{gap:7px!important}
 .bb-attendance-viewer-options{max-height:190px!important}
}


/* v4.16.10 — Activity Log mobile uses a real compact table instead of cards. */
@media(max-width:900px){
  .bb-activity-register .bb-activity-table-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch!important;
    margin-top:8px!important;
    border:1px solid #dbe4ef!important;
    border-radius:9px!important;
    background:#fff!important;
  }
  .bb-activity-register .bb-activity-table{
    display:table!important;
    width:100%!important;
    min-width:760px!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
    background:#fff!important;
  }
  .bb-activity-register .bb-activity-table thead{display:table-header-group!important}
  .bb-activity-register .bb-activity-table tbody{display:table-row-group!important;padding:0!important}
  .bb-activity-register .bb-activity-table tr{display:table-row!important}
  .bb-activity-register .bb-activity-table th,
  .bb-activity-register .bb-activity-table td{
    display:table-cell!important;
    padding:7px 8px!important;
    border-right:1px solid #e5e7eb!important;
    border-bottom:1px solid #e5e7eb!important;
    vertical-align:top!important;
    font-size:10px!important;
    line-height:1.35!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    width:auto!important;
  }
  .bb-activity-register .bb-activity-table th{
    position:sticky!important;
    top:0!important;
    z-index:2!important;
    background:#f8fafc!important;
    color:#475569!important;
    font-size:9px!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.03em!important;
  }
  .bb-activity-register .bb-activity-table th:nth-child(1),
  .bb-activity-register .bb-activity-table td:nth-child(1){width:110px!important}
  .bb-activity-register .bb-activity-table th:nth-child(2),
  .bb-activity-register .bb-activity-table td:nth-child(2){width:105px!important}
  .bb-activity-register .bb-activity-table th:nth-child(3),
  .bb-activity-register .bb-activity-table td:nth-child(3){width:105px!important}
  .bb-activity-register .bb-activity-table th:nth-child(4),
  .bb-activity-register .bb-activity-table td:nth-child(4){width:160px!important}
  .bb-activity-register .bb-activity-table th:nth-child(5),
  .bb-activity-register .bb-activity-table td:nth-child(5){width:100px!important}
  .bb-activity-register .bb-activity-table th:nth-child(6),
  .bb-activity-register .bb-activity-table td:nth-child(6){width:180px!important}
  .bb-activity-register .bb-activity-table th:nth-child(7),
  .bb-activity-register .bb-activity-table td:nth-child(7){width:110px!important}
  .bb-activity-register .bb-activity-table tr.bb-activity-log-row{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  .bb-activity-register .bb-activity-table tr.bb-activity-log-row>td::before{content:none!important;display:none!important}
  .bb-activity-register .bb-activity-table tr.bb-activity-row-hidden{display:none!important}
  .bb-activity-register .bb-activity-table .bb-activity-empty-source,
  .bb-activity-register .bb-activity-table #bb-activity-no-results{display:table-row!important}
  .bb-activity-register .bb-activity-table .bb-activity-empty-source.bb-activity-row-hidden,
  .bb-activity-register .bb-activity-table #bb-activity-no-results.bb-activity-row-hidden{display:none!important}
  .bb-activity-register .bb-activity-table .bb-activity-empty-source td,
  .bb-activity-register .bb-activity-table #bb-activity-no-results td{display:table-cell!important;width:auto!important;padding:16px!important;text-align:center!important}
}

/* v4.16.15 — Leave management */
.bb-leave-page .bb-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px}.bb-leave-status{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700}.bb-leave-status.pending{background:#fff3cd;color:#8a5a00}.bb-leave-status.approved{background:#dcfce7;color:#166534}.bb-leave-status.rejected{background:#fee2e2;color:#991b1b}.bb-att-status.leave{background:#ede9fe;color:#6d28d9}.bb-leave-table td{vertical-align:middle}
@media(max-width:700px){.bb-leave-page .bb-panel-head{padding:10px}.bb-leave-page .bb-table-wrap{overflow-x:auto}.bb-leave-page .bb-table{min-width:680px}.bb-leave-page .bb-btn.primary[data-add-leave]{font-size:0;width:38px;height:38px;padding:0}.bb-leave-page .bb-btn.primary[data-add-leave]::after{content:'+';font-size:20px}}

.bb-att-status.overtime{background:#e0e7ff;color:#3730a3}

.bb-att-admin-table th.bb-working-hour-head{white-space:normal;line-height:1.15;text-align:center}.bb-att-admin-table th,.bb-att-admin-table td{vertical-align:middle}


/* v4.16.26 — Mobile Workspace: stable vertical scrolling, reliable filter drawer, clean Work Area headings */
@media(max-width:640px){
  /* The Workspace must use the page's normal vertical scroll. */
  html,body,#bb-app,.bb-main,#bb-content,
  .bb-workspace-header-panel,.bb-workspace-layout,.bb-workspace-layout-full,
  .bb-board-scroll,.bb-board.bb-board-single,.bb-workarea-column{
    height:auto!important;
    max-height:none!important;
  }
  body,#bb-app,.bb-main,#bb-content{
    overflow-x:hidden!important;
    overflow-y:visible!important;
  }
  .bb-workspace-header-panel,
  .bb-workspace-layout,.bb-workspace-layout-full,
  .bb-board-scroll,.bb-board.bb-board-single,
  .bb-workarea-column{
    overflow:visible!important;
  }
  .bb-board-scroll{
    width:100%!important;
    min-width:0!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .bb-board.bb-board-single{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  .bb-workarea-column{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:0!important;
    margin:0!important;
    flex:0 0 auto!important;
  }

  /* Show the Work Area title only once. "Simple" is an internal bucket name,
     so do not repeat it as a heading inside every Work Area on phones. */
  .bb-workarea-column .bb-bucket-simple>.bb-bucket-head{
    display:none!important;
  }
  .bb-workarea-column .bb-bucket-simple{
    padding-top:4px!important;
  }
  .bb-workarea-column>.bb-col-head{
    display:flex!important;
    visibility:visible!important;
    position:relative!important;
    z-index:2!important;
  }

  /* Make the funnel open a true overlay drawer instead of an inline block that
     can be clipped by the board/viewport. */
  .bb-workspace-toolbar.filters-open{
    display:block!important;
    position:fixed!important;
    top:74px!important;
    left:10px!important;
    right:10px!important;
    width:auto!important;
    max-width:none!important;
    max-height:calc(100vh - 90px)!important;
    overflow-y:auto!important;
    overflow-x:visible!important;
    z-index:99920!important;
    padding:10px!important;
    margin:0!important;
    background:#fff!important;
    border:1px solid #dbe3ef!important;
    border-radius:12px!important;
    box-shadow:0 18px 44px rgba(15,23,42,.22)!important;
  }
  .bb-workspace-toolbar.filters-open .bb-compact-filters{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
    width:100%!important;
    overflow:visible!important;
  }
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-multi-filter,
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-filter-field-compact{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .bb-workspace-toolbar.filters-open .bb-compact-filters>.bb-icon-btn,
  .bb-workspace-toolbar.filters-open .bb-clear-filters,
  .bb-workspace-toolbar.filters-open .bb-export-visible{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
  }
  .bb-workspace-toolbar.filters-open details.bb-multi-filter[open]{
    z-index:99930!important;
  }
  .bb-workspace-toolbar.filters-open .bb-multi-menu{
    z-index:99940!important;
  }

  /* Keep floating quick actions clear of the final Work Area. */
  .bb-workspace-layout-full{padding-bottom:88px!important}
}


/* v4.16.27 — Mobile Workspace: keep the complete top header fixed while board content scrolls. */
@media(max-width:640px){
  #bb-app:has(.bb-workspace-layout) .bb-topbar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
    padding:7px 10px!important;
    margin:0!important;
    z-index:99950!important;
    background:#fff!important;
    border-bottom:1px solid #dbe3ef!important;
    box-shadow:0 2px 10px rgba(15,23,42,.10)!important;
    box-sizing:border-box!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-main{
    padding-top:56px!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-content{
    padding-top:8px!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-topbar-left,
  #bb-app:has(.bb-workspace-layout) .bb-top-actions{
    align-items:center!important;
    min-width:0!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-topbar h1{
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-workspace-toolbar.filters-open{
    top:64px!important;
    max-height:calc(100vh - 76px)!important;
  }
}

.bb-work-area-name-error{display:block;margin-top:6px;color:#b91c1c;font-size:12px;font-weight:700;line-height:1.35}.bb-work-area-name-error[hidden]{display:none!important}.bb-input-error{border-color:#dc2626!important;box-shadow:0 0 0 2px rgba(220,38,38,.10)!important}

.bb-quick-billing-section{display:flex;align-items:end;gap:12px;padding:12px 0;border-top:1px solid #edf1f7}.bb-quick-billable-toggle{display:flex;align-items:center;gap:8px;font-weight:700;min-height:42px}.bb-quick-billing-section .bb-billable-amount-field{min-width:180px;flex:1}.bb-pending-billing-table .bb-num{text-align:right}.bb-update-billing-btn{white-space:nowrap}
@media(max-width:700px){.bb-quick-billing-section{align-items:stretch;flex-direction:column}.bb-quick-billing-section .bb-billable-amount-field{min-width:0}.bb-pending-billing-table{min-width:760px}}

.bb-task-billable-indicator{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:7px;background:#ecfdf5;border:1px solid #86efac;color:#15803d;font-size:12px;font-weight:800;line-height:1;flex:0 0 auto}

.bb-task-billable-indicator{display:inline-flex;align-items:center;gap:3px}.bb-task-billable-indicator.has-amount small{font-size:11px;font-weight:700;line-height:1;white-space:nowrap}

.bb-party-share-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bb-party-share-option{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #dbe3ef;border-radius:10px;background:#fff}.bb-party-share-option:has(input:checked){border-color:#6366f1;background:#eef2ff}.bb-party-login-fields{margin-top:12px}@media(max-width:700px){.bb-party-share-list{grid-template-columns:1fr}}


/* v4.16.40 — unified sharing UI across permission-sharing forms */
.bb-unified-share-ui{
  width:100%;
  gap:12px;
}
.bb-unified-share-ui .bb-area-share-picker{
  display:grid;
  grid-template-columns:minmax(260px,1.25fr) minmax(430px,2fr);
  align-items:center;
  gap:12px;
  width:100%;
  padding:10px 12px;
  border:1px solid #dbe3ee;
  border-radius:12px;
  background:#f8fbff;
  box-sizing:border-box;
}
.bb-unified-share-ui .bb-area-share-picker-user,
.bb-unified-share-ui .bb-area-share-user{min-width:0;width:100%}
.bb-unified-share-ui .bb-area-share-user{
  min-height:38px;
  border:1px solid #cfd8e6;
  border-radius:8px;
  background:#fff;
  padding:7px 10px;
}
.bb-unified-share-ui .bb-area-permission-buttons{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:nowrap;
}
.bb-unified-share-ui .bb-area-perm-toggle span{
  min-width:80px;
  height:34px;
  padding:0 14px;
  border-radius:8px;
}
.bb-unified-share-ui .bb-area-share-add-selection{
  flex:0 0 36px;
  width:36px;
  height:34px;
  margin-left:0;
  border-radius:8px;
}
.bb-unified-share-ui .bb-area-share-table-wrap{
  overflow:hidden;
  border-radius:12px;
}
.bb-unified-share-ui .bb-area-share-table{
  width:100%;
  min-width:0;
  table-layout:fixed;
}
.bb-unified-share-ui .bb-area-share-table th:first-child,
.bb-unified-share-ui .bb-area-share-table td:first-child{width:42%}
.bb-unified-share-ui .bb-area-share-table th:last-child,
.bb-unified-share-ui .bb-area-share-table td:last-child{width:58%}
.bb-unified-share-ui .bb-area-share-table td:last-child .bb-area-permission-buttons{
  flex-wrap:nowrap;
}
.bb-unified-share-ui .bb-area-share-remove{
  flex:0 0 32px;
}

@media(max-width:700px){
  .bb-unified-share-ui .bb-section-title{margin-bottom:0}
  .bb-unified-share-ui .bb-area-share-picker{
    grid-template-columns:1fr;
    gap:8px;
    padding:10px;
  }
  .bb-unified-share-ui .bb-area-share-picker .bb-area-permission-buttons{
    display:grid;
    grid-template-columns:repeat(5,36px);
    gap:7px;
    justify-content:start;
  }
  .bb-unified-share-ui .bb-area-perm-toggle span{
    width:36px;
    min-width:36px;
    height:34px;
    padding:0;
  }
  .bb-unified-share-ui .bb-area-perm-text{display:none!important}
  .bb-unified-share-ui .bb-area-perm-icon{display:inline-flex!important}
  .bb-unified-share-ui .bb-area-share-add-selection{
    width:36px;
    height:34px;
  }
  .bb-unified-share-ui .bb-area-share-table-wrap{
    width:100%;
    overflow-x:hidden;
  }
  .bb-unified-share-ui .bb-area-share-table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed;
  }
  .bb-unified-share-ui .bb-area-share-table th,
  .bb-unified-share-ui .bb-area-share-table td{
    padding:9px 7px;
  }
  .bb-unified-share-ui .bb-area-share-table th:first-child,
  .bb-unified-share-ui .bb-area-share-table td:first-child{width:42%!important}
  .bb-unified-share-ui .bb-area-share-table th:last-child,
  .bb-unified-share-ui .bb-area-share-table td:last-child{width:58%!important}
  .bb-unified-share-ui .bb-area-share-table td:last-child .bb-area-permission-buttons{
    display:grid;
    grid-template-columns:repeat(5,32px);
    gap:4px;
    justify-content:start;
  }
  .bb-unified-share-ui .bb-area-share-table td:last-child .bb-area-perm-toggle span{
    width:32px;
    min-width:32px;
    height:32px;
  }
  .bb-unified-share-ui .bb-area-share-table .bb-area-share-remove{
    width:32px;
    height:32px;
    margin:0;
  }
  .bb-unified-share-ui .bb-area-share-selected-user{
    font-size:12px;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}

/* v4.16.42 Party share uses the same unified permission UI as User sharing */
.bb-party-share-picker{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:center}.bb-party-share-picker-party select{width:100%}.bb-party-perm-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:38px;min-width:82px;padding:0 14px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;font-weight:700;cursor:pointer}.bb-party-perm-toggle input{position:absolute;opacity:0;pointer-events:none}.bb-party-perm-toggle.is-selected.bb-action-add{background:#16a34a;border-color:#16a34a;color:#fff}.bb-party-perm-toggle.is-selected.bb-action-edit{background:#2563eb;border-color:#2563eb;color:#fff}.bb-party-perm-toggle.is-selected.bb-action-delete{background:#dc2626;border-color:#dc2626;color:#fff}.bb-party-perm-toggle.is-selected.bb-action-view{background:#7c3aed;border-color:#7c3aed;color:#fff}.bb-party-share-add-selection{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;border-radius:9px;background:#2563eb;color:#fff}.bb-party-share-add-selection svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.bb-party-share-editor .bb-area-share-table{width:100%}
@media(max-width:700px){.bb-party-share-picker{display:block}.bb-party-share-picker-party{margin-bottom:8px}.bb-party-share-picker .bb-area-permission-buttons{display:flex;gap:5px;flex-wrap:nowrap}.bb-party-perm-toggle{min-width:34px;width:34px;height:34px;min-height:34px;padding:0}.bb-party-perm-toggle .bb-share-action-text{display:none}.bb-party-perm-toggle .bb-share-action-icon{display:inline}.bb-party-share-add-selection{width:34px;height:34px}.bb-party-share-editor .bb-area-share-table th:first-child,.bb-party-share-editor .bb-area-share-table td:first-child{width:42%}}

/* v4.16.43 Share actions are icon-only on desktop and mobile */
.bb-unified-share-ui .bb-area-perm-text{display:none!important}
.bb-unified-share-ui .bb-area-perm-icon{display:inline-flex!important}
.bb-unified-share-ui .bb-area-perm-toggle span{width:36px!important;min-width:36px!important;height:34px!important;padding:0!important}
.bb-unified-share-ui .bb-area-share-picker{grid-template-columns:minmax(220px,1fr) auto}
.bb-unified-share-ui .bb-area-share-picker .bb-area-permission-buttons{gap:7px}
.bb-unified-share-ui .bb-area-share-table td:last-child .bb-area-perm-toggle span{width:32px!important;min-width:32px!important;height:32px!important}
.bb-party-share-editor .bb-share-action-text{display:none!important}
.bb-party-share-editor .bb-share-action-icon{display:inline-flex!important;align-items:center;justify-content:center}
.bb-party-share-editor .bb-party-perm-toggle{min-width:36px!important;width:36px!important;height:34px!important;min-height:34px!important;padding:0!important}
.bb-party-share-editor .bb-area-share-table td:last-child .bb-party-perm-toggle{min-width:32px!important;width:32px!important;height:32px!important;min-height:32px!important}

/* v4.16.44 — Party share visually identical to User share */
.bb-party-share-editor.bb-unified-share-ui .bb-party-share-picker{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;align-items:center!important;gap:12px!important;width:100%!important;padding:10px 12px!important;border:1px solid #dbe3ee!important;border-radius:12px!important;background:#f8fbff!important;box-sizing:border-box!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-share-picker-party{min-width:0!important;margin:0!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-share-party{width:100%!important;min-height:38px!important;border:1px solid #cfd8e6!important;border-radius:8px!important;background:#fff!important;padding:7px 10px!important;box-sizing:border-box!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-perm-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:36px!important;width:36px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;background:transparent!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-perm-toggle>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;height:34px!important;padding:0!important;border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff!important;color:#334155!important;box-sizing:border-box!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-perm-toggle.add input:checked+span{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-perm-toggle.edit input:checked+span{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-perm-toggle.delete input:checked+span{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-perm-toggle.view input:checked+span{background:#7c3aed!important;border-color:#7c3aed!important;color:#fff!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-share-add-selection{width:36px!important;height:34px!important;border-radius:8px!important;background:#2563eb!important;color:#fff!important}
.bb-party-share-editor.bb-unified-share-ui .bb-party-share-add-selection svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
.bb-party-share-editor.bb-unified-share-ui .bb-area-share-table td:last-child .bb-party-perm-toggle{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
.bb-party-share-editor.bb-unified-share-ui .bb-area-share-table td:last-child .bb-party-perm-toggle>span{width:32px!important;min-width:32px!important;height:32px!important}
@media(max-width:700px){.bb-party-share-editor.bb-unified-share-ui .bb-party-share-picker{grid-template-columns:1fr!important;gap:8px!important;padding:10px!important}.bb-party-share-editor.bb-unified-share-ui .bb-party-share-picker .bb-area-permission-buttons{display:grid!important;grid-template-columns:repeat(5,36px)!important;gap:7px!important;justify-content:start!important}}

.bb-collapsible-share-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.bb-share-section-toggle{width:36px;height:36px;border:1px solid #d7deeb;border-radius:10px;background:#fff;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto}.bb-share-section-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.bb-collapsible-share.is-open .bb-share-section-toggle{background:#eef2ff;color:#4f46e5;border-color:#c7d2fe}.bb-collapsible-share-body[hidden]{display:none!important}.bb-collapsible-share-body{margin-top:12px}

.bb-pending-billing-table .bb-pending-billed-input{width:130px;max-width:100%;text-align:right;padding:8px 10px;border:1px solid #d7deea;border-radius:8px;background:#fff}.bb-pending-billing-table .bb-pending-billed-input:focus{outline:none;border-color:#4f63ff;box-shadow:0 0 0 2px rgba(79,99,255,.12)}.bb-pending-billing-table .bb-pending-billed-input.bb-input-error{border-color:#dc2626}.bb-pending-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.bb-pending-toolbar .bb-pending-billing-update-all{margin-left:auto}@media(max-width:700px){.bb-pending-toolbar{align-items:stretch}.bb-pending-billing-table .bb-pending-billed-input{width:110px}}

/* Pending Billing table borders + edited-row highlight */
.bb-pending-billing-table{border-collapse:collapse!important;border-spacing:0!important;width:100%}
.bb-pending-billing-table th,.bb-pending-billing-table td{border:1px solid #d8e0ec!important}
.bb-pending-billing-table thead th{background:#f8fafc}
.bb-pending-billing-table tbody tr.bb-billing-row-entered td{background:#ecfdf5!important}
.bb-pending-billing-table tbody tr.bb-billing-row-entered .bb-pending-billed-input{background:#fff;border-color:#22c55e}

/* v4.16.54 — Hide Share table until at least one User/Party is added */
.bb-area-share-table-wrap[hidden]{display:none!important;}

/* v4.16.58 — searchable User/Party share selectors + inline validation */
.bb-share-search-control{position:relative;width:100%;min-width:0}
.bb-share-search-input{width:100%;height:38px;border:1px solid #cfd8e6;border-radius:8px;background:#fff;padding:7px 34px 7px 10px;box-sizing:border-box;font:inherit;color:#111827;outline:none}
.bb-share-search-input:focus{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.12)}
.bb-share-search-control:after{content:'⌄';position:absolute;right:11px;top:7px;font-size:18px;color:#475569;pointer-events:none}
.bb-share-search-menu{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:100020;background:#fff;border:1px solid #cfd8e6;border-radius:9px;box-shadow:0 12px 30px rgba(15,23,42,.16);max-height:220px;overflow:auto;padding:4px}
.bb-share-search-option{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px 10px;border-radius:6px;font:inherit;color:#111827;cursor:pointer}
.bb-share-search-option:hover,.bb-share-search-option:focus{background:#eef2ff;color:#3730a3;outline:none}
.bb-share-search-empty{padding:10px;color:#94a3b8;font-size:12px}
.bb-share-inline-error{grid-column:1/-1;color:#b91c1c;font-size:12px;font-weight:600;padding:0 2px 2px}
.bb-share-inline-error[hidden]{display:none!important}

/* v4.16.61 - Settings Modules two-column table */
.bb-module-settings-wrap{border:1px solid #dfe5ee;border-radius:12px;overflow:hidden;background:#fff;margin-bottom:16px}
.bb-module-settings-table{width:100%;border-collapse:collapse;table-layout:fixed}
.bb-module-settings-table th,.bb-module-settings-table td{padding:13px 16px;border-bottom:1px solid #e7ebf2;text-align:left;vertical-align:middle}
.bb-module-settings-table th{background:#f8fafc;color:#41506a;font-size:10px;font-weight:800;letter-spacing:.04em}
.bb-module-settings-table th:last-child,.bb-module-settings-table td:last-child{width:120px;text-align:center;border-left:1px solid #e7ebf2}
.bb-module-settings-table td{font-size:11px;color:#172033;font-weight:600}
.bb-module-settings-table tbody tr:last-child td{border-bottom:0}
.bb-module-settings-table input[type=checkbox]{width:20px;height:20px;margin:0;cursor:pointer}
@media(max-width:560px){.bb-module-settings-table th,.bb-module-settings-table td{padding:11px 12px}.bb-module-settings-table th:last-child,.bb-module-settings-table td:last-child{width:82px}}

/* v4.16.62 Pending Tasks subtasks */
.bb-pending-subtasks-cell{min-width:220px;vertical-align:top}
.bb-pending-subtasks-summary{display:flex;align-items:center;gap:5px;margin-bottom:6px;font-size:11px;white-space:nowrap}
.bb-pending-subtasks-summary b{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:#eef2ff;color:#4338ca}
.bb-pending-subtasks-summary small{color:#64748b;margin-left:auto}
.bb-pending-subtasks-list{display:flex;flex-direction:column;gap:5px}
.bb-pending-subtask-row{display:flex;align-items:flex-start;gap:6px;font-size:12px;line-height:1.25;cursor:pointer}
.bb-pending-subtask-row input{margin-top:1px;flex:0 0 auto}
.bb-pending-subtasks-done{font-size:11px;color:#15803d;font-weight:600}
@media(max-width:760px){.bb-pending-subtasks-cell{min-width:180px}.bb-pending-subtask-row{font-size:11px}}

/* v4.16.68 clean social note previews: no third-party consent/caption text. */
.bb-note-social-preview{position:relative;min-height:116px;background:#eef2f7;display:block}
.bb-note-social-preview img{width:100%;height:150px;object-fit:cover;display:block}
.bb-note-social-preview .bb-note-social-open{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:rgba(15,23,42,.78);color:#fff;font-size:18px;font-weight:800;line-height:1;box-shadow:0 5px 18px rgba(15,23,42,.24);pointer-events:none}
.bb-note-social-preview.is-youtube .bb-note-social-open{padding-left:3px}
.bb-note-social-preview .bb-note-social-fallback{display:grid;place-items:center;height:130px;padding:12px;font-weight:800;color:#344054;background:linear-gradient(135deg,#f8fafc,#eef2f7)}
.bb-note-social-preview:hover .bb-note-social-open{transform:translate(-50%,-50%) scale(1.06)}
@media(max-width:900px){.bb-note-social-preview img{height:150px}}

/* v4.16.70 — optimistic Task creation */
.bb-task.bb-task-saving{position:relative;opacity:.78;pointer-events:none;}
.bb-task.bb-task-saving::after{content:"Saving…";position:absolute;right:10px;top:8px;font-size:11px;font-weight:700;line-height:1;padding:5px 8px;border-radius:999px;background:#f3f4f6;color:#4b5563;border:1px solid #d1d5db;z-index:3;}
.bb-task.bb-task-saving .bb-task-name{padding-right:64px;}


/* v4.16.83 — Mobile app-style five-action bottom bar */
.bb-global-quick-actions .bb-mobile-nav-only{display:none!important}
.bb-global-quick-actions .bb-dashboard-quick-btn>span{display:none}
@media(max-width:700px){
  #bb-app{padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}
  .bb-global-mini-loader{bottom:calc(78px + env(safe-area-inset-bottom,0px))!important}
  .bb-dashboard-quick-actions.bb-global-quick-actions{left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:none!important;min-height:64px!important;flex-direction:row!important;justify-content:space-around!important;align-items:stretch!important;gap:0!important;padding:5px 6px calc(5px + env(safe-area-inset-bottom,0px))!important;border:0!important;border-top:1px solid #dfe5ef!important;border-radius:0!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -5px 18px rgba(15,23,42,.10)!important;backdrop-filter:blur(12px)!important;z-index:120!important}
  .bb-global-quick-actions .bb-mobile-nav-only{display:flex!important}
  .bb-global-quick-actions .bb-dashboard-quick-btn{width:auto!important;height:54px!important;min-width:0!important;flex:1 1 20%!important;padding:4px 2px!important;border:0!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;color:#64748b!important}
  .bb-global-quick-actions .bb-dashboard-quick-btn svg{width:22px!important;height:22px!important;margin:0!important;stroke:currentColor!important}
  .bb-global-quick-actions .bb-dashboard-quick-btn>span{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9.5px!important;line-height:1!important;font-weight:750!important;color:currentColor!important}
  .bb-global-quick-actions .bb-dashboard-quick-btn.active{background:#eef4ff!important;color:#2459b9!important}
  .bb-global-quick-actions .bb-dashboard-quick-btn:active{transform:scale(.96)!important;background:#f3f6fb!important}
  .bb-modal-open .bb-global-quick-actions,body:has(.bb-modal.is-open) .bb-global-quick-actions{display:none!important}
}


/* v4.16.85 — Task Form AI Simplify */
.bb-task-ai-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.bb-task-ai-label-row>label{margin:0}
.bb-task-ai-icon{width:30px;height:30px;display:inline-grid;place-items:center;flex:0 0 30px;border:1px solid #cfd8f7;border-radius:9px;background:#f4f6ff;color:#4f46e5;font-size:18px;font-weight:800;line-height:1;cursor:pointer;box-shadow:none}
.bb-task-ai-icon:hover{background:#ecefff;border-color:#aebcf5}
.bb-task-ai-icon:disabled,.bb-task-ai-icon.is-loading{opacity:.65;cursor:wait}
.bb-task-ai-section-title{align-items:center}
.bb-task-ai-preview{margin-top:10px;padding:11px;border:1px solid #d7def5;border-radius:12px;background:#f8f9ff}
.bb-task-ai-preview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;color:#4338ca;font-size:12px;font-weight:800}
.bb-task-ai-preview-head small{font-size:10px;color:#718096;font-weight:600}
.bb-task-ai-result{width:100%;resize:vertical;background:#fff!important;border:1px solid #d7deeb!important;color:#182230!important}
.bb-task-ai-preview-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:8px}
@media(max-width:700px){.bb-task-ai-icon{width:32px;height:32px;flex-basis:32px}.bb-task-ai-preview{padding:10px}.bb-task-ai-preview-actions .bb-btn{min-height:38px}}


/* v4.16.86 — AI Simplify in the actual Quick Add/Edit Task form */
.bb-quick-task-card .bb-task-ai-label-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px}
.bb-quick-task-card .bb-task-ai-icon{display:inline-grid!important;visibility:visible!important;opacity:1!important}
.bb-quick-task-card .bb-task-ai-preview{margin-top:8px}
.bb-quick-task-card .bb-quick-notes-section .bb-task-ai-label-row{margin-bottom:5px}


/* v4.16.87 — visible AI action feedback inside Task forms */
.bb-task-ai-inline-status{margin-top:7px;padding:8px 10px;border-radius:8px;font-size:12px;font-weight:700;line-height:1.35}
.bb-task-ai-inline-status.is-loading{background:#eef2ff;color:#4338ca;border:1px solid #c7d2fe}
.bb-task-ai-inline-status.is-error{background:#fff1f2;color:#b42318;border:1px solid #fecdd3}
.bb-task-ai-icon{touch-action:manipulation;position:relative;z-index:2}

/* v4.16.89 — Monthly Sheet colorful visual polish */
.bb-att-report-page .bb-att-report-toolbar{
  background:linear-gradient(135deg,#f8fbff 0%,#fdf7ff 52%,#f6fffb 100%);
  border:1px solid #dbe7ff;
  border-radius:18px;
  padding:14px;
}
.bb-att-report-page .bb-att-report-toolbar .bb-att-filter>label{
  color:#52607a;
  font-weight:800;
}
.bb-att-report-page .bb-att-report-toolbar input,
.bb-att-report-page .bb-att-report-toolbar select{
  background:#fff;
  border-color:#d9e3f5;
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset;
}
.bb-monthly-att-table{
  border-collapse:separate;
  border-spacing:0;
  min-width:1120px;
}
.bb-monthly-att-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:#eef4ff;
  color:#4a5b78;
  border-bottom:1px solid #dbe6f6;
}
.bb-monthly-att-table thead th:nth-child(1){background:#eef4ff;color:#3657c8;}
.bb-monthly-att-table thead th:nth-child(2){background:#fff5ea;color:#b45309;}
.bb-monthly-att-table thead th:nth-child(3){background:#eefbf3;color:#15803d;}
.bb-monthly-att-table thead th:nth-child(4){background:#f5f3ff;color:#6d28d9;}
.bb-monthly-att-table thead th:nth-child(5){background:#eff6ff;color:#1d4ed8;}
.bb-monthly-att-table thead th:nth-child(6){background:#fff7ed;color:#c2410c;}
.bb-monthly-att-table thead th:nth-child(7){background:#fef2f2;color:#be123c;}
.bb-monthly-att-table thead th:nth-child(8){background:#ecfeff;color:#0f766e;}
.bb-monthly-att-table thead th:nth-child(9){background:#f8fafc;color:#475569;}
.bb-monthly-att-table thead th:nth-last-child(3){background:#eef2ff;color:#4338ca;}
.bb-monthly-att-table thead th:nth-last-child(2){background:#fff7e8;color:#b45309;}
.bb-monthly-att-table thead th:last-child{background:#ecfdf3;color:#15803d;}
.bb-monthly-att-table tbody td{
  background:#fff;
  transition:background-color .18s ease,color .18s ease;
}
.bb-monthly-att-table tbody tr:nth-child(odd) td{background:#fcfdff;}
.bb-monthly-att-table tbody tr:hover td{background:#f6faff;}
.bb-monthly-att-table tbody td:first-child{
  background:#f5f9ff;
}
.bb-monthly-att-table tbody td:first-child strong{
  color:#1d4ed8;
}
.bb-monthly-att-table tbody td:nth-last-child(3){
  background:#f3f0ff;
  font-weight:800;
  color:#4338ca;
}
.bb-monthly-att-table tbody td:nth-last-child(2){
  background:#fff8eb;
  font-weight:700;
  color:#b45309;
}
.bb-monthly-att-table tbody td:last-child{
  background:#ecfdf3;
  font-weight:900;
  color:#166534;
}
.bb-monthly-att-table tbody td:last-child strong{color:inherit;}
.bb-monthly-att-table .bb-summary-number{
  background:linear-gradient(135deg,#eef2ff 0%,#dbeafe 100%);
  color:#3730a3;
  box-shadow:inset 0 0 0 1px rgba(99,102,241,.08);
}
.bb-monthly-att-table .bb-summary-number:hover{
  background:linear-gradient(135deg,#dbeafe 0%,#c7d2fe 100%);
}
@media(max-width:700px){
  .bb-att-report-page .bb-att-report-toolbar{
    padding:12px;
    border-radius:16px;
  }
  .bb-monthly-att-table tbody td:first-child,
  .bb-monthly-att-table tbody td:nth-last-child(3),
  .bb-monthly-att-table tbody td:nth-last-child(2),
  .bb-monthly-att-table tbody td:last-child{
    background:inherit;
  }
}


/* v4.16.94 — Quick actions: mobile only */
@media(min-width:701px){
  .bb-dashboard-quick-actions.bb-global-quick-actions{display:none!important;}
}

/* v4.16.95 — Organization Settings profile */
.bb-org-profile-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start}
.bb-org-logo-block{display:flex;flex-direction:column;align-items:center;gap:9px;padding:16px;border:1px solid #e1e8f2;border-radius:14px;background:#f8fbff}
.bb-org-logo-preview{width:118px;height:118px;border:1px dashed #cbd5e1;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#94a3b8;font-size:12px;font-weight:800;letter-spacing:.08em}
.bb-org-logo-preview img{width:100%;height:100%;object-fit:contain;padding:8px}
.bb-org-logo-upload{cursor:pointer}
.bb-org-logo-block small{font-size:9px;color:#8491a5;text-align:center}
.bb-org-profile-fields textarea{resize:vertical;min-height:78px}
.bb-module-settings-panel{margin-top:14px}
@media(max-width:700px){
 .bb-org-profile-layout{grid-template-columns:1fr}
 .bb-org-logo-block{align-items:center}
 .bb-org-profile-fields{grid-template-columns:1fr!important}
}


/* v4.16.96 — Employee AttendSpace table view */
.bb-employee-attendspace{display:flex;flex-direction:column;gap:14px}
.bb-employee-att-profile{
  display:flex;align-items:center;gap:12px;
  padding:14px 16px;border:1px solid #dfe6f1;border-radius:16px;
  background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.04);
}
.bb-employee-att-avatar{width:52px;height:52px;min-width:52px;font-size:16px}
.bb-employee-att-profile>div{display:flex;flex-direction:column;gap:2px}
.bb-employee-att-profile strong{font-size:18px;color:#172033}
.bb-employee-att-profile small{font-size:11px;color:#94a3b8}
.bb-employee-att-table-card{overflow:hidden}
.bb-employee-att-table-card>header{
  background:linear-gradient(90deg,#f3fff7 0%,#effcf5 100%);
  border-bottom:1px solid #dceee4;
}
.bb-employee-att-table{min-width:720px}
.bb-employee-att-table thead th{
  background:#f5f8fc;color:#596980;font-size:10px;
  text-transform:uppercase;letter-spacing:.04em;
}
.bb-employee-att-table td{vertical-align:middle}
.bb-emp-att-date{min-width:125px}
.bb-emp-att-date strong{display:block;color:#172033;font-size:12px}
.bb-emp-att-date small{display:block;margin-top:2px;color:#16a34a;font-size:9px;font-weight:800}
.bb-emp-att-chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:5px 9px;border-radius:10px;font-weight:700;
}
.bb-emp-att-chip.in{background:#edfdf3;color:#166534}
.bb-emp-att-chip.out{background:#fff5e9;color:#b45309}
.bb-emp-att-open{width:42px;text-align:center}
.bb-emp-att-row-open{
  border:0;background:transparent;color:#334155;
  font-size:30px;line-height:1;cursor:pointer;padding:2px 7px;
}
.bb-employee-att-today-actions{
  padding:12px 14px 14px;border-top:1px solid #eef2f6;
}
.bb-employee-att-today-actions .bb-att-action-set,
.bb-employee-att-today-actions .bb-att-actions{
  width:100%;
}
.bb-employee-att-today-actions button{
  width:100%;min-height:48px;font-size:14px;font-weight:800;
}

@media(max-width:700px){
  .bb-employee-attendspace{gap:10px}
  .bb-employee-att-profile{padding:12px 13px;border-radius:14px}
  .bb-employee-att-avatar{width:46px;height:46px;min-width:46px}
  .bb-employee-att-profile strong{font-size:16px}
  .bb-employee-att-table-card{border-radius:16px}
  .bb-employee-att-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .bb-employee-att-table{min-width:660px}
  .bb-employee-att-table th,.bb-employee-att-table td{padding:10px 8px}
  .bb-employee-att-table thead th{font-size:9px}
  .bb-employee-att-table td{font-size:11px}
  .bb-emp-att-date{min-width:110px}
  .bb-emp-att-date strong{font-size:11px}
  .bb-emp-att-chip{min-height:31px;padding:4px 8px}
}


/* v4.16.97 — AttendSpace table refinements */
.bb-employee-att-row{cursor:pointer}
.bb-employee-att-row:hover td{background:#f8fbff}
.bb-emp-att-status-cell{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  min-width:135px;
}
.bb-emp-att-chevron{
  color:#334155;font-size:24px;line-height:1;font-weight:600;
  flex:0 0 auto;
}
.bb-emp-att-name{min-width:145px}
.bb-emp-att-name strong{display:block;color:#1d4ed8;font-size:11px}
.bb-emp-att-name small{display:block;margin-top:2px;color:#94a3b8;font-size:9px}
.bb-employee-att-table.is-team-table{min-width:760px}

@media(max-width:700px){
  .bb-employee-att-table-wrap{
    width:100%;
    overflow-x:auto;
    overscroll-behavior-x:contain;
  }
  .bb-employee-att-table:not(.is-team-table){
    width:100%;
    min-width:0!important;
    table-layout:fixed;
  }
  .bb-employee-att-table:not(.is-team-table) th,
  .bb-employee-att-table:not(.is-team-table) td{
    padding:9px 5px;
  }
  .bb-employee-att-table:not(.is-team-table) th:nth-child(1),
  .bb-employee-att-table:not(.is-team-table) td:nth-child(1){width:18%}
  .bb-employee-att-table:not(.is-team-table) th:nth-child(2),
  .bb-employee-att-table:not(.is-team-table) td:nth-child(2){width:13%}
  .bb-employee-att-table:not(.is-team-table) th:nth-child(3),
  .bb-employee-att-table:not(.is-team-table) td:nth-child(3){width:13%}
  .bb-employee-att-table:not(.is-team-table) th:nth-child(4),
  .bb-employee-att-table:not(.is-team-table) td:nth-child(4){width:12%}
  .bb-employee-att-table:not(.is-team-table) th:nth-child(5),
  .bb-employee-att-table:not(.is-team-table) td:nth-child(5){width:18%}
  .bb-employee-att-table:not(.is-team-table) th:nth-child(6),
  .bb-employee-att-table:not(.is-team-table) td:nth-child(6){width:26%}
  .bb-employee-att-table:not(.is-team-table) .bb-emp-att-date{min-width:0}
  .bb-employee-att-table:not(.is-team-table) .bb-emp-att-status-cell{min-width:0}
  .bb-employee-att-table:not(.is-team-table) .bb-att-status{
    max-width:calc(100% - 20px);
    white-space:normal;
  }
  .bb-employee-att-table.is-team-table{min-width:720px}
}

/* v4.16.102 - Time Sheet / Daily Activity */
.bb-timesheet-page{display:grid;gap:16px}
.bb-timesheet-filters{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr)) auto;gap:10px;align-items:end;padding:14px 16px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#fff}
.bb-timesheet-filters label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#334155;text-transform:uppercase;letter-spacing:.02em}
.bb-timesheet-filters input,.bb-timesheet-filters select{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#0f172a;padding:7px 9px;font-size:12px}
.bb-timesheet-clear{margin-bottom:1px}
.bb-timesheet-table th:nth-child(1){width:190px}.bb-timesheet-table th:nth-child(3){width:120px}.bb-timesheet-table th:nth-child(4){width:170px}
.bb-timesheet-table td{vertical-align:top}
@media(max-width:900px){.bb-timesheet-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-timesheet-clear{width:38px}.bb-timesheet-table{min-width:700px}}
@media(max-width:600px){.bb-timesheet-filters{grid-template-columns:1fr}.bb-timesheet-clear{justify-self:end}}

/* v4.16.104 - Daily Activity add-on-click form + refined UI */
.bb-timesheet-add-card{overflow:hidden}
.bb-timesheet-add-head{align-items:center;gap:16px}
.bb-timesheet-add-btn{min-width:132px;white-space:nowrap}
.bb-timesheet-entry-panel{margin:0 10px 10px;border:1px solid #dbe5f1;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(15,23,42,.045)}
.bb-timesheet-entry-head{padding:14px 16px 12px;background:linear-gradient(180deg,#f8fbff 0%,#f3f7fc 100%);border-bottom:1px solid #e3eaf3}
.bb-timesheet-entry-head h3{margin:0;color:#0f172a;font-size:16px;line-height:1.25}
.bb-timesheet-entry-head p{margin:4px 0 0;color:#64748b;font-size:12px}
.bb-timesheet-entry-form{padding:16px}
.bb-timesheet-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}
.bb-timesheet-field{display:grid;gap:6px;margin:0;font-size:12px;font-weight:700;color:#172033}
.bb-timesheet-field>span{display:block}
.bb-timesheet-field input,.bb-timesheet-field select{width:100%;min-height:42px;border:1px solid #cbd7e6;border-radius:8px;background:#fff;color:#0f172a;padding:8px 11px;font-size:13px;outline:none;transition:border-color .16s ease,box-shadow .16s ease}
.bb-timesheet-field input:focus,.bb-timesheet-field select:focus{border-color:#6375f4;box-shadow:0 0 0 3px rgba(79,70,229,.10)}
.bb-timesheet-form-actions{margin-top:16px;padding-top:13px;border-top:1px solid #e7edf5;display:flex;justify-content:flex-end;gap:9px}
.bb-timesheet-form-actions .bb-btn{min-width:105px}
.bb-timesheet-total{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border-radius:8px;background:#f5f8fc;color:#172033;font-size:12px;white-space:nowrap}
@media(max-width:760px){
 .bb-timesheet-add-head{align-items:flex-start;flex-direction:column}
 .bb-timesheet-add-btn{width:100%}
 .bb-timesheet-form-grid{grid-template-columns:1fr}
 .bb-timesheet-entry-panel{margin:0 8px 8px}
 .bb-timesheet-entry-form{padding:13px}
 .bb-timesheet-form-actions{flex-direction:column-reverse}
 .bb-timesheet-form-actions .bb-btn{width:100%}
}

/* v4.16.105 - Time Sheet From/To timestamps */
.bb-timesheet-table th:nth-child(1),.bb-timesheet-table th:nth-child(2){width:175px}.bb-timesheet-table th:nth-child(4){width:110px}.bb-timesheet-table th:nth-child(5){width:160px}
@media(max-width:900px){.bb-timesheet-table{min-width:850px}}


/* v4.16.107 - Daily Activity table-style UI + multi-row form */
.bb-timesheet-list-head,.bb-timesheet-add-head{align-items:center;gap:14px}
.bb-timesheet-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bb-timesheet-list-card,.bb-timesheet-add-card{overflow:hidden}
.bb-timesheet-filters-modern{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr)) auto;gap:12px;align-items:end;padding:14px 16px;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;background:#fff}
.bb-timesheet-filters-modern label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#334155;text-transform:uppercase;letter-spacing:.02em}
.bb-timesheet-filters-modern input,.bb-timesheet-filters-modern select{width:100%;min-height:40px;border:1px solid #cfd9e8;border-radius:8px;background:#fff;color:#0f172a;padding:8px 10px;font-size:13px}
.bb-timesheet-search-filter{min-width:180px}
.bb-timesheet-table-modern thead th,.bb-timesheet-form-table thead th{background:#f4f7fb;color:#172033;font-size:12px;font-weight:800;letter-spacing:.02em}
.bb-timesheet-table-modern td,.bb-timesheet-form-table td{vertical-align:top}
.bb-timesheet-table-modern th:nth-child(1){width:110px}
.bb-timesheet-table-modern th:nth-child(2),.bb-timesheet-table-modern th:nth-child(3){width:80px}
.bb-timesheet-table-modern th:nth-child(4),.bb-timesheet-table-modern th:nth-child(5){width:140px}
.bb-timesheet-table-modern th:nth-child(6){width:160px}
.bb-timesheet-table-modern th:nth-child(7){width:180px}
.bb-timesheet-table-modern th:nth-child(9){width:88px}
.bb-timesheet-table-actions,.bb-timesheet-row-actions{display:flex;gap:8px;align-items:flex-start;justify-content:center}
.bb-timesheet-entry-shell{padding:6px 16px 16px}
.bb-timesheet-multi-form{display:grid;gap:14px}
.bb-timesheet-form-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.bb-timesheet-form-top h2{margin:0;font-size:18px;color:#0f172a}
.bb-timesheet-form-top p{margin:4px 0 0;color:#64748b;font-size:12px}
.bb-timesheet-form-table-wrap{overflow:auto;border:1px solid #dde6f1;border-radius:12px;background:#fff}
.bb-timesheet-form-table{min-width:1200px;margin:0}
.bb-timesheet-form-table td{padding:10px}
.bb-timesheet-form-table input,.bb-timesheet-form-table select,.bb-timesheet-form-table textarea{width:100%;min-height:40px;border:1px solid #cfd9e8;border-radius:8px;background:#fff;color:#0f172a;padding:8px 10px;font-size:13px;outline:none}
.bb-timesheet-form-table textarea{min-height:68px;resize:vertical}
.bb-timesheet-form-table input:focus,.bb-timesheet-form-table select:focus,.bb-timesheet-form-table textarea:focus,.bb-timesheet-filters-modern input:focus,.bb-timesheet-filters-modern select:focus{border-color:#6375f4;box-shadow:0 0 0 3px rgba(79,70,229,.10)}
.bb-timesheet-static-user{display:flex;align-items:center;min-height:40px;padding:0 10px;border:1px solid #cfd9e8;border-radius:8px;background:#f8fafc;color:#172033;font-size:13px}
.bb-timesheet-form-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #e8eef6;color:#475569}
.bb-timesheet-add-btn,.bb-timesheet-add-row-btn{white-space:nowrap}
.bb-icon-btn.danger{color:#dc2626}
@media(max-width:1200px){.bb-timesheet-filters-modern{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.bb-timesheet-search-filter{min-width:0}}
@media(max-width:900px){.bb-timesheet-filters-modern{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-timesheet-filters-modern .bb-timesheet-clear{justify-self:end}.bb-timesheet-head-actions{width:100%;justify-content:space-between}.bb-timesheet-form-top{align-items:flex-start}.bb-timesheet-form-foot{flex-direction:column;align-items:stretch}.bb-timesheet-form-actions{width:100%;justify-content:stretch}.bb-timesheet-form-actions .bb-btn{flex:1}}
@media(max-width:640px){.bb-timesheet-filters-modern{grid-template-columns:1fr}.bb-timesheet-entry-shell{padding:6px 10px 12px}.bb-timesheet-form-top{flex-direction:column;align-items:stretch}.bb-timesheet-add-row-btn,.bb-timesheet-add-btn{width:100%}.bb-timesheet-form-actions{flex-direction:column-reverse}.bb-timesheet-form-actions .bb-btn{width:100%}}


/* v4.16.108 - Daily Activity global Date/Employee + Task dropdown */
.bb-timesheet-global-fields{display:grid;grid-template-columns:minmax(180px,260px) minmax(220px,320px);gap:14px;align-items:end;padding:14px 0 2px}
.bb-timesheet-global-fields label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#172033}
.bb-timesheet-global-fields input,.bb-timesheet-global-fields select{width:100%;min-height:42px;border:1px solid #cfd9e8;border-radius:8px;background:#fff;color:#0f172a;padding:8px 10px;font-size:13px;outline:none}
.bb-timesheet-global-fields input:focus,.bb-timesheet-global-fields select:focus{border-color:#6375f4;box-shadow:0 0 0 3px rgba(79,70,229,.10)}
.bb-timesheet-form-table{min-width:980px}
.bb-timesheet-form-table th:nth-child(1),.bb-timesheet-form-table th:nth-child(2){width:100px}
.bb-timesheet-form-table th:nth-child(3){width:190px}
.bb-timesheet-form-table th:nth-child(4){width:160px}
.bb-timesheet-form-table th:nth-child(5){width:220px}
.bb-timesheet-form-table th:nth-child(6){width:240px}
.bb-timesheet-form-table th:nth-child(7){width:90px}
@media(max-width:640px){.bb-timesheet-global-fields{grid-template-columns:1fr}}

/* v4.16.109 - simplify open Daily Activity form header */
.bb-timesheet-form-top-clean{justify-content:flex-end}
.bb-timesheet-add-card-clean .bb-timesheet-entry-shell{padding-top:16px}


/* v4.16.112 - Searchable Workspace / Work Area / Task selectors */
.bb-timesheet-searchable{position:relative;width:100%}
.bb-timesheet-searchable-input{width:100%;padding-right:30px!important;background-color:#fff}
.bb-timesheet-searchable-input::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}
.bb-timesheet-searchable-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}


/* v4.16.113 - reliable searchable Time Sheet cascades */
.bb-ts-search{position:relative;width:100%}
.bb-ts-search-input{padding-right:30px!important;cursor:text}
.bb-ts-search-caret{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:#64748b;font-size:12px}
.bb-ts-search-menu{display:none;position:absolute;z-index:10050;top:calc(100% + 5px);left:0;right:0;max-height:220px;overflow:auto;background:#fff;border:1px solid #cfd9e8;border-radius:9px;box-shadow:0 12px 30px rgba(15,23,42,.16);padding:5px}
.bb-ts-search.open .bb-ts-search-menu{display:block}
.bb-ts-search-option{display:block;width:100%;border:0;background:#fff;text-align:left;padding:9px 10px;border-radius:6px;color:#0f172a;font-size:13px;cursor:pointer}
.bb-ts-search-option:hover,.bb-ts-search-option:focus{background:#eef4ff;color:#1d4ed8;outline:none}
.bb-ts-search-empty{padding:10px;color:#94a3b8;font-size:12px;text-align:center}
.bb-ts-search.is-disabled .bb-ts-search-caret{opacity:.35}


/* v4.16.114 - Daily Activity searchable dropdown visibility */
.bb-timesheet-form-table-wrap{overflow-x:auto;overflow-y:visible}
.bb-ts-search-menu{min-width:260px;max-width:min(420px,calc(100vw - 24px));max-height:260px;overscroll-behavior:contain}
.bb-ts-search-option{white-space:normal;line-height:1.3;border-bottom:1px solid #f1f5f9}
.bb-ts-search-option:last-of-type{border-bottom:0}
.bb-timesheet-form-table td{overflow:visible}


/* v4.16.117 - Daily Activity dropdown filtering + blank default times */
.bb-ts-search-option[hidden]{display:none!important}
.bb-ts-search-empty[hidden]{display:none!important}

/* v4.16.118 - Compact Daily Activity multi-row form */
.bb-timesheet-add-card-clean .bb-timesheet-entry-shell{padding:10px 16px 12px}
.bb-timesheet-multi-form{gap:8px}
.bb-timesheet-form-top{gap:8px}
.bb-timesheet-form-top-clean{min-height:36px}
.bb-timesheet-form-top-clean .bb-timesheet-add-row-btn{min-height:36px;padding:7px 14px}
.bb-timesheet-global-fields{gap:10px;padding:2px 0 0}
.bb-timesheet-global-fields label{gap:4px}
.bb-timesheet-global-fields input,.bb-timesheet-global-fields select,.bb-timesheet-static-user{min-height:36px;height:36px;padding-top:5px;padding-bottom:5px}
.bb-timesheet-form-table th,.bb-timesheet-form-table td{padding:7px 10px}
.bb-timesheet-form-table input,.bb-timesheet-form-table select,.bb-timesheet-form-table textarea{min-height:36px;padding:6px 9px}
.bb-timesheet-form-table textarea{height:42px;min-height:42px;max-height:72px;resize:vertical}
.bb-timesheet-row-actions{gap:6px;align-items:center}
.bb-timesheet-row-actions .bb-icon-btn{width:38px;height:38px;min-width:38px}
.bb-timesheet-form-foot{padding-top:7px;gap:8px}
.bb-timesheet-form-actions{margin-top:0;padding-top:0;border-top:0;gap:8px}
.bb-timesheet-form-actions .bb-btn{min-height:38px}
@media(max-width:640px){.bb-timesheet-add-card-clean .bb-timesheet-entry-shell{padding:8px 10px 10px}}


/* v4.16.119 - Daily Activity list cleanup + filter spacing */
.bb-timesheet-list-head-clean{justify-content:flex-end;padding-top:12px;padding-bottom:12px}
.bb-timesheet-list-head-clean .bb-timesheet-head-actions{margin-left:auto}
.bb-timesheet-filters-modern{column-gap:16px;row-gap:12px}
.bb-timesheet-filters-modern label{min-width:0}
.bb-timesheet-filters-modern input,.bb-timesheet-filters-modern select{display:block}
@media(max-width:1200px){.bb-timesheet-filters-modern{column-gap:14px;row-gap:12px}}


/* v4.16.120 - Add Row aligned with Date / Employee */
.bb-timesheet-global-fields{grid-template-columns:minmax(180px,260px) minmax(220px,320px) 1fr;align-items:end}
.bb-timesheet-global-add{display:flex;align-items:flex-end;justify-content:flex-end;min-height:36px}
.bb-timesheet-global-add .bb-timesheet-add-row-btn{min-height:36px;padding:7px 14px;white-space:nowrap}
@media(max-width:900px){.bb-timesheet-global-fields{grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto}}
@media(max-width:640px){.bb-timesheet-global-fields{grid-template-columns:1fr}.bb-timesheet-global-add{justify-content:stretch}.bb-timesheet-global-add .bb-timesheet-add-row-btn{width:100%}}


/* v4.16.121 - Compact Daily Activity list + cell borders + filter gaps */
.bb-timesheet-list-head-clean{padding:8px 14px;min-height:48px}
.bb-timesheet-list-head-clean .bb-timesheet-add-btn{min-height:34px;padding:6px 13px}
.bb-timesheet-filters-modern{
  grid-template-columns:repeat(6,minmax(0,1fr)) 38px;
  column-gap:12px;
  row-gap:8px;
  padding:10px 16px;
}
.bb-timesheet-filters-modern label{gap:4px;min-width:0}
.bb-timesheet-filters-modern input,
.bb-timesheet-filters-modern select{
  min-width:0;
  width:100%;
  height:36px;
  min-height:36px;
  padding:6px 9px;
  box-sizing:border-box;
}
.bb-timesheet-search-filter{min-width:0}
.bb-timesheet-clear{width:38px;height:36px;min-width:38px;margin:0}

.bb-timesheet-table-modern{border-collapse:collapse;border-spacing:0;width:100%}
.bb-timesheet-table-modern thead th,
.bb-timesheet-table-modern tbody td{
  border:1px solid #dbe3ee;
  padding:8px 12px;
  line-height:1.3;
}
.bb-timesheet-table-modern thead th{padding-top:8px;padding-bottom:8px}
.bb-timesheet-table-modern tbody td{vertical-align:middle}
.bb-timesheet-table-actions .bb-icon-btn{width:34px;height:34px;min-width:34px}

@media(max-width:1200px){
 .bb-timesheet-filters-modern{grid-template-columns:repeat(3,minmax(0,1fr)) 38px;column-gap:12px;row-gap:8px}
}
@media(max-width:900px){
 .bb-timesheet-filters-modern{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;row-gap:8px}
}
@media(max-width:640px){
 .bb-timesheet-filters-modern{grid-template-columns:1fr;row-gap:8px;padding:10px 12px}
}


/* v4.16.122 - Inline Add Row behavior and stronger delete styling */
.bb-timesheet-global-fields{grid-template-columns:minmax(180px,260px) minmax(220px,320px);justify-content:start}
.bb-timesheet-row-actions .bb-timesheet-add-inline{font-size:21px;font-weight:700;line-height:1;color:#1d4ed8}
.bb-timesheet-row-actions .bb-timesheet-delete-inline{color:#991b1b!important;border-color:#fecaca!important;background:#fff7f7!important}
.bb-timesheet-row-actions .bb-timesheet-delete-inline:hover{color:#7f1d1d!important;border-color:#fca5a5!important;background:#fee2e2!important}
@media(max-width:640px){.bb-timesheet-global-fields{grid-template-columns:1fr}}


/* v4.16.123 - Daily Activity solid red trash icon */
.bb-timesheet-row-actions .bb-timesheet-delete-inline{color:#b91c1c!important;background:#fff!important;border-color:#fecaca!important;padding:0!important}
.bb-timesheet-row-actions .bb-timesheet-delete-inline:hover{color:#991b1b!important;background:#fff5f5!important;border-color:#fca5a5!important}
.bb-timesheet-trash-icon{display:block;width:20px;height:20px;fill:currentColor;pointer-events:none}


/* v4.16.124 - Standard solid red trash icon for all icon-style delete actions */
.bb-delete-trash-icon{display:block!important;width:19px!important;height:19px!important;fill:#ef0000!important;color:#ef0000!important;stroke:none;pointer-events:none;flex:0 0 19px}
.bb-delete-trash-icon path:last-child{stroke:#fff!important;fill:none!important}
button:hover>.bb-delete-trash-icon{fill:#d40000!important;color:#d40000!important}
.bb-workarea-delete svg.bb-delete-trash-icon,.bb-workspace-action.danger svg.bb-delete-trash-icon,.bb-holiday-delete-row svg.bb-delete-trash-icon{fill:#ef0000!important;stroke:none!important;width:19px!important;height:19px!important}
.bb-workarea-delete svg.bb-delete-trash-icon path:last-child,.bb-workspace-action.danger svg.bb-delete-trash-icon path:last-child,.bb-holiday-delete-row svg.bb-delete-trash-icon path:last-child{stroke:#fff!important;fill:none!important}


/* v4.16.125 - Time Sheet rename + clearer wrapped list columns */
.bb-timesheet-table-modern td:nth-child(4),
.bb-timesheet-table-modern td:nth-child(5),
.bb-timesheet-table-modern td:nth-child(7),
.bb-timesheet-table-modern td:nth-child(8){
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-break:break-word;
  vertical-align:top;
}
.bb-timesheet-table-modern th:nth-child(4),
.bb-timesheet-table-modern th:nth-child(5){width:150px}
.bb-timesheet-table-modern th:nth-child(7){width:170px}
.bb-timesheet-table-modern th:nth-child(8){width:210px}
.bb-timesheet-table-modern td:nth-child(4),
.bb-timesheet-table-modern td:nth-child(5),
.bb-timesheet-table-modern td:nth-child(7){line-height:1.35}
.bb-timesheet-table-modern td:nth-child(8){line-height:1.4}

/* v4.16.126 - Work/HR grouped navigation with subsection labels */
.bb-nav-subsection{display:flex;flex-direction:column;gap:3px;margin:1px 0 5px}
.bb-nav-subsection-title{padding:7px 12px 3px 18px;color:#7f93ad;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;line-height:1.2;user-select:none}
.bb-nav-subsection-items{display:flex;flex-direction:column;gap:4px}
.bb-nav-subsection+.bb-nav-subsection{margin-top:5px;padding-top:4px;border-top:1px solid rgba(255,255,255,.07)}
.bb-nav-subsection-items>button{width:100%}
.bb-sidebar-collapsed .bb-nav-subsection-title{display:none!important}
.bb-sidebar-collapsed .bb-nav-subsection+.bb-nav-subsection{margin-top:2px;padding-top:2px;border-top:0}
@media(max-width:1100px) and (min-width:641px){.bb-nav-subsection-title{display:none!important}.bb-nav-subsection+.bb-nav-subsection{margin-top:2px;padding-top:2px;border-top:0}}
@media(max-width:640px){.bb-nav-subsection-title{display:block!important;padding:8px 12px 3px 14px;font-size:9px}.bb-nav-subsection+.bb-nav-subsection{margin-top:5px;padding-top:4px;border-top:1px solid rgba(255,255,255,.07)}}


/* v4.16.128 — Interactive colored sidebar sections with high-contrast view names. */
.bb-nav-sectioned{
  gap:7px!important;
  padding-right:4px!important;
}
.bb-nav-standalone-dashboard{
  background:#dbeafe!important;
  color:#1e3a5f!important;
  border:1px solid #bfdbfe!important;
  font-weight:800!important;
  box-shadow:none!important;
}
.bb-nav-standalone-dashboard:hover,
.bb-nav-standalone-dashboard.active{
  background:#fff!important;
  color:#111827!important;
  box-shadow:inset 4px 0 0 #2563eb!important;
}
.bb-nav-section{
  border-radius:10px!important;
  padding:5px!important;
  border:1px solid rgba(15,23,42,.08)!important;
  overflow:hidden;
}
.bb-nav-section[data-nav-section="work"]{background:#dcfce7!important}
.bb-nav-section[data-nav-section="hr"]{background:#ffedd5!important}
.bb-nav-section[data-nav-section="notes"]{background:#f3e8ff!important}
.bb-nav-section[data-nav-section="math"]{background:#cffafe!important}
.bb-nav-section[data-nav-section="masters"]{background:#e5e7eb!important}
.bb-nav-section-title{
  min-height:36px!important;
  padding:7px 9px!important;
  color:#1f2937!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.bb-nav-section-title:hover,.bb-nav-section-title:focus-visible{
  background:rgba(255,255,255,.60)!important;
  color:#111827!important;
}
.bb-nav-section-caret{color:#475569!important;font-size:14px!important}
.bb-nav-section-items{
  gap:4px!important;
  margin-top:3px!important;
  padding:4px!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.82)!important;
}
.bb-nav-section-items>button,
.bb-nav-subsection-items>button{
  min-height:36px!important;
  padding:7px 10px!important;
  border-radius:7px!important;
  color:#111827!important;
  font-size:13px!important;
  font-weight:650!important;
  background:transparent!important;
}
.bb-nav-section-items>button:hover,
.bb-nav-subsection-items>button:hover{
  background:#fff!important;
  color:#111827!important;
}
.bb-nav-section-items>button.active,
.bb-nav-subsection-items>button.active{
  background:#fff!important;
  color:#111827!important;
  font-weight:800!important;
  box-shadow:inset 4px 0 0 #2563eb!important;
}
.bb-nav-subsection{
  margin:4px 0!important;
  padding:2px!important;
  border:0!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.46)!important;
}
.bb-nav-subsection+.bb-nav-subsection{
  margin-top:5px!important;
  padding-top:2px!important;
  border-top:0!important;
}
.bb-nav-subsection-title{
  min-height:34px!important;
  padding:7px 9px 7px 13px!important;
  border-radius:7px!important;
  color:#1f2937!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:750!important;
  letter-spacing:0!important;
  text-transform:none!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.bb-nav-subsection-title:hover,.bb-nav-subsection-title:focus-visible{
  background:#fff!important;
  color:#111827!important;
  outline:none!important;
}
.bb-nav-subsection-caret{
  margin-left:auto!important;
  color:#64748b!important;
  font-size:13px!important;
  line-height:1!important;
  transition:transform .16s ease!important;
}
.bb-nav-subsection.is-collapsed .bb-nav-subsection-caret{transform:rotate(-90deg)!important}
.bb-nav-subsection.is-collapsed .bb-nav-subsection-items{display:none!important}
.bb-nav-subsection-items{
  display:flex;
  flex-direction:column;
  gap:4px!important;
  padding:2px 2px 3px!important;
}
.bb-nav-subsection-items>button{padding-left:24px!important}

/* Keep the compact icon-only sidebar clean on medium desktop widths. */
.bb-sidebar-collapsed .bb-nav-section{background:transparent!important;border:0!important;padding:0!important}
.bb-sidebar-collapsed .bb-nav-section-items{background:transparent!important;padding:0!important;margin-top:0!important}
.bb-sidebar-collapsed .bb-nav-subsection{background:transparent!important;padding:0!important;margin:2px 0!important}
.bb-sidebar-collapsed .bb-nav-subsection-title{display:none!important}
.bb-sidebar-collapsed .bb-nav-section-items>button,.bb-sidebar-collapsed .bb-nav-subsection-items>button{color:#eef4ff!important}
.bb-sidebar-collapsed .bb-nav-section-items>button.active,.bb-sidebar-collapsed .bb-nav-subsection-items>button.active{color:#fff!important;background:linear-gradient(90deg,#3155d9,#5169f5)!important;box-shadow:none!important}
@media(max-width:1100px) and (min-width:641px){
  .bb-nav-section{background:transparent!important;border:0!important;padding:0!important}
  .bb-nav-section-items{background:transparent!important;padding:0!important;margin-top:0!important}
  .bb-nav-subsection{background:transparent!important;padding:0!important;margin:2px 0!important}
  .bb-nav-subsection-title{display:none!important}
  .bb-nav-section-items>button,.bb-nav-subsection-items>button{color:#eef4ff!important}
  .bb-nav-section-items>button.active,.bb-nav-subsection-items>button.active{color:#fff!important;background:linear-gradient(90deg,#3155d9,#5169f5)!important;box-shadow:none!important}
}
@media(max-width:640px){
  .bb-nav-section{padding:5px!important}
  .bb-nav-section-title{font-size:12px!important;padding:8px 9px!important}
  .bb-nav-subsection-title{display:flex!important;font-size:12px!important;padding:8px 10px 8px 13px!important}
  .bb-nav-section-items>button,.bb-nav-subsection-items>button{font-size:13px!important;color:#111827!important}
}


/* v4.16.129 — Full-color selected view state in the left menu. */
.bb-nav-standalone-dashboard.active{
  background:#2563eb!important;
  color:#fff!important;
  border-color:#2563eb!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section="work"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="work"] .bb-nav-subsection-items>button.active{
  background:#0f9f82!important;
  color:#fff!important;
  border-color:#0f9f82!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section="hr"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="hr"] .bb-nav-subsection-items>button.active{
  background:#d97706!important;
  color:#fff!important;
  border-color:#d97706!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section="notes"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="notes"] .bb-nav-subsection-items>button.active{
  background:#7c3aed!important;
  color:#fff!important;
  border-color:#7c3aed!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section="math"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="math"] .bb-nav-subsection-items>button.active{
  background:#0891b2!important;
  color:#fff!important;
  border-color:#0891b2!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section="masters"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="masters"] .bb-nav-subsection-items>button.active{
  background:#475569!important;
  color:#fff!important;
  border-color:#475569!important;
  box-shadow:none!important;
}
.bb-nav-section .bb-nav-section-items>button.active *,
.bb-nav-section .bb-nav-subsection-items>button.active *,
.bb-nav-standalone-dashboard.active *{
  color:inherit!important;
}


/* v4.16.130 — Use simple bullet points instead of view icons in the left navigation. */
.bb-nav-sectioned button[data-view] > .bb-nav-bullet{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 16px!important;
  width:16px!important;
  min-width:16px!important;
  margin-right:6px!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:900!important;
  color:#94a3b8!important;
}
.bb-nav-sectioned button[data-view].active > .bb-nav-bullet{color:#fff!important;}
.bb-nav-sectioned button[data-view]:hover > .bb-nav-bullet{color:currentColor!important;}
.bb-sidebar-collapsed .bb-nav-sectioned button[data-view] > .bb-nav-bullet{
  margin-right:0!important;
  color:currentColor!important;
}

/* v4.16.132 — Unified solid-red trash icon for all delete/remove actions in forms, tables and modal rows. */
.bb-unified-delete-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  border:1px solid #fecaca!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#ef0000!important;
  line-height:1!important;
  font-size:0!important;
  box-shadow:none!important;
  vertical-align:middle!important;
}
.bb-unified-delete-button:hover,
.bb-unified-delete-button:focus,
.bb-unified-delete-button:focus-visible,
.bb-unified-delete-button:active{
  background:#fff5f5!important;
  border-color:#fca5a5!important;
  color:#d40000!important;
  box-shadow:none!important;
  outline:none!important;
  transform:none!important;
}
.bb-unified-delete-button .bb-delete-trash-icon{
  display:block!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  fill:currentColor!important;
  color:inherit!important;
  pointer-events:none!important;
}
.bb-unified-delete-button .bb-delete-trash-icon path:last-child{
  fill:none!important;
  stroke:#fff!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
}
.bb-form-actions .bb-unified-delete-button{margin-right:4px!important}
.bb-actions .bb-unified-delete-button,
.bb-timesheet-row-actions .bb-unified-delete-button{margin:0!important}


/* v4.16.132 — Reminder delete controls must use the same approved trash button as every other delete action. */
.bb-quick-remove-reminder.bb-unified-delete-button,
.bb-task-reminder-editor-remove.bb-unified-delete-button{
  width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;
  padding:0!important;border:1px solid #fecaca!important;border-radius:8px!important;
  background:#fff!important;color:#ef0000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
.bb-quick-remove-reminder.bb-unified-delete-button .bb-delete-trash-icon,
.bb-task-reminder-editor-remove.bb-unified-delete-button .bb-delete-trash-icon{
  width:20px!important;height:20px!important;min-width:20px!important;display:block!important;fill:currentColor!important;
}

/* v4.16.133 - Sunday Reminder opt-in */
.bb-calendar-sunday-reminder{display:flex;align-items:center;gap:7px;margin:7px 0 4px;font-size:12px;font-weight:700;color:#1f2937;cursor:pointer;max-width:max-content}.bb-calendar-sunday-reminder input{width:16px!important;height:16px!important;margin:0;accent-color:#4f5ff5}.bb-task-sunday-reminder-toggle small{display:block;font-size:11px;font-weight:500;color:#64748b;margin-top:2px}


/* v4.16.134 — Organization Settings no longer shows the organization logo block. */
.bb-org-profile-layout.bb-org-profile-layout-no-logo{display:block!important;}
.bb-org-profile-layout.bb-org-profile-layout-no-logo .bb-org-profile-fields{width:100%;max-width:none;}


/* v4.16.135 — Keep Sunday Reminder directly below Add Reminder in Add/Edit Task. */
.bb-calendar-sunday-reminder-row{display:block!important;width:100%!important;clear:both!important;margin-top:8px!important}
.bb-calendar-sunday-reminder-row .bb-calendar-sunday-reminder{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;max-width:max-content!important}


/* v4.16.136 — Dark left-menu view backgrounds with colored active view only. */
.bb-nav-sectioned{
  background:transparent!important;
}
.bb-nav-standalone-dashboard,
.bb-nav-section{
  background:#12233f!important;
  border-color:#243956!important;
  color:#f8fafc!important;
}
.bb-nav-standalone-dashboard{
  color:#f8fafc!important;
}
.bb-nav-section-title,
.bb-nav-section-caret,
.bb-nav-subsection-title,
.bb-nav-subsection-caret{
  color:#f8fafc!important;
}
.bb-nav-section-title:hover,
.bb-nav-section-title:focus-visible,
.bb-nav-subsection-title:hover,
.bb-nav-subsection-title:focus-visible{
  background:#1a2f4d!important;
  color:#fff!important;
}
.bb-nav-section-items,
.bb-nav-subsection{
  background:#0f2038!important;
  border-color:#243956!important;
}
.bb-nav-section-items>button,
.bb-nav-subsection-items>button{
  background:#162a46!important;
  color:#eaf1fb!important;
  border:1px solid #203955!important;
}
.bb-nav-section-items>button:hover,
.bb-nav-subsection-items>button:hover{
  background:#203955!important;
  color:#fff!important;
  border-color:#315172!important;
}
.bb-nav-sectioned button[data-view] > .bb-nav-bullet{
  color:#9fb0c7!important;
}
.bb-nav-sectioned button[data-view]:hover > .bb-nav-bullet,
.bb-nav-sectioned button[data-view].active > .bb-nav-bullet{
  color:currentColor!important;
}
/* Keep active views strongly color-coded. */
.bb-nav-standalone-dashboard.active{
  background:#2563eb!important;
  color:#fff!important;
  border-color:#2563eb!important;
}
.bb-nav-section[data-nav-section="work"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="work"] .bb-nav-subsection-items>button.active{
  background:#0f9f82!important;
  color:#fff!important;
  border-color:#0f9f82!important;
}
.bb-nav-section[data-nav-section="hr"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="hr"] .bb-nav-subsection-items>button.active{
  background:#d97706!important;
  color:#fff!important;
  border-color:#d97706!important;
}
.bb-nav-section[data-nav-section="notes"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="notes"] .bb-nav-subsection-items>button.active{
  background:#7c3aed!important;
  color:#fff!important;
  border-color:#7c3aed!important;
}
.bb-nav-section[data-nav-section="math"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="math"] .bb-nav-subsection-items>button.active{
  background:#0891b2!important;
  color:#fff!important;
  border-color:#0891b2!important;
}
.bb-nav-section[data-nav-section="masters"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="masters"] .bb-nav-subsection-items>button.active{
  background:#475569!important;
  color:#fff!important;
  border-color:#64748b!important;
}
/* Mobile menu uses the same dark treatment. */
@media(max-width:640px){
  .bb-nav-section,
  .bb-nav-standalone-dashboard{background:#12233f!important;border-color:#243956!important}
  .bb-nav-section-items,
  .bb-nav-subsection{background:#0f2038!important}
  .bb-nav-section-items>button,
  .bb-nav-subsection-items>button{background:#162a46!important;color:#eaf1fb!important;border-color:#203955!important}
  .bb-nav-section-title,
  .bb-nav-subsection-title{color:#f8fafc!important}
}

/* v4.16.137 — Sunday Reminder is available only after at least one reminder is configured. */
.bb-calendar-sunday-reminder-row.is-disabled{opacity:.45;}
.bb-calendar-sunday-reminder-row.is-disabled .bb-calendar-sunday-reminder{cursor:not-allowed;}
.bb-calendar-sunday-reminder-row.is-disabled input{cursor:not-allowed;}

/* v4.16.138 — High-contrast sidebar: clear section colors + readable dark submenu rows. */
.bb-sidebar{
  background:linear-gradient(180deg,#0d2748 0%,#081b33 100%)!important;
}
.bb-nav-sectioned{
  gap:8px!important;
}
.bb-nav-standalone-dashboard,
.bb-nav-section{
  border-radius:10px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:none!important;
}
.bb-nav-standalone-dashboard{
  min-height:46px!important;
  padding:0 14px!important;
  background:#15365f!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:800!important;
}
.bb-nav-standalone-dashboard:hover,
.bb-nav-standalone-dashboard:focus-visible{
  background:#1c4678!important;
}

/* Strong, readable main section headers. */
.bb-nav-section-title{
  min-height:46px!important;
  padding:0 14px!important;
  font-size:14px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  border:0!important;
}
.bb-nav-section[data-nav-section="work"]>.bb-nav-section-title{
  background:#16b981!important;
  color:#fff!important;
}
.bb-nav-section[data-nav-section="hr"]>.bb-nav-section-title{
  background:#ffefd7!important;
  color:#10233d!important;
}
.bb-nav-section[data-nav-section="notes"]>.bb-nav-section-title{
  background:#eadcff!important;
  color:#10233d!important;
}
.bb-nav-section[data-nav-section="math"]>.bb-nav-section-title{
  background:#ffdce5!important;
  color:#10233d!important;
}
.bb-nav-section[data-nav-section="masters"]>.bb-nav-section-title{
  background:#cceffc!important;
  color:#10233d!important;
}
.bb-nav-section-title .bb-nav-section-caret{
  color:inherit!important;
  opacity:.95!important;
  font-weight:900!important;
}
.bb-nav-section-title:hover,
.bb-nav-section-title:focus-visible{
  filter:brightness(.97)!important;
  color:inherit!important;
}

/* Expanded content uses one consistent, high-contrast dark panel. */
.bb-nav-section-items{
  background:#0d2949!important;
  border:0!important;
  padding:7px!important;
  gap:5px!important;
}
.bb-nav-section-items>button,
.bb-nav-subsection-items>button{
  min-height:40px!important;
  padding:7px 10px!important;
  background:#16385f!important;
  color:#f8fbff!important;
  border:1px solid #244a72!important;
  border-radius:8px!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.bb-nav-section-items>button:hover,
.bb-nav-subsection-items>button:hover{
  background:#1d4774!important;
  color:#fff!important;
  border-color:#35618f!important;
}

/* Subsections are visually grouped but not washed out. */
.bb-nav-subsection{
  margin-top:6px!important;
  padding:0!important;
  background:#0a2340!important;
  border:1px solid #244662!important;
  border-radius:9px!important;
  overflow:hidden!important;
}
.bb-nav-subsection-title{
  min-height:40px!important;
  padding:0 11px!important;
  background:#0b2b50!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  border:0!important;
}
.bb-nav-subsection-title:hover,
.bb-nav-subsection-title:focus-visible{
  background:#12395f!important;
  color:#fff!important;
}
.bb-nav-subsection-caret{
  color:#fff!important;
  opacity:.95!important;
}
.bb-nav-subsection-items{
  padding:5px!important;
  background:#0a2340!important;
  gap:4px!important;
}

/* Bullet points are brighter and aligned consistently. */
.bb-nav-sectioned button[data-view]>.bb-nav-bullet{
  color:#b8cae0!important;
  flex:0 0 15px!important;
  width:15px!important;
  min-width:15px!important;
  margin-right:7px!important;
  font-size:18px!important;
}
.bb-nav-sectioned button[data-view].active>.bb-nav-bullet{
  color:#fff!important;
}

/* Active view stays a full-row color fill with maximum contrast. */
.bb-nav-standalone-dashboard.active{
  background:#2563eb!important;
  border-color:#3b82f6!important;
  color:#fff!important;
}
.bb-nav-section[data-nav-section="work"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="work"] .bb-nav-subsection-items>button.active{
  background:#0f9f82!important;
  border-color:#12b892!important;
  color:#fff!important;
}
.bb-nav-section[data-nav-section="hr"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="hr"] .bb-nav-subsection-items>button.active{
  background:#d97706!important;
  border-color:#f59e0b!important;
  color:#fff!important;
}
.bb-nav-section[data-nav-section="notes"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="notes"] .bb-nav-subsection-items>button.active{
  background:#7c3aed!important;
  border-color:#8b5cf6!important;
  color:#fff!important;
}
.bb-nav-section[data-nav-section="math"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="math"] .bb-nav-subsection-items>button.active{
  background:#db2777!important;
  border-color:#ec4899!important;
  color:#fff!important;
}
.bb-nav-section[data-nav-section="masters"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="masters"] .bb-nav-subsection-items>button.active{
  background:#0891b2!important;
  border-color:#06b6d4!important;
  color:#fff!important;
}

/* Mobile/tablet keeps the same hierarchy and contrast. */
@media(max-width:900px){
  .bb-nav-section-title{font-size:14px!important}
  .bb-nav-section-items>button,.bb-nav-subsection-items>button{font-size:13px!important;min-height:42px!important}
  .bb-nav-subsection-title{font-size:13px!important;min-height:42px!important}
}

/* v4.16.139 — Dashboard sidebar item keeps the same colour on mouse hover/focus. */
.bb-nav-standalone-dashboard:not(.active):hover,
.bb-nav-standalone-dashboard:not(.active):focus-visible{
  background:#15365f!important;
  border-color:rgba(255,255,255,.10)!important;
  color:#fff!important;
  transform:none!important;
}
.bb-nav-standalone-dashboard.active:hover,
.bb-nav-standalone-dashboard.active:focus-visible{
  background:#2563eb!important;
  border-color:#3b82f6!important;
  color:#fff!important;
  transform:none!important;
}


/* v4.16.140 — draggable Note Area ordering */
.bb-note-area-drag-grip{
  width:24px;height:30px;display:inline-grid;place-items:center;flex:0 0 24px;
  border:0;background:transparent;border-radius:7px;padding:0;cursor:grab;
  color:#64748b;touch-action:manipulation;user-select:none;-webkit-user-select:none;
}
.bb-note-area-drag-grip:hover,.bb-note-area-drag-grip:focus-visible{
  background:color-mix(in srgb,var(--note-area,#7c3aed) 12%,#fff);
  color:var(--note-area,#7c3aed);outline:none;
}
.bb-note-area-drag-grip .bb-grip-dots{display:grid;grid-template-columns:repeat(2,3px);grid-auto-rows:3px;gap:2px}
.bb-note-area-drag-grip .bb-grip-dots i{width:3px;height:3px;border-radius:50%;background:currentColor;display:block}
body.bb-note-area-sort-active{user-select:none!important;-webkit-user-select:none!important;cursor:grabbing!important}
.bb-note-area-drag-placeholder{opacity:.34!important;outline:2px dashed color-mix(in srgb,var(--note-area,#7c3aed) 55%,#94a3b8)!important;outline-offset:-2px}
.bb-note-area-drag-ghost{box-shadow:0 18px 45px rgba(15,23,42,.24)!important;opacity:.96!important;transform:none!important;overflow:hidden!important}
@media (max-width:900px){
  .bb-note-area-drag-grip{touch-action:pan-y;}
}

/* v4.16.141 — compact left navigation while preserving readability and section colours. */
.bb-sidebar{
  padding:14px 10px!important;
}
.bb-sidebar .bb-nav{
  padding-top:4px!important;
}
.bb-nav-sectioned{
  gap:5px!important;
}
.bb-nav-standalone-dashboard,
.bb-nav-section{
  border-radius:8px!important;
}
.bb-nav-standalone-dashboard{
  min-height:38px!important;
  padding:0 11px!important;
  font-size:13px!important;
}
.bb-nav-section-title{
  min-height:38px!important;
  padding:0 11px!important;
  font-size:13px!important;
}
.bb-nav-section-items{
  padding:4px!important;
  gap:3px!important;
}
.bb-nav-section-items>button,
.bb-nav-subsection-items>button{
  min-height:32px!important;
  padding:5px 8px!important;
  border-radius:7px!important;
  font-size:12px!important;
  line-height:1.15!important;
}
.bb-nav-sectioned button[data-view]>.bb-nav-bullet{
  flex-basis:11px!important;
  width:11px!important;
  min-width:11px!important;
  margin-right:5px!important;
  font-size:14px!important;
}
.bb-nav-subsection{
  margin-top:4px!important;
  border-radius:8px!important;
}
.bb-nav-subsection-title{
  min-height:34px!important;
  padding:0 9px!important;
  font-size:12px!important;
}
.bb-nav-subsection-items{
  padding:3px!important;
  gap:3px!important;
}
.bb-sidebar-org{
  padding-top:4px!important;
  padding-bottom:10px!important;
}
.bb-user{
  padding:9px 7px!important;
}
.bb-logout-btn{
  min-height:34px!important;
}
@media(max-width:900px){
  .bb-sidebar{padding:10px 8px!important}
  .bb-nav-section-title{min-height:38px!important;font-size:13px!important}
  .bb-nav-section-items>button,.bb-nav-subsection-items>button{min-height:34px!important;font-size:12px!important}
  .bb-nav-subsection-title{min-height:34px!important;font-size:12px!important}
}


/* v4.16.144 — Mobile Notespaces: stack Note Areas vertically instead of side-by-side. */
@media (max-width:767px){
  .bb-notes-board-scroll{
    overflow-x:visible!important;
    overflow-y:visible!important;
    padding:2px 0 12px!important;
    scroll-snap-type:none!important;
  }
  .bb-notes-board{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:12px!important;
    min-width:0!important;
    width:100%!important;
  }
  .bb-note-area-column{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    scroll-snap-align:none!important;
  }
  .bb-notes-scroll-dock{
    display:none!important;
    visibility:hidden!important;
  }
  #bb-content:has(.bb-notes-scroll-dock){padding-bottom:12px!important}
  .bb-note-area-drag-grip{touch-action:none!important}
}

/* v4.16.146 — Left menu view rows: remove outer borders for a cleaner flat look. */
.bb-nav-section-items>button,
.bb-nav-subsection-items>button,
.bb-nav-standalone-dashboard{
  border:0!important;
  box-shadow:none!important;
}
.bb-nav-section-items>button:hover,
.bb-nav-subsection-items>button:hover,
.bb-nav-section-items>button:focus-visible,
.bb-nav-subsection-items>button:focus-visible,
.bb-nav-standalone-dashboard:hover,
.bb-nav-standalone-dashboard:focus-visible,
.bb-nav-section-items>button.active,
.bb-nav-subsection-items>button.active,
.bb-nav-standalone-dashboard.active{
  border:0!important;
  box-shadow:none!important;
}


/* v4.16.147 — Sidebar Option 2: slim coloured section accents on one dark professional base. */
.bb-sidebar{
  background:linear-gradient(180deg,#0b2442 0%,#071a31 100%)!important;
}
.bb-nav-sectioned{gap:4px!important}

/* Dashboard: flat row on the same dark base. */
.bb-nav-standalone-dashboard{
  background:transparent!important;
  color:#f8fbff!important;
  border:0!important;
  border-radius:7px!important;
  padding-left:12px!important;
  font-weight:750!important;
}
.bb-nav-standalone-dashboard:not(.active):hover,
.bb-nav-standalone-dashboard:not(.active):focus-visible{
  background:rgba(255,255,255,.055)!important;
  color:#fff!important;
}
.bb-nav-standalone-dashboard.active,
.bb-nav-standalone-dashboard.active:hover,
.bb-nav-standalone-dashboard.active:focus-visible{
  background:#1b426f!important;
  color:#fff!important;
}

/* Main sections: no pastel cards; use only a slim section-colour accent line. */
.bb-nav-section{
  position:relative!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
  box-shadow:none!important;
  padding-left:6px!important;
  margin:2px 0!important;
}
.bb-nav-section::before{
  content:"";
  position:absolute;
  left:0;
  top:7px;
  bottom:7px;
  width:4px;
  border-radius:4px;
  background:#5ea7e6;
}
.bb-nav-section[data-nav-section="work"]::before{background:#2dd4bf!important}
.bb-nav-section[data-nav-section="hr"]::before{background:#fbbf24!important}
.bb-nav-section[data-nav-section="notes"]::before{background:#a855f7!important}
.bb-nav-section[data-nav-section="math"]::before{background:#fb7185!important}
.bb-nav-section[data-nav-section="masters"]::before{background:#7dd3fc!important}

.bb-nav-section-title,
.bb-nav-section[data-nav-section="work"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="hr"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="notes"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="math"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="masters"]>.bb-nav-section-title{
  min-height:36px!important;
  padding:0 8px 0 10px!important;
  background:transparent!important;
  color:#f8fbff!important;
  border:0!important;
  border-radius:7px!important;
  font-size:13px!important;
  font-weight:800!important;
}
.bb-nav-section-title:hover,
.bb-nav-section-title:focus-visible{
  background:rgba(255,255,255,.055)!important;
  filter:none!important;
  color:#fff!important;
}

/* Expanded menu content is open/flat rather than a boxed panel. */
.bb-nav-section-items{
  background:transparent!important;
  border:0!important;
  padding:2px 0 3px 9px!important;
  gap:1px!important;
}
.bb-nav-section-items>button,
.bb-nav-subsection-items>button{
  min-height:30px!important;
  padding:4px 8px!important;
  background:transparent!important;
  color:#e6eef8!important;
  border:0!important;
  border-radius:7px!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:600!important;
}
.bb-nav-section-items>button:hover,
.bb-nav-subsection-items>button:hover,
.bb-nav-section-items>button:focus-visible,
.bb-nav-subsection-items>button:focus-visible{
  background:rgba(255,255,255,.055)!important;
  color:#fff!important;
}

/* Subsections stay visually nested but without outer cards. */
.bb-nav-subsection{
  margin:1px 0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  overflow:visible!important;
}
.bb-nav-subsection-title{
  min-height:31px!important;
  padding:0 8px!important;
  background:transparent!important;
  color:#f4f7fb!important;
  border:0!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:750!important;
}
.bb-nav-subsection-title:hover,
.bb-nav-subsection-title:focus-visible{
  background:rgba(255,255,255,.05)!important;
  color:#fff!important;
}
.bb-nav-subsection-items{
  background:transparent!important;
  padding:1px 0 2px 9px!important;
  gap:1px!important;
}

/* Small coloured bullets follow each section's accent. */
.bb-nav-sectioned button[data-view]>.bb-nav-bullet{
  flex:0 0 10px!important;
  width:10px!important;
  min-width:10px!important;
  margin-right:5px!important;
  font-size:13px!important;
  color:#94a3b8!important;
}
.bb-nav-section[data-nav-section="work"] button[data-view]>.bb-nav-bullet{color:#2dd4bf!important}
.bb-nav-section[data-nav-section="hr"] button[data-view]>.bb-nav-bullet{color:#fbbf24!important}
.bb-nav-section[data-nav-section="notes"] button[data-view]>.bb-nav-bullet{color:#c084fc!important}
.bb-nav-section[data-nav-section="math"] button[data-view]>.bb-nav-bullet{color:#fb8ba0!important}
.bb-nav-section[data-nav-section="masters"] button[data-view]>.bb-nav-bullet{color:#7dd3fc!important}

/* Active view: quiet dark highlight, with a slim brighter edge instead of a loud full-section fill. */
.bb-nav-section .bb-nav-section-items>button.active,
.bb-nav-section .bb-nav-subsection-items>button.active{
  background:#103f4b!important;
  color:#fff!important;
  border:0!important;
  box-shadow:inset 3px 0 0 #2dd4bf!important;
}
.bb-nav-section[data-nav-section="hr"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="hr"] .bb-nav-subsection-items>button.active{box-shadow:inset 3px 0 0 #fbbf24!important}
.bb-nav-section[data-nav-section="notes"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="notes"] .bb-nav-subsection-items>button.active{box-shadow:inset 3px 0 0 #a855f7!important}
.bb-nav-section[data-nav-section="math"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="math"] .bb-nav-subsection-items>button.active{box-shadow:inset 3px 0 0 #fb7185!important}
.bb-nav-section[data-nav-section="masters"] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section="masters"] .bb-nav-subsection-items>button.active{box-shadow:inset 3px 0 0 #7dd3fc!important}
.bb-nav-sectioned button[data-view].active>.bb-nav-bullet{color:#fff!important}

@media(max-width:900px){
  .bb-nav-section-title{min-height:38px!important;font-size:13px!important}
  .bb-nav-section-items>button,.bb-nav-subsection-items>button{min-height:34px!important;font-size:12px!important}
  .bb-nav-subsection-title{min-height:34px!important;font-size:12px!important}
}

/* v4.16.148 — Sidebar readability fix: force Option 2 dark base and high-contrast labels. */
.bb-nav-section[data-nav-section="work"],
.bb-nav-section[data-nav-section="hr"],
.bb-nav-section[data-nav-section="notes"],
.bb-nav-section[data-nav-section="math"],
.bb-nav-section[data-nav-section="masters"]{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section="work"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="hr"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="notes"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="math"]>.bb-nav-section-title,
.bb-nav-section[data-nav-section="masters"]>.bb-nav-section-title{
  background:transparent!important;
  color:#ffffff!important;
  text-shadow:none!important;
}
.bb-nav-section[data-nav-section="work"]>.bb-nav-section-title *,
.bb-nav-section[data-nav-section="hr"]>.bb-nav-section-title *,
.bb-nav-section[data-nav-section="notes"]>.bb-nav-section-title *,
.bb-nav-section[data-nav-section="math"]>.bb-nav-section-title *,
.bb-nav-section[data-nav-section="masters"]>.bb-nav-section-title *{
  color:#ffffff!important;
}
.bb-nav-section[data-nav-section]>.bb-nav-section-items{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section] .bb-nav-subsection,
.bb-nav-section[data-nav-section] .bb-nav-subsection-items{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.bb-nav-section[data-nav-section] .bb-nav-subsection-title{
  background:transparent!important;
  color:#f8fbff!important;
}
.bb-nav-section[data-nav-section] .bb-nav-subsection-title *{
  color:#f8fbff!important;
}
.bb-nav-section[data-nav-section] .bb-nav-section-items>button,
.bb-nav-section[data-nav-section] .bb-nav-subsection-items>button{
  background:transparent!important;
  color:#eef5ff!important;
  opacity:1!important;
}
.bb-nav-section[data-nav-section] .bb-nav-section-items>button *,
.bb-nav-section[data-nav-section] .bb-nav-subsection-items>button *{
  color:inherit!important;
  opacity:1!important;
}
.bb-nav-section[data-nav-section] .bb-nav-section-items>button:hover,
.bb-nav-section[data-nav-section] .bb-nav-subsection-items>button:hover,
.bb-nav-section[data-nav-section] .bb-nav-section-items>button:focus-visible,
.bb-nav-section[data-nav-section] .bb-nav-subsection-items>button:focus-visible{
  background:rgba(255,255,255,.07)!important;
  color:#ffffff!important;
}
.bb-nav-section[data-nav-section] .bb-nav-section-items>button.active,
.bb-nav-section[data-nav-section] .bb-nav-subsection-items>button.active{
  color:#ffffff!important;
  opacity:1!important;
}
/* Keep coloured bullets readable without affecting the label text. */
.bb-nav-section[data-nav-section="work"] button[data-view]>.bb-nav-bullet{color:#2dd4bf!important}
.bb-nav-section[data-nav-section="hr"] button[data-view]>.bb-nav-bullet{color:#fbbf24!important}
.bb-nav-section[data-nav-section="notes"] button[data-view]>.bb-nav-bullet{color:#c084fc!important}
.bb-nav-section[data-nav-section="math"] button[data-view]>.bb-nav-bullet{color:#fb8ba0!important}
.bb-nav-section[data-nav-section="masters"] button[data-view]>.bb-nav-bullet{color:#7dd3fc!important}
.bb-nav-section[data-nav-section] button[data-view].active>.bb-nav-bullet{color:#ffffff!important}

/* v4.16.149 — Remove left-side accent lines from the navigation menu. */
.bb-nav-section::before{
  content:none!important;
  display:none!important;
}
.bb-nav-section{
  padding-left:0!important;
}
.bb-nav-section .bb-nav-section-items>button.active,
.bb-nav-section .bb-nav-subsection-items>button.active{
  box-shadow:none!important;
}

/* v4.16.150 — approved Work [chess logo] Board header wordmark */
.bb-header-logo{
  width:176px!important;
  height:48px!important;
  flex:0 0 176px!important;
  padding:4px 8px!important;
  border-radius:11px!important;
  background:#fff!important;
  border:1px solid #dfe4ec!important;
  box-shadow:0 2px 8px rgba(15,23,42,.08)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.bb-header-logo .bb-header-wordmark-img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
@media (min-width:721px) and (max-width:1100px){
  .bb-header-logo{width:152px!important;height:44px!important;flex-basis:152px!important;padding:4px 7px!important}
}
@media (max-width:720px) and (orientation:portrait){
  .bb-header-logo{width:116px!important;height:40px!important;flex-basis:116px!important;padding:3px 5px!important;border-radius:9px!important}
  .bb-topbar h1{max-width:calc(100vw - 250px)!important}
}
@media (max-width:430px){
  .bb-header-logo{width:102px!important;flex-basis:102px!important}
  .bb-topbar h1{max-width:calc(100vw - 225px)!important}
}


/* v4.16.151 — transparent WorkBoard header wordmark: no card background, border or shadow */
.bb-header-logo{
  background:transparent!important;
  border:none!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  overflow:visible!important;
}
.bb-header-logo .bb-header-wordmark-img{
  background:transparent!important;
  border:none!important;
}


/* v4.16.153 — Attendance detail desktop actions in one horizontal row. */
@media (min-width:641px){
  .bb-att-employee-detail .bb-att-detail-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
  }
  .bb-att-employee-detail .bb-att-detail-actions>.bb-att-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    margin-left:auto!important;
  }
  .bb-att-employee-detail .bb-att-detail-actions .bb-att-action,
  .bb-att-employee-detail .bb-att-detail-actions>.bb-mini,
  .bb-att-employee-detail .bb-att-detail-actions>.bb-att-manual-add{
    flex:0 0 auto!important;
    margin:0!important;
  }
  .bb-att-employee-detail .bb-att-detail-actions>.bb-mini,
  .bb-att-employee-detail .bb-att-detail-actions>.bb-att-manual-add{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
    min-height:36px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}

/* v4.16.155 — Standard Cancel button */
.bb-cancel-btn{background:#f59e0b!important;color:#fff!important;border-color:#f59e0b!important;}
.bb-cancel-btn:hover,.bb-cancel-btn:focus{background:#d97706!important;color:#fff!important;border-color:#d97706!important;}
.bb-cancel-btn:disabled{background:#fbbf24!important;color:#fff!important;border-color:#fbbf24!important;opacity:.7;}


/* v4.16.159 — Folder cards: remove leading folder icon and standardize action button size */
.bb-folder-open{
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto 1fr!important;
  column-gap:10px!important;
}
.bb-folder-open strong{
  grid-column:1!important;
  grid-row:1!important;
}
.bb-folder-workspace-count{
  grid-column:2!important;
  grid-row:1!important;
}
.bb-folder-open>small{
  grid-column:1 / 3!important;
  grid-row:2!important;
}
.bb-folder-icon{display:none!important}
.bb-folder-actions .bb-mini{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  padding:0!important;
  border-radius:9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:16px!important;
}
.bb-folder-actions .bb-mini svg{
  width:17px!important;
  height:17px!important;
  display:block!important;
}

/* v4.16.161 — Mobile Time Sheet entry form as stacked activity cards */
@media (max-width: 767px){
  .bb-timesheet-entry-shell{
    margin:0 8px 12px!important;
    padding:10px!important;
    border:1px solid #dbe5f1!important;
    border-radius:14px!important;
    background:#f7faff!important;
    box-shadow:0 5px 18px rgba(15,23,42,.06)!important;
  }
  .bb-timesheet-multi-form{gap:12px!important}
  .bb-timesheet-global-fields{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:0!important;
  }
  .bb-timesheet-global-fields label{
    display:grid!important;
    gap:6px!important;
    padding:11px!important;
    border:1px solid #e2e8f0!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 2px 8px rgba(15,23,42,.035)!important;
    font-size:12px!important;
  }
  .bb-timesheet-global-fields input,
  .bb-timesheet-global-fields select,
  .bb-timesheet-static-user{
    min-height:42px!important;
    font-size:14px!important;
  }
  .bb-timesheet-form-table-wrap{
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
  }
  .bb-timesheet-form-table{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    border:0!important;
    background:transparent!important;
  }
  .bb-timesheet-form-table thead{display:none!important}
  .bb-timesheet-form-table tbody{
    display:grid!important;
    gap:12px!important;
    counter-reset:bb-ts-row!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row{
    counter-increment:bb-ts-row!important;
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px 10px!important;
    width:100%!important;
    padding:50px 12px 12px!important;
    border:1px solid #dce6f3!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 4px 14px rgba(15,23,42,.045)!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row::before{
    content:"Activity " counter(bb-ts-row)!important;
    position:absolute!important;
    top:13px!important;
    left:14px!important;
    font-size:14px!important;
    font-weight:800!important;
    color:#172033!important;
    line-height:26px!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row::after{
    content:counter(bb-ts-row)!important;
    position:absolute!important;
    top:12px!important;
    left:14px!important;
    transform:translateX(-2px)!important;
    width:28px!important;
    height:28px!important;
    border-radius:999px!important;
    background:#2563eb!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:12px!important;
    font-weight:800!important;
    z-index:2!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row::before{
    padding-left:34px!important;
  }
  .bb-timesheet-form-table td{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  .bb-timesheet-form-table td:nth-child(1)::before{content:"From"}
  .bb-timesheet-form-table td:nth-child(2)::before{content:"To"}
  .bb-timesheet-form-table td:nth-child(3)::before{content:"Workspace"}
  .bb-timesheet-form-table td:nth-child(4)::before{content:"Work Area"}
  .bb-timesheet-form-table td:nth-child(5)::before{content:"Task"}
  .bb-timesheet-form-table td:nth-child(6)::before{content:"Remarks"}
  .bb-timesheet-form-table td:nth-child(-n+6)::before{
    display:block!important;
    margin:0 0 5px!important;
    color:#334155!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:800!important;
    text-transform:none!important;
  }
  .bb-timesheet-form-table td:nth-child(3),
  .bb-timesheet-form-table td:nth-child(4),
  .bb-timesheet-form-table td:nth-child(5),
  .bb-timesheet-form-table td:nth-child(6){grid-column:1 / -1!important}
  .bb-timesheet-form-table td:nth-child(7){
    position:absolute!important;
    top:9px!important;
    right:10px!important;
    width:auto!important;
  }
  .bb-timesheet-row-actions{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
  }
  .bb-timesheet-row-actions .bb-icon-btn{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    border-radius:9px!important;
  }
  .bb-timesheet-form-table input,
  .bb-timesheet-form-table select,
  .bb-timesheet-form-table textarea,
  .bb-timesheet-searchbox-trigger{
    width:100%!important;
    min-height:42px!important;
    font-size:14px!important;
  }
  .bb-timesheet-form-table textarea{
    min-height:72px!important;
  }
  .bb-timesheet-form-foot{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    padding-top:2px!important;
    border-top:0!important;
  }
  .bb-timesheet-form-foot>span{
    font-size:12px!important;
    color:#475569!important;
  }
  .bb-timesheet-form-actions{
    width:100%!important;
    display:flex!important;
    flex-direction:column-reverse!important;
    gap:8px!important;
    margin-top:0!important;
    padding-top:0!important;
    border-top:0!important;
  }
  .bb-timesheet-form-actions .bb-btn{
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
  }
}


/* v4.16.162 — Mobile Time Sheet: Date/Employee + Save/Cancel inline */
@media (max-width: 767px){
  .bb-timesheet-global-fields{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
  }
  .bb-timesheet-global-fields label{
    min-width:0!important;
    padding:9px!important;
  }
  .bb-timesheet-global-fields input,
  .bb-timesheet-global-fields select,
  .bb-timesheet-static-user{
    min-width:0!important;
    min-height:40px!important;
    height:40px!important;
    font-size:12px!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .bb-timesheet-form-actions{
    flex-direction:row-reverse!important;
    align-items:stretch!important;
    gap:8px!important;
  }
  .bb-timesheet-form-actions .bb-btn{
    width:auto!important;
    flex:1 1 0!important;
    min-width:0!important;
  }
}

/* v4.16.163 — Mobile Time Sheet: distinct interactive activity outlines */
@media (max-width: 767px){
  .bb-timesheet-form-table tr.bb-timesheet-form-row{
    transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n+1){
    border:2px solid #2563eb!important;
    background:linear-gradient(180deg,#eff6ff 0 48px,#ffffff 48px)!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n+2){
    border:2px solid #22c55e!important;
    background:linear-gradient(180deg,#f0fdf4 0 48px,#ffffff 48px)!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n+3){
    border:2px solid #f97316!important;
    background:linear-gradient(180deg,#fff7ed 0 48px,#ffffff 48px)!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n){
    border:2px solid #8b5cf6!important;
    background:linear-gradient(180deg,#f5f3ff 0 48px,#ffffff 48px)!important;
  }
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n+1)::after{background:#2563eb!important}
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n+2)::after{background:#16a34a!important}
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n+3)::after{background:#ea580c!important}
  .bb-timesheet-form-table tr.bb-timesheet-form-row:nth-child(4n)::after{background:#7c3aed!important}
  .bb-timesheet-form-table tr.bb-timesheet-form-row:hover,
  .bb-timesheet-form-table tr.bb-timesheet-form-row:focus-within{
    transform:translateY(-1px)!important;
    box-shadow:0 8px 22px rgba(15,23,42,.12)!important;
  }
}

/* v4.16.164 — Mobile Time Sheet searchable dropdown clarity */
@media (max-width: 767px){
  .bb-timesheet-form-table tr.bb-timesheet-form-row:focus-within{
    z-index:50!important;
  }
  .bb-timesheet-form-table td,
  .bb-timesheet-form-table .bb-ts-search{
    overflow:visible!important;
  }
  .bb-ts-search-menu{
    left:0!important;
    right:auto!important;
    width:min(320px,calc(100vw - 40px))!important;
    min-width:100%!important;
    max-width:calc(100vw - 40px)!important;
    max-height:210px!important;
    z-index:99999!important;
    padding:6px!important;
    border:1px solid #b8c7da!important;
    border-radius:10px!important;
    box-shadow:0 12px 28px rgba(15,23,42,.22)!important;
  }
  .bb-ts-search-option{
    min-height:40px!important;
    padding:10px 11px!important;
    font-size:13px!important;
    line-height:1.35!important;
    color:#0f172a!important;
    background:#fff!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .bb-ts-search-option + .bb-ts-search-option{
    border-top:1px solid #edf2f7!important;
  }
  .bb-ts-search-option:hover,
  .bb-ts-search-option:focus{
    background:#eef4ff!important;
    color:#1d4ed8!important;
  }
  .bb-ts-search-empty{
    min-height:42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .bb-ts-search-empty[hidden]{display:none!important}
}


/* v4.16.165 — Mobile Time Sheet dropdown anchored directly below field */
@media (max-width: 767px){
  .bb-timesheet-form-table tr.bb-timesheet-form-row:hover,
  .bb-timesheet-form-table tr.bb-timesheet-form-row:focus-within{
    transform:none!important;
  }
  .bb-timesheet-form-table .bb-ts-search-menu{
    top:auto;
  }
}

/* v4.16.168 — Mobile Time Sheet dropdown stays inside activity card */
@media (max-width: 767px){
  .bb-timesheet-form-table .bb-ts-search{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
  }
  .bb-timesheet-form-table .bb-ts-search-menu{
    top:calc(100% + 4px)!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    margin:0!important;
    transform:none!important;
  }
}


/* v4.16.169 — Mobile Time Sheet dropdown visible, directly below field, and kept inside Activity card */
@media (max-width: 767px){
  .bb-timesheet-form-table tr.bb-timesheet-form-row{
    overflow:visible!important;
  }
  .bb-timesheet-form-table .bb-ts-search{
    position:relative!important;
    overflow:visible!important;
  }
  .bb-timesheet-form-table .bb-ts-search.open .bb-ts-search-menu{
    display:block!important;
    position:relative!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    max-height:190px!important;
    margin:4px 0 0!important;
    z-index:20!important;
    box-sizing:border-box!important;
  }
}


/* v4.16.172 - Time Sheet mobile icon toolbar + reliable filter toggle */
.bb-timesheet-filters-modern[hidden]{display:none!important}
@media(max-width:640px){
  .bb-timesheet-list-head-clean{padding:8px 10px}
  .bb-timesheet-head-actions{display:grid!important;grid-template-columns:42px 42px minmax(0,1fr);gap:8px;width:100%;justify-content:stretch!important}
  .bb-timesheet-filter-toggle,.bb-timesheet-excel-btn{width:42px!important;min-width:42px!important;height:38px!important;min-height:38px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .bb-timesheet-filter-toggle .bb-timesheet-filter-label{display:none!important}
  .bb-timesheet-excel-btn>span:not(.bb-excel-btn-icon){display:none!important}
  .bb-timesheet-filter-toggle .bb-filter-toggle-icon,.bb-timesheet-excel-btn .bb-excel-btn-icon{margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .bb-timesheet-filter-toggle .bb-filter-funnel-svg{width:18px!important;height:18px!important}
  .bb-timesheet-add-btn{width:100%!important;min-width:0!important;margin:0!important}
  .bb-timesheet-filter-toggle.active{background:#eef2ff!important;border-color:#818cf8!important;color:#4338ca!important}
}


/* v4.16.173 — unified Excel icon across Workboard */
.bb-excel-icon{width:20px!important;height:20px!important;display:inline-block!important;flex:0 0 20px!important;vertical-align:middle!important;overflow:visible!important}
.bb-icon-only-btn .bb-excel-icon,.bb-icon-btn .bb-excel-icon{width:21px!important;height:21px!important;flex-basis:21px!important}
.bb-timesheet-excel-btn .bb-excel-icon,.bb-focus-excel-btn .bb-excel-icon,.bb-notespace-excel-btn .bb-excel-icon,.bb-att-excel .bb-excel-icon,.bb-monthly-excel-btn .bb-excel-icon{width:20px!important;height:20px!important}
@media(max-width:768px){.bb-timesheet-excel-btn .bb-excel-icon,.bb-notespace-toolbar [data-export-notespace-excel] .bb-excel-icon{width:22px!important;height:22px!important}}


/* v4.16.174 — keep billable amount fully visible on task cards */
.bb-task.bb-task-todo .bb-inline-meta .bb-task-billable-indicator{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  width:max-content!important;
  min-width:42px!important;
  max-width:none!important;
  height:24px!important;
  padding:0 7px!important;
  position:sticky!important;
  right:0!important;
  z-index:6!important;
  margin-left:3px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  background:#ecfdf5!important;
  border:1px solid #86efac!important;
  color:#15803d!important;
  box-shadow:-6px 0 8px rgba(255,255,255,.92)!important;
}
.bb-task.bb-task-todo .bb-inline-meta .bb-task-billable-indicator.has-amount small{
  display:inline-block!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:visible!important;
  max-width:none!important;
}


/* v4.16.176 — sub-task list hidden by default; eye button reveals it on demand */
.bb-task-side-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:1px!important;
}
.bb-card-subtasks-indicator,
.bb-card-subtasks-eye{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:24px!important;
  height:22px!important;
  min-width:24px!important;
  min-height:22px!important;
  margin:0!important;
  padding:3px!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#667085!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:none!important;
}
.bb-card-subtasks-indicator{opacity:.72!important;cursor:default!important}
.bb-card-subtasks-eye{cursor:pointer!important;opacity:.82!important}
.bb-card-subtasks-eye:hover,
.bb-card-subtasks-eye:focus-visible{
  background:#f2f4f7!important;
  color:#4f46e5!important;
  opacity:1!important;
  outline:0!important;
}
.bb-card-subtasks-eye.active{
  background:#eef2ff!important;
  color:#4f46e5!important;
  opacity:1!important;
}
.bb-card-subtasks-indicator svg,
.bb-card-subtasks-eye svg{
  display:block!important;
  width:15px!important;
  height:15px!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-eye svg circle{fill:none!important}
.bb-card-subtasks{display:none!important}
.bb-card-subtasks.is-open{display:block!important}
@media(max-width:900px){
  .bb-card-subtasks-indicator,.bb-card-subtasks-eye{width:22px!important;height:21px!important;min-width:22px!important;min-height:21px!important}
  .bb-card-subtasks-indicator svg,.bb-card-subtasks-eye svg{width:14px!important;height:14px!important}
}
\n\n/* v4.16.177 — subtask icon toggles subtasks; bottom eye toggles task action row */
.bb-card-subtasks-indicator{
  cursor:pointer!important;
  opacity:.82!important;
}
.bb-card-subtasks-indicator:hover,
.bb-card-subtasks-indicator:focus-visible,
.bb-card-subtasks-indicator.active{
  background:#f2f4f7!important;
  color:#4f46e5!important;
  opacity:1!important;
  outline:0!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions > button:not(.bb-task-actions-eye),
.bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder{
  display:none!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions.is-open > button,
.bb-task.bb-task-todo .bb-task-bottom-actions.is-open > .bb-task-bottom-reminder{
  display:inline-grid!important;
}
.bb-task.bb-task-todo .bb-task-actions-eye{
  display:inline-grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  padding:4px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#6d5dfc!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.bb-task.bb-task-todo .bb-task-actions-eye:hover,
.bb-task.bb-task-todo .bb-task-actions-eye:focus-visible,
.bb-task.bb-task-todo .bb-task-actions-eye.active{
  background:#f0edff!important;
  color:#5b46e8!important;
  outline:0!important;
}
.bb-task.bb-task-todo .bb-task-actions-eye svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.bb-task.bb-task-todo .bb-task-actions-eye svg circle{fill:none!important}
@media(max-width:900px){
  .bb-task.bb-task-todo .bb-task-actions-eye{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important}
  .bb-task.bb-task-todo .bb-task-actions-eye svg{width:14px!important;height:14px!important}
}


/* v4.16.178 — Sub-task delete: borderless icon, visible only for the clicked sub-task row */
.bb-card-subtask-delete,
.bb-inline-subtask-delete,
.bb-detail-subtask-delete{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  border-radius:0!important;
  padding:0!important;
}
.bb-card-subtask-delete:hover,
.bb-card-subtask-delete:focus,
.bb-card-subtask-delete:focus-visible,
.bb-card-subtask-delete:active,
.bb-inline-subtask-delete:hover,
.bb-inline-subtask-delete:focus,
.bb-inline-subtask-delete:focus-visible,
.bb-inline-subtask-delete:active,
.bb-detail-subtask-delete:hover,
.bb-detail-subtask-delete:focus,
.bb-detail-subtask-delete:focus-visible,
.bb-detail-subtask-delete:active{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.bb-card-subtask-delete,
.bb-inline-subtask-delete,
.bb-detail-subtask-delete{
  display:none!important;
}
.bb-card-subtask-row.bb-subtask-delete-visible .bb-card-subtask-delete,
.bb-inline-subtask-row.bb-subtask-delete-visible .bb-inline-subtask-delete,
.bb-detail-subtask-row.bb-subtask-delete-visible .bb-detail-subtask-delete{
  display:inline-flex!important;
}
.bb-card-subtask-delete .bb-delete-trash-icon,
.bb-inline-subtask-delete .bb-delete-trash-icon,
.bb-detail-subtask-delete .bb-delete-trash-icon{
  width:17px!important;
  height:17px!important;
  flex:0 0 17px!important;
}


/* v4.16.179 — move task action eye below the sub-task icon in the side rail */
.bb-task.bb-task-todo .bb-task-side-actions{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:2px!important;
}
.bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye,
.bb-task.bb-task-todo .bb-task-side-actions .bb-card-subtasks-indicator{
  display:grid!important;
  place-items:center!important;
  width:24px!important;
  height:22px!important;
  min-width:24px!important;
  min-height:22px!important;
  margin:0!important;
  padding:3px!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye{
  color:#6d5dfc!important;
  cursor:pointer!important;
  opacity:.82!important;
}
.bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye:hover,
.bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye:focus-visible,
.bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye.active{
  background:#f0edff!important;
  color:#5b46e8!important;
  opacity:1!important;
  outline:0!important;
}
.bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye svg{
  width:15px!important;
  height:15px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye svg circle{fill:none!important}
.bb-task.bb-task-todo .bb-task-bottom-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions > button,
.bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder{
  display:none!important;
}
.bb-task.bb-task-todo .bb-task-bottom-actions.is-open > button,
.bb-task.bb-task-todo .bb-task-bottom-actions.is-open > .bb-task-bottom-reminder{
  display:inline-grid!important;
}
@media(max-width:900px){
  .bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye,
  .bb-task.bb-task-todo .bb-task-side-actions .bb-card-subtasks-indicator{
    width:22px!important;
    height:21px!important;
    min-width:22px!important;
    min-height:21px!important;
  }
  .bb-task.bb-task-todo .bb-task-side-actions .bb-task-actions-eye svg,
  .bb-task.bb-task-todo .bb-task-side-actions .bb-card-subtasks-indicator svg{
    width:14px!important;
    height:14px!important;
  }
}

/* v4.16.180 — keep task meta details fully readable; wrap to a second line when needed */
.bb-task.bb-task-todo .bb-inline-meta,
.bb-task.bb-task-todo .bb-todo-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  align-content:flex-start!important;
  column-gap:6px!important;
  row-gap:3px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  white-space:normal!important;
  scrollbar-width:none!important;
}
.bb-task.bb-task-todo .bb-inline-meta>button,
.bb-task.bb-task-todo .bb-inline-meta>.bb-task-billable-indicator{
  flex:0 0 auto!important;
  max-width:100%!important;
}
.bb-task.bb-task-todo .bb-inline-meta>button{
  white-space:nowrap!important;
}
.bb-task.bb-task-todo .bb-inline-meta .bb-task-billable-indicator{
  position:static!important;
  right:auto!important;
  margin-left:0!important;
  box-shadow:none!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  .bb-task.bb-task-todo .bb-inline-meta,
  .bb-task.bb-task-todo .bb-todo-meta{
    column-gap:5px!important;
    row-gap:2px!important;
  }
}

/* v4.16.186 — polished Task Options + permanent delete confirmation */
.bb-task-options-polished{width:min(600px,92vw);padding:8px 6px 4px}
.bb-task-options-polished .bb-action-sheet-head{margin-bottom:16px}
.bb-task-options-polished .bb-action-sheet-head h3{font-size:22px;line-height:1.25;margin-top:6px}
.bb-action-list{display:flex;flex-direction:column;gap:10px}
.bb-task-options-polished .bb-action-row{position:relative;display:grid;grid-template-columns:50px minmax(0,1fr) 22px;align-items:center;gap:14px;padding:14px 16px;border:1px solid #dbe5f3;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03);transition:.15s ease}
.bb-task-options-polished .bb-action-row:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,23,42,.06);background:#fff}
.bb-task-options-polished .bb-action-row>div{min-width:0}
.bb-task-options-polished .bb-action-row b{font-size:16px;line-height:1.25;color:#172033}
.bb-task-options-polished .bb-action-row small{font-size:12px;line-height:1.35;color:#68758b;margin-top:3px}
.bb-task-options-polished .bb-action-row.danger{border-color:#fecaca;background:#fff7f7}
.bb-task-options-polished .bb-action-row.danger b{color:#c81e1e}
.bb-action-icon{width:44px!important;height:44px;display:grid!important;place-items:center;border-radius:12px;font-size:22px!important;background:#eef4ff;color:#2563eb;text-align:center}
.bb-action-icon.archive{background:#eef4ff;color:#2563eb}
.bb-action-icon.activity{background:#e8fbfb;color:#0f8f97}
.bb-action-icon.danger{background:#ffe8e8;color:#dc2626}
.bb-action-chevron{width:auto!important;font-size:28px!important;color:#718096;text-align:right!important;line-height:1}
.bb-task-options-polished .bb-action-row.danger .bb-action-chevron{color:#ef4444}

.bb-delete-confirm{width:min(560px,92vw);padding:8px 6px 4px}
.bb-delete-confirm .bb-action-sheet-head{margin-bottom:14px}
.bb-delete-confirm-body{display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px;align-items:center;padding:16px 10px 22px}
.bb-delete-confirm-icon{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:#fee2e2;color:#dc2626;font-size:36px}
.bb-delete-confirm-body h3{font-size:24px;line-height:1.2;margin:0 0 8px;color:#172033}
.bb-delete-confirm-body p{margin:0;color:#64748b;font-size:14px;line-height:1.55;max-width:410px}
.bb-delete-confirm-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e5e7eb;padding:18px 6px 4px}
.bb-delete-confirm-actions .bb-btn{min-height:46px;padding:0 24px;border-radius:10px;font-weight:700;font-size:14px}
.bb-delete-confirm-actions .bb-delete-cancel{background:#fff!important;color:#172033!important;border:1px solid #d7dfeb!important}
.bb-delete-confirm-actions .bb-delete-permanent{background:#d71920!important;color:#fff!important;border:1px solid #d71920!important;box-shadow:none!important}
.bb-delete-confirm-actions .bb-delete-permanent:hover{background:#b91c1c!important;border-color:#b91c1c!important}

@media (max-width:600px){
 .bb-task-options-polished,.bb-delete-confirm{width:min(94vw,94vw)}
 .bb-task-options-polished .bb-action-row{grid-template-columns:42px minmax(0,1fr) 18px;padding:12px;gap:10px}
 .bb-action-icon{width:38px!important;height:38px;font-size:19px!important}
 .bb-task-options-polished .bb-action-row b{font-size:14px}
 .bb-delete-confirm-body{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:10px 4px 18px}
 .bb-delete-confirm-icon{width:54px;height:54px;font-size:25px}
 .bb-delete-confirm-body h3{font-size:20px}
 .bb-delete-confirm-actions{display:grid;grid-template-columns:1fr 1.35fr}
 .bb-delete-confirm-actions .bb-btn{padding:0 10px}
}

/* v4.16.187 Delete History task option */
.bb-task-options-polished .bb-action-row.history{border-color:#fed7aa;background:#fffaf2}
.bb-task-options-polished .bb-action-row.history b{color:#c96a00}
.bb-task-options-polished .bb-action-icon.history{background:#fff1db;color:#dc7600}
.bb-task-options-polished .bb-action-row.history .bb-action-chevron{color:#e67e00}
.bb-delete-history-confirm .bb-history-confirm-icon{background:#fff1db;color:#d97706}
.bb-delete-confirm-actions .bb-delete-history-btn{background:#e57a00!important;color:#fff!important;border:1px solid #e57a00!important;box-shadow:none!important;min-height:46px;padding:0 24px;border-radius:10px;font-weight:700;font-size:14px}
.bb-delete-confirm-actions .bb-delete-history-btn:hover{background:#c96500!important;border-color:#c96500!important}
@media(max-width:700px){.bb-delete-confirm-actions .bb-delete-history-btn{padding:0 10px}}


/* v4.16.188 — wrap new Sub Task text while typing */
.bb-card-subtask-input{
  box-sizing:border-box!important;
  min-height:24px!important;
  height:24px!important;
  max-height:72px!important;
  line-height:1.35!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  resize:none!important;
  overflow-y:hidden!important;
  font-family:inherit!important;
}
.bb-card-subtask-add-row{align-items:start!important;}
@media(max-width:640px){
  .bb-card-subtask-input{min-height:26px!important;height:26px!important;max-height:78px!important;line-height:1.4!important;}
}


/* v4.16.192 — Larger Work Area action buttons on mobile */
@media(max-width:700px){
  .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,
  .bb-workarea-column .bb-workarea-activity-btn{
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    max-width:36px!important;
    max-height:36px!important;
    flex:0 0 36px!important;
    border-radius:9px!important;
  }
  .bb-workarea-column .bb-col-head-actions svg,
  .bb-workarea-column .bb-workarea-activity-btn svg{
    width:18px!important;
    height:18px!important;
  }
  .bb-workarea-column .bb-workarea-add-unified svg{
    width:20px!important;
    height:20px!important;
  }
}

/* v4.16.193 — Mobile task-card action icons larger for easier tapping */
@media (max-width: 640px){
  .bb-task-bottom-actions{
    gap:3px!important;
    min-height:30px!important;
    align-items:center!important;
  }
  .bb-task-bottom-actions > button:not(.bb-task-bottom-clipboard){
    flex:0 0 25px!important;
    width:25px!important;
    min-width:25px!important;
    height:25px!important;
    min-height:25px!important;
    padding:2px!important;
    border-radius:7px!important;
  }
  .bb-task-bottom-actions > button:not(.bb-task-bottom-clipboard) svg,
  .bb-task-bottom-activity svg,
  .bb-task-bottom-focus svg,
  .bb-task-bottom-move svg,
  .bb-task-bottom-flash svg,
  .bb-task-bottom-copy svg{
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    min-height:17px!important;
    stroke-width:2!important;
  }
  .bb-task-bottom-urgent{
    width:25px!important;
    min-width:25px!important;
    height:25px!important;
    min-height:25px!important;
    padding:1px!important;
  }
  .bb-task-bottom-urgent .bb-fire-svg{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
  }
}

/* v4.16.194 — increase task bottom action icons on mobile with matching specificity */
@media (max-width: 640px){
  .bb-task.bb-task-todo .bb-task-bottom-actions{
    width:calc(100% + 40px)!important;
    max-width:none!important;
    margin:8px 0 0 -34px!important;
    padding:2px 0 2px 6px!important;
    gap:4px!important;
    min-height:34px!important;
    align-items:center!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-actions > button,
  .bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder{
    flex:0 0 28px!important;
    width:28px!important;
    min-width:28px!important;
    max-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
    padding:3px!important;
    border-radius:8px!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-actions > button svg,
  .bb-task.bb-task-todo .bb-task-bottom-actions > .bb-task-bottom-reminder svg,
  .bb-task.bb-task-todo .bb-task-bottom-activity svg,
  .bb-task.bb-task-todo .bb-task-bottom-focus svg,
  .bb-task.bb-task-todo .bb-task-bottom-move svg,
  .bb-task.bb-task-todo .bb-task-bottom-flash svg,
  .bb-task.bb-task-todo .bb-task-bottom-copy svg,
  .bb-task.bb-task-todo .bb-task-bottom-edit svg{
    width:18px!important;
    height:18px!important;
    min-width:18px!important;
    min-height:18px!important;
    stroke-width:2.1!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-urgent .bb-fire-svg{
    width:19px!important;
    height:19px!important;
    min-width:19px!important;
    min-height:19px!important;
  }
  .bb-task.bb-task-todo .bb-task-bottom-reminder small{
    right:-3px!important;
    top:-4px!important;
    min-width:13px!important;
    height:13px!important;
    padding:0 2px!important;
    font-size:8px!important;
  }
}


/* v4.16.195 — Mobile Workspace: hide Work Area update / percentage score strip */
@media (max-width: 640px){
  .bb-workarea-score-row{display:none!important;}
}

/* v4.16.196 — Mobile Workspace header: menu + logo on row 1; workspace + controls on row 2 */
@media (max-width:640px){
  #bb-app:has(.bb-workspace-layout) .bb-topbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 36px 36px 36px!important;
    grid-template-rows:40px 40px!important;
    column-gap:6px!important;
    row-gap:4px!important;
    height:92px!important;
    min-height:92px!important;
    padding:4px 10px!important;
    align-items:center!important;
  }

  /* Let header children participate directly in the two-row grid. */
  #bb-app:has(.bb-workspace-layout) .bb-topbar-left,
  #bb-app:has(.bb-workspace-layout) .bb-top-actions{
    display:contents!important;
  }

  /* Row 1: hamburger left, WorkBoard logo right. */
  #bb-app:has(.bb-workspace-layout) .bb-mobile-menu{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    align-self:center!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-header-logo{
    grid-column:2 / 5!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    width:102px!important;
    height:36px!important;
    flex-basis:auto!important;
    margin:0!important;
  }

  /* Row 2: current Workspace name left, workspace controls right. */
  #bb-app:has(.bb-workspace-layout) .bb-topbar-left>div:last-child{
    grid-column:1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    width:100%!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-topbar h1{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    font-size:15px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-topbar p{display:none!important;}

  #bb-app:has(.bb-workspace-layout) .bb-mobile-analysis-toggle{
    grid-column:2!important;
    grid-row:2!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-mobile-add-area{
    grid-column:3!important;
    grid-row:2!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-mobile-filter-top,
  #bb-app:has(.bb-workspace-layout) .bb-top-filter-reset{
    grid-column:4!important;
    grid-row:2!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-workspace-top-toggle{
    grid-column:4!important;
    grid-row:2!important;
  }

  /* Account for the taller fixed two-line header. */
  #bb-app:has(.bb-workspace-layout) .bb-main{
    padding-top:92px!important;
  }
  #bb-app:has(.bb-workspace-layout) .bb-workspace-toolbar.filters-open{
    top:100px!important;
    max-height:calc(100vh - 112px)!important;
  }
}


/* v4.16.197 — Sub-task fields auto-wrap and grow while typing */
.bb-quick-subtask-row textarea.bb-quick-subtask-text,
#bb-task-form textarea.bb-subtask-text{
  width:100%!important;
  min-width:0!important;
  min-height:38px!important;
  height:auto;
  box-sizing:border-box;
  resize:none!important;
  overflow-y:hidden;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.35!important;
  padding:8px 9px!important;
  font-family:inherit;
  field-sizing:content;
}
.bb-quick-subtask-row textarea.bb-quick-subtask-text{
  border:1px solid #cfd8e6;
  border-radius:8px;
  background:#fff;
  font-size:11px!important;
}
#bb-task-form textarea.bb-subtask-text{
  border:1px solid #d9dfeb;
  border-radius:8px;
  background:#fff;
}
.bb-quick-subtask-row{align-items:start!important;}
.bb-quick-remove-subtask-row{align-self:start;}

/* v4.17.0 — React Web shell. Keep the React mount wrapper layout-neutral. */
.bb-react-header-root{display:contents}

/* v4.17.1 — split login: branding left, login form right */
.bb-login-page{
  padding:32px 40px;
}
.bb-login-layout{
  width:min(1040px,100%);
  min-height:520px;
  display:grid;
  grid-template-columns:minmax(320px,.95fr) minmax(420px,1.05fr);
  align-items:stretch;
  background:#fff;
  border:1px solid #e7eaf1;
  border-radius:26px;
  box-shadow:0 24px 70px rgba(37,44,74,.13);
  overflow:hidden;
}
.bb-login-brand-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px;
  background:linear-gradient(145deg,#f4f7ff 0%,#eef2ff 100%);
  border-right:1px solid #e7eaf1;
}
.bb-login-brand{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
  text-align:center;
}
.bb-login-brand .bb-logo{
  width:210px;
  height:120px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#5b5ce2;
  overflow:visible;
}
.bb-login-brand .bb-brand-logo-img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.bb-login-brand .bb-brand-logo-fallback{
  width:92px;
  height:92px;
  border-radius:24px;
  display:grid;
  place-items:center;
  background:#5b5ce2;
  color:#fff;
  font-size:42px;
  box-shadow:0 18px 38px rgba(91,92,226,.22);
}
.bb-login-brand-name strong{
  font-size:30px;
  color:#172033;
  letter-spacing:-.02em;
}
.bb-login-form-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 54px;
  background:#fff;
}
.bb-login-form-panel .bb-login-card{
  width:100%;
  max-width:440px;
  padding:0;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
}
@media(max-width:820px){
  .bb-login-page{padding:18px;}
  .bb-login-layout{grid-template-columns:1fr;min-height:0;border-radius:20px;}
  .bb-login-brand-panel{padding:28px 22px 18px;border-right:0;border-bottom:1px solid #e7eaf1;}
  .bb-login-brand{gap:10px;}
  .bb-login-brand .bb-logo{width:170px;height:72px;}
  .bb-login-brand-name strong{font-size:22px;}
  .bb-login-form-panel{padding:26px 22px 30px;}
}

/* v4.17.2 — use the supplied full WorkBoard logo on the login screen */
.bb-login-brand .bb-login-logo-full{
  width:min(430px,100%);
  height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
}
.bb-login-brand .bb-login-logo-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.bb-login-brand-panel .bb-login-brand-name{display:none!important;}
@media(max-width:820px){
  .bb-login-brand .bb-login-logo-full{width:min(280px,100%);height:100px;}
}
