:root{--bg:#0f172a;--panel:#1e293b;--card:#273449;--card-done:#1a2a22;--text:#f1f5f9;--muted:#94a3b8;--ring-track:#334155;--accent:#38bdf8;--danger:#f87171;--radius:18px;--tap:72px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(16px,1.4vw,22px)}*{box-sizing:border-box}html,body,#root{background:var(--bg);overscroll-behavior:none;height:100%;margin:0}body{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit;color:inherit;touch-action:manipulation}button{cursor:pointer;background:0 0;border:none}.app{flex-direction:column;gap:16px;height:100%;padding:16px;transition:filter 2s;display:flex}.app.night{filter:brightness(.45)}.topbar{justify-content:space-between;align-items:center;display:flex}.clock{align-items:baseline;gap:16px;display:flex}.time{font-variant-numeric:tabular-nums;font-size:2.6rem;font-weight:700}.date{color:var(--muted);font-size:1.2rem}.icon-btn{min-width:var(--tap);min-height:var(--tap);background:var(--panel);border-radius:50%;font-size:1.8rem}.board{flex:1;grid-auto-columns:minmax(260px,1fr);grid-auto-flow:column;gap:16px;min-height:0;display:grid;overflow-x:auto}.column{background:var(--panel);border-radius:var(--radius);flex-direction:column;gap:14px;min-height:0;padding:16px;display:flex}.column-head{align-items:center;gap:14px;display:flex}.ring{border-radius:50%;flex-shrink:0;place-items:center;width:64px;height:64px;transition:background .4s;display:grid}.avatar{background:var(--panel);border-radius:50%;place-items:center;width:52px;height:52px;font-size:1.9rem;display:grid}.column-name{flex-direction:column;display:flex}.column-name strong{font-size:1.4rem}.column-name small{color:var(--muted)}.chore-list{flex-direction:column;gap:10px;display:flex;overflow-y:auto}.empty{color:var(--muted);text-align:center}.chore{min-height:var(--tap);background:var(--card);text-align:left;border:3px solid #0000;border-radius:14px;align-items:center;gap:14px;padding:12px 14px;transition:transform .1s,background .3s;display:flex}.chore:active{transform:scale(.97)}.chore.done{background:var(--card-done)}.chore.done .chore-title{color:var(--muted);text-decoration:line-through}.chore-icon{font-size:2rem}.chore-body{flex-direction:column;flex:1;display:flex}.chore-title{font-size:1.15rem;font-weight:600}.chore-meta{color:var(--muted);font-size:.85rem}.chore-status{border:3px solid var(--ring-track);border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;font-size:1.4rem;display:grid}.chore.done .chore-status{border-color:#0000}.backdrop{z-index:10;background:#0009;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--panel);border-radius:var(--radius);width:min(720px,100%);max-height:90vh;padding:24px;overflow-y:auto}.modal-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.modal-head h2{margin:0;font-size:1.5rem}.modal-head .icon-btn{background:var(--card);min-width:56px;min-height:56px;font-size:1.3rem}.dialog-text{font-size:1.2rem}.dialog-actions{justify-content:flex-end;gap:12px;display:flex}.picker{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.pick{background:var(--card);border:3px solid #0000;border-radius:16px;flex-direction:column;align-items:center;gap:8px;padding:18px 8px;font-size:1.2rem;font-weight:600;display:flex}.pick:not(.assigned){border-color:#0000!important}.pick-emoji{border-radius:50%;place-items:center;width:72px;height:72px;font-size:2.4rem;display:grid}.btn{background:var(--card);border-radius:14px;min-height:60px;padding:0 28px;font-weight:600}.btn.primary{background:var(--accent);color:#0b1220}.btn.danger{background:var(--danger);color:#1b0b0b}.btn.small{min-height:48px;padding:0 16px;font-size:.9rem}.tabs{gap:8px;margin-bottom:16px;display:flex}.tabs button{background:var(--card);border-radius:12px;flex:1;min-height:56px;font-weight:600}.tabs button.active{background:var(--accent);color:#0b1220}.manage-list{flex-direction:column;gap:8px;margin:0 0 16px;padding:0;list-style:none;display:flex}.manage-list li{background:var(--card);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}.manage-list small{color:var(--muted)}.manage-form{flex-wrap:wrap;gap:10px;display:flex}.manage-form input,.manage-form select{border:2px solid var(--ring-track);background:var(--bg);-webkit-user-select:text;user-select:text;border-radius:12px;min-height:56px;padding:0 12px}.manage-form input:not(.emoji-input):not([type=number]){flex:200px}.manage-form input[type=number]{width:90px}.emoji-input{text-align:center;width:72px;font-size:1.5rem}.swatches{align-items:center;gap:8px;display:flex}.swatch{border:3px solid #0000;border-radius:50%;width:44px;height:44px}.swatch.selected{border-color:var(--text)}.dot{vertical-align:middle;border-radius:50%;width:14px;height:14px;display:inline-block}.hint{color:var(--muted);margin:16px 0 0;font-size:.9rem}.error{color:#fecaca;background:#451a1a;border-radius:12px;padding:14px 18px}.loading{text-align:center;color:var(--muted);font-size:1.4rem}@media (orientation:portrait) and (width<=900px){.board{flex-direction:column;display:flex;overflow-y:auto}.column{flex-shrink:0}.chore-list{overflow:visible}.time{white-space:nowrap;font-size:2rem}.date{font-size:1rem}}
