/* Shared light surfaces for the tabel and its dialogs. */
:root{--card:#fff;--panel:#fff;--panel2:#f3f4f6;--line:#d1d5db;--text:#111827;--muted:#374151;color-scheme:light}
.check-row,.password-box,.details-box,.assignees,.dropdown-checks{
  background:#f8fafc!important;color:#111827!important;border-color:#d1d5db!important;
}
.check-row{align-items:flex-start;line-height:1.45;overflow-wrap:anywhere}
.check-row input[type=checkbox]{flex:0 0 auto;width:16px;height:16px;margin:3px 0 0;accent-color:#a94d2e}
.check-row input[type=checkbox]+span{min-width:0}
.modal .sheet .row-actions:last-child{
  position:static;bottom:auto;background:#fff;padding:12px 0 0;border-top:1px solid #d1d5db;
}
.modal{padding:12px;overscroll-behavior:contain}
.modal .sheet{overscroll-behavior:contain;scrollbar-gutter:stable;max-width:min(620px,100%);padding-bottom:max(18px,env(safe-area-inset-bottom))}
body:has(.modal.active){overflow:hidden}
.top-row{flex-wrap:wrap}
.top-row>div:first-child{flex:1 1 190px;min-width:0}
.top-row>.row-actions{max-width:100%;min-width:0}
.top-row>button{flex:0 0 auto}
.title,.sub{overflow-wrap:anywhere}
#allPasswordsScreen>.account-actions{margin:0 0 18px}
.all-timesheet-wrap,.table-wrap{background:#fff}
.all-timesheet th,.all-timesheet th.sticky-name,.all-timesheet th.sticky-object{background:#eef2f7;color:#111827}
.all-timesheet td.sticky-name,.all-timesheet td.sticky-object,.all-timesheet .total-cell{background:#f8fafc;color:#111827}
@media(max-width:560px){
  .modal{padding:8px}
  .modal .sheet{border-radius:18px!important;padding:14px!important}
  .modal .sheet .row-actions{gap:8px}
  .modal .sheet .row-actions>.btn{flex:1 1 130px;min-width:0}
  .top-row>.row-actions{flex:1 1 100%}
}
