/* To do: one list of decisions. Sections with counts; one line per item; the primary action on the right. */
.todo-section{margin:0 0 22px}
.todo-section h2{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:650;margin:0 0 10px;color:#e9e6f3}
.todo-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:#ffffff0c;border:1px solid #ffffff12;font-size:12px;font-weight:700;color:#cfc8e6}
.todo-list{list-style:none;margin:0;padding:0;border:1px solid #ffffff0f;border-radius:16px;background:linear-gradient(180deg,#1a1b23,#15161c);box-shadow:0 1px 0 #ffffff08 inset,0 14px 36px -24px #000d;overflow:hidden}
.todo-item{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;border-top:1px solid #ffffff0a}
.todo-item:first-child{border-top:0}
.todo-item:hover{background:#ffffff04}
.todo-main{min-width:0;flex:1 1 auto}
.todo-main strong{display:block;font-size:14px;overflow-wrap:anywhere}
.todo-main small{display:block;font-size:12px;color:var(--muted,#9ba1b4);margin-top:2px}
.todo-main p{font-size:13px;line-height:1.5;color:#c9c6d6;margin:6px 0 0;overflow-wrap:anywhere}
.todo-caption{color:#aeb3c4!important;font-style:italic}
.todo-next{color:#d9d2f3!important}
.todo-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.todo-error{box-shadow:inset 3px 0 0 #ff939c}
.todo-warning{box-shadow:inset 3px 0 0 #ffce8a}
.todo-empty{margin:0;padding:14px 18px;border:1px dashed #ffffff12;border-radius:14px;color:var(--muted,#9ba1b4);font-size:13px}
.todo-clear{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 14px;align-items:center;padding:20px 22px;margin:0 0 22px;border:1px solid #2e4d3955;border-radius:16px;background:linear-gradient(180deg,#172219,#131a15)}
.todo-clear span{grid-row:1/span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#1f3a27;color:#c6f09a;font-size:20px}
.todo-clear strong{font-size:16px}
.todo-clear p{margin:0;font-size:13px;color:var(--muted,#9ba1b4)}
.todo-footnote{font-size:11px;color:var(--muted,#9ba1b4);margin:4px 0 0}
.todo-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:auto;border-radius:10px;background:linear-gradient(180deg,#c9b8ff,#a994ff);color:#17122c;font-size:11px;font-weight:800}
.todo-badge[hidden]{display:none}
.todo-group{list-style:none;border-top:1px solid #ffffff0a}
.todo-group:first-child{border-top:0}
.todo-group>details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;padding:16px 18px;list-style:none}
.todo-group>details>summary::-webkit-details-marker{display:none}
.todo-group>details>summary>div{min-width:0}
.todo-group strong{font-size:14px;overflow-wrap:anywhere}
.todo-group small{display:block;margin-top:5px;color:var(--muted,#9ba1b4);font-size:12px;overflow-wrap:anywhere}
.todo-group-open{color:#c9b8ff;font-size:12px;white-space:nowrap}
.todo-group>details[open]>summary{border-bottom:1px solid #ffffff0a}
.todo-group .todo-list{border:0;border-radius:0;background:#ffffff03;box-shadow:none}
.todo-group .todo-item{padding-left:24px}
.todo-more{margin-top:12px}
@media(max-width:720px){.todo-item{flex-direction:column;align-items:stretch;gap:10px}.todo-actions{justify-content:flex-start}}
