.agenda-heading{flex-wrap:wrap;gap:16px}.agenda-heading h1{font-size:27px}.agenda-create,.agenda-day-create,.agenda-edit-actions{display:flex;gap:8px;flex-wrap:wrap}.agenda-create{margin-left:auto}.agenda-day-create{margin-bottom:16px}.agenda-card.agenda-task,.agenda-mini.agenda-task{border-left:3px solid #b39a61}.agenda-card.agenda-commitment,.agenda-mini.agenda-commitment{border-left:3px solid #527e70}.agenda-mini.agenda-task{background:#f1ebdd;color:#725c33}.agenda-mini.agenda-commitment{background:#e7efea;color:#325b4e}.agenda-item-dialog{width:min(580px,calc(100vw - 32px))}.agenda-link{padding:12px;border:1px solid var(--line);border-radius:10px}.agenda-link summary{cursor:pointer;font-size:12px;color:var(--green)}.agenda-link[open] summary{margin-bottom:14px}.agenda-link-results{display:flex;flex-direction:column;gap:5px;max-height:200px;overflow:auto;font-size:12px}.agenda-link-results button{white-space:normal;text-align:left;justify-content:flex-start}.agenda-link-selection{font-size:12px;line-height:1.6}.agenda-link-selection:not(:empty){margin:10px 0}.agenda-edit-actions{justify-content:space-between}.agenda-card small{color:#65765f}.agenda-card.done{opacity:.7}[data-theme=dark] .agenda-mini.agenda-task{background:#393225;color:#d7c399}[data-theme=dark] .agenda-mini.agenda-commitment{background:#233d32;color:#b8d4c2}[data-theme=dark] .agenda-link summary{color:var(--ink)}[data-theme=dark] .agenda-card small{color:#b2c1ab}@media(max-width:700px){.agenda-heading h1{font-size:23px;width:100%}.agenda-create{margin-left:0}.agenda-heading .agenda-modes{margin-left:auto}}@media(max-width:430px){.agenda-heading .agenda-modes{margin-left:0}}

[data-theme=dark] .agenda-card>span{color:#e0e9e2}[data-theme=dark] .agenda-card.done{opacity:1}[data-theme=dark] .agenda-card.done>span{color:#acbdb1}[data-theme=dark] .agenda-day-heading{background:#243a2e!important;color:#e0e9e2}[data-theme=dark] .agenda-day.today .agenda-day-heading strong{background:#365e49;color:#f4f6f2}[data-theme=dark] .agenda-modes .selected{background:#35543f!important;color:#eef5ef}[data-theme=dark] .agenda-create .btn:not(.primary){background:#1d3027;color:#e0e9e2}

.agenda-source summary{cursor:pointer;font-size:11px;color:var(--green)}.agenda-source p{white-space:pre-wrap;max-height:50vh;overflow:auto}.agenda-source{margin-top:9px}

.agenda-item-dialog,.agenda-pending-dialog{width:min(820px,calc(100vw - 32px));max-height:94vh}
textarea[name=instructions]{min-height:330px;line-height:1.7;resize:vertical}
.agenda-brief{padding:18px;border:1px solid var(--border,#87968e55);border-radius:12px;background:var(--surface-alt,#8298840c)}
.agenda-brief h3,.agenda-pending-item h4{margin:0 0 5px;line-height:1.4}
.agenda-subtitle{opacity:.75;margin:0 0 14px;line-height:1.5}
.agenda-brief h4{margin:18px 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.05em}
.agenda-brief p,.agenda-brief li{line-height:1.65}.agenda-brief ul{padding-left:20px;margin:6px 0}.agenda-brief li+li{margin-top:7px}
.agenda-attention{border-left:3px solid #b19b67;padding:10px 14px;margin-top:16px}
.agenda-additional{margin:14px 0}.agenda-additional summary{cursor:pointer;padding:10px 0;font-weight:600}.agenda-additional pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:1.6;max-height:340px;overflow:auto;padding:16px;background:#8298840c;border-radius:10px}
.agenda-pending-item{display:flex;gap:18px;align-items:center;padding:18px;margin:12px 0;border:1px solid #87968e44;border-left:4px solid #527e70;border-radius:10px}.agenda-pending-item.agenda-task{border-left-color:#b39a61}.agenda-pending-item .grow{min-width:0}.agenda-pending-item p{margin:5px 0;line-height:1.5}.agenda-pending-item small{display:block;opacity:.7;overflow-wrap:anywhere}.agenda-pending-dialog>section{margin:24px 0}
@media(max-width:600px){textarea[name=instructions]{min-height:280px}.agenda-pending-item{align-items:flex-start;flex-direction:column;gap:12px}.agenda-item-dialog,.agenda-pending-dialog{width:calc(100vw - 16px)}}
