:root{--ink: #0b1220;--ink-soft: #334155;--paper: #f8fafc;--panel: rgba(255, 255, 255, .92);--panel-solid: #ffffff;--line: rgba(15, 23, 42, .16);--accent: #0284c7;--accent-strong: #0369a1;--accent-2: #059669;--danger: #dc2626;--warn: #ea580c;--radius: 14px;--shadow: 0 14px 40px rgba(2, 20, 40, .22);--font: "DM Sans", system-ui, sans-serif;--display: "Fraunces", Georgia, serif;--bg: radial-gradient(ellipse at 10% 0%, #7dd3c0 0%, transparent 45%), radial-gradient(ellipse at 90% 20%, #93c5fd 0%, transparent 40%), linear-gradient(165deg, #0f766e 0%, #1e3a5f 55%, #0f172a 100%);color:var(--ink);font-family:var(--font);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;height:100%}body{background:var(--bg);background-attachment:fixed;color:var(--ink)}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);min-height:100dvh;height:100dvh}.sidebar{border-right:1px solid rgba(255,255,255,.18);background:#0f172a8c;color:#f8fafc;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);display:flex;flex-direction:column;min-height:0;height:100%;max-height:100dvh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.sidebar-head{padding:1.25rem 1rem .75rem;display:flex;align-items:center;gap:.75rem}.brand-mark{width:42px;height:42px;flex:0 0 auto;filter:drop-shadow(0 4px 10px rgba(0,0,0,.35))}.brand-title{font-family:var(--display);font-size:1.35rem;font-weight:700;letter-spacing:-.02em;line-height:1.1;color:#fff}.brand-sub{font-size:.78rem;color:#f8fafcb8}.sidebar-tools{padding:0 .75rem .75rem;display:grid;gap:.5rem}.search-input,.field input,.field textarea,.field select,.inline-input{width:100%;max-width:100%;min-width:0;border:1px solid var(--line);background:#fff;border-radius:10px;padding:.55rem .7rem;outline:none;color:var(--ink);box-sizing:border-box}input[type=date],input[type=datetime-local],input[type=time],input[type=month],.due-input{width:100%;max-width:100%;min-width:0!important;box-sizing:border-box;display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none}.due-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.due-row .due-input,.due-row input[type=date],.due-row input[type=time]{width:auto;flex:1 1 8rem;max-width:14rem}.due-remind-label{display:block;margin-top:.75rem}.due-remind-input{max-width:8rem}.due-remind-hint{margin:.4rem 0 0;font-size:.85rem}.timed-reminder-headline{margin:0 0 .5rem;font-size:1.15rem;font-weight:600}.timed-reminder-backdrop{z-index:80}input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0;width:100%}.sidebar .search-input,.sidebar .inline-input{background:#fffffff2;border-color:transparent}.search-input:focus,.field input:focus,.field textarea:focus,.field select:focus,.inline-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0284c747}.list-nav{overflow:auto;padding:.25rem .6rem 1rem;flex:1;min-height:0}.group-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#f8fafc8c;padding:.65rem .45rem .25rem;display:flex;justify-content:space-between;align-items:center}.nav-item{display:flex;align-items:center;gap:.45rem;width:100%;border:0;background:transparent;text-align:left;padding:.5rem .55rem;border-radius:10px;color:#f1f5f9}.nav-item:hover{background:#ffffff1f}.nav-item.active{background:#0ea5e959;font-weight:700;box-shadow:inset 0 0 0 1px #7dd3fc73}.nav-item .count{margin-left:auto;font-size:.75rem;color:#0f172a;background:#e2e8f0;border-radius:999px;min-width:1.5rem;text-align:center;padding:.1rem .35rem;font-weight:700}.color-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;background:var(--accent);box-shadow:0 0 0 2px #ffffff59}.shared-badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.78rem;font-weight:750;color:#0f172a;background:#e0f2fe;border:1px solid #7dd3fc;border-radius:999px;padding:.2rem .5rem .2rem .35rem;line-height:1}.shared-icon{font-size:1.05rem;line-height:1}.shared-label{letter-spacing:.01em}.due-chip{font-size:.75rem;font-weight:700;color:#9a3412;background:#ffedd5;border-radius:999px;padding:.2rem .45rem}.drag-handle{touch-action:none;cursor:grab;letter-spacing:-.12em;font-weight:800;opacity:.75}.drag-handle:active{cursor:grabbing}.main{display:flex;flex-direction:column;min-width:0;min-height:0}.topbar{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1rem;padding:1rem 1.25rem .5rem}.topbar h1{margin:0;font-family:var(--display);font-size:1.75rem;font-weight:700;letter-spacing:-.02em;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.35)}.topbar .muted{color:#ffffffc7}.topbar-actions{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.btn{border:1px solid transparent;background:#fff;border-radius:999px;padding:.45rem .9rem;font-size:.9rem;font-weight:600;color:var(--ink);box-shadow:0 6px 16px #0214281f;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px #0214282e}.btn.primary{background:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-strong)}.btn.ghost{background:#ffffff2e;color:#fff;border-color:#ffffff47;box-shadow:none}.modal .btn.ghost,.panel .btn.ghost{background:#f1f5f9;color:var(--ink);border-color:var(--line)}.sidebar .btn.ghost{background:#ffffff1a;color:#f8fafc}.btn.danger{color:var(--danger)}.content{padding:.5rem 1.25rem 1.5rem;overflow:auto;flex:1;min-height:0}.list-workspace{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.list-workspace .content{background:transparent}.list-workspace .topbar h1{color:#0b1220;text-shadow:none}.list-workspace .topbar .muted,.list-workspace .content .muted{color:#0b1220b8}.due-banner{background:#ea580ceb;border:1px solid rgba(255,255,255,.25);border-radius:var(--radius);padding:.85rem 1rem;margin-bottom:1rem;color:#fff7ed;animation:rise .35s ease;box-shadow:var(--shadow)}.due-banner h2{margin:0 0 .55rem;font-size:1rem;font-family:var(--display);color:#fff}.due-banner .nav-item{color:#fff7ed;background:#0000002e}.due-banner .nav-item .count{background:#fff;color:#9a3412}.settings-check{display:flex;align-items:flex-start;gap:.65rem;margin-top:.35rem;cursor:pointer;line-height:1.35}.settings-check input{width:1.15rem;height:1.15rem;margin-top:.15rem;flex:0 0 auto;accent-color:var(--accent)}.share-current{margin-bottom:.85rem}.share-user-list{list-style:none;margin:.35rem 0 0;padding:0;display:flex;flex-direction:column;gap:.4rem}.share-user-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem .7rem;border:1px solid var(--line);border-radius:12px;background:#fff}.share-user-row .btn{flex:0 0 auto;min-height:36px}.due-reminder-modal{width:min(560px,100%)}.due-reminder-body{max-height:min(50dvh,22rem);overflow:auto;margin-top:.75rem;display:flex;flex-direction:column;gap:1rem}.due-reminder-section h3{margin:0 0 .45rem;font-size:.85rem;letter-spacing:.02em;text-transform:uppercase;color:var(--muted, #64748b)}.due-reminder-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.due-reminder-item{width:100%;text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff;padding:.7rem .85rem;display:flex;flex-direction:column;gap:.2rem;cursor:pointer;transition:border-color .15s ease,background .15s ease}.due-reminder-item:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));background:color-mix(in srgb,var(--accent) 6%,#fff)}.due-reminder-item.overdue{border-left:3px solid #dc2626}.due-reminder-item.due-today{border-left:3px solid #ea580c}.due-reminder-headline{font-weight:600;color:var(--ink)}.due-reminder-meta{font-size:.85rem;color:var(--muted, #64748b)}.todo-list{display:flex;flex-direction:column;gap:.45rem}.todo-list.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.55rem;align-items:start}.todo-list.tiles .todo-row{min-height:0}.todo-list.tiles .todo-row:not(.is-expanded) .todo-compact{grid-template-columns:minmax(0,1fr);padding:.55rem .7rem;min-height:44px;align-items:center}.todo-list.tiles .todo-row:not(.is-expanded) .check-btn,.todo-list.tiles .todo-row:not(.is-expanded) .status-wrap,.todo-list.tiles .todo-row:not(.is-expanded) .status-dot,.todo-list.tiles .todo-row:not(.is-expanded) .todo-meta,.todo-list.tiles .todo-row:not(.is-expanded) .todo-trail,.todo-list.tiles .todo-row:not(.is-expanded) .hot-btn{display:none}.todo-list.tiles .todo-row:not(.is-expanded) .headline,.todo-list.tiles .todo-row:not(.is-expanded) .headline-preview{grid-column:1;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;-webkit-line-clamp:unset;cursor:pointer;font-size:.95rem;padding:.2rem 0}.todo-list.tiles .todo-row.is-expanded{grid-column:1 / -1}.todo-row{--status: transparent;background:color-mix(in srgb,var(--status) 22%,#ffffff);border:1px solid color-mix(in srgb,var(--status) 45%,rgba(15,23,42,.12));border-left:5px solid var(--status, #cbd5e1);border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #0214281f;transition:box-shadow .2s ease,transform .2s ease;position:relative;min-width:0;max-width:100%}.todo-row:not([style*=--status]),.todo-row.no-status{--status: #94a3b8;background:#fff;border-left-color:#cbd5e1}.todo-row:hover{box-shadow:var(--shadow)}.todo-row.dragging{opacity:.85;transform:scale(1.015);z-index:5}.todo-section{margin-bottom:1rem}.todo-section h2{margin:0 0 .45rem;font-family:var(--display);font-size:.95rem;font-weight:700;letter-spacing:.02em;color:#0b1220;text-shadow:none}.todo-compact{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:.35rem .4rem;align-items:start;padding:.4rem .5rem;min-height:0;min-width:0}.completed-todo .todo-compact{grid-template-columns:22px 22px minmax(0,1fr) auto;align-items:center}.todo-trail{display:flex;align-items:center;gap:.15rem;flex-shrink:0}.todo-compact .headline,.todo-compact .headline-preview{border:0;background:transparent;padding:0;width:100%;min-width:0;font-weight:600;color:var(--ink);text-align:left;cursor:grab;font:inherit;font-size:.88rem;line-height:1.3;touch-action:none}.headline-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.todo-compact .headline{cursor:text;touch-action:manipulation}.shared-inline{color:var(--accent-strong);font-weight:700}.todo-list-badge{display:inline-block;margin-left:.4em;padding:.08em .45em;border-radius:999px;font-size:.68em;font-weight:600;letter-spacing:.01em;vertical-align:middle;max-width:9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:color-mix(in srgb,var(--list-badge, var(--accent)) 78%,#0f172a);background:color-mix(in srgb,var(--list-badge, var(--accent)) 18%,transparent);border:1px solid color-mix(in srgb,var(--list-badge, var(--accent)) 35%,transparent)}.todo-list-badge-trail{margin-left:0;margin-right:.25rem;flex-shrink:1;min-width:0}.composer-list-select{width:auto;max-width:10rem;flex:0 1 auto}.overdue-inline{color:#b91c1c;font-weight:700;font-size:.78em}.due-today-inline{color:#c2410c;font-weight:700;font-size:.78em}.todo-row.is-overdue{border-color:color-mix(in srgb,#dc2626 35%,rgba(15,23,42,.12))}.check-btn{width:18px;height:18px;margin-top:.12rem;border-radius:50%;border:1.5px solid #94a3b8;background:#fff;display:grid;place-items:center;padding:0;color:#64748b;font-weight:800;font-size:.62rem;line-height:1;flex-shrink:0;cursor:pointer;touch-action:manipulation}.check-btn:hover{background:#f1f5f9;border-color:#64748b;color:#475569}.hot-btn{width:24px;height:24px;margin-top:0;padding:0;border:0;background:transparent;display:grid;place-items:center;color:#94a3b8;cursor:pointer;transition:color .15s ease,transform .15s ease;flex-shrink:0;touch-action:manipulation;position:relative;z-index:2}.hot-btn svg{width:22px;height:22px;display:block}.hot-btn:hover{color:#64748b;transform:scale(1.08)}.hot-btn.is-on{color:#ef4444}.hot-btn.is-on:hover{color:#dc2626}.collapse-btn{width:28px;height:28px;padding:0;border:1px solid var(--line);border-radius:8px;background:#f8fafc;color:var(--ink);display:grid;place-items:center;font-size:.85rem;line-height:1;cursor:pointer;flex-shrink:0}.collapse-btn-lg{width:36px;height:32px;font-size:1rem}.status-field-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.35rem}.status-field-head label{margin:0}.todo-expand .due-input{width:100%;max-width:100%;min-width:0!important;box-sizing:border-box;display:block}.move-list-select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.todo-expand .field{min-width:0;max-width:100%;overflow:hidden}.checklist-field{min-width:0}.checklist{display:grid;gap:.35rem}.checklist-row,.checklist-add{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:.35rem;align-items:center}.checklist-add{grid-template-columns:minmax(0,1fr) auto}.checklist-check{width:22px;height:22px;border-radius:6px;border:1.5px solid #94a3b8;background:#fff;color:#64748b;display:grid;place-items:center;padding:0;font-size:.75rem;font-weight:800;line-height:1;cursor:pointer}.checklist-check.is-on{border-color:#64748b;background:#f1f5f9;color:#334155}.checklist-title{width:100%;min-width:0;border:1px solid var(--line);background:#fff;border-radius:8px;padding:.4rem .55rem;font:inherit;font-size:.9rem}.checklist-row.is-done .checklist-title{text-decoration:line-through;color:var(--ink-soft)}.checklist-remove{width:28px;height:28px;border:0;background:transparent;color:#94a3b8;font-size:1.25rem;line-height:1;cursor:pointer;border-radius:8px}.checklist-remove:hover{color:var(--danger);background:#fef2f2}.checklist-add .btn{min-width:40px;padding:.35rem .7rem}.reactivate-btn{font-size:1.1rem;line-height:1}.completed-notes{margin:0;white-space:pre-wrap;color:var(--ink-soft);font-size:.92rem;line-height:1.4}.completed-todo .todo-meta .btn{min-height:32px;padding:.25rem .65rem;font-size:.8rem}.todo-meta{display:flex;gap:.35rem;align-items:center;color:var(--ink-soft);font-size:.75rem;font-weight:600}.status-wrap{position:relative}.status-dot{width:22px;height:22px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px #0f172a33,0 4px 10px #0000002e;padding:0;cursor:pointer;background:#94a3b8}.status-dot:hover{transform:scale(1.08)}.status-picker{position:absolute;top:calc(100% + 6px);left:0;z-index:30;display:flex;flex-wrap:wrap;gap:.4rem;width:max-content;max-width:220px;padding:.55rem;background:#0f172a;border-radius:14px;box-shadow:var(--shadow)}.status-picker button{width:26px;height:26px;border-radius:50%;border:2px solid transparent;padding:0}.status-picker button.active{border-color:#fff;box-shadow:0 0 0 2px #38bdf8}.status-picker .clear{width:auto;height:auto;border-radius:999px;padding:.2rem .5rem;background:#334155;color:#fff;font-size:.7rem;font-weight:700;border:0}.todo-expand{border-top:1px solid color-mix(in srgb,var(--status) 30%,rgba(15,23,42,.1));padding:.65rem .75rem .85rem;display:grid;gap:.55rem;animation:expand .22s ease;background:#ffffff8c;border-radius:0 0 12px 12px;min-width:0;max-width:100%;overflow-x:hidden;box-sizing:border-box}.todo-expand textarea{min-height:90px;resize:vertical}.status-legend{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}.status-chip{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--line);background:#fff;border-radius:999px;padding:.25rem .55rem .25rem .3rem;font-size:.8rem;font-weight:650}.status-chip .dot{width:14px;height:14px;border-radius:50%}.reactivate-btn{border-color:var(--accent);color:var(--accent-strong)}.reactivate-btn:hover{background:color-mix(in srgb,var(--accent) 16%,#fff);border-color:var(--accent-strong);color:var(--accent-strong)}.login-page{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.login-card{width:min(420px,100%);background:#fffffff0;border:1px solid rgba(255,255,255,.4);border-radius:24px;padding:2rem 1.6rem 1.6rem;box-shadow:var(--shadow);text-align:center;animation:rise .45s ease}.login-card .logo{width:88px;height:88px;margin:0 auto 1rem}.login-card h1{margin:0 0 .35rem;font-family:var(--display);font-size:2rem;color:var(--ink)}.login-card p{margin:0 0 1.25rem;color:var(--ink-soft)}.field{text-align:left;margin-bottom:.75rem}.field label{display:block;font-size:.8rem;margin-bottom:.3rem;color:var(--ink-soft);font-weight:650}.stack{display:grid;gap:.65rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#020c188c;display:grid;place-items:center;padding:1rem;z-index:40;animation:fade .2s ease}.modal{width:min(520px,100%);background:var(--panel-solid);border-radius:18px;padding:1.25rem;box-shadow:var(--shadow);max-height:90vh;overflow:auto;color:var(--ink)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}.modal-head h2{margin:0}.modal h2{margin:0 0 .85rem;font-family:var(--display)}.modal-close{flex:0 0 auto;min-width:40px;min-height:40px;border-radius:999px;border:1px solid var(--line);background:#f8fafc;color:var(--ink);font-size:1.1rem;line-height:1}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem;flex-wrap:wrap}.modal-actions .btn{min-height:44px;min-width:7rem}.multi-select{min-height:120px;width:100%}.search-results{background:#fff;border:1px solid var(--line);border-radius:12px;padding:.5rem;max-height:280px;overflow:auto;color:var(--ink)}.search-section-title{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft);padding:.35rem .4rem}.search-hit{width:100%;text-align:left;border:0;background:transparent;padding:.45rem .5rem;border-radius:8px;color:var(--ink)}.search-hit:hover{background:#0284c71f}.muted{color:var(--ink-soft);font-size:.85rem}.error{color:#fecaca;background:#7f1d1d8c;border-radius:10px;padding:.45rem .65rem;font-size:.88rem;margin:.4rem 0;font-weight:650}.login-card .error,.content .error{color:#991b1b;background:#fee2e2}.settings-grid,.admin-grid{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:42rem;margin:0 auto;align-items:stretch}.panel{background:#fffffff5;border:1px solid rgba(255,255,255,.4);border-radius:var(--radius);padding:1.1rem 1.15rem 1.2rem;box-shadow:var(--shadow);color:var(--ink);min-width:0;width:100%;overflow:visible;position:relative;isolation:isolate}.panel h3{margin:0 0 .55rem;font-family:var(--display);color:var(--ink);font-size:1.15rem}.about-app{margin:.35rem 0 0;color:var(--ink-soft);font-size:.95rem;line-height:1.55}.about-app strong{color:var(--ink)}.panel>.muted{margin:0 0 .85rem}.settings-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.settings-actions .btn{flex:1 1 auto;min-height:44px}.status-edit-list{display:flex;flex-direction:column;gap:.55rem}.status-edit-row{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;gap:.55rem;align-items:center;min-width:0}.status-edit-color{width:48px!important;height:48px!important;min-width:48px;max-width:48px;padding:.15rem;border-radius:10px;border:1px solid var(--line);background:#fff;flex-shrink:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.status-edit-color::-webkit-color-swatch-wrapper{padding:2px}.status-edit-color::-webkit-color-swatch{border:0;border-radius:6px}.status-edit-label{min-width:0!important;width:100%!important;max-width:100%}.status-edit-remove{width:44px;min-width:44px;height:44px;padding:0;display:grid;place-items:center;flex-shrink:0}.admin-rows{display:grid;gap:.55rem;margin-top:1rem}.admin-row,.user-admin-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.7rem .8rem;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0}.user-admin-row{grid-template-columns:1fr auto}.user-admin-row.is-editing{grid-template-columns:1fr}.user-admin-actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}.user-admin-edit{display:grid;gap:.55rem;width:100%}.user-admin-edit .field{margin:0}.user-admin-edit-actions{display:flex;flex-wrap:wrap;gap:.45rem}.admin-row-main{min-width:0;display:flex;flex-direction:column;gap:.15rem}.admin-row-main strong,.admin-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem}.admin-swatch{width:28px;height:28px;border-radius:8px;flex:0 0 auto;border:1px solid rgba(15,23,42,.15);box-shadow:inset 0 0 0 1px #ffffff59}.admin-row-select{width:auto;min-width:7.5rem;max-width:100%}.admin-color-form{display:grid;grid-template-columns:1fr auto auto;gap:.65rem;align-items:end}.admin-color-picker input[type=color]{width:52px;height:44px;padding:.2rem;border-radius:10px;cursor:pointer}.admin-color-form .btn{height:44px;white-space:nowrap}.admin-ok{margin-top:.65rem}.user-admin-list{margin-top:.5rem}.bg-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:.5rem}.bg-option{height:64px;border-radius:10px;border:3px solid transparent;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff40}.bg-option.active{border-color:#38bdf8}.theme-swatches{display:flex;flex-wrap:wrap;gap:.45rem}.swatch{width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 2px #0f172a33}.print-only{display:none}@media print{@page{margin:1.4cm;background:#fff}html,body{background:#fff!important;background-image:none!important;color:#000!important;-webkit-print-color-adjust:economy;print-color-adjust:economy}.no-print{display:none!important;visibility:hidden!important}body *{visibility:hidden!important;background:transparent!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important}.print-sheet,.print-sheet *{visibility:visible!important;background:#fff!important;background-image:none!important;box-shadow:none!important;color:#000!important}.print-sheet{display:block!important;position:absolute;top:0;right:0;bottom:0;left:0;padding:0;background:#fff!important;color:#000!important;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;transform:none!important;width:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border-radius:0!important;top:0!important;left:0!important}.print-sheet .meta,.print-sheet .details,.print-sheet .notes,.print-sheet .print-empty,.print-sheet .print-section h2{color:#000!important}.print-sheet .check,.print-sheet .check.sub{background:#fff!important;border-color:#000!important}}.print-sheet h1{font-size:18pt;font-weight:700;margin:0 0 4pt;letter-spacing:-.02em}.print-sheet .meta{font-size:9.5pt;color:#444;margin:0 0 14pt;padding-bottom:8pt;border-bottom:1.5pt solid #000}.print-sheet .print-section{margin:0 0 10pt}.print-sheet .print-section h2{font-size:11pt;font-weight:700;margin:10pt 0 4pt;color:#111}.print-sheet .print-empty{font-size:11pt;color:#555;margin:12pt 0}.print-sheet .item{display:flex;align-items:flex-start;gap:10pt;padding:8pt 0;border-bottom:.75pt solid #999;page-break-inside:avoid}.print-sheet .item:last-child{border-bottom:.75pt solid #999}.print-sheet .check{flex:0 0 14pt;width:14pt;height:14pt;margin-top:1.5pt;border:1.4pt solid #000;border-radius:2pt;box-sizing:border-box;background:#fff}.print-sheet .body{flex:1;min-width:0}.print-sheet .headline{font-size:11pt;font-weight:600;line-height:1.3}.print-sheet .details{margin-top:3pt;font-size:9pt;color:#333;line-height:1.35}.print-sheet .notes{white-space:pre-wrap}.print-sheet .due{font-weight:600}.print-sheet .print-sublist{margin-top:4pt;padding-left:2pt}.print-sheet .print-sub{display:flex;align-items:flex-start;gap:6pt;margin-top:3pt;padding-left:10pt}.print-sheet .check.sub{flex:0 0 10pt;width:10pt;height:10pt;margin-top:1pt;border-width:1pt}.print-sheet .sub-title{font-size:9pt;line-height:1.3;font-weight:400}.print-sheet .print-sub.is-done .sub-title{text-decoration:line-through;color:#666}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes expand{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}.composer{display:flex;gap:.5rem;margin-bottom:.75rem;position:sticky;top:0;z-index:5;padding:.15rem 0 .55rem;background:linear-gradient(180deg,rgba(15,23,42,.35),transparent)}.composer-add .label-short{display:none}body.nav-lock{overflow:hidden}.mobile-bar,.nav-backdrop,.nav-close,.mobile-list-actions{display:none}.sidebar-foot{padding:.75rem;display:grid;gap:.35rem;border-top:1px solid rgba(255,255,255,.12)}.sidebar-brand-text{min-width:0;flex:1}@media(min-width:1367px){.desktop-only-flex{display:inline!important}.settings-grid,.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem;max-width:58rem;align-items:start}.settings-panel,.admin-grid>.panel:first-child{grid-column:1 / -1}}@media(min-width:1367px)and (max-width:1600px){.app-shell{grid-template-columns:240px minmax(0,1fr)}.topbar,.content{padding-inline:1rem}}@media(max-width:1366px){.app-shell{display:block;min-height:100dvh;height:100dvh;overflow:hidden}.nav-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;padding:0;margin:0;background:#0208148c;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:35}.nav-backdrop.show{opacity:1;pointer-events:auto}.sidebar{position:fixed;top:0;left:0;bottom:0;width:min(86vw,340px);max-width:340px;z-index:40;transform:translate(-105%);transition:transform .25s ease;box-shadow:12px 0 40px #00000059;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.sidebar.open{transform:translate(0)}.nav-close{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;margin-left:auto}.sidebar-head{padding:.85rem .75rem}.mobile-bar{display:flex;align-items:center;gap:.55rem;padding:calc(.55rem + env(safe-area-inset-top)) .85rem .55rem;background:#0f172ab8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.12);color:#fff;position:sticky;top:0;z-index:20}.mobile-bar-title{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.15}.mobile-bar-title strong{font-size:1.05rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-bar-title span{font-size:.72rem;opacity:.75}.menu-btn{min-width:44px;min-height:44px;font-size:1.25rem;padding:0}.desktop-only,.desktop-only-flex{display:none!important}.mobile-list-actions{display:flex;flex-wrap:wrap;gap:.45rem;padding:.65rem .85rem 0}.mobile-list-actions .inline-input,.mobile-list-actions .btn{flex:1 1 10rem;min-height:44px}.main{height:100%;min-height:100dvh;display:flex;flex-direction:column;overflow:hidden}.content{padding:.85rem 1rem calc(1.5rem + env(safe-area-inset-bottom));flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.topbar{padding:.75rem .85rem .35rem}.topbar h1{font-size:1.45rem}.topbar-actions{width:100%}.topbar-actions .btn,.topbar-actions .inline-input{min-height:42px}.composer{margin:0 0 .75rem;background:transparent;position:static}.composer .inline-input{min-height:48px;font-size:1rem}.composer .btn.primary{min-width:48px;min-height:48px}.todo-list.tiles{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.settings-grid,.admin-grid{display:flex;flex-direction:column;gap:1rem;max-width:40rem;margin:0 auto;width:100%}.panel{padding:1.15rem 1.2rem;overflow:visible;width:100%;max-width:100%}.panel .field,.panel .field input,.panel .field select,.panel .field textarea,.panel>.btn,.panel>select{max-width:100%}.panel>.btn,.panel>select{width:100%;min-height:44px}.status-edit-row{grid-template-columns:52px minmax(0,1fr) 48px;gap:.65rem}.status-edit-color{width:52px!important;height:52px!important;min-width:52px;max-width:52px}.status-edit-remove{width:48px;min-width:48px;height:48px}.settings-actions .btn{flex:1 1 calc(50% - .35rem)}.admin-color-form{grid-template-columns:minmax(0,1fr) auto}.admin-color-form .btn{grid-column:1 / -1;width:100%}.admin-row{grid-template-columns:auto minmax(0,1fr)}.admin-row-select,.admin-row .btn{grid-column:1 / -1;width:100%;min-height:44px}.user-admin-row{grid-template-columns:minmax(0,1fr) auto;gap:.65rem}.user-admin-row .btn{min-height:44px;white-space:nowrap}.bg-options{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.modal{width:min(560px,100%);max-height:min(88dvh,100%)}.sidebar .btn,.sidebar-foot .btn{min-height:44px;justify-content:flex-start}.nav-item{min-height:44px;padding:.55rem .65rem}.due-banner .nav-item{min-height:44px;color:#fff7ed}.completed-todo .todo-meta .btn{min-height:40px;margin-left:auto;background:#e2e8f0;border:1px solid #cbd5e1;color:var(--ink);font-weight:700}}@media(min-width:700px)and (max-width:1366px){.sidebar{width:min(72vw,360px);max-width:360px}.mobile-bar{padding-inline:1rem}.content{padding-inline:1.1rem}.todo-compact{grid-template-columns:22px minmax(0,1fr) auto;gap:.45rem .55rem;padding:.6rem .75rem;align-items:center}.completed-todo .todo-compact{grid-template-columns:32px 32px minmax(0,1fr) auto}.todo-compact .check-btn,.todo-compact .status-dot{width:22px;height:22px}.completed-todo .todo-compact .check-btn,.completed-todo .todo-compact .status-dot{width:32px;height:32px}.todo-compact .headline,.todo-compact .headline-preview{grid-column:auto;grid-row:auto;font-size:1.02rem;min-height:32px}.todo-meta{grid-column:auto;grid-row:auto;flex-wrap:wrap;justify-content:flex-end;max-width:100%}.todo-meta .drag-handle{min-height:40px;min-width:40px;opacity:1;background:#e2e8f0;border:1px solid #cbd5e1;border-radius:10px;color:var(--ink)}.todo-list.tiles{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.55rem}.composer-add .label-full{display:inline}.composer-add .label-short{display:none}.composer .btn.primary{min-width:auto;padding:0 1.1rem;font-size:.95rem}.modal-backdrop{place-items:center;padding:1.25rem;align-items:center}.modal{width:min(520px,100%);border-radius:18px;margin-top:0}.login-page{align-items:center;padding:2rem}.login-card{width:min(420px,100%)}}@media(max-width:699px){.todo-compact{grid-template-columns:22px minmax(0,1fr) auto;grid-template-rows:auto;gap:.35rem .45rem;padding:.65rem .7rem;min-height:44px;align-items:start}.todo-expand{padding:.55rem .65rem .75rem}.todo-expand .due-input,input[type=date].due-input,.due-field input[type=date]{width:100%;max-width:100%;min-width:0!important;font-size:16px}.completed-todo .todo-compact{grid-template-columns:36px 36px minmax(0,1fr);grid-template-rows:auto auto;align-items:center}.todo-compact .check-btn{width:22px;height:22px}.completed-todo .todo-compact .check-btn,.completed-todo .todo-compact .status-dot{width:36px;height:36px}.todo-compact .headline,.todo-compact .headline-preview{grid-column:auto;grid-row:auto;font-size:1rem;min-height:0}.completed-todo .todo-compact .headline{grid-column:3;grid-row:1;min-height:36px}.todo-meta{grid-column:auto;grid-row:auto}.completed-todo .todo-meta{grid-column:1 / -1;grid-row:2;justify-content:flex-start;flex-wrap:wrap;gap:.4rem;padding-top:.2rem}.shared-badge{font-size:.85rem;padding:.35rem .65rem .35rem .45rem;min-height:36px}.shared-icon{font-size:1.25rem}.todo-meta .drag-handle{margin-left:auto;min-height:40px;min-width:44px;color:var(--ink);background:#e2e8f0;border:1px solid #cbd5e1;border-radius:10px;font-size:1rem;opacity:1}.todo-meta .drag-handle:after{content:" Sortieren";letter-spacing:0;font-size:.72rem;font-weight:700;margin-left:.15rem}.status-picker{left:0;right:auto;max-width:min(280px,70vw)}.status-chip{min-height:36px}.todo-list.tiles{grid-template-columns:1fr 1fr;gap:.45rem}.todo-list.tiles .todo-row.is-expanded{grid-column:1 / -1}.composer-add .label-full{display:none}.composer-add .label-short{display:inline}.composer .btn.primary{padding:0 .85rem;font-size:1.35rem}.settings-grid,.admin-grid{display:flex;flex-direction:column;gap:.85rem}.status-edit-row{grid-template-columns:52px minmax(0,1fr) 48px;grid-template-areas:none}.status-edit-color,.status-edit-label,.status-edit-remove{grid-area:auto}.settings-actions{flex-direction:column}.settings-actions .btn{width:100%;flex:1 1 auto}.topbar-actions .btn{flex:1 1 auto;min-width:calc(50% - .3rem)}.user-admin-row{grid-template-columns:1fr}.user-admin-row .btn{width:100%}.bg-options{grid-template-columns:repeat(3,1fr)}.completed-todo .todo-meta .muted{font-size:.72rem}.login-page{padding:1rem;align-items:flex-start;padding-top:max(1.5rem,env(safe-area-inset-top))}.login-card{padding:1.4rem 1.1rem 1.1rem;width:100%}.login-card .btn,.login-card input{min-height:48px}.modal{width:100%;max-height:min(92dvh,100%);border-radius:16px 16px 0 0;margin-top:auto}.modal-backdrop{align-items:flex-end;place-items:end center;padding:0}.multi-select{min-height:160px}}
