.panel-programs > button.todo-open {grid-column:auto;width:100%;}
.panel-programs > button:not([hidden]) {display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;height:64px;min-height:64px;padding:8px 4px;font-size:clamp(14px,4vw,18px);line-height:1.15;}
.panel-programs > button.home-empty {grid-column:3;opacity:.35;cursor:default;pointer-events:none;}
.todo-filters {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;}
.todo-filters button.active {background:#06953f;color:#fff;}
.signed-in>.panel-section-title {grid-column:2;grid-row:1;justify-self:center;text-align:center;font-size:18px;line-height:1.2;}
.signed-in>.panel-back {grid-column:3;grid-row:1;}
.signed-in>.mobile-connection {grid-column:1;grid-row:1;min-width:0;}
.todo-view .todo-filters {gap:5px;margin-bottom:6px;}
.todo-view .todo-filters button {min-height:36px;padding:6px 9px;font-size:14px;}
.todo-view .todo-filters[data-time] {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;}
.todo-view .todo-filters button {width:auto;min-width:0;margin:0;}
.todo-view .todo-filters[data-time] button {padding:5px 3px;font-size:12px;line-height:1.2;}
.todo-view [data-tags]:empty,.todo-view [data-state]:empty {display:none;}
.todo-view [data-state] {font-size:11px;margin:6px 0;color:#cbd5e1;}
.todo-group {margin:12px 0;border-top:1px solid #64748b;padding-top:6px;}
.todo-group h3 {font-size:15px;line-height:1.25;margin:0 0 2px;}
.todo-group-meta{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 12px}
.todo-group-meta>small{font-size:11px;color:#cbd5e1}
.todo-group-meta .todo-group-due{margin-left:auto;text-align:right;white-space:nowrap}
.todo-item {display:flex;flex-direction:row;align-items:flex-start;gap:6px;padding:7px;min-height:44px;border:1px solid #64748b;border-radius:7px;margin:5px 0;cursor:default;touch-action:pan-y;-webkit-touch-callout:none;user-select:none;}
.todo-item input[type=checkbox] {flex:0 0 22px;width:22px;height:22px;margin:2px 0;padding:0;accent-color:#06953f;}
.todo-copy {flex:1;position:relative;min-width:0;font-size:14px;line-height:1.3;overflow-wrap:anywhere;}
.todo-copy small {display:block;font-size:11px;color:#cbd5e1;margin-top:2px;}
.todo-item.is-done .todo-copy>span {text-decoration:line-through;opacity:.65;}
.todo-copy {-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:pan-y;}
.todo-comment-dialog {max-width:440px;width:calc(100% - 24px);box-sizing:border-box;background:#111827;color:#f8fafc;border:1px solid #64748b;border-radius:10px;padding:14px;}
.todo-comment-dialog textarea {box-sizing:border-box;width:100%;}
.todo-comment-dialog button {margin:4px;}
.todo-comment-dialog .todo-car-tags {display:flex;justify-content:flex-end;gap:4px;float:right;}
.todo-comment-dialog .todo-car-tags button {padding:6px 8px;margin:4px 0;min-height:36px;font-size:12px;}
.todo-comment-dialog h3 {padding-right:48px;}
.todo-comment-dialog .todo-details-close {position:absolute;top:8px;right:8px;width:36px;height:36px;min-height:36px;padding:0;margin:0;line-height:1;font-size:26px;}
.todo-second-line {display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:5px;}
.todo-second-line>small {white-space:nowrap;font-size:clamp(9px,2.55vw,11px);margin:0;}
.todo-progress {display:flex;align-items:center;justify-content:flex-end;gap:3px;flex-shrink:0;}
.todo-progress i {display:block;width:clamp(10px,3vw,15px);aspect-ratio:1;border:1px solid #64748b;border-radius:2px;}
.todo-progress .filled,.todo-progress-controls .filled {background:#06953f;color:#fff;}
.todo-progress small {font-size:10px;margin:0;min-width:25px;text-align:right;}
.todo-copy .todo-note {position:absolute;right:0;top:0;width:22px;min-height:22px;padding:0;margin:0;color:#fbbf24;}
.todo-copy:has(.todo-note)>span:first-child {display:block;padding-right:26px;}
.todo-progress-controls {display:grid;grid-template-columns:repeat(6,1fr);gap:4px;touch-action:none;user-select:none;-webkit-user-select:none;}
.todo-comment-dialog .todo-progress-controls button {width:auto;min-width:0;margin:0;padding:8px 2px;font-size:12px;}
.todo-completion {display:flex;align-items:center;gap:8px;margin:12px 0;}
.todo-completion input {width:22px;height:22px;accent-color:#06953f;}
.todo-note-history {white-space:pre-wrap;max-height:25vh;overflow:auto;font-size:13px;}

.todo-view.todo-owner .todo-filters[data-time]{grid-template-columns:repeat(3,minmax(0,1fr))}
.todo-view .todo-filters[data-tags]{display:flex;gap:4px;align-items:center}
.todo-view .todo-filters[data-tags] button{padding:5px 7px;font-size:12px;white-space:nowrap}
.todo-view .todo-filters button.todo-search-toggle{flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0;font-size:18px;line-height:1}
.todo-view .todo-filters[data-tags] .todo-object-search{flex-basis:100%}
.todo-view .todo-object-search{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box}

.todo-view .todo-done-toggle{grid-column:1;grid-row:2}
.todo-view .todo-filters[data-time] .todo-search-toggle{grid-column:3;grid-row:2;justify-self:end}
.todo-view .todo-range-label{font-size:14px;margin:4px 0 8px;color:inherit}

.todo-view .todo-day-slicer{grid-column:2/-1;grid-row:2;margin-right:40px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;height:36px;border:1px solid #64748b;border-radius:6px;overflow:hidden;box-sizing:border-box}
.todo-view .todo-filters[data-time] .todo-day-slicer button{border:0;border-radius:0;min-height:0;height:34px;padding:0;background:transparent;color:inherit}
.todo-view .todo-day-slicer.active{background:#06953f;color:#fff}

.todo-view.todo-owner .todo-day-slicer{margin-right:0}
.todo-view .todo-filters[data-time] .todo-day-slicer button{font-size:14px;font-weight:600}
.todo-view .todo-filters[data-time] .todo-day-slicer button:first-child,.todo-view .todo-filters[data-time] .todo-day-slicer button:last-child{font-size:26px;font-weight:700;line-height:1;background:rgba(255,255,255,.1)}
.todo-view .todo-day-slicer button:first-child{border-right:1px solid #64748b!important}
.todo-view .todo-day-slicer button:last-child{border-left:1px solid #64748b!important}

.todo-group-heading{display:flex;align-items:center;gap:5px}
.todo-view .todo-map-link{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;min-height:28px;font-size:18px;line-height:1;text-decoration:none;color:inherit;border-radius:5px}
.todo-view .todo-map-link[aria-disabled="true"]{opacity:.35}
.todo-view .todo-map-link:focus-visible{outline:2px solid #06953f;outline-offset:1px}

.todo-view .todo-map-link svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
