.today-delivery { color: var(--text); }
.today-controls { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:20px; }
.today-controls input[type=search] { margin-left:auto; flex:1 1 220px; min-width:0; max-width:360px; }
.today-controls input { box-sizing:border-box; min-height:38px; padding:8px 10px; border:1px solid var(--line-strong); border-radius:7px; background:var(--panel); color:var(--text); font:inherit; font-size:13px; }
.today-controls > .today-switch { flex-wrap:nowrap; flex-shrink:0; }
.today-controls button { min-height:38px; white-space:nowrap; font-size:13px; }
.today-controls [data-delivery-create] { padding:8px 14px; border:1px solid var(--brand); border-radius:7px; color:var(--ui-text-inverse); background:var(--brand); }
.today-switch, .today-group-filters { display:flex; gap:6px; flex-wrap:wrap; }
.today-delivery button { cursor:pointer; }
:where(.today-delivery) button { color:var(--text); }
.today-delivery button:disabled { cursor:default; opacity:.5; }
.today-switch button, .today-group-filters button { border:1px solid transparent; background:transparent; border-radius:7px; padding:8px 11px; color:var(--muted); }
.today-switch button[aria-pressed=true], .today-group-filters button[aria-pressed=true] { background:var(--brand-soft); color:var(--brand); border-color:var(--line-strong); }
.today-delivery-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:16px; align-items:start; }
.today-delivery-main { min-width:0; container-type:inline-size; }
.today-delivery-rail { display:grid; gap:16px; }
.today-section, .today-rail-card { border:1px solid var(--line); border-radius:12px; background:var(--panel); margin-bottom:16px; overflow:hidden; }
.today-section>header, .today-collapse { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px; border:0; border-bottom:1px solid var(--line-soft); background:none; }
.today-section h2, .today-rail-card h2 { font-size:15px; margin:0; }
.today-section h2 span, .today-collapse span { font-size:12px; background:var(--panel-subtle); padding:2px 6px; border-radius:4px; margin-left:6px; }
.today-item-grid { display:grid; grid-template-columns:minmax(0,1fr); }
.today-item { padding:16px; min-width:0; display:flex; flex-direction:column; gap:8px; border-bottom:1px solid var(--line-soft); }
.today-item small, .today-section small, .today-rail-card small { color:var(--muted); font-size:12px; line-height:1.6; }
.today-item h3 { font-size:14px; line-height:1.65; margin:0; overflow-wrap:anywhere; }
.today-item p { font-size:12px; color:var(--muted); margin:0; line-height:1.65; overflow-wrap:anywhere; }
.today-item-meta { display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-size:12px; color:var(--muted); }
.today-overdue { color:var(--danger); background:var(--danger-bg); padding:2px 5px; border-radius:4px; font-size:12px; font-weight:500; }
.today-item-actions { display:flex; gap:6px; margin-top:auto; padding-top:8px; }
.today-item-actions button { flex:1; min-width:0; border:1px solid var(--line-strong); border-radius:7px; padding:9px 4px; background:var(--panel); color:var(--text); font-size:12px; }
.today-item-actions button[data-delivery-progress] { background:var(--brand); color:var(--ui-text-inverse); border-color:var(--brand); }
.today-text-action { border:0; background:transparent; color:var(--brand); text-align:left; padding:9px 0; font-size:12px; }
.today-checks { display:flex; align-items:center; gap:12px; background:var(--panel-subtle); border:1px solid var(--line); border-radius:10px; padding:12px; margin-bottom:16px; }
.today-checks.has-overdue { background:var(--warn-bg); border-color:color-mix(in srgb, var(--warn) 35%, var(--line)); }
.today-checks button { border:0; background:none; text-align:left; color:var(--warn-strong); font-size:13px; line-height:1.8; }
.today-checks button:first-child { flex:1; }
.today-checks .today-undated { color:var(--muted); }
.today-checks span { margin-left:12px; }
.today-collapse { justify-content:flex-start; font-size:15px; font-weight:600; }
.today-group-filters { padding:10px 12px; border-bottom:1px solid var(--line-soft); }
.today-group-filters button { font-size:12px; }
.today-empty { color:var(--muted); padding:24px 16px; font-size:13px; }
.today-rail-card { padding:16px; margin:0; }
.today-rail-card h2 { margin-bottom:16px; }
.today-rail-card p { font-size:13px; line-height:1.8; color:var(--muted); }
.today-stat { border:0; background:none; padding:10px 0; width:100%; display:flex; justify-content:space-between; color:var(--muted); }
.today-stat b { color:var(--text); }
.today-drill { width:min(640px,calc(100vw - 32px)); max-height:85vh; overflow:auto; }
.today-drill>header { display:flex; align-items:center; justify-content:space-between; }
.today-drill .today-item { margin:0; }
@container (min-width:640px) { .today-item-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .today-item-grid>.today-item:nth-child(odd) { border-right:1px solid var(--line-soft); } }
@media(max-width:1050px) { .today-delivery-layout { grid-template-columns:1fr; } .today-delivery-rail { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .today-delivery-rail { grid-template-columns:1fr; } .today-controls input[type=search] { flex-basis:100%; max-width:none; order:1; } .today-checks { align-items:stretch; flex-direction:column; gap:6px; } }

.task-followup-box { margin:16px 0 8px; border:1px solid var(--line); border-radius:9px; background:var(--panel-subtle); padding:12px; }
.task-followup-box summary { font-size:14px; cursor:pointer; margin-bottom:8px; }
.task-followup-box label { font-size:12px; color:var(--muted); margin-top:10px; }
.task-activity-dialog .task-followup-box :is(input,textarea) { color:var(--text); }
.task-followup-hint { font-size:12px; line-height:1.65; color:var(--muted); }
.task-discard-confirm { position:sticky; bottom:0; background:var(--panel); border:1px solid var(--line); box-shadow:var(--ui-shadow-panel); border-radius:9px; padding:16px; z-index:2; }
.task-adjustment-actions { display:flex; gap:8px; margin:12px 0; }
.task-adjustment-actions>button { flex:1; padding:9px 4px; }
.task-schedule-choice { border:1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); background:var(--warn-bg); border-radius:9px; padding:12px; display:flex; flex-wrap:wrap; gap:8px; }
.task-schedule-choice p,.task-schedule-choice small { flex-basis:100%; }

