:root{--bg:#fff8ee;--card:#fff;--text:#4a3b32;--sub:#8a7668;--line:#f0e4d6;--accent:#f08a5d;--accent-strong:#c9592b;--accent-soft:#fde8dc;--shadow:0 2px 10px #78503214;--radius:20px;--tabbar:64px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:Zen Maru Gothic,Hiragino Maru Gothic ProN,Hiragino Sans,Noto Sans JP,system-ui,sans-serif;font-weight:500}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#2a2522;--card:#3a332f;--text:#f3e9df;--sub:#bfae9f;--line:#4d443e;--accent:#f5a27e;--accent-strong:#f5a27e;--accent-soft:#54392c;--shadow:0 2px 10px #00000040}.button{color:#2a2522}}*{box-sizing:border-box}body{background:var(--bg);min-height:100dvh;margin:0;line-height:1.6}h1,h2,h3,p,ul{margin:0}ul{padding:0;list-style:none}h2{font-size:1.05rem}h3{color:var(--sub);margin:12px 0 6px;font-size:.85rem}button,input{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}input:not([type=range]){border:2px solid var(--line);background:var(--card);border-radius:14px;width:100%;min-height:48px;padding:10px 14px;font-size:1rem}input[type=range]{accent-color:var(--accent);flex:1;min-height:48px}.emoji{font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif}.page,.screen{max-width:520px;padding:calc(16px + env(safe-area-inset-top)) 16px 24px;flex-direction:column;gap:14px;margin:0 auto;display:flex}.screen{padding-bottom:calc(var(--tabbar) + 32px + env(safe-area-inset-bottom))}.page.center,.page.login{text-align:center;justify-content:center;align-items:center;min-height:100dvh}.page.login .button{max-width:320px}.brand{color:var(--accent);letter-spacing:.04em;text-align:center;font-size:2.2rem}.lead{text-align:center}.screen-title{font-size:1.3rem}.center{text-align:center}.hint{color:var(--sub);font-size:.82rem}.empty{text-align:center;color:var(--sub);padding:40px 8px}.notice{background:var(--accent-soft);border-radius:14px;padding:10px 14px;font-size:.9rem}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:16px;display:flex}.card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.button{background:var(--accent-strong);color:#fff;border:none;border-radius:999px;min-height:48px;padding:10px 20px;font-weight:700}.button.wide{width:100%}.button.secondary{color:var(--text);border:2px solid var(--line);background:0 0}.button.ghost{color:var(--sub);background:0 0;font-weight:500}.button.small{flex-shrink:0;min-height:40px;padding:6px 14px;font-size:.85rem}.button-row{flex-wrap:wrap;gap:8px;display:flex}.button-row .button{flex:1}.link{min-height:44px;color:var(--sub);background:0 0;border:none;align-self:center;padding:10px 4px;font-size:.88rem;text-decoration:underline}.icon-button{width:44px;height:44px;color:var(--sub);background:0 0;border:none;border-radius:50%;font-size:1.1rem}.badge{background:var(--accent-soft);vertical-align:middle;border-radius:999px;margin-left:6px;padding:1px 8px;font-size:.72rem;font-weight:500;display:inline-block}.form{gap:14px}.field{flex-direction:column;gap:6px;display:flex}.field-label{color:var(--sub);font-size:.85rem}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips.scroll{scrollbar-width:none;flex-wrap:nowrap;margin:0 -16px;padding:2px 16px;overflow-x:auto}.chip{border:2px solid var(--line);background:var(--card);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;min-height:44px;padding:6px 14px;font-size:.92rem;display:inline-flex}.chip.on{border-color:var(--accent);background:var(--accent-soft);font-weight:700}.chip-pt{color:var(--sub);font-size:.78rem}.segmented{background:var(--line);border-radius:999px;gap:2px;padding:4px;display:flex}.segmented button{background:0 0;border:none;border-radius:999px;flex:1;min-height:40px;padding:4px 6px;font-size:.88rem;line-height:1.25}.segmented button[aria-pressed=true]{background:var(--card);box-shadow:var(--shadow);font-weight:700}.segmented small{color:var(--sub);font-size:.7rem;font-weight:500;display:block}.colors{flex-wrap:wrap;gap:10px;display:flex}.color{border:3px solid var(--card);width:44px;height:44px;box-shadow:0 0 0 2px var(--line);border-radius:50%}.color.on{box-shadow:0 0 0 3px var(--text)}.color.taken{opacity:.35}.member-dot{color:#fff;text-shadow:0 0 2px #00000059;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.icon-grid{grid-template-columns:repeat(8,1fr);gap:4px;display:grid}.icon-choice{aspect-ratio:1;background:0 0;border:2px solid #0000;border-radius:12px;padding:0;font-size:1.3rem}.icon-choice.on{border-color:var(--accent);background:var(--accent-soft)}.minutes,.manual,.date-range{align-items:center;gap:8px;display:flex}.minutes input[type=number],.manual input{text-align:right;width:84px}.points-box{background:var(--accent-soft);border-radius:16px;padding:12px 16px}.points-value{font-size:2rem;font-weight:700}.header-card{background:var(--card);box-shadow:var(--shadow);border-radius:24px;align-items:center;gap:14px;padding:16px;display:flex}.header-slot{background:var(--accent-soft);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:64px;height:64px;font-size:1.8rem;display:flex}.header-message{font-size:.95rem}.header-total{color:var(--sub);font-size:.9rem}.header-total strong{color:var(--text);margin:0 2px 0 4px;font-size:1.9rem}.tiles{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.tile-wrap{position:relative}.tile{background:var(--card);width:100%;min-height:116px;box-shadow:var(--shadow);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border:none;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:12px 8px;transition:transform 80ms;display:flex}.tile:active{background:var(--accent-soft);transform:scale(.96)}.tile-icon{font-size:2rem;line-height:1.2}.tile-name{font-size:.95rem;font-weight:700;line-height:1.3}.tile-pt{color:var(--accent-strong);font-size:.9rem;font-weight:700}.tile-more{width:44px;height:44px;color:var(--sub);background:0 0;border:none;border-radius:50%;font-size:1.2rem;position:absolute;top:0;right:0}.toast{left:50%;bottom:calc(var(--tabbar) + 16px + env(safe-area-inset-bottom));background:var(--text);width:min(100% - 32px,488px);color:var(--bg);z-index:20;border-radius:999px;justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 18px;animation:.25s ease-out pop;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 6px 20px #00000040}.toast-undo{background:var(--bg);min-height:44px;color:var(--text);border:none;border-radius:999px;flex-shrink:0;padding:6px 16px;font-weight:700}@keyframes pop{0%{opacity:0;transform:translate(-50%)translateY(12px)scale(.9)}}@media (prefers-reduced-motion:reduce){.toast,.sheet{animation:none}.tile{transition:none}}.list{gap:0;padding:4px 12px}.list.plain{padding:0}.list>li+li{border-top:1px solid var(--line)}.row{text-align:left;background:0 0;border:none;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 4px;display:flex}.row-icon{text-align:center;flex-shrink:0;width:32px;font-size:1.5rem}.row-main{flex-direction:column;flex:1;min-width:0;display:flex}.row-title{font-weight:700}.row-sub,.row-note{color:var(--sub);font-size:.8rem}.row-people{vertical-align:middle;align-items:center;gap:4px;display:inline-flex}.row-pt{flex-shrink:0;font-weight:700}.row.deleted .row-title{color:var(--sub)}.day-head{justify-content:space-between;align-items:baseline;padding:0 6px 6px;font-size:.92rem;display:flex}.day-total{color:var(--sub);font-size:.85rem}.day{flex-direction:column;display:flex}.donut-card{align-items:center}.donut{width:220px;height:220px;position:relative}.donut-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.donut-total{font-size:2.3rem;font-weight:700;line-height:1.1}.donut-unit{color:var(--sub);font-size:.82rem}.thanks{text-align:center;font-weight:700}.member-summary h2{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.member-figures{color:var(--sub);margin-left:auto;font-size:.9rem;font-weight:500}.member-figures strong{color:var(--text);font-size:1.15rem}.bars{flex-direction:column;gap:8px;display:flex}.bars li{grid-template-columns:1fr auto;align-items:center;gap:2px 8px;font-size:.88rem;display:grid}.bar-label{grid-column:1/-1}.bar-count{color:var(--sub);margin-left:6px;font-size:.8rem}.bar-track{background:var(--line);border-radius:999px;height:10px;overflow:hidden}.bar-fill{border-radius:999px;min-width:6px;height:100%;display:block}.bar-pt{text-align:right;min-width:48px;font-weight:700}.invite{flex-direction:column;gap:10px;display:flex}.qr{background:#fff;border-radius:16px;align-self:center;padding:8px;line-height:0}details summary{cursor:pointer;min-height:44px;color:var(--sub);align-items:center;gap:6px;font-size:.9rem;display:flex}details summary h2{color:var(--text)}details summary:after{content:"▾";margin-left:auto}details[open] summary:after{content:"▴"}summary::-webkit-details-marker{display:none}.change-list,.change-log ul{flex-direction:column;gap:8px;font-size:.88rem;display:flex}.change-list li{flex-direction:column;display:flex}.change-log{border-top:1px solid var(--line);padding-top:12px}.change-log h3{margin-top:0}.sheet-backdrop{z-index:30;background:#281c1473;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);border-radius:28px 28px 0 0;flex-direction:column;width:100%;max-width:520px;max-height:92dvh;animation:.22s ease-out rise;display:flex}@keyframes rise{0%{opacity:0;transform:translateY(40px)}}.sheet-head{justify-content:space-between;align-items:center;padding:14px 12px 6px 20px;display:flex}.sheet-body{padding:6px 20px calc(20px + env(safe-area-inset-bottom));flex-direction:column;gap:14px;display:flex;overflow-y:auto}.sheet-chore{font-size:1.1rem;font-weight:700}.sheet-chore strong{color:var(--accent-strong);margin-left:6px}.sticky-action{background:linear-gradient(transparent, var(--bg) 30%);padding:10px 0 2px;position:sticky;bottom:0}.card .sticky-action{background:linear-gradient(transparent, var(--card) 30%)}.templates{flex-direction:column;display:flex}.tabbar{background:var(--card);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);z-index:10;justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar button{max-width:130px;height:var(--tabbar);color:var(--sub);background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;display:flex}.tabbar svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.tabbar button.on{color:var(--accent-strong);font-weight:700}.button-row .button{white-space:nowrap;padding-inline:12px}
