:root{color-scheme:light dark;--bg: light-dark(#f6f7f9, #0f1116);--surface: light-dark(#ffffff, #171a21);--surface-subtle: light-dark(#fafbfc, #1b1f28);--surface-hover: light-dark(#f2f4f7, #222733);--border: light-dark(#e3e6ea, #272d39);--border-strong: light-dark(#cdd3da, #39414f);--text: light-dark(#16191d, #e7eaf0);--text-secondary: light-dark(#5a6472, #a4adbd);--text-muted: light-dark(#8b94a3, #717a8b);--accent: light-dark(#2563eb, #3b74dd);--accent-hover: light-dark(#1d4ed8, #4b83e8);--accent-text: light-dark(#2563eb, #7aa9ff);--accent-on-subtle: light-dark(#1d4ed8, #9dc0ff);--accent-subtle: light-dark(#eef4ff, #16233c);--accent-border: light-dark(#c3d7fe, #2f4a7a);--good: light-dark(#15803d, #4ade80);--good-bg: light-dark(#eaf7ee, #102419);--good-border: light-dark(#b7e2c4, #1f4a31);--warn: light-dark(#b45309, #fbbf24);--warn-bg: light-dark(#fdf3e6, #2a1f0b);--warn-border: light-dark(#f3d5a8, #4f3a12);--bad: light-dark(#b91c1c, #f87171);--bad-bg: light-dark(#fdeceb, #2b1315);--bad-border: light-dark(#f4c2bf, #56262a);--info: light-dark(#1e5fa8, #7dd3fc);--info-bg: light-dark(#eaf2fb, #0e2130);--info-border: light-dark(#bcd6f0, #1e4459);--bad-solid: light-dark(#b91c1c, #c0342f);--bad-solid-hover: light-dark(#991b1b, #a92b27);--on-solid: #ffffff;--radius: 8px;--radius-sm: 5px;--shadow-sm: 0 1px 2px light-dark(rgba(16, 24, 40, .06), rgba(0, 0, 0, .5));--shadow-md: 0 4px 12px light-dark(rgba(16, 24, 40, .1), rgba(0, 0, 0, .55));--shadow-lg: 0 16px 40px light-dark(rgba(16, 24, 40, .18), rgba(0, 0, 0, .65));--backdrop: light-dark(rgba(16, 24, 40, .45), rgba(0, 0, 0, .66));--dot-ring: light-dark(rgba(0, 0, 0, .12), rgba(255, 255, 255, .2));--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%}body{font-family:var(--font);font-size:14px;line-height:1.5;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}#root{min-height:100%}h1,h2,h3,h4{margin:0;font-weight:600;letter-spacing:-.01em}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--text-muted)}.small{font-size:12px}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 13px;border-radius:var(--radius-sm);border:1px solid transparent;font:inherit;font-weight:500;cursor:pointer;white-space:nowrap;transition:background-color .12s ease,border-color .12s ease,color .12s ease}.button:disabled{opacity:.55;cursor:not-allowed}.button-primary{background:var(--accent);color:var(--on-solid)}.button-primary:hover:not(:disabled){background:var(--accent-hover)}.button-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text)}.button-secondary:hover:not(:disabled){background:var(--surface-hover)}.button-ghost{background:transparent;border-color:transparent;color:var(--text-secondary)}.button-ghost:hover:not(:disabled){background:var(--surface-hover);color:var(--text)}.button-danger{background:var(--bad-solid);color:var(--on-solid)}.button-danger:hover:not(:disabled){background:var(--bad-solid-hover)}.button-danger-ghost{background:transparent;border-color:transparent;color:var(--bad)}.button-danger-ghost:hover:not(:disabled){background:var(--bad-bg)}.button-small{padding:4px 9px;font-size:13px}.button-block{width:100%}.link-button{background:none;border:none;padding:0;font:inherit;font-size:12px;color:var(--accent-text);cursor:pointer;text-decoration:none}.link-button:hover:not(:disabled){text-decoration:underline}.link-button.danger{color:var(--bad)}.link-button:disabled{opacity:.5;cursor:not-allowed}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);cursor:pointer}.icon-button:hover{background:var(--surface-hover);color:var(--text)}.icon-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}.field{display:flex;flex-direction:column;gap:5px;border:none;padding:0;margin:0;min-width:0}.field-label{font-size:12px;font-weight:600;color:var(--text-secondary);padding:0}.field-hint{font-weight:400;color:var(--text-muted)}.field input[type=text],.field input[type=search],.field input[type=password],.field input[type=datetime-local],.field select,.field textarea,.comment-composer textarea,.comment-edit textarea{width:100%;padding:7px 10px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);font:inherit;color:var(--text)}.field textarea,.comment-composer textarea,.comment-edit textarea{resize:vertical;min-height:60px}.field input:focus,.field select:focus,.field textarea:focus,.comment-composer textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-subtle)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field-inline{flex-direction:column}.stack{display:flex;flex-direction:column;gap:14px}.segmented{display:inline-flex;border:1px solid var(--border-strong);border-radius:var(--radius-sm);overflow:hidden;background:var(--surface)}.segmented-option{display:inline-flex;align-items:center;padding:6px 12px;font-size:13px;cursor:pointer;border-right:1px solid var(--border);color:var(--text-secondary);white-space:nowrap}.segmented-option:last-child{border-right:none}.segmented-option input{position:absolute;opacity:0;width:0;height:0}.segmented-option.is-selected{background:var(--accent-subtle);color:var(--accent-on-subtle);font-weight:600;box-shadow:inset 0 0 0 1px var(--accent-border)}.segmented-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:-2px}.alert{padding:9px 12px;border-radius:var(--radius-sm);border:1px solid transparent;font-size:13px}.alert-error{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad)}.app-alert{display:flex;align-items:center;justify-content:space-between;gap:12px}.app-alert .link-button{color:var(--bad);font-weight:600}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:24px}.login-card{width:100%;max-width:360px;display:flex;flex-direction:column;gap:14px;padding:30px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-md)}.login-brand{display:flex;align-items:center;gap:10px}.login-brand h1{font-size:19px}.login-subtitle{margin:-8px 0 4px;color:var(--text-muted);font-size:13px}.brand-mark{display:inline-block;width:22px;height:22px;border-radius:6px;background:linear-gradient(135deg,var(--accent),#7c3aed);flex-shrink:0}.boot-screen{display:flex;align-items:center;justify-content:center;min-height:100vh;color:var(--text-muted)}.app-shell{min-height:100vh;display:flex;flex-direction:column}.app-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 22px;height:54px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.app-header-brand{display:flex;align-items:center;gap:9px}.app-title{font-weight:600;font-size:15px;letter-spacing:-.01em}.app-header-actions{display:flex;align-items:center;gap:6px}.theme-toggle{width:34px;height:34px}.theme-toggle svg{width:17px;height:17px}.notification-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text-secondary);cursor:pointer}.notification-button:hover{background:var(--surface-hover);color:var(--text)}.notification-button.has-alerts{color:var(--bad)}.notification-button .bell{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round}.notification-badge{position:absolute;top:2px;right:1px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--bad-solid);color:var(--on-solid);font-size:10px;font-weight:700;line-height:16px;text-align:center}.account-menu{position:relative}.account-button{display:inline-flex;align-items:center;gap:7px;padding:4px 8px 4px 4px;border:none;border-radius:var(--radius-sm);background:transparent;font:inherit;color:var(--text);cursor:pointer}.account-button:hover{background:var(--surface-hover)}.account-name{font-size:13px;font-weight:500}.account-button .chevron{width:14px;height:14px;fill:none;stroke:var(--text-muted);stroke-width:1.6;stroke-linecap:round}.avatar{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--accent-subtle);color:var(--accent-on-subtle);font-size:12px;font-weight:700}.account-dropdown{position:absolute;right:0;top:calc(100% + 6px);min-width:190px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-md);overflow:hidden;z-index:30}.account-dropdown-header{padding:9px 12px;font-size:12px;color:var(--text-muted);border-bottom:1px solid var(--border)}.account-dropdown-item{display:block;width:100%;padding:9px 12px;border:none;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--text)}.account-dropdown-item:hover{background:var(--surface-hover)}.app-main{flex:1;width:100%;max-width:1500px;margin:0 auto;padding:18px 22px 40px;display:flex;flex-direction:column;gap:14px}.summary-bar{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:14px;align-items:stretch}.summary-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.summary-tile{display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--border-strong);border-radius:var(--radius);cursor:pointer;font:inherit;text-align:left;transition:border-color .12s ease,background-color .12s ease}.summary-tile:hover{background:var(--surface-subtle)}.summary-tile.is-active{border-color:var(--accent);background:var(--accent-subtle)}.summary-tile.tone-critical{border-left-color:var(--bad)}.summary-tile.tone-warning{border-left-color:var(--warn)}.summary-tile.tone-action{border-left-color:var(--accent)}.summary-value{font-size:22px;font-weight:650;line-height:1.15}.summary-tile.tone-critical .summary-value{color:var(--bad)}.summary-tile.tone-warning .summary-value{color:var(--warn)}.summary-label{font-size:12px;color:var(--text-secondary)}.summary-upnext{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:11px 14px;min-width:0}.summary-upnext-title{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:6px}.upnext-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.upnext-item{display:flex;align-items:center;gap:9px;width:100%;padding:4px 6px;border:none;border-radius:var(--radius-sm);background:none;font:inherit;text-align:left;cursor:pointer}.upnext-item:hover{background:var(--surface-hover)}.upnext-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;background:var(--text-muted)}.upnext-dot.urgency-overdue{background:var(--bad)}.upnext-dot.urgency-today{background:var(--warn)}.upnext-dot.urgency-upcoming{background:var(--good)}.upnext-text{display:flex;flex-direction:column;min-width:0;flex:1}.upnext-task{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upnext-activity{font-size:11px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upnext-due{font-size:11.5px;color:var(--text-secondary);white-space:nowrap}.upnext-due.urgency-overdue{color:var(--bad);font-weight:600}.upnext-due.urgency-today{color:var(--warn);font-weight:600}.filter-bar{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:11px 14px;display:flex;flex-direction:column;gap:10px}.filter-row{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.filter-row-secondary{align-items:center;padding-top:9px;border-top:1px solid var(--border)}.filter-search{position:relative;flex:1 1 240px;min-width:200px}.filter-search input{width:100%;padding:7px 10px 7px 32px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font:inherit;background:var(--surface);color:var(--text)}.filter-search input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-subtle)}.search-icon{position:absolute;left:10px;top:50%;width:15px;height:15px;margin-top:-7.5px;fill:none;stroke:var(--text-muted);stroke-width:1.7;stroke-linecap:round;pointer-events:none}.filter-select{display:flex;flex-direction:column;gap:3px}.filter-select-label{font-size:11px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.filter-select select{padding:6px 9px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);font:inherit;font-size:13px;color:var(--text);cursor:pointer}.sort-direction{border:1px solid var(--border-strong);background:var(--surface);width:32px;padding:0;height:31px;font-size:15px;color:var(--text-secondary)}.result-count{font-size:12.5px;color:var(--text-muted)}.filter-spacer{flex:1}.table-wrapper{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow-x:auto}.activity-table{width:100%;border-collapse:collapse;font-size:13px}.activity-table thead th{position:sticky;top:0;background:var(--surface-subtle);text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);padding:9px 12px;border-bottom:1px solid var(--border);white-space:nowrap;z-index:5}.activity-table tbody td{padding:10px 12px;border-bottom:1px solid var(--border);vertical-align:top}.activity-row{cursor:pointer;transition:background-color .1s ease}.activity-row:hover{background:var(--surface-hover)}.activity-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.activity-row.is-archived{opacity:.62}.activity-table tbody tr:last-child td{border-bottom:none}.col-stale{width:26px;padding-right:0!important}.col-title{width:22%;min-width:190px}.col-comment{width:30%;min-width:220px}.col-status{width:106px}.col-ball{width:138px}.col-date{width:88px;color:var(--text-secondary);white-space:nowrap}.col-task{width:168px}.activity-title{display:block;font-size:13.5px;font-weight:600;color:var(--text);line-height:1.35}.activity-meta{display:flex;align-items:center;gap:5px;margin-top:3px}.latest-comment{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--text-secondary);line-height:1.45}.latest-comment-date{display:block;font-size:11px;color:var(--text-muted);margin-top:2px}.table-empty{padding:44px 20px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text-muted)}.table-empty-title{font-weight:600;color:var(--text);margin:0 0 3px}.staleness{display:inline-flex;align-items:center;justify-content:center;width:100%;padding-top:3px}.staleness-dot{width:9px;height:9px;border-radius:50%;border:1px solid var(--dot-ring)}.staleness-fresh .staleness-dot{background:var(--good)}.staleness-warning .staleness-dot{background:var(--warn)}.staleness-critical .staleness-dot{background:var(--bad)}.staleness-text.staleness-fresh{color:var(--good)}.staleness-text.staleness-warning{color:var(--warn)}.staleness-text.staleness-critical{color:var(--bad)}.badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:20px;border:1px solid var(--border);background:var(--surface-subtle);font-size:11.5px;font-weight:500;white-space:nowrap;color:var(--text-secondary)}.badge-status.tone-neutral{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-secondary)}.badge-status.tone-info{background:var(--info-bg);border-color:var(--info-border);color:var(--info)}.badge-status.tone-accent{background:var(--accent-subtle);border-color:var(--accent-border);color:var(--accent-on-subtle)}.badge-status.tone-warn{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn)}.badge-status.tone-good{background:var(--good-bg);border-color:var(--good-border);color:var(--good)}.badge-status.tone-bad{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad)}.badge-status.tone-muted{background:transparent;border-color:var(--border-strong);color:var(--text-muted)}.badge-ball.ball-mine{background:var(--accent-subtle);border-color:var(--accent-border);color:var(--accent-on-subtle);font-weight:600}.badge-ball.ball-theirs{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-muted)}.badge-task{flex-direction:column;align-items:flex-start;gap:0;padding:3px 9px;border-radius:var(--radius-sm);line-height:1.3}.task-due-time{font-size:10.5px;opacity:.85;font-weight:400}.badge-task.task-overdue{background:var(--bad-bg);border-color:var(--bad-border);color:var(--bad);font-weight:600}.badge-task.task-today{background:var(--warn-bg);border-color:var(--warn-border);color:var(--warn);font-weight:600}.badge-task.task-upcoming{background:var(--surface-subtle);border-color:var(--border-strong);color:var(--text-secondary)}.task-more{display:inline-block;margin-left:5px;font-size:11px;color:var(--text-muted)}.chip{display:inline-flex;align-items:center;gap:3px;padding:1px 6px;border-radius:4px;font-size:10.5px;font-weight:600;background:var(--surface-hover);color:var(--text-muted);border:1px solid var(--border)}.chip-archived{background:var(--surface-hover);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em}.chip-icon{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.modal-backdrop{position:fixed;inset:0;background:var(--backdrop);display:flex;align-items:flex-start;justify-content:center;padding:40px 20px;overflow-y:auto;z-index:100}.modal{background:var(--surface);border-radius:12px;box-shadow:var(--shadow-lg);width:100%;display:flex;flex-direction:column;max-height:calc(100vh - 80px)}.modal:focus{outline:none}.modal-small{max-width:420px}.modal-medium{max-width:620px}.modal-large{max-width:1040px}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 18px;border-bottom:1px solid var(--border)}.modal-title{font-size:16px;line-height:1.35;min-width:0}.modal-activity-title{display:inline-flex;align-items:center;gap:9px;flex-wrap:wrap}.modal-activity-title .staleness{width:auto;padding-top:0}.modal-body{padding:18px;overflow-y:auto;flex:1}.modal-footer{display:flex;align-items:center;gap:8px;padding:12px 18px;border-top:1px solid var(--border);background:var(--surface-subtle);border-radius:0 0 12px 12px}.footer-spacer{flex:1}.confirm-message{margin:0;color:var(--text-secondary);line-height:1.55}.activity-detail{display:flex;flex-direction:column;gap:16px}.title-edit{padding:14px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius);display:flex;flex-direction:column;gap:10px}.detail-controls{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--border)}.edit-title-button{margin-left:auto}.detail-meta{display:flex;flex-wrap:wrap;gap:22px;margin:0;font-size:12.5px}.detail-meta div{display:flex;flex-direction:column;gap:1px}.detail-meta dt{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-weight:600}.detail-meta dd{margin:0;color:var(--text)}.detail-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}.detail-column{min-width:0}.detail-column-tasks{padding-left:22px;border-left:1px solid var(--border)}.section-title{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);margin-bottom:10px}.section-subtitle{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.comment-history{display:flex;flex-direction:column;gap:14px}.comment-composer{display:flex;flex-direction:column;gap:8px}.comment-composer-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.comment-composer-actions .muted{margin-right:auto}.comment-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.comment-item{padding:11px 0 11px 15px;border-left:2px solid var(--border);position:relative}.comment-dot{position:absolute;left:-5px;top:16px;width:8px;height:8px;border-radius:50%;background:var(--border-strong);border:2px solid var(--surface)}.comment-item.age-fresh .comment-dot{background:var(--good)}.comment-item.age-warning .comment-dot{background:var(--warn)}.comment-item.age-critical .comment-dot{background:var(--bad)}.comment-meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--text-muted);margin-bottom:3px}.comment-author{font-weight:600}.comment-edited{font-style:italic}.comment-actions{display:flex;gap:10px;margin-left:auto;opacity:0;transition:opacity .12s ease}.comment-item:hover .comment-actions,.comment-item:focus-within .comment-actions{opacity:1}.comment-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.comment-edit{display:flex;flex-direction:column;gap:8px;margin-top:5px}.task-section{display:flex;flex-direction:column;gap:11px}.task-section-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px}.task-row{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;border:1px solid var(--border);border-left:3px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface)}.task-row.urgency-overdue{border-left-color:var(--bad);background:var(--bad-bg)}.task-row.urgency-today{border-left-color:var(--warn);background:var(--warn-bg)}.task-row.urgency-upcoming{border-left-color:var(--good)}.task-row.urgency-done{opacity:.65}.task-check{display:flex;align-items:center;padding-top:2px}.task-check input{width:15px;height:15px;cursor:pointer;accent-color:var(--accent)}.task-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.task-title{font-size:13px;font-weight:500;overflow-wrap:anywhere}.task-row.urgency-done .task-title{text-decoration:line-through}.task-due{font-size:11.5px;color:var(--text-secondary)}.task-row.urgency-overdue .task-due{color:var(--bad);font-weight:600}.task-row.urgency-today .task-due{color:var(--warn);font-weight:600}.task-actions{display:flex;gap:9px;align-items:center}.task-activity-link{text-align:left}.task-form{display:flex;flex-direction:column;gap:10px;padding:12px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:var(--radius-sm)}.task-form-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px}.task-form-actions{display:flex;justify-content:flex-end;gap:8px}.completed-tasks summary{cursor:pointer;font-size:12px;color:var(--text-muted);padding:4px 0;user-select:none}.completed-tasks summary:hover{color:var(--text)}.completed-tasks .task-list{margin-top:7px}.task-groups{display:flex;flex-direction:column;gap:18px}.task-group-title{display:flex;align-items:center;gap:8px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;color:var(--text-secondary)}.task-group-title.urgency-overdue{color:var(--bad)}.task-group-title.urgency-today{color:var(--warn)}.task-group-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--surface-hover);color:var(--text-secondary);font-size:11px;font-weight:700;letter-spacing:0}@media(max-width:1100px){.summary-bar,.detail-columns{grid-template-columns:1fr}.detail-column-tasks{padding-left:0;border-left:none;border-top:1px solid var(--border);padding-top:18px}}@media(max-width:760px){.summary-tiles{grid-template-columns:repeat(2,1fr)}.field-row,.task-form-fields{grid-template-columns:1fr}}