.delivery-board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; } .delivery-board .today-item-grid { display:block; } .delivery-board .today-item-actions { flex-wrap:wrap; } .today-delivery .today-schedule-panel { border:0; padding:0; }
@container (max-width:919px) { .delivery-board { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@container (max-width:440px) { .delivery-board { grid-template-columns:minmax(0,1fr); } }

.today-item-grid>.today-item:only-child { grid-column:1 / -1; border-right:0; }

/* 今日推进与今天完成是当天记录流，不再复制完整待办卡片。 */
.today-stream-section > header { align-items:flex-start; }
.today-stream-section > header > small { color:var(--muted); font-size:12px; line-height:1.6; text-align:right; }
.today-progress-stream { display:grid; gap:0; }
.today-progress-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 20px; padding:14px 16px; border-bottom:1px solid var(--line-soft); }
.today-progress-item:last-child { border-bottom:0; }
.today-progress-item-head { display:flex; align-items:center; gap:10px; min-width:0; grid-column:1 / -1; }
.today-progress-item-head time { color:var(--brand); font-size:12px; font-variant-numeric:tabular-nums; }
.today-progress-item-head small { color:var(--muted); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.today-progress-item h3 { min-width:0; margin:0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.today-progress-item p { min-width:0; margin:0; color:var(--muted); font-size:12px; line-height:1.65; overflow-wrap:anywhere; grid-column:1 / 2; }
.today-progress-item .today-item-actions { grid-column:2; grid-row:2 / span 2; align-self:center; margin:0; padding:0; }
.today-progress-item .today-item-actions button { flex:0 0 auto; padding:7px 12px; white-space:nowrap; }
.today-progress-item.is-completed .today-progress-item-head time { color:var(--ok); }

/* 全部事项：状态卡只负责切换，处理中进入四个互斥工作桶。 */
.delivery-status-summary { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-bottom:16px; }
.delivery-status-card { display:grid; grid-template-columns:1fr auto; gap:4px 10px; min-width:0; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:var(--panel); color:var(--text); text-align:left; cursor:pointer; }
.delivery-status-card strong { font-size:14px; }
.delivery-status-card b { font-size:24px; line-height:1; }
.delivery-status-card small { grid-column:1 / -1; color:var(--muted); font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.delivery-status-card.is-active { border-color:var(--brand); box-shadow:0 0 0 2px var(--brand-soft); color:var(--brand); }
.delivery-processing-board { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.delivery-processing-column { min-width:0; border:1px solid var(--line); border-radius:12px; background:var(--panel); overflow:hidden; }
.delivery-processing-column > header { min-height:88px; padding:14px 16px; border-bottom:1px solid var(--line-soft); }
.delivery-processing-column h2 { margin:0 0 5px; font-size:15px; }
.delivery-processing-column h2 span { color:var(--brand); font-size:13px; }
.delivery-processing-column header small { color:var(--muted); font-size:11px; line-height:1.5; }
.delivery-processing-column .today-item-grid { display:block; }
.delivery-processing-column .today-item { border-bottom:1px solid var(--line-soft); }
.delivery-processing-column .today-item:last-child { border-bottom:0; }
.delivery-single-status { width:100%; max-width:none; margin:0; }
.delivery-status-view > .today-section { width:100%; }

@media(max-width:1100px) { .delivery-status-summary { grid-template-columns:repeat(3,minmax(0,1fr)); } .delivery-processing-board { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .delivery-status-summary,.delivery-processing-board { grid-template-columns:1fr; } .today-stream-section > header { display:block; } .today-stream-section > header > small { display:block; margin-top:6px; text-align:left; } .today-progress-item { grid-template-columns:minmax(0,1fr); } .today-progress-item .today-item-actions { grid-column:1; grid-row:auto; justify-self:start; } }

.completed-week-column { display:flex; flex-direction:column; }
.completed-week-range { display:block; padding:8px 16px; font-size:11px; color:var(--muted); }
.completed-history-trigger { margin-top:auto; padding:12px 16px; border-top:1px solid var(--line-soft); }
.completed-history-controls, .completed-history-week { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:16px 0; }
.completed-history-controls input { flex:1; min-width:180px; }
.completed-history-week input { width:160px; }
.completed-history-week button { min-width:36px; min-height:36px; }
.completed-history-week span, .completed-history-scope { font-size:12px; color:var(--muted); line-height:1.6; }
#delivery-drill .today-empty button { display:block; }

.today-item.is-completed { padding-block:12px; }
.task-activity-dialog footer { display:flex; justify-content:flex-end; gap:10px; margin-top:20px; }
.task-activity-dialog footer button[type=submit] { background:var(--brand); color:var(--ui-text-inverse); border-color:var(--brand); }

.today-item.is-completed .today-item-actions { margin-top:0; }
.today-item.is-completed .today-item-actions button { flex:0 0 auto; padding:6px 12px; }

/* 完整原型的协调弹窗：固定头尾，独立滚动主体。 */
.task-activity-dialog.task-dialog-framed { width:min(800px,calc(100vw - 32px)); padding:0; max-height:min(86vh,850px); overflow:hidden; }
.task-activity-dialog.task-dialog-framed[open] { display:flex; flex-direction:column; }
.task-dialog-framed>header { flex:none; padding:20px 24px; border-bottom:1px solid var(--line); background:var(--panel); }
.task-dialog-body { min-height:0; overflow-y:auto; padding:20px 24px; overscroll-behavior:contain; }
.task-dialog-framed>footer { flex:none; margin:0; padding:16px 24px; border-top:1px solid var(--line); background:var(--panel); }
.task-dialog-framed .task-activity-context { padding-top:0; }
.task-dialog-framed .task-detail-footer { justify-content:space-between; }
.task-dialog-framed .task-detail-footer .primary-button { background:var(--brand); border-color:var(--brand); color:var(--ui-text-inverse); }
.task-activity-dialog .task-choice { display:flex; gap:10px; align-items:center; border:1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); padding:12px; border-radius:8px; }
.task-activity-dialog .task-choice input[type=radio] { width:auto; margin:0; }
.task-discard-dialog { width:min(390px,calc(100vw - 32px)); border:1px solid var(--line); border-radius:14px; padding:24px; background:var(--panel); color:var(--text); }
.task-discard-dialog::backdrop { background:var(--ui-overlay); }
.task-discard-dialog h2 { font-size:18px; margin:0 0 12px; }
.task-discard-dialog p { color:var(--muted); }
.task-discard-dialog footer { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }
.task-discard-dialog button { padding:9px 14px; border-radius:7px; border:1px solid var(--line-strong); background:var(--panel); color:var(--text); cursor:pointer; }
.task-discard-dialog [data-discard] { background:var(--danger); border-color:var(--danger); color:var(--ui-text-inverse); }
@media(max-width:600px) { .task-dialog-framed>header,.task-dialog-framed>footer,.task-dialog-body { padding:16px; } .task-dialog-framed>footer { flex-wrap:wrap; } }

.task-detail-follow { display:flex; justify-content:space-between; align-items:center; padding:16px; border:1px solid var(--line); background:var(--panel-subtle); border-radius:10px; margin:0 0 24px; }
.task-detail-follow h3,.task-timeline-heading h3 { margin:0; font-size:13px; }
.task-detail-follow p { margin:8px 0 0; color:var(--muted); font-size:13px; }
.task-dialog-framed .task-activity-context h3 { margin:10px 0; font-size:19px; }
.task-dialog-framed .task-activity-context { border:0; padding-bottom:0; }
.task-state-chip { display:inline-block; padding:3px 6px; border-radius:5px; background:var(--brand-soft); color:var(--brand); font-size:12px; }
.task-timeline-heading { display:flex; align-items:center; justify-content:space-between; margin:20px 0 16px; }
.task-timeline-heading h3 small { display:inline; margin-left:6px; font-weight:400; }
.task-detail-utilities { display:flex; gap:8px; border-top:1px solid var(--line); padding-top:16px; margin-top:20px; }
.task-detail-utilities button { flex:1; }
.task-footer-actions { display:flex; align-items:center; gap:8px; }
.task-dialog-framed [data-complete] { color:var(--ok); border-color:color-mix(in srgb, var(--ok) 35%, var(--line)); background:var(--panel); }

/* 全部事项使用全宽看板，日统计保留为紧凑的可点击汇总。 */
.today-delivery-layout.is-wide { grid-template-columns:minmax(0,1fr); }
.today-progress.is-inline { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; padding:10px 16px; margin-bottom:16px; }
.today-progress.is-inline h2 { margin:0; font-size:13px; }
.today-progress.is-inline .today-stat { width:auto; gap:12px; padding:6px 0; font-size:13px; }
.today-progress.is-inline small { margin-left:auto; font-size:11px; }

/* 日程使用紧凑的时间、内容、操作三列，长标题在内容列内换行。 */
.today-calendar-card .today-context-card { border:0; border-radius:0; box-shadow:none; }
.today-calendar-card .today-context-head { padding:0 0 12px; gap:8px; }
.today-calendar-card .today-context-head > div > span { display:none; }
.today-calendar-card .today-context-head h2 { margin:0; font-size:14px; white-space:nowrap; }
.today-calendar-card .today-schedule-range { gap:4px; }
.today-calendar-card .today-schedule-range button { min-height:30px; padding:4px 8px; border-radius:6px; font-size:12px; }
.today-calendar-card .today-context-body { padding:0; max-height:520px; }
.today-calendar-card .today-schedule-row { grid-template-columns:42px minmax(0,1fr) auto; align-items:start; gap:8px; padding:12px 0; }
.today-calendar-card .today-schedule-row > div { min-width:0; }
.today-calendar-card .today-schedule-row > div > span { display:block; margin-top:3px; font-size:12px; line-height:1.5; color:var(--muted); overflow-wrap:anywhere; }
.today-calendar-card .today-schedule-row time { font-size:12px; line-height:24px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.today-calendar-card .today-schedule-row strong { font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.today-calendar-card .today-schedule-row .today-row-actions { grid-column:3; flex-direction:row; flex-wrap:nowrap; gap:6px; margin-top:0; }
.today-calendar-card .today-row-actions button { min-height:28px; padding:4px 7px; font-size:12px; border-radius:6px; white-space:nowrap; }
.today-calendar-card .today-week-day > header { flex-wrap:wrap; gap:6px; }

/* 新版页面与独立弹窗统一沿用全站主题语义，主题轮换时同步更新。 */
.today-controls input::placeholder { color:var(--muted); opacity:1; }
.task-dialog-framed [data-complete] { background:var(--ok-bg); color:var(--ok); border-color:color-mix(in srgb, var(--ok) 35%, var(--line)); }
.today-item-actions button:hover:not(:disabled), .today-switch button:hover:not(:disabled), .today-group-filters button:hover:not(:disabled) { background:var(--brand-soft); color:var(--brand); border-color:var(--brand); }
.today-item-actions button[data-delivery-progress]:hover:not(:disabled) { background:var(--brand-hover); color:var(--ui-text-inverse); border-color:var(--brand-hover); }
.task-dialog-framed [data-complete]:hover:not(:disabled) { background:color-mix(in srgb, var(--ok) 12%, var(--panel)); color:var(--ok); border-color:var(--ok); }
.today-stat:hover:not(:disabled), .today-text-action:hover:not(:disabled) { color:var(--brand); }
.today-controls [data-delivery-create]:hover:not(:disabled), .task-dialog-framed .task-detail-footer .primary-button:hover:not(:disabled), .task-activity-dialog footer button[type=submit]:hover:not(:disabled) { background:var(--brand-hover); border-color:var(--brand-hover); color:var(--ui-text-inverse); }
.task-dialog-framed::backdrop { background:var(--ui-overlay); }
.task-discard-dialog [data-discard]:hover { background:var(--ui-danger-strong, var(--danger)); border-color:var(--ui-danger-strong, var(--danger)); color:var(--ui-text-inverse); }

html:is([data-ui-style="nocturne"],[data-ui-style="glass"]) :is(.today-controls,.task-activity-dialog) input:is([type=date],[type=time],[type=datetime-local]) { color-scheme:dark; }

/* 事项详情：紧凑摘要、轻量工具栏与固定主操作区。 */
.task-activity-dialog.task-detail-view { width:min(680px,calc(100vw - 32px)); }
.task-detail-view > header { padding:16px 24px; }
.task-detail-view > header h2 { font-size:16px; }
.task-detail-view > header [data-close] { width:32px; height:32px; padding:0; background:transparent; color:var(--muted); }
.task-detail-view .task-dialog-body { padding:20px 24px; }
.task-detail-view .task-activity-context { margin-bottom:10px; }
.task-detail-view .task-activity-context h3 { margin:8px 0 12px; font-size:20px; line-height:1.5; overflow-wrap:anywhere; }
.task-detail-view .task-activity-context p { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:12px; line-height:1.7; }
.task-detail-view .task-detail-utilities { flex-wrap:wrap; gap:4px 12px; padding:0; border:0; margin:0 0 20px; }
.task-detail-view .task-detail-utilities button { flex:0 0 auto; padding:4px 0; border:0; border-radius:3px; background:transparent; color:var(--muted); font-size:12px; }
.task-detail-view .task-detail-utilities button:hover:not(:disabled) { color:var(--brand); }
.task-detail-view .task-detail-follow { gap:16px; padding:12px 14px; margin-bottom:20px; border:0; border-radius:8px; }
.task-detail-view .task-detail-follow > div { min-width:0; }
.task-detail-view .task-detail-follow p { margin:5px 0 0; font-size:13px; line-height:1.6; }
.task-detail-view .task-detail-follow button { flex-shrink:0; background:var(--panel); }
.task-detail-view .task-timeline-heading { margin:0 0 12px; }
.task-detail-view .task-activity-timeline { margin:0; padding:0; }
.task-detail-view .task-activity-timeline li { position:relative; padding:0 0 18px 16px; margin-left:4px; }
.task-detail-view .task-activity-timeline li::before { content:''; position:absolute; left:-5px; top:5px; width:8px; height:8px; border-radius:50%; background:var(--brand); }
.task-detail-view .task-activity-timeline li > p { font-size:14px; line-height:1.7; margin:8px 0; }
.task-detail-view .task-activity-timeline [data-correct] { padding:2px 0; background:transparent; border:0; font-size:12px; color:var(--muted); }
.task-history-empty { padding:18px 0 12px; text-align:center; }
.task-history-empty strong { font-size:13px; font-weight:500; color:var(--muted); }
.task-history-empty p { margin:6px 0 0; font-size:12px; line-height:1.6; color:var(--muted); }
.task-detail-view .task-history-events { padding-top:12px; border-top:1px solid var(--line); font-size:12px; color:var(--muted); }
.task-detail-view .task-detail-footer { padding:14px 24px; }
.task-detail-view .task-detail-footer button { min-height:36px; padding:7px 14px; }
.task-detail-view .task-detail-footer > button { background:transparent; border-color:transparent; color:var(--muted); }
.task-detail-view .task-detail-footer > button.primary-button { background:var(--brand); border-color:var(--brand); color:var(--ui-text-inverse); }
.task-detail-view button:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
@media(max-width:600px) {
  .task-detail-view > header,.task-detail-view .task-dialog-body,.task-detail-view .task-detail-footer { padding:16px; }
  .task-detail-view .task-activity-context h3 { font-size:18px; }
  .task-detail-view .task-detail-footer button { padding-inline:10px; }
  .task-detail-view .task-detail-follow { gap:10px; }
}

.partner-task-history h3 { display:flex; align-items:center; gap:8px; }
.partner-task-history h3 small { color:var(--muted); font-size:12px; font-weight:400; }
.partner-task-history-item { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; padding:12px 0; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--text); text-align:left; cursor:pointer; font:inherit; }
.partner-task-history-item span { min-width:0; overflow-wrap:anywhere; line-height:1.6; }
.partner-task-history-item small { flex-shrink:0; color:var(--brand); font-size:12px; }
.partner-task-history-item:hover { background:var(--panel-subtle); }
.partner-task-history-item:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }

/* 逾期查看沿用事项操作，集中显示待处理的逾期清单。 */
.today-overdue-list { max-width:1200px; margin-inline:auto; }
.today-overdue-list > .today-overdue-header { justify-content:flex-start; align-items:center; gap:20px; padding:18px 20px; }
.today-overdue-header p { margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.today-overdue-back { display:inline-flex; align-items:center; gap:7px; flex-shrink:0; padding:9px 12px; min-height:38px; border:1px solid var(--line-strong); border-radius:7px; background:var(--panel); color:var(--text); font:inherit; font-size:13px; }
.today-overdue-back:hover { background:var(--brand-soft); color:var(--brand); border-color:var(--brand); }
.today-overdue-back:focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
.today-overdue-list .today-item-grid { grid-template-columns:minmax(0,1fr); }
.today-overdue-list .today-item-grid > .today-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px 24px; border-right:0; padding:20px; }
.today-overdue-body { display:grid; gap:8px; min-width:0; }
.today-overdue-list .today-item-actions { margin:0; padding:0; align-self:center; }
.today-overdue-list .today-item-actions button { flex:0 0 auto; min-height:36px; padding:8px 12px; white-space:nowrap; }
.today-overdue-list .today-text-action { grid-column:1 / -1; justify-self:start; padding:0; }
.today-overdue-list .today-item:last-child { border-bottom:0; }
@container (max-width:760px) {
  .today-overdue-list > .today-overdue-header { align-items:flex-start; flex-direction:column; gap:14px; padding:16px; }
  .today-overdue-list .today-item-grid > .today-item { grid-template-columns:minmax(0,1fr); padding:16px; }
  .today-overdue-list .today-item-actions { justify-content:flex-start; flex-wrap:wrap; }
}
