:root{--ink:#263b32;--muted:#5c6d63;--paper:#f6f5ee;--line:#dce3da;--green:#315f4b;--accent:#d8e8d7}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:system-ui,-apple-system,Hiragino Kaku Gothic ProN,sans-serif;line-height:1.65}.site{max-width:1200px;margin:auto;padding:0 32px}header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:88px;display:flex}.brand{color:var(--ink);letter-spacing:.08em;font-size:24px;font-weight:800;text-decoration:none}.brand span{color:var(--muted);letter-spacing:.12em;font-size:10px}.tagline,.hint,footer{color:var(--muted);font-size:13px}main{min-height:calc(100vh - 170px);padding:70px 0}footer{border-top:1px solid var(--line);padding:24px 0}.auth-layout{grid-template-columns:1fr 460px;align-items:center;gap:80px;min-height:520px;display:grid}.intro{max-width:550px}.intro h1{letter-spacing:.04em;font-size:clamp(32px,4vw,48px);line-height:1.4}.intro>p:last-child{max-width:410px;color:var(--muted)}h1,h2,p{margin-top:0}h1{margin-bottom:12px;font-size:36px;line-height:1.4}h2{margin-bottom:8px;font-size:22px}.eyebrow{letter-spacing:.16em;color:var(--green);margin-bottom:12px;font-size:12px;font-weight:700}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;padding:32px}.muted{color:var(--muted);font-size:14px}.form{gap:18px;margin-top:24px;display:grid}label{gap:7px;font-size:14px;font-weight:700;display:grid}input,select,textarea{width:100%;font:inherit;color:var(--ink);background:#fff;border:1px solid #b9c8bc;border-radius:7px;min-height:48px;padding:12px}textarea{resize:vertical;overflow-wrap:anywhere}button{background:var(--green);color:#fff;border:1px solid var(--green);min-height:48px;font:inherit;cursor:pointer;border-radius:7px;padding:10px 18px;font-weight:700}button:disabled{opacity:.6}.secondary{color:var(--green);background:#fff}.text-button{color:var(--green);border:1px solid var(--line);background:0 0}:focus-visible{outline-offset:3px;outline:3px solid #dc9b56}.notice{color:#563c1e;background:#f7eedb;border-left:4px solid #b37933;margin:20px 0;padding:14px}.hint{margin:18px 0 0}.page-heading{justify-content:space-between;align-items:start;gap:20px;margin-bottom:36px;display:flex}.columns{grid-template-columns:1fr 1fr;align-items:start;gap:24px;display:grid}.step{background:var(--accent);color:var(--green);text-align:center;border-radius:50%;width:38px;height:38px;margin-bottom:18px;font-size:12px;font-weight:700;line-height:38px;display:inline-block}.members{margin:24px 0;padding:0;list-style:none}.members li{border-top:1px solid var(--line);align-items:center;gap:14px;padding:16px 0;display:flex}.avatar{background:var(--accent);border-radius:50%;place-items:center;width:44px;height:44px;font-weight:700;display:grid}.members small{color:var(--muted);display:block}.count{color:var(--muted);font-size:14px;font-weight:400}.invite form{margin:24px 0}.code-box{background:#f2f7f1;border-radius:8px;padding:16px;font-size:13px}.code-box textarea{font-family:monospace;font-size:14px}.home-note{color:var(--muted);margin:30px 0;font-size:14px}@media (max-width:700px){.site{padding:0 20px}header{height:72px}.tagline{display:none}main{padding:40px 0}.auth-layout,.columns{grid-template-columns:1fr;gap:20px}.auth-layout{min-height:0}.intro h1{font-size:32px}.panel{padding:24px}.page-heading h1{font-size:28px}}.link-button{border:1px solid var(--line);min-height:44px;color:var(--green);background:#fff;border-radius:7px;justify-content:center;align-items:center;padding:8px 14px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.task-layout{grid-template-columns:minmax(0,1fr) minmax(300px,380px);align-items:start;gap:32px;display:grid}.task-list-head{justify-content:space-between;gap:16px;display:flex}.filters{align-items:end;gap:12px;margin:12px 0 28px;display:flex}.filters label{flex:1}.filters select{font-size:14px}.task-category{margin:26px 0}.task-category h3{margin:0 0 10px;font-size:16px}.task-category h3 span{color:var(--muted);font-size:12px;font-weight:400}.task-items{border:1px solid var(--line);background:#fff;border-radius:10px;margin:0;padding:0;list-style:none}.task-item{justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex}.task-item+.task-item{border-top:1px solid var(--line)}.task-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.task-item p{color:var(--muted);margin:6px 0 0;font-size:13px}.status{color:#315f4b;background:#e4f1e4;border-radius:20px;padding:2px 9px;font-size:11px}.status.inactive{color:#555;background:#eee}.task-controls{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.task-controls button{min-height:44px;padding:7px 10px;font-size:13px}.points{white-space:nowrap;margin-right:8px}.points small{font-weight:400}.form-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.empty{margin-top:20px}.empty h3,.task-form .hint{margin:0}#task-form{scroll-margin-top:24px}@media (max-width:800px){.task-layout{grid-template-columns:1fr}.task-item{flex-direction:column;align-items:flex-start}.task-controls{width:100%}.points{margin-right:auto}}@media (max-width:460px){.filters{grid-template-columns:1fr 1fr;display:grid}.filters button{grid-column:1/-1}.task-item{padding:16px}.page-heading{align-items:flex-start}.link-button{white-space:nowrap}}.rule-list{margin-top:20px}.rule-item{padding:20px}.rule-item+.rule-item{border-top:1px solid var(--line)}.rule-item .notice{margin:16px 0;font-size:14px}.rule-controls{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.rule-controls button{min-height:44px;font-size:14px}.rule-item .hint{margin-top:10px}#rule-form{scroll-margin-top:24px}.dashboard-nav{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dashboard-intro{justify-content:space-between;align-items:flex-start;gap:24px;margin:0 0 24px;display:flex}.dashboard-intro h2{margin:0}.dashboard-grid{grid-template-columns:1fr 1fr;gap:24px;display:grid}.person-heading{justify-content:space-between;align-items:center;display:flex}.person-heading h2{margin:0}.dashboard-stats{background:#f3f7f1;border-radius:8px;grid-template-columns:repeat(3,1fr);gap:8px;margin:24px 0;padding:16px;display:grid}.dashboard-stats small,.dashboard-stats strong{display:block}.dashboard-stats small{color:var(--muted);font-size:13px}.dashboard-stats strong{font-size:26px}.dashboard-stats strong span{font-size:13px;font-weight:400}.dashboard-tasks{margin:0;padding:0;list-style:none}.dashboard-task{border-top:1px solid var(--line);align-items:center;gap:14px;padding:18px 0;display:flex}.dashboard-task form{flex:none;display:flex}.dashboard-task input[type=checkbox]{width:30px;height:30px;min-height:30px;accent-color:var(--green);cursor:pointer}.dashboard-task-name{flex:1;min-width:0}.dashboard-task-name strong,.dashboard-task-name small{display:block}.dashboard-task-name small{color:var(--muted);font-size:13px}.dashboard-task.done .dashboard-task-name strong{color:var(--muted);text-decoration:line-through}.dashboard-points{white-space:nowrap;font-weight:700}.dashboard-points small{font-size:12px;font-weight:400}.dashboard-empty{color:var(--muted);padding:24px 0}.skip-icon{text-align:center;width:30px}@media (max-width:700px){.dashboard-grid{grid-template-columns:1fr}.dashboard-intro{flex-direction:column}.dashboard-nav{justify-content:flex-start}.page-heading:has(.dashboard-nav){flex-direction:column}.dashboard-stats strong{font-size:22px}}.assignee-change{color:var(--green);margin-top:8px;font-size:13px}.assignee-change summary{cursor:pointer;font-weight:600}.assignee-form{flex-wrap:wrap;align-items:end;gap:8px;margin-top:8px;display:flex!important}.assignee-form select{min-height:40px;padding:6px 8px;font-size:13px}.assignee-form button{min-height:40px;padding:6px 12px;font-size:13px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tomorrow-section{border-top:1px solid var(--line);margin-top:56px;padding-top:32px}.draft-edit{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.draft-edit select{min-height:40px;padding:6px 8px;font-size:14px}.draft-edit button{min-height:40px;padding:6px 12px;font-size:13px}.draft-edit span[role=alert]{color:#8a3e29;font-size:13px}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--line:#788a7b;--surface:#fff;--surface-soft:#edf3eb;--control-line:#667b6a;--control-hover:#315f4b;--action:#315f4b;--action-hover:#244a39;--on-action:#fff;--surface-hover:#e7f0e6;--focus:#9b5100;--disabled-bg:#e5eae4;--disabled-ink:#485a4d;--notice-bg:#f7eedb;--notice-ink:#563c1e;--notice-line:#9b6425;--inactive-bg:#e6ebe6;--error:#8a3e29}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#edf4ee;--muted:#c3d0c5;--paper:#171f1b;--surface:#25312a;--surface-soft:#304138;--line:#889f8d;--control-line:#9aaf9e;--control-hover:#d1e4d4;--green:#b4dbbf;--accent:#3b5543;--action:#a4cdae;--action-hover:#c1e2c7;--on-action:#16261b;--surface-hover:#3a5041;--focus:#f2be79;--disabled-bg:#3a4840;--disabled-ink:#c0ccc2;--notice-bg:#473a27;--notice-ink:#f5dfbd;--notice-line:#e5b06e;--inactive-bg:#46534a;--error:#ffb9a6}}.panel,.task-items,dialog,[role=dialog]{background:var(--surface);border:1px solid var(--line);color:var(--ink)}input:not([type=checkbox]):not([type=radio]),select,textarea{background:var(--surface);border-color:var(--control-line);color:var(--ink)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input:not(:disabled):hover,select:not(:disabled):hover,textarea:not(:disabled):hover{border-color:var(--control-hover)}button{background:var(--action);border-color:var(--action);color:var(--on-action)}button:hover:not(:disabled){background:var(--action-hover);border-color:var(--action-hover)}.secondary,.text-button,.link-button{background:var(--surface);border-color:var(--control-line);color:var(--green)}.secondary:hover:not(:disabled),.text-button:hover:not(:disabled),.link-button:hover{background:var(--surface-hover);border-color:var(--control-hover)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button:disabled,input:disabled,select:disabled,textarea:disabled,[aria-disabled=true]{opacity:1;background:var(--disabled-bg);border-color:var(--control-line);color:var(--disabled-ink);cursor:not-allowed;border-style:dashed}[aria-current=page],[role=tab][aria-selected=true],button[aria-pressed=true]{text-underline-offset:.2em;border-width:2px;text-decoration:underline}.notice{background:var(--notice-bg);border-color:var(--notice-line);color:var(--notice-ink)}.code-box,.dashboard-stats{background:var(--surface-soft)}.status{background:var(--surface-soft);color:var(--green)}.status.inactive{background:var(--inactive-bg);color:var(--ink);border:1px dashed var(--control-line)}.dashboard-task input[type=checkbox]{accent-color:var(--action)}.draft-edit span[role=alert]{color:var(--error)}.template-tabs{gap:8px;padding:4px 0 12px;display:flex;overflow-x:auto}.template-tabs button{white-space:nowrap}.template-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:12px 0;display:grid}.template-card{text-align:left;gap:8px;min-height:110px;padding:16px;display:grid}.template-card-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.template-card-head span{white-space:nowrap;font-size:12px}.template-card small{font-weight:400}.template-submit{background:var(--paper);border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex;position:sticky;bottom:0}.template-submit button{flex-shrink:0}@media (max-width:460px){.template-submit button{padding:10px;font-size:14px}}.draft-instructions{margin:0 0 16px}.draft-feedback{justify-content:space-between;align-items:center;gap:12px;display:flex}.draft-feedback button{flex:none;min-height:40px}.draft-movable{touch-action:pan-y;animation:.2s ease-out draft-arrive}.draft-movable[draggable=true]{cursor:grab}.draft-movable:active{cursor:grabbing}.draft-transfer{min-height:44px;margin-top:10px;font-size:13px}.draft-drop-target{outline:2px dashed var(--action);outline-offset:-4px}@keyframes draft-arrive{0%{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.draft-movable{animation:none}}.share-form{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.share-form h3{font-size:16px}.share-form input[type=range]{accent-color:var(--green);margin:8px 0 12px;padding:0}.share-form button{display:block}.template-availability{margin:8px 0 0;font-weight:700}.template-status-help{margin:4px 0 12px}
