:root{--paper: #fbf1ec;--card: #ffffff;--ink: #2b2440;--ink-2: #4b4366;--muted: #6e6585;--line: #efe9f4;--accent: #5a3fb0;--accent-tint: #efe7ff;--good: #1e6b47;--bad: #9a2a12;--radius: 26px;--display: Fredoka, ui-rounded, system-ui, sans-serif;--body: Nunito, ui-rounded, system-ui, sans-serif}*{box-sizing:border-box}html,body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);-webkit-text-size-adjust:100%}body{min-height:100dvh}h1,h2,h3{font-family:var(--display);font-weight:600;margin:0}h1{font-size:28px;line-height:1.15}h2{font-size:18px;display:flex;align-items:center;gap:8px}h3{font-size:17px}p{margin:0}a{color:var(--accent)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}input,select,textarea{border:2px solid #e3dcec;border-radius:14px;background:#fff;padding:10px 12px;min-height:44px}textarea{resize:vertical}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--muted)}.small{font-size:13px}.strong{font-weight:800}.good{color:var(--good)}.bad{color:var(--bad)}.grow{flex:1;min-width:0}.grow2{flex:2}.row{display:flex;gap:10px}.row.center{align-items:center}.row.between{justify-content:space-between;align-items:baseline}.row.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:10px}.stack-tight{display:flex;flex-direction:column;gap:4px}.stack.wide{width:100%;max-width:360px}.center-text{text-align:center}.pad{padding:12px 0}.undone{opacity:.5}.undone .strong{text-decoration:line-through}.app{max-width:520px;margin:0 auto;min-height:100dvh;padding-bottom:calc(86px + env(safe-area-inset-bottom))}.page{padding:calc(14px + env(safe-area-inset-top)) 16px 24px;display:flex;flex-direction:column;gap:14px}.page.flush{padding:0;gap:0}.page-body{padding:18px 20px;display:flex;flex-direction:column;gap:20px}.page-body section{display:flex;flex-direction:column;gap:10px}.page-head{padding:8px 4px 0;display:flex;flex-direction:column;gap:4px}.page-head h1{font-size:30px}.splash,.center-page{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center}.splash{font-family:var(--display);font-weight:600;font-size:44px}.center-page h1{max-width:320px}.center-page .muted{max-width:340px;line-height:1.45}.center-page form{text-align:left}.logo{font-family:var(--display);font-weight:600;font-size:30px;letter-spacing:-.5px}.logo.xl{font-size:56px}.topbar{display:flex;align-items:center;justify-content:space-between;padding:6px 4px}.brand{display:flex;align-items:baseline;gap:8px}.hello{padding:4px 4px 2px;display:flex;flex-direction:column;gap:6px}.hello p{color:var(--ink-2);font-size:15px;line-height:1.4}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;flex:none;font-family:var(--display);font-weight:600;color:var(--ink)}.cards{display:flex;flex-direction:column;gap:14px}.task-card{border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;gap:14px;color:var(--ink);text-decoration:none}.task-head{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.task-icon{width:48px;height:48px;border-radius:999px;background:#fff;display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--ink)}.task-icon.small{width:34px;height:34px}.task-icon.large{width:60px;height:60px}.task-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.task-name{font-family:var(--display);font-weight:600;font-size:20px}.task-sub{font-size:14px;font-weight:700}.big-done{height:54px}.pill{font-size:12px;font-weight:800;padding:6px 10px;border-radius:999px;white-space:nowrap;flex:none}.pill-rest{background:#ffffffb3;color:var(--ink-2)}.pill-due{background:#fff;color:#7a5300}.pill-late{background:#ffd9cf;color:var(--bad)}.pill-penalty{background:var(--ink);color:#fff}.pill-soft{background:#fff9;color:var(--ink)}.wbar{position:relative;display:flex;height:10px;border-radius:5px;overflow:visible}.wbar>div:first-child{border-radius:5px 0 0 5px}.wbar>div:nth-child(4){border-radius:0 5px 5px 0}.wbar-now{position:absolute;top:-4px;width:4px;height:18px;border-radius:2px;background:var(--ink)}.open-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.open-card{border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;color:var(--ink);text-decoration:none}.tab-peek{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:18px;background:#fff;text-decoration:none;color:var(--ink);font-size:14px;font-weight:700}.tab-peek .count{width:28px;height:28px;border-radius:14px;background:var(--accent-tint);color:var(--accent);display:flex;align-items:center;justify-content:center;font-family:var(--display)}.tab-peek .link{color:var(--accent)}.empty{text-align:center;padding:30px 0;display:flex;flex-direction:column;gap:12px;align-items:center}.btn{min-height:48px;padding:0 18px;border-radius:18px;border:0;background:var(--ink);color:#fff;font-weight:800;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.btn:disabled{opacity:.5;cursor:default}.btn.ghost{background:transparent;color:var(--ink);border:2px solid var(--ink)}.btn.small{min-height:44px;font-size:14px;padding:0 14px;border-radius:14px}.btn.xl{min-height:58px;font-family:var(--display);font-weight:600;font-size:19px;border-radius:20px}.link-btn{background:none;border:0;color:var(--accent);font-weight:800;min-height:44px;padding:0 6px}.task-hero{padding:calc(10px + env(safe-area-inset-top)) 20px 22px;border-radius:0 0 30px 30px;display:flex;flex-direction:column;gap:16px}.task-hero h1{font-size:30px}.back{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:var(--ink);font-weight:800;text-decoration:none;align-self:flex-start}.window-box{background:#ffffff8c;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px}.window-dates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;font-size:11px;font-weight:800}.window-dates .right{text-align:right}.order{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.order-item{display:inline-flex;align-items:center;gap:6px}.chip{display:inline-flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:999px;background:#fff;font-weight:700;font-size:14px}.chip-dark{background:var(--ink);color:#fff}.checklist{display:flex;flex-direction:column;gap:8px}.checklist label{display:flex;align-items:center;gap:12px;min-height:46px;padding:6px 12px;border-radius:14px;background:#f4f1f8;font-size:15px;font-weight:700}.checklist input{width:22px;height:22px;min-height:0;accent-color:var(--ink);flex:none}.list{display:flex;flex-direction:column;background:#fff;border-radius:18px;padding:2px 14px}.list-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.list-row:last-child{border-bottom:0}.card-row{background:#fff;border-radius:14px;padding:10px 14px;text-decoration:none;color:var(--ink);border:0}.task-actions{position:sticky;bottom:calc(76px + env(safe-area-inset-bottom));display:flex;gap:10px;padding:12px 20px;background:linear-gradient(transparent,var(--paper) 30%)}.task-actions .btn{flex:1;min-height:52px}.owner-link{display:flex;justify-content:center;padding:0 20px 10px}.panel{background:#fff;border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:12px}.balance{font-family:var(--display);font-weight:600;font-size:22px;min-width:44px;text-align:right}.balance.neg{color:var(--bad)}.balance.pos{color:var(--good)}.scroll-x{overflow-x:auto}table.score{width:100%;border-collapse:collapse;font-size:13px}table.score th,table.score td{padding:8px 6px;text-align:center;font-weight:700}table.score thead th{color:var(--muted);font-weight:800}table.score tbody th{text-align:left;font-weight:800}table.score tbody tr{border-top:1px solid var(--line)}.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:800}.field.inline{flex-direction:row;align-items:center;gap:10px}.field.inline select{flex:1}.inline-input{min-width:0}.name-input{min-width:110px}.task-line{flex-wrap:nowrap}.code-input{font-family:var(--display);font-size:24px;letter-spacing:.15em;text-align:center;text-transform:uppercase}.toggles{display:flex;flex-direction:column;gap:2px}.toggle{display:flex;align-items:center;gap:10px;min-height:40px;font-size:14px;font-weight:700}.toggle input{width:20px;height:20px;min-height:0;accent-color:var(--ink)}.pair-code{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px;border-radius:16px;background:var(--accent-tint)}.pair-code .code{font-family:var(--display);font-size:32px;letter-spacing:.12em}.invite{display:flex;flex-direction:column;gap:10px;align-items:center;padding:14px;border-radius:18px;background:#f7f3fc}.invite .row{width:100%}.qr{background:#fff;border-radius:12px}.qr svg{width:100%;height:100%;display:block}.qr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.qr-grid figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:6px}.task-line{width:100%;text-align:left;background:#f7f3fc;border:0;border-radius:16px;padding:10px 12px;min-height:52px;flex-wrap:wrap}.editor{border-top:2px solid var(--line);padding-top:14px;display:flex;flex-direction:column;gap:12px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.grid4 input{width:100%;padding:8px}@media(max-width:380px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}.scan{min-height:100dvh;display:flex;flex-direction:column;padding-top:calc(14px + env(safe-area-inset-top))}.scan .topbar{padding:6px 20px}.scan-hero{padding:28px 24px 22px;display:flex;flex-direction:column;gap:8px}.scan-hero h1{font-size:40px;line-height:1.05}.scan-sheet{flex:1;background:#fff;border-radius:30px 30px 0 0;padding:22px 20px 26px;display:flex;flex-direction:column;gap:14px}.scan-sheet .checklist label{background:#f4f1f8}.sheet-backdrop{position:fixed;inset:0;background:#2b244073;display:flex;align-items:flex-end;justify-content:center;z-index:20}.sheet{width:100%;max-width:520px;max-height:92dvh;overflow-y:auto;background:#fff;border-radius:30px 30px 0 0;padding:12px 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}.sheet-grip{align-self:center;width:44px;height:5px;border-radius:3px;background:#d9d2e3}.sheet-title{font-size:24px}.sheet .row .btn{flex:1}.choice{display:flex;flex-direction:column;gap:3px;text-align:left;padding:14px;border-radius:18px;background:#f4f1f8;border:2px solid transparent}.choice:hover{border-color:var(--ink)}.choice strong{font-size:16px}.choice span{font-size:13px;color:var(--ink-2);line-height:1.4}.choices{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.choices label{display:flex;gap:12px;padding:14px;border-radius:18px;background:#f4f1f8;border:2px solid transparent}.choices label.sel{border-color:var(--ink);background:#fff1ec}.choices input{width:22px;height:22px;min-height:0;margin:2px 0 0;accent-color:var(--ink);flex:none}.choices label>span{display:flex;flex-direction:column;gap:3px}.choices strong{font-size:16px}.choices label>span>span{font-size:13px;line-height:1.4;color:var(--ink-2)}.choices select{min-height:32px;padding:2px 6px}.bottom-nav{position:fixed;left:50%;transform:translate(-50%);bottom:0;width:100%;max-width:520px;z-index:10;display:flex;justify-content:space-around;padding:8px 8px calc(10px + env(safe-area-inset-bottom));background:#fff;border-radius:26px 26px 0 0;box-shadow:0 -6px 24px #2b24400f}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:64px;min-height:48px;padding:4px;text-decoration:none;color:var(--muted);font-size:12px;font-weight:700}.bottom-nav a.active{color:var(--accent);font-weight:800}.scan~.bottom-nav{display:none}.toasts{position:fixed;left:0;right:0;bottom:calc(90px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:8px;z-index:30;pointer-events:none;padding:0 16px}.toast{pointer-events:auto;max-width:480px;width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:16px;background:var(--ink);color:#fff;font-size:14px;font-weight:700;box-shadow:0 8px 24px #2b244040}.toast span{flex:1}.toast button{background:#fff;color:var(--ink);border:0;border-radius:10px;min-height:36px;padding:0 12px;font-weight:800}
