/* v0.47: one shared filter and calendar above the four reporting states. */
#report-view .report-workspace{display:flex;flex-direction:column;align-items:stretch;gap:10px}
#report-view .report-workspace>.rw-directory{display:grid;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:12px;position:static;top:auto;max-height:none;overflow:visible;padding:12px 14px;width:auto}
#report-view .report-workspace>.rw-directory .rw-directory-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:8px;margin:0}
#report-view .rw-directory-filters>h3{grid-column:1/-1;margin:0;font:750 16px/1.3 system-ui,sans-serif;color:#285971}
#report-view .rw-directory-filters>label:first-of-type,#report-view .rw-directory-filters>.rw-date-controls,#report-view .rw-directory-filters>.rw-filter-reset-row{grid-column:1/-1}
#report-view .rw-directory-filters label{min-width:0}
#report-view .rw-directory-filters select{min-width:0;width:100%;height:38px}
#report-view .rw-date-controls .rw-calendar-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
#report-view .rw-filter-reset-row{display:flex;gap:7px;flex-wrap:wrap}
#report-view .rw-filter-reset-row button{min-height:34px;padding:5px 10px}
#report-view .rw-directory .rw-timeline{max-width:none;min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
#report-view .rw-timeline{display:block}
#report-view .rw-work-records-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(185px,.95fr);align-items:start;gap:14px;min-width:0}
#report-view .rw-calendar-shell{box-sizing:border-box;width:100%;max-width:450px;min-width:0;margin:0 auto;padding:9px 11px;border:1px solid #c6d6d3;border-radius:4px;background:#f7faf7}
#report-view .rw-work-summary{min-width:0;padding:7px 4px 5px 13px;border-left:1px solid #c6d6d3;color:#2d5265}
#report-view .rw-work-summary h3{margin:0 0 7px;font:750 15px/1.3 system-ui,sans-serif;color:inherit}
#report-view .rw-work-summary-range{display:block;margin:0 0 5px;font:600 11px/1.35 system-ui,sans-serif;color:#5b7480}
#report-view .rw-work-summary-list{max-height:150px;overflow-y:auto;scrollbar-width:thin}
#report-view .rw-work-summary-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:4px 0;border-bottom:1px solid #e1e9e6;font:12px/1.35 system-ui,sans-serif}
#report-view .rw-work-summary-row span{min-width:0;overflow-wrap:anywhere}
#report-view .rw-work-summary-row strong{flex:none;color:inherit;font:750 12px/1.35 system-ui,sans-serif;white-space:nowrap}
#report-view .rw-work-summary-empty,#report-view .rw-work-summary-waived{margin:6px 0 0;color:#5c7480;font:12px/1.35 system-ui,sans-serif}
#report-view .rw-calendar-title{margin:0 0 4px;text-align:center;color:#285971;font:750 16px/1.3 system-ui,sans-serif}
#report-view .rw-calendar-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 8px}
#report-view .rw-calendar-month-nav{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
#report-view .rw-calendar-month-nav h3{min-width:100px}
#report-view .rw-calendar-grid{gap:2px}
#report-view .rw-calendar-week{gap:2px}
#report-view .rw-calendar-day{min-height:28px}
#report-view .rw-calendar-legend{margin-top:2px}
#report-view .rw-calendar-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;margin-top:4px}
#report-view .rw-calendar-footer .rw-calendar-legend{flex:1;min-width:0;margin:0}
#report-view .rw-calendar-reset-local{flex:none;min-height:36px;margin-left:auto;padding:5px 10px;border:1px solid #aec2c4;border-radius:3px;background:#fffdf8;color:#315f75;font:700 13px/1.25 system-ui,sans-serif}
#report-view .rw-calendar-day:disabled{background:#f0f2ef!important;color:#9aa6a5!important;border-color:#d7dedb!important;opacity:.65}
#report-view .rw-calendar-day.has-current:not(.has-normal):not(.has-waived):not(.has-missed){background:#e0eff8;border-color:#8bb6cd;color:#245878}
#report-view .rw-calendar-day.has-future:not(.has-normal):not(.has-waived):not(.has-missed):not(.has-current){background:#edf0ef;border-color:#bec9c5;color:#50696d}
#report-view .rw-calendar-day.in-range{background:#d5e9f6!important;color:#174e75!important}
#report-view .rw-calendar-day.selected{background:#286c95!important;color:#fff!important}
#report-view .rw-content{width:auto;min-width:0}
#report-view .rw-content-header{padding-bottom:7px}
#report-view .rw-current-layout,#report-view .rw-status-layout{display:grid;grid-template-columns:minmax(190px,210px) minmax(0,1fr);gap:12px;align-items:start}
#report-view .rw-current-sidebar,#report-view .rw-status-sidebar,#report-view .rw-current-main,#report-view .rw-status-main{min-width:0}
#report-view .rw-current-sidebar,#report-view .rw-status-sidebar{padding:7px;border:1px solid #d2dfdc;background:#f8fbf8}
#report-view .rw-current-block #task-cards{display:block;margin:0}
#report-view .rw-current-block .rw-project-group{display:block;margin:0 0 8px;padding:0}
#report-view .rw-current-block .rw-project-group h4{margin:0 0 4px}
#report-view .rw-current-block .rw-campus-group{min-width:0;padding:5px 7px 7px;border:1px solid #d2dfdc;background:#fbfdfb}
#report-view .rw-current-block .rw-campus-group+.rw-campus-group{margin-top:6px}
#report-view .rw-current-block .rw-project-list{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;overflow:visible;padding:0}
#report-view .rw-current-block .rw-branch{width:100%;min-width:0;padding:6px 7px}
#report-view .rw-current-block .rw-branch small{margin-top:2px}
#report-view .rw-current-block .rw-campus-heading{margin:0 0 5px}
#report-view .rw-status-sidebar{display:grid;gap:5px;max-height:70vh;overflow-y:auto}
#report-view .rw-status-sidebar h3{margin:0 0 2px;color:#285971;font:750 13px/1.3 system-ui,sans-serif}
#report-view .rw-secondary-branch{display:block;width:100%;min-width:0;padding:7px 8px;text-align:left;border:1px solid #c3d3d0;background:#fffefa;color:#28566b;border-radius:3px;overflow-wrap:anywhere}
#report-view .rw-secondary-branch strong,#report-view .rw-secondary-branch small{display:block}
#report-view .rw-secondary-branch strong{font-size:12px;line-height:1.35}
#report-view .rw-secondary-branch small{font-size:10px;margin-top:2px}
#report-view .rw-secondary-branch.selected{border-color:#2f7797;background:#e5f2f5;color:#21536a}
#report-view .rw-record-table{min-width:800px}
#report-view .rw-record-table .rw-action-cell{min-width:184px;width:184px;white-space:normal}
#report-view .rw-record-table .rw-record-actions{display:flex;flex-wrap:nowrap;align-items:stretch;gap:6px;margin:0}
#report-view .rw-record-table .rw-record-actions button{display:inline-flex;align-items:center;justify-content:center;height:36px;min-height:36px;margin:0;padding:6px 8px;line-height:1.3;white-space:nowrap;align-self:stretch}
#report-view .rw-record-table .rw-edit-deadline{margin-top:6px;font-size:11px;line-height:1.4}
#report-view #records-view .records-filters{display:none;margin:0;padding:0}
#report-view #records-view .records-filters label,#report-view #records-view #apply-record-filter{display:none!important}
#report-view #task-controls .task-cutoff-controls{display:grid;grid-template-columns:minmax(120px,1fr) minmax(170px,1.2fr) auto;gap:8px 10px;align-items:end;margin-top:10px}
#report-view #task-controls .task-cutoff-controls label{display:grid;grid-template-rows:auto 38px;gap:4px;min-width:0;margin:0}
#report-view #task-controls .task-cutoff-controls :is(output,input){display:flex;align-items:center;box-sizing:border-box;width:100%;min-width:0;height:38px;min-height:38px;margin:0;padding:6px 9px}
#report-view #task-controls #save-task-cutoff{box-sizing:border-box;height:38px;min-height:38px;margin:0;padding:6px 12px;white-space:nowrap;align-self:end}
#report-view .rw-block-rail .rw-block-heading{min-height:48px}
html[data-design=horse] #report-view .rw-calendar-day.has-current:not(.has-normal):not(.has-waived):not(.has-missed){background:#f5e8d3;color:#754e2e;border-color:#c5a477}
html[data-design=forest] #report-view .rw-calendar-day.has-current:not(.has-normal):not(.has-waived):not(.has-missed){background:#e0eedc;color:#315f43;border-color:#98bd8f}
html[data-design=tech] #report-view .rw-calendar-grid button.has-current:not(.has-normal):not(.has-waived):not(.has-missed){background:#dbeefa;color:#245878;border-color:#78b6ce}
html[data-design=tech] #report-view .rw-calendar-grid button.has-future:not(.has-normal):not(.has-waived):not(.has-missed):not(.has-current){background:#e8eff2;color:#506a78;border-color:#b8ccd6}
html[data-design=horse] #report-view .rw-current-block .rw-campus-group{background:#fffaf0;border-color:#d9c5a3}
html[data-design=forest] #report-view .rw-current-block .rw-campus-group{background:#f6faef;border-color:#b8cbaa}
html[data-design=tech] #report-view .rw-current-block .rw-campus-group{background:#f4f9fc;border-color:#b8d0da}
@media(max-width:1000px){
  #report-view .report-workspace>.rw-directory{grid-template-columns:minmax(260px,300px) minmax(0,1fr)}
}
@media(max-width:760px){
  #report-view .report-workspace>.rw-directory{display:grid;grid-template-columns:minmax(0,1fr);padding:9px}
  #report-view .report-workspace>.rw-directory .rw-directory-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #report-view .rw-work-records-layout{grid-template-columns:minmax(0,1fr);gap:7px}
  #report-view .rw-calendar-shell{width:100%;max-width:420px;min-width:0}
  #report-view .rw-work-summary{box-sizing:border-box;width:100%;max-width:420px;margin:0 auto;padding:8px 2px 2px;border-left:0;border-top:1px solid #c6d6d3}
  #report-view .rw-work-summary-list{max-height:132px}
  #report-view .rw-current-layout,#report-view .rw-status-layout{grid-template-columns:minmax(0,1fr);gap:7px}
  #report-view .rw-current-block .rw-project-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  #report-view .rw-current-block .rw-branch{width:100%;min-width:0}
  #report-view .rw-status-sidebar{max-height:190px;grid-template-columns:repeat(2,minmax(0,1fr))}
  #report-view .rw-status-sidebar h3{grid-column:1/-1}
  #report-view .rw-record-table .rw-record-actions{flex-direction:column}
  #report-view .rw-record-table .rw-action-cell{min-width:130px;width:130px}
}
@media(max-width:680px){
  #report-view #task-controls .task-cutoff-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  #report-view #task-controls #save-task-cutoff{grid-column:1/-1;justify-self:start}
}
@media(max-width:390px){
  #report-view .rw-current-block .rw-project-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  #report-view .rw-status-sidebar{grid-template-columns:minmax(0,1fr)}
  #report-view #task-controls .task-cutoff-controls{grid-template-columns:minmax(0,1fr)}
  #report-view #task-controls #save-task-cutoff{grid-column:1;width:100%}
}

