:root{--ink:#1b3555;--muted:#637185;--paper:#f3f6fa;--line:#dce3ec;--mango:#f5b642;--lychee:#ae4866;--olive:#37685a;font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #508aca;outline-offset:4px}[hidden]{display:none!important}header{height:104px;max-width:1200px;margin:auto;padding:0 48px;display:flex;align-items:center;gap:30px}.brand{font-family:Georgia,serif;font-size:30px;letter-spacing:-1.3px;font-weight:bold;display:inline-flex;align-items:baseline}.brand span{font-weight:normal}.brand i{width:8px;height:8px;border-radius:50%;background:var(--mango);margin-left:3px}.companions{display:flex;gap:20px;margin-left:auto;font-size:14px}.companions span{display:flex;align-items:center;gap:7px}.companions b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;font-family:Georgia,serif;color:white}.lychee{background:var(--lychee)}.olive{background:var(--olive)}main{max-width:1200px;min-height:calc(100vh - 190px);padding:24px 48px 56px;margin:auto}h1,h2,p{margin-top:0}h1{font-size:clamp(32px,4vw,48px);font-weight:600;letter-spacing:-1.5px;line-height:1.3;margin-bottom:16px}h2{font-size:24px;font-weight:600}.eyebrow{font-size:14px;letter-spacing:1.2px;color:var(--muted);display:block;margin-bottom:18px}.heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0 36px}.primary,.quiet{border:0;border-radius:10px;min-height:44px;padding:11px 19px;white-space:nowrap}.primary{background:var(--ink);color:white;box-shadow:0 3px 0 #11243b}.primary:hover{background:#2c4f78}.quiet{background:transparent;color:var(--ink)}.quiet:hover{background:#e3eaf3}.danger{color:#b33d4c}.mobile-break{display:none}.shelf-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:30px}.shelf-toolbar nav{display:flex;gap:28px}.shelf-toolbar button{background:none;border:0;border-bottom:3px solid transparent;padding:15px 2px;color:var(--muted);min-height:48px}.shelf-toolbar button[aria-current]{border-color:var(--ink);color:var(--ink);font-weight:600}.muted{color:var(--muted);font-size:14px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{position:relative;display:flex;flex-direction:column;min-height:242px;background:white;border:1px solid var(--line);border-radius:4px 18px 18px 4px;padding:25px 24px 20px 30px;box-shadow:0 5px 16px #17325505;transition:transform .15s,box-shadow .15s;overflow:hidden}.card:before{content:"";position:absolute;top:0;bottom:0;left:0;width:6px;background:var(--mango)}.card[data-author=lychee]:before{background:var(--lychee)}.card[data-author=olive]:before{background:var(--olive)}.card:hover{transform:translateY(-3px);box-shadow:0 10px 22px #1732550b}.card-top{font-size:13px;color:var(--muted);display:flex;justify-content:space-between;margin-bottom:18px}.card h2{font-size:23px;line-height:1.4;margin-bottom:15px;overflow-wrap:anywhere}.preview{margin:0 0 20px;padding:0;list-style:none;font-size:14px;color:var(--muted);line-height:1.9}.preview li{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview li:before{content:"□";margin-right:9px;color:#98a7b8}.card-bottom{display:flex;justify-content:space-between;margin-top:auto;font-size:13px;color:var(--muted)}.shelf-foot{color:var(--muted);font-size:14px;margin:36px 0 0}.empty{text-align:center;padding:48px 12px 54px}.empty-mark{width:66px;height:76px;display:grid;place-items:center;background:white;border-left:5px solid var(--mango);border-radius:3px 12px 12px 3px;margin:0 auto 23px;font-size:30px;color:var(--muted);transform:rotate(-7deg)}.empty h2{font-size:24px}.empty p{line-height:1.9;color:var(--muted);font-size:16px}.back{display:inline-block;font-size:14px;padding:14px 0;margin-bottom:24px}.detail-heading{display:flex;justify-content:space-between;gap:24px;align-items:start}.detail-heading h1{font-size:36px;overflow-wrap:anywhere}.detail-heading .eyebrow{margin-bottom:10px}.page-actions{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}.page-actions button{font-size:14px;padding:10px 12px}.progress-label{display:flex;justify-content:space-between;font-size:14px;margin:26px 0 12px}#save-state{color:var(--muted)}progress{height:5px;width:100%;appearance:none;border:0;border-radius:8px;background:var(--line);display:block;margin-bottom:14px}progress::-webkit-progress-bar{background:var(--line);border-radius:8px}progress::-webkit-progress-value{background:var(--olive);border-radius:8px}#items{background:white;border:1px solid var(--line);border-radius:10px}#items:empty{display:none}.item{padding:0 8px;display:flex;align-items:center;gap:8px;min-height:45px;border-bottom:1px solid #e9eef4}.item:last-child{border-bottom:0}.item:first-child{border-radius:10px 10px 0 0}.item:last-child{border-radius:0 0 10px 10px}.item:only-child{border-radius:10px}.item:hover,.item:focus-within{background:#f8fafd}.item label{display:flex;align-items:center;gap:10px;min-height:44px;flex:1;min-width:0;cursor:pointer;overflow-wrap:anywhere;font-size:15px;line-height:1.55;padding:6px 0}.item input{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--olive)}.item.done label span{color:var(--muted);text-decoration:line-through}.item button{font-size:20px;padding:0;min-width:36px;min-height:36px;border-radius:6px;color:var(--muted);flex-shrink:0}.item button:focus-visible{outline-offset:0}.item .drag-handle{touch-action:none;cursor:grab;min-width:28px;min-height:44px;font-size:22px;color:#8999ac}.item.dragging{box-shadow:0 3px 14px #17325520;background:#eef5fd;position:relative;z-index:1}.item.dragging .drag-handle{cursor:grabbing}.item .item-edit{font-size:12px;min-width:40px}.item label span{overflow-wrap:anywhere}@media(max-width:600px){.item{padding:0 4px;gap:4px;min-height:49px}.item label{min-height:48px}.item button{min-width:40px;min-height:44px}.item .drag-handle{min-width:28px}.item .item-edit{min-width:40px}}input:not([type=checkbox]){border:1px solid #c3cfdd;background:white;border-radius:9px;padding:14px;color:var(--ink);width:100%;min-height:48px}.add-form{display:flex;gap:10px;margin-top:12px}.add-form input{flex:1;min-width:0}#checklist{max-width:780px}#page-frame{width:100%;border:1px solid var(--line);border-radius:14px;background:white;height:65vh;min-height:400px}footer{max-width:1200px;padding:24px 48px;margin:auto;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:20px;padding:32px;width:min(440px,calc(100% - 32px));color:var(--ink);box-shadow:0 20px 80px #17325530}dialog::backdrop{background:#12294770;backdrop-filter:blur(4px)}dialog label{display:block;margin:18px 0 9px;font-size:14px}.check-label{display:flex;align-items:center;gap:8px}.check-label input{width:18px;height:18px;accent-color:var(--olive)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:26px}.login{max-width:440px;padding:50px 24px;margin:5vh auto}.login .brand{margin-bottom:48px}.login-card{background:white;padding:32px;border:1px solid var(--line);border-top:5px solid var(--mango);border-radius:4px 4px 20px 20px}.login-card h1{font-size:32px}.login-card p{color:var(--muted);line-height:1.6}.login-card label{font-size:14px;display:block;margin-bottom:8px}.login-card button{width:100%;margin-top:16px}.login-foot{text-align:center;font-size:14px;color:var(--muted);margin:25px 0}.error{color:#b33d4c!important;font-size:14px;margin:14px 0 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10;background:var(--ink);color:white;padding:14px 20px;border-radius:12px;max-width:calc(100% - 32px);width:max-content;box-shadow:0 5px 30px #17325530;display:none;font-size:14px;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-heading{flex-direction:column}.page-actions{justify-content:flex-start}}@media(max-width:600px){header{height:82px;padding:0 22px;gap:12px}.brand{font-size:26px}.companions{gap:7px}.companions span{font-size:0}.companions b{font-size:15px}#logout{font-size:13px;padding:8px;min-height:40px}main{padding:10px 22px 40px}.heading{padding:20px 0 22px;align-items:end;gap:12px}.heading h1{font-size:32px;margin:0}.heading .primary{font-size:14px;padding:10px 12px}.eyebrow{font-size:13px;letter-spacing:.4px;margin-bottom:13px}.mobile-break{display:block}.cards{grid-template-columns:1fr;gap:15px}.card{min-height:210px;padding:22px 23px 20px 27px}.card h2{font-size:23px}.shelf-toolbar{margin-bottom:22px}.shelf-toolbar nav{gap:25px}.detail-heading h1{font-size:30px}.detail-heading{gap:5px}.page-actions{gap:0;margin-left:-12px}.page-actions button{font-size:14px}.progress-label{margin-top:20px}footer{padding:22px;font-size:12px}#page-frame{min-height:480px}.login{margin-top:1vh}.login-card{padding:26px}.empty{padding-top:34px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.task-panel{border:1px solid var(--line);border-left:4px solid var(--olive);border-radius:12px;background:white;padding:22px;margin:18px 0 28px;max-width:780px}.task-panel h2{font-size:21px;margin-bottom:8px}.task-fields{display:grid;grid-template-columns:1fr 1.5fr;gap:14px}.task-panel label{display:block;font-size:14px;margin:12px 0 8px}.task-panel small{display:block;color:var(--muted);font-size:12px;margin-top:6px}.task-actions{display:flex;gap:10px;margin:16px 0}.task-status{font-size:14px;line-height:1.6;margin:12px 0}.task-result{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--paper);padding:16px;border-radius:8px;line-height:1.7;font-size:14px}.task-note{font-size:12px;line-height:1.6;margin:14px 0 0}@media(max-width:600px){.task-panel{padding:16px}.task-fields{grid-template-columns:1fr;gap:0}}
.task-panel select,.task-panel textarea{font:inherit;color:var(--ink);width:100%;border:1px solid #c3cfdd;border-radius:9px;background:white;padding:12px}.task-panel textarea{resize:vertical}.task-panel select:focus-visible,.task-panel textarea:focus-visible{outline:3px solid #508aca;outline-offset:3px}
