:root{--bg:#f6f6f4;--surface:#fff;--text:#1d1d1b;--muted:#6b6b66;--border:#d9d9d4;--accent:#2f5bd3;--accent-text:#fff;--error:#b3261e;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.45}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#161615;--surface:#222220;--text:#ecece8;--muted:#a0a09a;--border:#3a3a37;--accent:#7c9cf5;--accent-text:#10131c;--error:#f2b8b5}}*{box-sizing:border-box}[hidden]{display:none!important}body{background:var(--bg);color:var(--text);margin:0}h1{margin:0 0 .75rem;font-size:1.5rem}h2{margin:2rem 0 .75rem;font-size:1.15rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;max-width:24rem;margin:12vh auto 2rem;padding:1.5rem}.page{max-width:40rem;margin:0 auto;padding:1.5rem 1rem}@media (width<=30rem){.card{margin:1rem}}label{margin-bottom:.75rem;display:block}input{width:100%;font:inherit;color:inherit;background:var(--bg);border:1px solid var(--border);border-radius:8px;margin-top:.25rem;padding:.55rem .7rem;display:block}button{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:8px;padding:.55rem 1rem}button.primary{color:var(--accent-text);background:var(--accent);border-color:var(--accent)}button:disabled{opacity:.55;cursor:default}button.wide{width:100%}.row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.row>input{flex:10rem;width:auto;margin:0}.spread{justify-content:space-between}.spread h1{margin:0}.muted{color:var(--muted)}.small{font-size:.875rem}.error{color:var(--error)}.divider{text-align:center;color:var(--muted);margin:.9rem 0;font-size:.875rem}.list{margin:0 0 1rem;padding:0;list-style:none}.list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 0;display:flex}.facts{grid-template-columns:auto 1fr;gap:.25rem .75rem;margin:1rem 0;display:grid}.facts dt{color:var(--muted)}.facts dd{overflow-wrap:anywhere;margin:0}:root{--chip:#ececea;--badge:#efeff2;--badge-text:#8b8ba0;--star-red:#e5484d;--star-yellow:#f5b62a;--low:#a3a3b5}@media (prefers-color-scheme:dark){:root{--chip:#2e2e2b;--badge:#2e2e33;--badge-text:#a6a6b8;--low:#8a8a9c}}.topbar{background:var(--surface);border-bottom:1px solid var(--border);align-items:center;gap:1.25rem;padding:.75rem 1rem;display:flex}.topbar .brand{margin-right:.5rem;font-weight:600}.topbar a{color:var(--muted);border-bottom:2px solid #0000;padding:.25rem 0;text-decoration:none}.topbar a[aria-current=page]{color:var(--text);border-bottom-color:var(--accent)}button.link{color:var(--accent);background:0 0;border:none;padding:.25rem .4rem}button.danger{color:var(--error)}label.check{align-items:center;gap:.5rem;margin:0;display:flex}label.check input{width:auto;margin:0}.hint{color:var(--muted);margin:.35rem 0 0;font-size:.8125rem;display:block}.chip{background:var(--chip);white-space:nowrap;border-radius:999px;padding:.1rem .5rem;font-size:.8125rem;font-weight:600;display:inline-block}.badge{background:var(--badge);color:var(--badge-text);white-space:nowrap;border-radius:999px;padding:.2rem .6rem;font-size:.8125rem;font-weight:600}.prio{font-size:.95em}.prio-1{color:var(--star-red)}.prio-2{color:var(--star-yellow)}.prio-4{background:var(--low);color:#fff;vertical-align:.05em;border-radius:50%;place-items:center;width:1.15rem;height:1.15rem;font-size:.8rem;font-weight:700;line-height:1;display:inline-grid}.structure{padding:1rem 0 2rem}.structure .toolbar{padding:0 1rem .75rem}.structure .toolbar h1{margin:0}.structure>.error{padding:0 1rem}.columns{align-items:flex-start;gap:1.25rem;padding:0 1rem 1rem;scroll-padding:1rem;display:flex;overflow-x:auto}.column{flex:0 0 22rem;max-width:calc(100vw - 2rem)}.column-head{align-items:center;gap:.5rem;min-height:2.25rem;margin-bottom:.5rem;display:flex}.column-head h2{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1rem;font-weight:600;overflow:hidden}.column-icon{margin-right:.4rem}.column-head .back{padding:0 .6rem;font-size:1.4rem;line-height:1.6rem;display:none}.items,.tasks{gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.tasks{margin-top:.6rem}.items li.dragging{z-index:1;opacity:.85;position:relative}.card-item{background:var(--surface);border:1px solid var(--border);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;border-radius:10px;grid-template-columns:auto 1fr auto auto;align-items:center;gap:.75rem;min-height:4.25rem;padding:.6rem .5rem .6rem 1rem;display:grid}.card-item.folder{border-left:7px solid var(--item-color)}.card-item:hover{border-color:color-mix(in srgb, var(--item-color) 60%, var(--border))}.card-item.folder:hover{border-left-color:var(--item-color)}.card-item:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.card-item.selected{background:var(--item-color);border-color:var(--item-color);color:var(--item-text)}.card-item.selected .badge{background:color-mix(in srgb, var(--item-text) 18%, transparent);color:var(--item-text)}.card-item.selected .chip{background:color-mix(in srgb, var(--item-text) 18%, transparent)}.card-item.archived{opacity:.55}.item-icon{text-align:center;width:2rem;font-size:1.6rem;line-height:1}.item-main{gap:.3rem;min-width:0;display:grid}.item-name{overflow-wrap:anywhere;font-size:1.05rem}.item-chips{flex-wrap:wrap;gap:.35rem;display:flex}.item-menu{color:inherit;opacity:.45;background:0 0;border:none;padding:.2rem .5rem;font-size:1.2rem;line-height:1}.item-menu:hover,.item-menu:focus-visible{opacity:1}.task-row{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:.6rem;padding:.75rem .75rem .75rem 1rem;display:flex}.task-check{border:2px solid var(--border);border-radius:50%;flex:none;width:1.15rem;height:1.15rem}.task-title{overflow-wrap:anywhere;flex:1;min-width:0}.column .empty{margin:.25rem 0 0}.column-actions{gap:.5rem;margin-top:.75rem;display:flex}.column-actions .add{color:var(--muted);background:0 0;border-style:dashed;flex:1}.column-actions .add:hover{color:var(--text);border-color:var(--muted)}@media (width<=47.99rem){.columns{display:block;overflow:visible}.column{max-width:none;display:none}.column:last-child,.column-head .back{display:block}.column-head h2{color:var(--text);font-size:1.1rem}}dialog.editor{width:min(32rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.25rem 1.25rem 1rem}dialog.editor::backdrop{background:#00000059}dialog.editor h2{margin:0 0 1rem}dialog.editor fieldset{border:none;margin:0 0 .9rem;padding:0}dialog.editor legend{margin-bottom:.35rem;padding:0}dialog.editor select{width:100%;font:inherit;color:inherit;background:var(--bg);border:1px solid var(--border);border-radius:8px;margin-top:.25rem;padding:.55rem .7rem;display:block}dialog.editor .actions{margin-top:1.25rem}.row>input.icon-input{text-align:center;flex:0 0 4.5rem;width:4.5rem;min-width:0;font-size:1.4rem}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(2.25rem,1fr));gap:.2rem;margin-top:.5rem;display:grid}.emoji-grid button{background:0 0;border:1px solid #0000;padding:.25rem 0;font-size:1.25rem}.emoji-grid button.on,.emoji-grid button:hover{border-color:var(--border);background:var(--bg)}.swatches{flex-wrap:wrap;gap:.45rem;display:flex}.swatch{border:2px solid #0000;border-radius:50%;width:2rem;height:2rem;padding:0}.swatch.on{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--text)}.swatch.inherit{background-image:linear-gradient(135deg, transparent 46%, var(--surface) 46%, var(--surface) 54%, transparent 54%)!important}.segmented{flex-wrap:wrap;gap:.4rem;display:flex}.segmented button{padding:.4rem .75rem;font-size:.9375rem}.segmented button.on{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}h3{margin:1.25rem 0 .5rem;font-size:1rem}.hours>p:first-of-type{margin-top:-.25rem}.week{margin:0 0 .75rem;padding:0;list-style:none}.week li{border-bottom:1px solid var(--border);grid-template-columns:9.5rem auto 1fr;align-items:center;gap:.75rem;min-height:3rem;display:grid}.week li.off .day-name{color:var(--muted)}.day-total{text-align:right;font-size:.875rem}.time-range{align-items:center;gap:.35rem;display:inline-flex}.time-range input{width:auto;margin:0;padding:.4rem .5rem}.special-days li strong{font-weight:600}.special-days .value{white-space:nowrap}.special-form{border:1px solid var(--border);border-radius:10px;gap:.75rem;margin:.75rem 0 0;padding:.9rem 1rem 1rem;display:grid}.special-form legend{padding:0 .35rem}.special-form .hint{margin:-.4rem 0 0}label.inline{align-items:center;gap:.5rem;margin:0;display:flex}label.inline input{width:auto;margin:0;padding:.4rem .5rem}@media (width<=30rem){.week li{grid-template-columns:1fr auto;gap:.4rem .75rem;padding:.55rem 0}.week .day-total{grid-area:1/2}.week .time-range{grid-area:2/1/auto/-1;padding-left:1.6rem}}
