@import"https://fonts.googleapis.com/css2?family=Fraunces:wght@500;700&family=Work+Sans:wght@400;500;600&display=swap";:root{color-scheme:light dark;--bg: #f7f3ed;--bg-accent: #f0e7dc;--surface: #ffffff;--surface-elevated: #fff8f0;--border: #e2d6c8;--text: #221c14;--text-muted: #6f6255;--accent: #e07a38;--accent-strong: #c46325;--success: #3b7c5a;--shadow: 0 12px 30px rgba(34, 28, 20, .15);--radius: 18px}@media(prefers-color-scheme:dark){:root{--bg: #181512;--bg-accent: #221b16;--surface: #201a15;--surface-elevated: #2a221b;--border: #3a3027;--text: #f7efe7;--text-muted: #b9aa9c;--accent: #f2a35b;--accent-strong: #ef9244;--success: #79c394;--shadow: 0 16px 40px rgba(0, 0, 0, .35)}}:root[data-theme=light]{--bg: #f7f3ed;--bg-accent: #f0e7dc;--surface: #ffffff;--surface-elevated: #fff8f0;--border: #e2d6c8;--text: #221c14;--text-muted: #6f6255;--accent: #e07a38;--accent-strong: #c46325;--success: #3b7c5a;--shadow: 0 12px 30px rgba(34, 28, 20, .15)}:root[data-theme=dark]{--bg: #181512;--bg-accent: #221b16;--surface: #201a15;--surface-elevated: #2a221b;--border: #3a3027;--text: #f7efe7;--text-muted: #b9aa9c;--accent: #f2a35b;--accent-strong: #ef9244;--success: #79c394;--shadow: 0 16px 40px rgba(0, 0, 0, .35)}*{box-sizing:border-box}body{margin:0;min-height:100vh;font-family:Work Sans,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);overflow-x:hidden}body.modal-open{overflow:hidden}#root{min-height:100vh}.app{width:100%;margin:0;padding:32px 24px 80px;display:flex;flex-direction:column;gap:28px;animation:fadeUp .6s ease}@keyframes fadeUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.header{display:flex;flex-wrap:nowrap;gap:16px 24px;align-items:center;justify-content:space-between}.header h1{margin:0;font-family:Fraunces,serif;font-size:clamp(2rem,2.6vw,3rem);min-width:0;flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-actions{display:flex;gap:12px;flex-wrap:nowrap;flex:0 0 auto;flex-shrink:0}button{border:none;font:inherit;border-radius:999px;padding:10px 18px;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}button:hover{transform:translateY(-1px)}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.primary{background:var(--accent);color:#1d1209;box-shadow:none}.primary:hover{background:var(--accent-strong)}.ghost{background:transparent;color:var(--text);border:1px solid var(--border)}.notice{padding:16px 20px;border-radius:var(--radius);background:var(--surface-elevated);border:1px dashed var(--border);color:var(--text-muted)}.list-wrapper{background:transparent;border-radius:0;border:none;padding:0;box-shadow:none;min-height:320px}.section{display:flex;flex-direction:column;gap:12px}.section h2{margin:0;font-size:.95rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}.divider{height:1px;background:var(--border);margin:8px 0 4px}.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.item{display:grid;grid-template-columns:auto auto 1fr auto;gap:12px;align-items:center;background:transparent;border-radius:0;padding:6px 0;border:none;transition:background .2s ease,border .2s ease;animation:fadeIn .4s ease}.item:hover{border-color:transparent}.item-complete{opacity:.75}.item-complete .item-name{text-decoration:line-through;color:var(--text-muted)}.item-dragging{box-shadow:none;border-color:transparent}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.drag-handle{background:transparent;border-radius:8px;padding:10px 12px;margin-left:-6px;color:var(--text-muted);touch-action:none;-webkit-user-select:none;user-select:none}.drag-handle span{font-size:1.35rem}.checkbox{position:relative;display:inline-flex;align-items:center}.checkbox input{position:absolute;opacity:0;width:28px;height:28px}.checkbox-custom{width:26px;height:26px;border-radius:7px;border:1px solid var(--border);display:inline-block;background:transparent}.checkbox input:checked+.checkbox-custom{background:var(--accent);border-color:var(--accent);box-shadow:inset 0 0 0 2px #0000001a}.item-main{min-width:0}.item-name{background:transparent;border:none;font-size:1rem;text-align:left;padding:0;color:inherit;width:100%;cursor:text}.item-input{width:100%;border:none;border-bottom:1px solid var(--border);background:transparent;color:inherit;font:inherit;padding:4px 0}.item-actions{display:flex;gap:6px}.icon-button{background:transparent;padding:6px 8px;border-radius:8px;color:var(--text)}.icon-button.muted{color:var(--text-muted)}.empty{text-align:center;color:var(--text-muted);padding:40px 0}.modal-backdrop{position:fixed;inset:0;background:#0a080680;display:grid;place-items:start center;padding:24px;z-index:20;overflow-y:auto}.modal{width:min(420px,100%);background:var(--surface);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:16px;margin-top:min(12vh,120px)}.modal-header{display:flex;justify-content:space-between;align-items:center}.modal-body{display:flex;flex-direction:column;gap:18px}.field{display:flex;flex-direction:column;gap:8px;color:var(--text-muted)}.field input,.field select{border-radius:12px;border:1px solid var(--border);padding:12px;font:inherit;background:var(--surface-elevated);color:var(--text)}.modal-actions{display:flex;justify-content:flex-end;gap:12px}.toast{position:fixed;bottom:24px;right:24px;background:var(--surface);border-radius:14px;padding:12px 16px;border:1px solid var(--border);box-shadow:var(--shadow);z-index:30}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}@media(max-width:720px){.app{padding:24px 18px 64px}.header{flex-direction:row;align-items:center;gap:12px;flex-wrap:nowrap}.header h1{font-size:clamp(1.4rem,5.8vw,2rem)}.header-actions{width:auto;justify-content:flex-end;flex-wrap:nowrap}.header-actions button{padding:8px 12px}.list-wrapper{padding:0}.item{grid-template-columns:auto auto 1fr auto;padding-left:0}.item-actions{justify-content:flex-end;grid-column:auto}.toast{left:18px;right:18px}}
