/* The overview is a reminder surface; full task and staff records stay available. */
html body #bpOpsModeShell [data-ops-panel="home"].on{
 display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);grid-template-rows:auto auto auto;column-gap:14px;row-gap:0;align-items:start
}
html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-welcome{grid-column:1;grid-row:1;min-width:0;min-height:0!important;padding:12px!important;flex-wrap:wrap!important;gap:8px!important}
html body #bpOpsModeShell [data-ops-panel="home"]>.bp-fd-home-merged{grid-column:1;grid-row:2;min-width:0;margin-bottom:14px!important}
html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-duty-card{grid-column:2;grid-row:1 / span 2;min-width:0;padding:12px!important;margin:0 0 14px!important;align-self:start}
html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-home-command{grid-column:1/-1;grid-row:3}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-ops-welcome-copy{flex:1 1 100%;max-width:none!important}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-ops-welcome-copy>span,html body #bpOpsModeShell [data-ops-panel="home"] .bp-ops-welcome-copy p{display:none!important}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-ops-welcome h3{font-size:16px!important;font-weight:400!important;margin:0!important}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-ops-welcome-actions{display:flex!important;flex:1 1 auto!important;gap:6px!important;width:auto!important;min-width:0;flex-wrap:wrap}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-home-actions{margin-left:0!important;width:auto!important;flex:0 1 auto!important}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-ops-shift-state{padding:4px 7px!important;min-width:0!important}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-list{padding:8px!important;gap:4px!important;max-height:238px!important;overflow:auto}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-task{padding:6px 8px!important;gap:6px!important;min-height:40px!important;border-radius:7px!important}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-task .bp-fd-open{gap:6px!important;min-width:0}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-title{font-size:13px!important;line-height:1.3!important;font-weight:400!important;white-space:normal!important;overflow-wrap:anywhere}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-meta{font-size:11px!important;line-height:1.3!important;margin-top:2px!important}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-cat-pill{font-size:9px!important;padding:1px 5px!important}
html body #bpOpsModeShell .bp-ops-duty-card .bp-ops-card-head{margin-bottom:8px!important;padding-bottom:8px!important;gap:8px}
html body #bpOpsModeShell .bp-ops-duty-card .bp-ops-card-head h3{font-size:16px!important;font-weight:400!important}
html body #bpOpsModeShell .bp-ops-duty-card .bp-ops-card-head p{display:none}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-summary{gap:6px;margin-bottom:8px}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-stat{padding:6px!important;background:#f2f7f3;border-color:#d9e6dc}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-stat strong{font-size:18px!important;font-weight:400!important;color:#22553f}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-stat small{font-size:11px!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-grid{grid-template-columns:1fr!important;gap:4px;max-height:218px;overflow:auto}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-row{padding:6px 8px!important;gap:8px!important;min-height:44px;box-sizing:border-box}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-avatar{width:28px;height:28px;flex-basis:28px}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-name{font-size:13px!important;font-weight:400!important;color:#244c3f}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-meta{font-size:11px!important;line-height:1.3!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-badge{font-size:10px!important;min-width:0;padding:4px 6px;flex:none;font-weight:400!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-updated{font-size:10px!important;margin-top:6px}
@container bpops (max-width:850px){
 html body #bpOpsModeShell [data-ops-panel="home"].on{grid-template-columns:minmax(0,1fr)}
 html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-duty-card{grid-column:1;grid-row:3}
 html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-home-command{grid-row:4}
}
@media(max-width:820px){
 html body #bpOpsModeShell [data-ops-panel="home"].on{grid-template-columns:minmax(0,1fr)}
 html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-duty-card{grid-column:1;grid-row:3}
 html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-home-command{grid-row:4}
 html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-task{min-height:48px!important}
 html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-done{min-width:32px!important;min-height:32px!important}
 html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-home-actions button,html body #bpOpsModeShell [data-ops-panel="home"] .bp-ops-welcome-actions .btn{min-height:44px!important}
}
/* Keep the KPI footprint small without shrinking readable text. */
html body #bpOpsModeShell [data-ops-panel="home"].on{grid-template-rows:98px auto auto}
html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-welcome{height:98px!important;box-sizing:border-box;align-content:center}
html body #bpOpsModeShell [data-ops-panel="home"] .bp-fd-list{max-height:210px!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-summary{display:flex!important;gap:0!important;background:#f2f7f3;border:1px solid #d9e6dc;border-radius:8px;overflow:hidden}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-stat{display:flex!important;align-items:center;justify-content:center;gap:6px;flex:1;border:0!important;border-right:1px solid #d9e6dc!important;border-radius:0!important;padding:8px 5px!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-stat:last-child{border-right:0!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-grid{max-height:222px!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-row{display:flex!important;flex-wrap:nowrap!important;min-height:44px!important;padding:5px 7px!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-row>div{flex:1!important;min-width:0!important;width:auto!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-badge{width:auto!important;flex:0 0 auto!important;margin:0!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@container bpops (max-width:850px){
 html body #bpOpsModeShell [data-ops-panel="home"].on{grid-template-rows:auto auto auto auto}
 html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-welcome{height:auto!important}
}
@media(max-width:820px){
 html body #bpOpsModeShell [data-ops-panel="home"].on{grid-template-rows:auto auto auto auto}
 html body #bpOpsModeShell [data-ops-panel="home"]>.bp-ops-welcome{height:auto!important}
 html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-stat{flex-wrap:wrap;gap:3px}
}
/* Shared reminder rows: Overview and My Shift use the same inline date layout. */
html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-list{padding:8px!important;gap:4px!important;max-height:210px!important}
html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task{padding:5px 8px!important;min-height:36px!important;gap:6px!important}
html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task .bp-fd-open{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;min-height:28px!important}
html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task .bp-fd-title{flex:1 1 auto!important;width:auto!important;font-size:13px!important;font-weight:400!important;line-height:1.3!important;white-space:normal!important;min-width:0}
html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task .bp-fd-meta{display:flex!important;flex:0 0 auto!important;width:auto!important;grid-column:auto!important;margin:0!important;font-size:11px!important;line-height:1.3!important;white-space:nowrap!important}
html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-cat-pill{font-size:9px!important;padding:1px 5px!important;flex:0 0 auto!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-row{display:grid!important;grid-template-columns:28px minmax(0,1fr) auto!important;grid-template-rows:auto auto;column-gap:8px!important;row-gap:1px!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-row>div{display:contents!important}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-avatar{grid-column:1;grid-row:1 / span 2}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-name{grid-column:2;grid-row:1}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-badge{grid-column:3;grid-row:1;justify-self:end}
html body #bpOpsModeShell #opsDutyBoard .bp-staff-clock-meta{grid-column:2 / span 2;grid-row:2;margin:0!important}
@media(max-width:820px){
 html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task{min-height:44px!important}
 html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task .bp-fd-open{flex-wrap:wrap!important;min-height:36px!important}
 html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task .bp-fd-title{flex-basis:55%!important}
 html body #bpOpsModeShell .bp-fd-tasks-card .bp-fd-task .bp-fd-meta{margin-left:auto!important}
}
/* Internal chat bubbles fit their contents, independently of WhatsApp forms. */
html body #view-messagecenter .bpmc-b,html body #bpDock .bpd-b{width:fit-content!important;min-width:0!important;min-height:0!important;max-width:80%!important;padding:6px 10px!important;margin-top:4px!important;margin-bottom:4px!important;border-radius:16px!important;line-height:1.35!important;font-size:14px!important;font-weight:400!important;box-sizing:border-box;overflow-wrap:anywhere;box-shadow:none!important}
html body #view-messagecenter .bpmc-me,html body #bpDock .bpd-me{margin-left:auto!important;background:#1c6048!important;color:white!important;border-bottom-right-radius:5px!important}
html body #view-messagecenter .bpmc-them,html body #bpDock .bpd-them{background:#edf1ee!important;color:#244c3f!important;border:0!important;border-bottom-left-radius:5px!important}
html body #view-messagecenter .bpmc-b small,html body #bpDock .bpd-b small{font-size:10px!important;line-height:1.2!important;margin-top:3px!important;font-weight:400!important}
html body #view-messagecenter .bpmc-row,html body #bpDock .bpd-row{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important}
html body #view-messagecenter .bpmc-row textarea,html body #bpDock .bpd-row textarea{height:38px!important;min-height:38px!important;max-height:110px!important;width:auto!important;min-width:0!important;flex:1!important;padding:8px 12px!important;line-height:20px!important;font-size:14px!important;border-radius:20px!important;box-sizing:border-box!important;resize:vertical!important}
html body #view-messagecenter .bpmc-compose,html body #bpDock .bpd-compose{padding:6px 8px!important;background:white!important}
html body #view-messagecenter .bpmc-row button,html body #bpDock .bpd-row button{flex:0 0 auto!important;min-height:36px!important;height:36px!important;min-width:36px!important;width:auto!important;padding:6px 10px!important;margin:0!important;border-radius:18px!important}
html body #bpDock .bpd-bar-head,html body #bpDock .bpd-chat-head{background:#19543f!important;font-weight:400!important;padding:8px 10px!important}
html body #bpDock .bpd-send{background:#19543f!important}
html body #bpDock .bpd-msgs{background:#fafcfb!important;height:260px;min-height:0!important}
html body #bpDock .bpd-chat{width:320px;max-width:calc(100vw - 16px)}
html body #bpDock .bpd-chips:empty{display:none}
@media(max-width:700px){
 html body #bpDock{bottom:66px!important}
 html body #bpDock .bpd-chat{width:auto!important;bottom:110px!important;max-height:calc(100dvh - 145px)}
 html body #bpDock .bpd-msgs{height:38dvh!important;min-height:0;flex:1;overflow:auto}
 html body #view-messagecenter .bpmc-row textarea,html body #bpDock .bpd-row textarea{font-size:16px!important}
 html body #view-messagecenter .bpmc-row button,html body #bpDock .bpd-row button{height:44px!important;min-height:44px!important;min-width:44px!important}
}

html body .bp-chat-wa{display:flex!important;align-items:center;flex-wrap:wrap;gap:6px;padding:6px 2px 0;font-size:12px!important;font-weight:400!important;color:#245840}html body .bp-chat-wa input{width:16px!important;height:16px!important;min-height:16px!important;flex:none;margin:0!important;accent-color:#19543f}html body .bp-chat-wa span,html body .bp-chat-wa-help{font-size:11px;color:#65786e}html body .bp-chat-wa-help{display:block;padding:2px} @media(max-width:700px){html body .bp-chat-wa{min-height:36px}}