/* The four status directories share the same project > campus > metric hierarchy. */
#report-view .rw-project-group[data-project="sd"]{--rw-project-accent:#28739a;--rw-project-ink:#21526e;--rw-project-surface:#edf6fb;--rw-project-border:#a8cbdc}
#report-view .rw-project-group[data-project="h4"]{--rw-project-accent:#a7682c;--rw-project-ink:#71451e;--rw-project-surface:#fff5e8;--rw-project-border:#d9b98f}
#report-view .rw-project-group{padding:8px;border:1px solid var(--rw-project-border,#d2dfdc);border-left:3px solid var(--rw-project-accent,#7d969b);background:var(--rw-project-surface,#f8fbf8);border-radius:4px}
#report-view .rw-project-group+.rw-project-group{margin-top:7px;padding-top:8px;border-top:1px solid var(--rw-project-border,#d2dfdc)}
html[data-design] #report-view .rw-project-group h4{margin:0 0 6px;padding:4px 6px;color:var(--rw-project-ink,#285971);font:800 16px/1.4 system-ui,sans-serif;overflow-wrap:anywhere}
html[data-design] #report-view .rw-project-group .rw-campus-heading{margin:0 0 5px;color:var(--rw-project-ink,#285971);font:750 12.5px/1.3 system-ui,sans-serif}
#report-view .rw-project-group .rw-campus-group{min-width:0;padding:5px 6px 6px;border:1px solid var(--rw-project-border,#d2dfdc);background:#fffdf9;border-radius:3px}
#report-view .rw-project-group .rw-campus-group+.rw-campus-group{margin-top:6px}
#report-view .rw-project-group .rw-project-list{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;padding:0;overflow:visible}
html[data-design] #report-view .rw-project-group :is(.rw-branch,.rw-secondary-branch){width:100%;min-width:0;margin:0;padding:6px 7px;border:1px solid var(--rw-project-border,#d2dfdc);border-left:3px solid var(--rw-project-accent,#7d969b);background:#fff;color:var(--rw-project-ink,#285971);text-align:left;box-shadow:none;overflow-wrap:anywhere}
html[data-design] #report-view .rw-project-group :is(.rw-branch,.rw-secondary-branch).selected{border-color:var(--rw-project-accent,#397da0);background:var(--rw-project-surface,#eaf5f7);color:var(--rw-project-ink,#285971);box-shadow:inset 0 0 0 1px var(--rw-project-border,#b8d9e2)}
html[data-design] #report-view .rw-project-group :is(.rw-branch,.rw-secondary-branch) strong{color:inherit;font:750 12.5px/1.3 system-ui,sans-serif;overflow-wrap:anywhere}
html[data-design] #report-view .rw-project-group :is(.rw-branch,.rw-secondary-branch) small{color:inherit;opacity:.8;font:600 10.5px/1.2 system-ui,sans-serif;margin-top:2px}
#report-view .rw-status-sidebar{align-content:start}
#report-view .rw-status-sidebar>.rw-secondary-branch{min-height:34px}
html[data-design=horse] #report-view .rw-project-group .rw-campus-group{background:#fffaf2}
html[data-design=forest] #report-view .rw-project-group .rw-campus-group{background:#fbfdf8}
html[data-design=tech] #report-view .rw-project-group .rw-campus-group{background:#f8fcff}
html[data-design=horse] #report-view .rw-calendar-shell{background:#fffaf2;border-color:#d9c5a3}
html[data-design=forest] #report-view .rw-calendar-shell{background:#f6faef;border-color:#b8cbaa}
html[data-design=tech] #report-view .rw-calendar-shell{background:#f4f9fc;border-color:#b8d0da}
@media(max-width:760px){
  #report-view .rw-status-sidebar{display:block;max-height:240px}
  #report-view .rw-status-sidebar>.rw-secondary-branch{margin-bottom:6px}
  #report-view .rw-project-group .rw-project-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){#report-view .rw-project-group .rw-project-list{grid-template-columns:minmax(0,1fr)}}

/* v0.48: calendar and overview form one work-record panel. */
#report-view .rw-work-records-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;border:1px solid #c6d6d3;border-radius:4px;background:#f7faf7;padding:10px;gap:12px}
#report-view .rw-work-records-title{grid-column:1/-1;margin:0;color:#285971;font:750 16px/1.3 system-ui,sans-serif}
#report-view .rw-calendar-shell{max-width:none;border:0;background:transparent;padding:0}
#report-view .rw-work-summary{border-left:1px solid #c6d6d3;padding:0 0 0 12px}
#report-view .rw-work-summary h3{font:750 14px/1.3 system-ui,sans-serif}
#report-view .rw-work-summary-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
#report-view .rw-work-summary-table{width:100%;border-collapse:collapse;font:12px/1.35 system-ui,sans-serif;white-space:nowrap}
#report-view .rw-work-summary-table :is(th,td){padding:5px 7px;border:1px solid #d6e1dc;text-align:right}
#report-view .rw-work-summary-table thead th{background:#e9f2ee;font-weight:700}
#report-view .rw-work-summary-table :is(th:first-child,td:first-child){text-align:left}
#report-view .rw-work-summary-table tbody th{font-weight:700}
#report-view .rw-work-summary-grand{background:#e8f1ec;font-weight:750}
#report-view .rw-calendar-blank{min-height:28px}
html[data-design] #report-view .rw-calendar-day[data-state]{box-shadow:none!important;opacity:1!important}
html[data-design] #report-view .rw-calendar-day[data-state="normal"]{background:#dff1e4!important;color:#24633a!important;border-color:#79ac86!important}
html[data-design] #report-view .rw-calendar-day[data-state="waived"]{background:#ffebd3!important;color:#8a4d11!important;border-color:#d7a35c!important}
html[data-design] #report-view .rw-calendar-day[data-state="missed"]{background:#f9dedd!important;color:#922f32!important;border-color:#d17e80!important}
html[data-design] #report-view .rw-calendar-day[data-state="current"]{background:#dceefa!important;color:#245e81!important;border-color:#80b6d1!important}
html[data-design] #report-view .rw-calendar-day[data-state="future"]{background:#edf0ef!important;color:#52656a!important;border-color:#b9c5c4!important}
html[data-design] #report-view .rw-calendar-day[data-state="empty"]{background:#fafbf9!important;color:#566a6d!important;border-color:#d1dad6!important}
html[data-design] #report-view .rw-calendar-day[data-state].in-range{outline:0!important;box-shadow:inset 0 0 0 1px #477b9a!important}
html[data-design] #report-view .rw-calendar-day[data-state].selected{outline:0!important;box-shadow:inset 0 0 0 1.5px #477b9a!important;font-weight:800}
html[data-design] #report-view .rw-calendar-day[data-state].today{outline:0!important;box-shadow:inset 0 0 0 3px #9139a5!important;font-weight:850}
html[data-design] #report-view .rw-calendar-day[data-state]::before{content:none!important}
html[data-design] #report-view .rw-calendar-day[data-state]::after{content:none!important}
#report-view :is(.rw-current-block,.rw-history-block,.rw-missed-block,.rw-plan-block) .rw-project-group{display:block;margin:0 0 8px;padding:8px;border:1px solid var(--rw-project-border,#d2dfdc);border-left:3px solid var(--rw-project-accent,#7d969b)}
html[data-design] #report-view :is(.rw-current-block,.rw-history-block,.rw-missed-block,.rw-plan-block) .rw-project-group h4{margin:0 0 6px;padding:4px 6px;font:800 16px/1.4 system-ui,sans-serif}
#report-view :is(.rw-current-block,.rw-history-block,.rw-missed-block,.rw-plan-block) .rw-project-group .rw-campus-group{margin:0;padding:5px 6px 6px;border:1px solid var(--rw-project-border,#d2dfdc);border-radius:3px}
#report-view :is(.rw-current-block,.rw-history-block,.rw-missed-block,.rw-plan-block) .rw-project-group .rw-campus-group+.rw-campus-group{margin-top:6px}
#report-view :is(.rw-current-block,.rw-history-block,.rw-missed-block,.rw-plan-block) .rw-project-group .rw-project-list{margin:0;padding:0;gap:5px}
#report-view .rw-status-sidebar>.rw-all-projects{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 7px;font:750 12.5px/1.3 system-ui,sans-serif}
#report-view .rw-status-sidebar>.rw-all-projects strong,#report-view .rw-status-sidebar>.rw-all-projects .rw-branch-count{font:inherit;color:inherit}
#report-view .rw-status-sidebar>.rw-all-projects .rw-branch-count{flex:none}
@media(max-width:760px){#report-view .rw-work-records-layout{grid-template-columns:minmax(0,1fr)}#report-view .rw-work-summary{border-left:0;border-top:1px solid #c6d6d3;padding:8px 0 0;max-width:none}}

#report-view .rw-record-table-wrap{min-width:0;max-width:100%}
#report-view .rw-record-scroll-hint{display:none;margin:0 0 6px;color:#526d78;font:650 11px/1.35 system-ui,sans-serif}
@media(max-width:1000px){#report-view .rw-record-scroll-hint{display:block}}
html[data-design=tech] #report-view .rw-record-table td:nth-child(5)>strong,
html[data-design=tech] #report-view .rw-record-table td:nth-child(5)>.rw-record-note,
html[data-design=tech] #report-view .rw-record-table td:nth-child(5)>.rw-record-detail>summary,
html[data-design=tech] #report-view .rw-record-table td:nth-child(5)>.rw-record-detail>.rw-record-summary,
html[data-design=tech] #report-view .rw-record-table td:nth-child(5)>.rw-record-detail>.rw-record-fields span{color:#dcecf5!important}

/* Keep a long indicator list inside the work calendar panel. */
#report-view .rw-work-summary-scroll{max-height:224px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#report-view .rw-work-summary-table thead th{position:sticky;top:0;z-index:2;background:var(--paper,#e9f2ee)}
#report-view .rw-work-summary-grand > *{position:sticky;bottom:0;z-index:1;background:var(--paper,#e8f1ec);border-top:2px solid var(--line,#b4c6b5)}
#report-view .rw-missed-table-wrap{max-width:100%;min-width:0}
#report-view .rw-missed-table-wrap .rw-table-scroll{max-width:100%;overflow-x:auto}
#report-view .rw-missed-table{min-width:800px;width:100%}
#report-view .rw-missed-table .rw-action-cell{min-width:150px;width:150px;white-space:normal}
#report-view .rw-missed-table .rw-backfill-button{min-height:34px;padding:6px 12px}
#report-view .rw-missed-table .rw-missed-reason{display:block;margin-top:5px;line-height:1.4;white-space:normal}
@media(max-width:760px){#report-view .rw-work-summary-scroll{max-height:184px}#report-view .rw-missed-table-wrap .rw-table-scroll{overscroll-behavior-inline:contain}}
@media(max-width:700px){#report-view .rw-work-summary-scroll{max-height:184px}}
#report-view :is(.rw-record-table-wrap,.rw-missed-table-wrap){padding-bottom:12px}
#report-view :is(.rw-record-table,.rw-missed-table) tbody tr:last-child>td{border-bottom:1px solid #d5dfdc}
.rw-operation-dialog .rw-operation-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:0 0 7px;background:var(--paper,#fffdf8)}
.rw-operation-dialog .rw-operation-header h2{min-width:0;margin:0;overflow-wrap:anywhere}
.rw-operation-dialog .rw-operation-close{flex:none;min-height:34px;margin:0;padding:6px 10px;font:700 12px/1.3 system-ui,sans-serif}
.rw-operation-dialog .rw-operation-meta{display:flex;align-items:baseline;gap:4px 12px;flex-wrap:wrap;font:12px/1.45 system-ui,sans-serif}
.rw-operation-dialog .rw-operation-meta small{margin:3px 0}
.rw-operation-dialog .rw-operation-details>summary{cursor:pointer;color:#285c72;font-weight:700}
.rw-operation-dialog .rw-operation-details[open]{flex-basis:100%;min-width:0}

/* v052: month heading centered independently of the unchanged reset button. */
#report-view .rw-calendar-head{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
#report-view .rw-calendar-month-nav{grid-column:2;justify-self:center}
#report-view .rw-calendar-reset-local{grid-column:3;justify-self:end}
#report-view .rw-work-summary-grand > *{position:static;bottom:auto;border-top:0}
@media(max-width:520px){#report-view .rw-calendar-head{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:4px}#report-view .rw-calendar-month-nav{gap:4px}#report-view .rw-calendar-month-nav h3{min-width:92px}#report-view .rw-calendar-reset-local{padding-inline:5px}}
/* Narrow work panels need enough width for centered month controls. */
#report-view .rw-calendar-reset-local{white-space:nowrap;min-width:72px}
@media(max-width:1000px){
 #report-view .rw-work-records-layout{grid-template-columns:minmax(0,1fr)}
 #report-view .rw-work-summary{border-left:0;border-top:1px solid #c6d6d3;padding:10px 0 0}
 #report-view .rw-calendar-month-nav h3{min-width:92px;font-size:14px}
 #report-view .rw-calendar-month-nav{gap:4px}
 #report-view .rw-calendar-shift{width:24px;min-width:24px;padding:0}
}

/* Phone date targets stay distinguishable and easier to tap. */
@media(max-width:700px){#report-view .rw-calendar-day{min-height:40px;font-size:13px}#report-view .rw-calendar-shift{min-height:36px}#report-view .rw-calendar-reset-local{min-height:40px}}

@media(max-width:700px){#report-view .rw-action-cell button,.rw-edit-dialog input,.rw-backfill-dialog input{min-height:40px}.rw-edit-dialog input,.rw-backfill-dialog input{font-size:16px}}
