.todo-page{--todo-bg: #fff;--todo-surface: #fff;--todo-ink: #14213d;--todo-muted: #596570;--todo-subtle: #7b8592;--todo-border: #dde3e8;--todo-error: #982f28;background:var(--todo-bg);color:var(--todo-ink)}html[data-theme=dark] .todo-page{--todo-bg: var(--canvas);--todo-surface: var(--surface);--todo-ink: var(--ink);--todo-muted: var(--muted);--todo-subtle: var(--muted);--todo-border: var(--line);--todo-error: #ffaaa0;color-scheme:dark}.todo-main{max-width:1480px;min-height:70vh;margin:auto;padding:46px 42px 28px}.todo-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.todo-heading h1{font-size:clamp(28px,3.5vw,42px);letter-spacing:-.055em;margin:10px 0;color:var(--todo-ink)}.todo-heading p{color:var(--todo-muted);font-size:14px;margin:0}.todo-page .button.primary{background:#db5227;color:#fff;gap:24px}.todo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--todo-border);padding-bottom:20px;margin-bottom:24px}.todo-toolbar p{font-size:12px;color:var(--todo-muted);margin:0}.priority-legend{display:flex;flex-wrap:wrap;gap:16px;font-size:11px;color:var(--todo-muted)}.priority-legend span{display:flex;gap:6px;align-items:center}.priority-legend i{width:12px;height:12px;border:1px solid #00000012;border-radius:3px}.task-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:20px}.task-card{--todo-ink: #14213d;position:relative;height:300px;border:1px solid #00000018;border-radius:10px;padding:20px;min-width:0;color:var(--todo-ink)}.task-card-header{display:flex;align-items:center;justify-content:space-between;gap:6px;font:700 12px Arial,sans-serif;text-transform:uppercase;letter-spacing:.03em}.task-completed-label{font-size:11px}.task-text{position:absolute;top:55px;left:20px;right:20px;height:168px;margin:0;border:0;padding:0;text-align:left;font:700 34px/42px Arial,sans-serif;color:var(--todo-ink);background:transparent;overflow:hidden;width:calc(100% - 40px)}.task-text span{display:block;white-space:pre;height:42px}.is-completed .task-text span{text-decoration:line-through;text-decoration-thickness:2px}.task-actions{position:absolute;bottom:20px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:3px}.task-actions button{border:1px solid transparent;border-radius:6px;background:transparent;color:#344454;font-size:11px;font-weight:700;width:40px;height:40px;display:grid;place-items:center;padding:0}.task-actions button:hover{background:#ffffff85;border-color:#00000012}.task-actions button:last-child{color:#982f28}.todo-page button:focus-visible{outline:3px solid #db5227;outline-offset:3px}.empty-board{text-align:center;padding:70px 20px;border:1px dashed #d6dde3;border-radius:10px;background:var(--todo-bg)}.empty-board[hidden]{display:none}.empty-board>span{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:10px;background:#fff5cc;font-size:30px;margin-bottom:20px}.empty-board h2{font-size:22px;letter-spacing:-.035em}.empty-board p{color:var(--todo-muted);font-size:13px;line-height:1.8}.board-feedback{min-height:18px;font-size:12px;margin:18px 0 0;color:var(--todo-muted)}.board-storage{color:var(--todo-muted);font-size:11px;line-height:1.8;margin:6px 0 0}.board-storage[data-error=true]{color:var(--todo-error)}.todo-help{border-top:1px solid var(--todo-border);padding-top:22px;margin-top:30px;max-width:850px}.todo-help h2{font-size:22px;letter-spacing:-.035em}.todo-help p{color:var(--todo-muted);font-size:13px;line-height:1.8}.todo-help a{text-decoration:underline}.task-dialog{border:1px solid var(--todo-border);border-radius:10px;padding:26px;width:min(480px,calc(100% - 32px));color:var(--todo-ink);background:var(--todo-surface);box-shadow:0 24px 90px #0003}.task-dialog::backdrop{background:#0a0c1266}.task-dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.task-dialog-heading h2{font-size:23px;letter-spacing:-.04em;margin:0}.task-dialog-heading button{border:0;background:transparent;color:var(--todo-muted);font-size:28px;padding:0 4px}.task-dialog label,.task-dialog legend{font-size:12px;font-weight:700}.task-dialog textarea{display:block;box-sizing:border-box;width:100%;border:1px solid var(--todo-border);border-radius:8px;padding:12px;margin-top:8px;font:16px/1.6 Arial,sans-serif;background:var(--todo-bg);color:var(--todo-ink);resize:vertical}.task-dialog textarea:focus-visible{outline:2px solid #db5227;outline-offset:2px}#task-details-hint{font-size:11px;line-height:1.6;color:var(--todo-muted);margin:8px 0 24px}.task-dialog fieldset{border:0;padding:0;margin:0}.task-dialog legend{margin-bottom:10px}.priority-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.priority-options label{cursor:pointer}.priority-options input{position:absolute;width:1px;height:1px;opacity:0}.priority-options span{color:#14213d;color-scheme:light;display:block;border:2px solid transparent;padding:10px 5px;border-radius:7px;text-align:center;font-size:11px}.priority-options input:checked+span{border-color:#14213d}.priority-options input:focus-visible+span{outline:3px solid #db5227;outline-offset:2px}#task-form-error{color:var(--todo-error);font-size:12px;min-height:16px;margin:14px 0}.task-form-actions{display:flex;justify-content:flex-end;gap:10px}.task-dialog .button.secondary{background:var(--todo-surface);color:var(--todo-ink);border-color:var(--todo-border)}@media(max-width:760px){.todo-main{padding:30px 18px 24px}.todo-heading{align-items:flex-start}.todo-heading .button{gap:10px;flex-shrink:0}.todo-toolbar{flex-direction:column;align-items:flex-start;gap:14px}}@media(max-width:450px){.todo-heading{flex-direction:column;gap:18px}.task-dialog{padding:20px}}.task-text{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}.task-text span{flex-shrink:0}.todo-page .eyebrow{color:#b83b19}.todo-main{width:100%;padding:0;min-height:0}.todo-stage{display:flex;flex-direction:column;min-height:calc(100svh - var(--todo-header-height, 76px));padding:32px 42px 20px}.todo-heading{margin-bottom:24px}.todo-heading h1{font-size:32px;margin:0;letter-spacing:-.045em}.todo-toolbar{border:0;padding:0;margin-bottom:20px}.task-grid[hidden]{display:none}.task-card-header{text-transform:none;letter-spacing:0}.empty-board{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;padding:36px 20px;background:var(--todo-bg);border:0}.empty-board>.empty-board-icon{background:transparent;color:#a1aab6;width:48px;height:48px;margin-bottom:18px}.empty-board h2{margin:0 0 8px;font-size:20px;letter-spacing:-.025em}.empty-board p{margin:0;color:var(--todo-subtle)}.board-meta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding-top:20px;margin-top:auto}.board-feedback,.board-storage{margin:0;font-size:11px;min-height:0}.board-feedback:empty{display:none}.board-storage{color:var(--todo-subtle)}.todo-help{margin:0 42px 24px;padding:0;border:0;max-width:850px}.todo-help summary{width:fit-content;cursor:pointer;font-size:12px;color:var(--todo-muted)}.todo-help[open] summary{margin-bottom:20px}@media(max-width:760px){.todo-stage{padding:26px 18px 18px}.todo-main{padding:0}.todo-help{margin:0 18px 24px}.todo-heading h1{font-size:28px}}@media(max-width:450px){.todo-heading{flex-direction:row;align-items:center;gap:12px}.todo-heading .button{min-height:40px;padding:0 12px;gap:10px}}html[data-theme=dark] .todo-page .eyebrow{color:#ff916f}.todo-toolbar{flex-direction:row;justify-content:flex-start;align-items:center;gap:12px}.completed-trigger{padding:0;border:0;background:transparent;color:var(--todo-muted);font:600 12px/1.6 Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}.completed-trigger:hover{color:var(--todo-ink)}.completed-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100svh - 32px)}.completed-list{list-style:none;margin:0;padding:0;max-height:min(420px,55vh);overflow:auto}.completed-list li{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--todo-border)}.completed-dialog .task-dialog-heading{margin-bottom:0;padding-bottom:16px;border-bottom:1px solid var(--todo-border)}.completed-dialog .task-dialog-heading button{display:grid;place-items:center;width:32px;height:32px;line-height:1}.completed-list li:last-child{border-bottom:0}.completed-list p{flex:1;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:line-through;text-decoration-thickness:1px;font:500 16px/1.6 Arial,sans-serif}.completed-list button{flex-shrink:0;display:grid;place-items:center;width:36px;height:36px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--todo-error)}.completed-list button:hover{background:var(--todo-bg);border-color:var(--todo-border)}.completed-empty{text-align:center;color:var(--todo-muted);font-size:14px;padding:28px 0;margin:0}.completed-feedback{font-size:12px;line-height:1.6;color:var(--todo-muted);margin:16px 0 0}.completed-feedback:empty{display:none}.app-tooltip{position:fixed;z-index:1000;width:360px;max-width:calc(100vw - 24px);padding:21px 22px 18px;border:1px solid #ffffff24;border-radius:16px;background:#202020;box-shadow:0 12px 34px #00000029,0 2px 5px #00000014;color:#f5f5f5;text-align:left;pointer-events:auto;animation:tooltip-in .14s ease-out}.app-tooltip:before{content:"";position:absolute;top:0;left:22px;width:54px;height:3px;background:var(--tooltip-accent, #d6dde3);border-radius:0 0 3px 3px}.app-tooltip:after{content:"";position:absolute;left:var(--tooltip-arrow-x, 50%);width:12px;height:12px;background:#202020;transform:translate(-50%) rotate(45deg)}.app-tooltip[data-side=top]:after{bottom:-7px;border-right:1px solid #ffffff24;border-bottom:1px solid #ffffff24}.app-tooltip[data-side=bottom]:after{top:-7px;border-left:1px solid #ffffff24;border-top:1px solid #ffffff24}.app-tooltip-heading{margin-bottom:10px;color:var(--tooltip-accent, #d6dde3);font:600 12px/1.5 Arial,sans-serif}.app-tooltip-details{max-height:min(300px,40vh);overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:500 13px/1.6 Arial,sans-serif;scrollbar-width:thin;scrollbar-color:#626262 transparent}.app-tooltip-hint{margin-top:16px;font:400 12px/1.5 Arial,sans-serif;color:#a9a9a9}.app-tooltip-hint:empty{display:none}.app-tooltip[hidden]{display:none}@keyframes tooltip-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.app-tooltip{animation:none}}
