
/* Scoped additive working-day presentation; accepted shared stylesheet unchanged. */
#view-actions .workday-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr);gap:16px;margin:18px 0 10px}
#view-actions .workday-controls label{display:block;font-weight:650;margin-bottom:6px}
#view-actions .workday-controls input,#view-actions .workday-controls select{width:100%;min-width:0;box-sizing:border-box;min-height:44px}
#privateTaskResults{font-size:.9rem;color:#47605b;min-height:24px}
#reminderActionsList{margin-top:14px}
#view-actions .workday-capture{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e2e9e6}
.workday-capture>div{min-width:0}.workday-capture h3{margin:0 0 6px;overflow-wrap:anywhere;font-size:1rem}
.workday-capture p{margin:4px 0;color:#536760;font-size:.875rem}.workday-capture pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;font-size:.8rem;padding:12px;background:#f4f7f5}
.workday-capture summary,#legacyActions summary,#legacyToday summary{cursor:pointer;padding:10px 0;font-weight:600}
#legacyActions{margin-top:18px}#legacyActions>summary{font-size:1.05rem}#legacyToday{margin-top:16px}
#captureModal .modal{max-height:calc(100dvh - 32px);overflow:auto;max-width:620px}
#captureModal input:not([type=checkbox]),#captureModal select,#captureModal textarea{width:100%;box-sizing:border-box;min-width:0}
#captureModal label{display:block;margin:12px 0 6px}#captureModal .workday-confirm{display:flex;gap:10px;align-items:flex-start;font-size:.9rem}
#captureDuePreview{overflow-wrap:anywhere;background:#edf5f1;padding:12px;border-radius:8px;font-size:.875rem}
#captureModal .capture-tools{gap:12px;flex-wrap:wrap}#captureModal button{min-height:44px}
#privateTasksToday .action-main,#topActions .action-main,#nowNext .action-main{min-width:0;overflow-wrap:anywhere}
:is(#privateTaskSearch,#privateTaskFilter,#captureModal input,#captureModal select,#captureModal textarea):focus-visible{outline:3px solid #238474;outline-offset:2px}
@media(max-width:600px){#view-actions .workday-controls{grid-template-columns:1fr;gap:10px}.workday-capture>button{flex-shrink:0}#captureModal .modal{padding:20px}#captureModal .capture-tools>button{width:100%}#view-today .action-table-wrap{overflow-x:auto}}
  /* Existing Zamax styles retained; this block is limited to the working-day join. */
.notes-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.notes-tools button{min-height:40px}
.notes-group{margin:22px 0}.notes-group>h3{font-size:1rem;color:#47605b;margin:12px 0}
.notes-card,.notes-task{margin-bottom:16px;overflow-wrap:anywhere;min-width:0}.notes-card h3{margin:10px 0}
.notes-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;max-width:78ch}.notes-reference{white-space:pre-wrap;overflow-wrap:anywhere;color:#536760;font-size:.9rem}.notes-reference small{display:block}
.notes-task .checklist-action{margin-bottom:0}.notes-task-extra{border:1px solid #dce7e1;border-top:0;padding:16px 20px;background:#fff;border-radius:0 0 12px 12px}
.notes-history{margin-top:12px}.notes-history summary,#olderCaptures>summary,#workdayAi>summary{cursor:pointer;padding:10px 0;font-weight:650}
.notes-item-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.notes-item-tools>span{flex:1 1 240px;min-width:0;overflow-wrap:anywhere}
#notesModal .modal{max-width:720px;max-height:calc(100dvh - 32px);overflow:auto}#notesModal label{display:block;font-weight:600;margin:16px 0 6px}
#notesModal input,#notesModal textarea,#notesModal select{width:100%;min-width:0;box-sizing:border-box;font:inherit;padding:12px;border:1px solid #bfcfc6;border-radius:8px}#notesModal textarea{resize:vertical;line-height:1.6;min-height:100px}
#notesModal .notes-footer{position:sticky;bottom:-1px;background:#fff;padding:16px 0 2px;margin-top:12px;border-top:1px solid #e4ebe7;display:flex;gap:10px;justify-content:flex-end}#notesModal button{min-height:44px}#notesDuePreview{color:#47605b;font-size:.9rem;overflow-wrap:anywhere}
#notesSaveStatus,#captureSaveStatus{color:#873c2d;white-space:pre-wrap;overflow-wrap:anywhere}#workdayRetry:empty{display:none}#workdayRetry{background:#fff5df;padding:12px;border-radius:8px}#workdayRetry button{margin:4px}
#workdayTodaySummary{margin:20px 0}#workdayTodaySummary h2{margin:0 0 14px}#workdayAi{padding:18px 22px}#workdayAi .owner-ai-panel{border:0;box-shadow:none;padding:10px 0}
#olderCaptures{margin-top:24px}#legacyActions{font-size:.9rem}#view-actions .view-intro{gap:12px}
:is(#notesModal input,#notesModal textarea,#notesModal select,#notesModal button,.notes-tools button):focus-visible{outline:3px solid #238474;outline-offset:2px}
@media(max-width:600px){#notesModal .modal{padding:20px;max-height:calc(100dvh - 20px)}#notesModal .notes-footer{flex-wrap:wrap}#notesModal .notes-footer button{flex:1}#view-actions .notes-task-extra{padding:14px}.top-actions{gap:8px}.notes-tools>button{flex:1 1 auto}#workdayAi{padding:16px}}
  
/* Keep both everyday capture actions reachable on narrow screens. */
@media(max-width:760px){.topbar{flex-wrap:wrap}.topbar .top-actions{max-width:none;width:100%;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start}.top-actions #openNote{display:inline-flex}}
