:root{--bg:#f8f7f3;--paper:#fff;--ink:#303b35;--muted:#858a82;--orange:#df8058;--orange-dark:#c86640;--orange-soft:#f9eee5;--green:#69836d;--green-soft:#eef3eb;--line:#e9e9e2;--radius:22px;--serif:Georgia,'Songti SC','STSong',serif;--shadow:0 8px 40px #34392f06;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-size:14px;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #d58c58;outline-offset:4px}button{border:0;background:none}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{display:block;flex-shrink:0}.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.app-shell{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;padding:40px 26px 24px;background:#fdfcf9;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px}.brand-mark{width:34px;height:34px;color:var(--orange)}.brand-name{font-family:var(--serif);font-size:26px;letter-spacing:-1px;font-weight:bold}.brand-name span{color:var(--orange)}.brand-tagline{margin:9px 0 48px 46px;font-size:10px;letter-spacing:2px;color:var(--muted)}.desktop-nav{display:grid;gap:10px}.nav-item{display:flex;align-items:center;gap:16px;border-radius:14px;padding:15px 20px;width:100%;font-weight:500;color:#7e867e;transition:.18s}.nav-item:hover{background:#f5f2eb}.nav-item.active{color:#bc6b48;background:#f5e9df}.nav-item.active:after{content:'';width:5px;height:5px;background:var(--orange);border-radius:50%;margin-left:auto}.sidebar-note{margin:auto 0 30px;padding:24px 16px 18px;border-radius:18px;background:#f0f3eb;color:#7d8a74;line-height:1.9;font-size:12px}.sidebar-note .icon{margin-bottom:12px;width:26px;height:26px}.sidebar-bottom{border-top:1px solid var(--line);padding:18px 2px 0;font-size:10px;color:#a0a298;letter-spacing:2px}.main{margin-left:224px;padding:32px 48px 40px;max-width:1680px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:38px;gap:16px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:11px}.breadcrumb span:last-child{color:var(--ink)}.toolbar{display:flex;align-items:center;gap:16px}.prototype-badge{font-size:10px;color:#8d9186;background:#efefe8;border:1px solid #e5e7dc;border-radius:20px;padding:6px 10px;white-space:nowrap}.profile-switch{display:flex;align-items:center;gap:8px;font-size:12px;padding:4px}.profile-switch>.icon{width:14px;color:var(--muted)}.avatar{display:inline-grid;place-items:center;border-radius:50%;width:35px;height:35px;font-size:12px;font-weight:600;background:#f1d4bc;border:3px solid var(--bg);color:#946344;flex-shrink:0}.avatar.partner{background:#dce4cf;color:#758465}.avatar.small{width:26px;height:26px;font-size:9px;border-width:2px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);margin-bottom:10px}.page-heading h1{font-size:30px;font-weight:600;letter-spacing:-.8px}.page-heading h1 em{font-family:var(--serif);font-style:normal;color:var(--orange)}.page-heading p{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.8}.date-pill{display:flex;align-items:center;gap:8px;color:#7c847a;font-size:11px;white-space:nowrap;padding-bottom:4px}.date-pill .icon{width:14px;height:14px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:28px;align-items:start}.primary-column{min-width:0}.hero{overflow:hidden;position:relative;border:1px solid #e9eddf;background:#f0f3e9;border-radius:var(--radius);padding:25px 27px 22px;margin-bottom:30px;min-height:220px}.hero-top{position:relative;z-index:1}.hero-label{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.4px;color:#77896f;margin-bottom:11px}.hero-label .icon{width:15px;height:15px}.hero h2{font-family:var(--serif);font-size:26px;letter-spacing:1px;font-weight:500;line-height:1.45}.hero .subtext{font-size:11px;color:#8b9584;margin-top:8px}.hero-art{position:absolute;right:3px;top:0;width:220px;height:165px;opacity:.9;pointer-events:none}.progress-pair{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:23px;padding-top:18px;border-top:1px solid #dae1d3}.person-progress-head{display:flex;align-items:center;gap:7px;margin-bottom:9px;font-size:11px}.person-progress-head .avatar{border-color:#f0f3e9}.person-progress-head strong{margin-left:auto;font-size:12px;font-weight:500}.progress-track{height:5px;border-radius:3px;background:#dfe5d8;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--orange);border-radius:3px;transition:width .4s}.person-progress:nth-child(2) .progress-track i{background:#93a48a}.progress-estimate{margin-top:7px;font-size:10px;color:#8b9483}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 14px}.section-title h2{display:flex;gap:9px;align-items:center;font-size:16px;font-weight:600}.section-title h2 .icon{width:18px;color:#858f7a}.section-title>span{font-size:10px;color:#9a9e94;letter-spacing:.3px}.tasks-list{display:grid;gap:12px;margin-bottom:27px}.task-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:19px 20px;box-shadow:var(--shadow);transition:transform .18s,border-color .18s}.task-card.shared{background:#fffcf7;border-color:#efdfca}.task-card.done{background:#fcfdf9;border-color:#e3e9dc}.task-header{display:flex;gap:13px;align-items:center}.task-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:var(--orange-soft);color:#bb896b;flex-shrink:0}.task-icon .icon{width:23px;height:23px}.task-icon.body{background:#eaf0e5;color:#7b9273}.task-icon.learning{background:#edf0f6;color:#7f8daa}.task-icon.knowledge{background:#f4ece2;color:#b09877}.task-icon.care{background:#f6ebed;color:#bd929d}.task-icon.together{background:#faebdf;color:#c39372}.task-main{min-width:0;flex:1}.task-group{font-size:9px;letter-spacing:1px;color:#a0a297;margin-bottom:6px}.task-card h3{font-size:14px;font-weight:550;line-height:1.5}.task-meta{font-size:10px;color:#9a9e95;display:flex;align-items:center;gap:6px;margin-top:7px;line-height:1.5}.task-meta .icon{width:12px;height:12px}.task-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;padding:11px 16px;font-size:12px;font-weight:500;min-height:41px;transition:background .15s,transform .15s;white-space:nowrap}.btn:active:not(:disabled){transform:scale(.97)}.btn .icon{width:15px;height:15px}.btn-primary{background:var(--orange);color:white}.btn-primary:hover{background:var(--orange-dark)}.btn-soft{background:var(--orange-soft);color:#ba7857}.btn-soft:hover{background:#f2dfcf}.btn-outline{border:1px solid var(--line);background:#fff;color:#737e70}.btn-green{background:#eaf0e4;color:#768d6e}.btn-small{font-size:10px;min-height:33px;padding:8px 11px}.text-btn{font-size:11px;color:#a3a698;padding:6px;display:inline-flex;align-items:center;gap:5px}.text-btn .icon{width:14px;height:14px}.task-footer{border-top:1px dashed #e9e5da;margin-top:15px;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.participant-states{display:flex;gap:13px;align-items:center}.participant-state{display:flex;align-items:center;gap:4px;font-size:10px;color:#a4a698}.participant-state.complete{color:#7c9472}.participant-state .icon{width:12px;height:12px}.completed-mark{color:#7e9472;display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}.completed-mark .icon{width:17px;height:17px}.empty-task{border-style:dashed;background:#fcfbf7;box-shadow:none}.empty-task .task-icon{background:#f2f0e9;color:#b9b9a7}.empty-task h3{color:#8b9186}.empty-task .task-group{color:#b0b1a5}.task-details{margin-top:11px;color:var(--muted);font-size:11px;line-height:1.8}.side-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:20px}.side-card h2{font-size:13px;font-weight:550}.side-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.side-card-head>span{font-size:10px;color:#a2a596}.week-strip{display:flex;justify-content:space-between;gap:6px;margin:0 -3px}.day-dot{text-align:center;font-size:9px;color:#a4a79c;flex:1}.day-circle{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;margin:9px auto 0;background:#f5f5ee;color:#b4b8aa;font-size:9px}.day-circle .icon{width:12px;height:12px}.day-dot.finished .day-circle{background:#eaf0e3;color:#819575}.day-dot.today .day-circle{background:var(--orange);color:#fff;box-shadow:0 0 0 4px #fbefe7}.day-dot.today{color:var(--orange)}.week-rule{margin-top:22px;padding-top:16px;border-top:1px solid var(--line);font-size:10px;color:#9ca18f;display:flex;justify-content:space-between}.week-rule b{font-weight:500;color:#7c906f}.mini-note{background:#f6ede3;border-color:#f0e5d9;position:relative;min-height:196px;overflow:hidden}.mini-note .icon{width:26px;height:26px;color:#c89772;margin-bottom:14px}.mini-note p{font-family:var(--serif);font-size:17px;line-height:1.8;color:#a27f61;letter-spacing:1px}.mini-note span{display:block;font-size:9px;color:#b99d81;margin-top:15px;letter-spacing:2px}.leaf-decoration{position:absolute;right:-12px;bottom:-18px;width:100px;height:125px;opacity:.25;transform:rotate(-15deg)}.guide-card{padding:4px 4px 12px;font-size:10px;color:#a1a698;line-height:2}.guide-card p{margin-top:6px}.guide-card .icon{display:inline;width:12px;height:12px;vertical-align:middle;margin-right:4px}.page-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;color:#a9ad9e;font-size:9px;letter-spacing:.3px}.page-footer .icon{display:inline;width:11px;height:11px;vertical-align:middle;margin-right:4px}.mobile-nav{display:none}.mobile-brand{display:none}.record-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:25px}.filter-button{min-height:34px;padding:8px 16px;border:1px solid transparent;border-radius:20px;font-size:11px;color:#9ca18f}.filter-button.active{background:white;border-color:var(--line);color:#566650;box-shadow:var(--shadow)}.records-layout{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:28px}.record-group{margin-bottom:25px}.record-date{display:flex;gap:12px;align-items:center;color:#9da492;font-size:10px;margin-bottom:14px;letter-spacing:1px}.record-date:after{content:'';height:1px;background:var(--line);flex:1}.record-card{background:white;border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:15px}.record-card-header{display:flex;align-items:center;gap:12px;margin-bottom:15px}.record-card-header h3{font-size:14px;font-weight:550}.record-card-header p{font-size:10px;color:#a1a596;margin-top:6px}.record-card-header>.completed-mark{margin-left:auto;font-size:10px}.record-text{font-size:13px;line-height:1.9;color:#777f70;margin-bottom:14px;white-space:pre-wrap;overflow-wrap:anywhere}.record-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.record-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.memory-art{width:100%;height:185px;object-fit:cover;border-radius:12px;background:#f3eee3;display:block}.record-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a6aa9c;margin-top:15px}.record-bottom .avatar+ .avatar{margin-left:-8px}.record-bottom .avatars{display:flex}.empty-state{padding:42px 20px;text-align:center;background:#fff;border:1px dashed var(--line);border-radius:20px;color:#a0a592;line-height:2}.empty-state > .icon{margin:0 auto 12px;width:32px;height:32px}.wallet-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin-bottom:28px}.wallet-card{position:relative;background:#eef2e8;border:1px solid #e1e7d9;border-radius:22px;padding:25px 28px;overflow:hidden}.wallet-card.partner-wallet{background:#f2eee8;border-color:#e9e2d8}.wallet-card .avatar{border-color:transparent}.wallet-owner{display:flex;align-items:center;gap:9px;font-size:12px;color:#7f8c74}.wallet-number{font-family:var(--serif);font-size:48px;letter-spacing:-2px;margin:18px 0 9px;color:#66795c;line-height:1}.wallet-number span{font-family:inherit;font-size:12px;letter-spacing:0;margin-left:8px;color:#99a58e}.partner-wallet .wallet-number{color:#a28b70}.wallet-card p{font-size:10px;color:#9ba48f;line-height:1.8}.wallet-card .wallet-symbol{position:absolute;right:22px;top:61px;color:#bcc8ae;opacity:.45}.wallet-symbol .icon{width:62px;height:62px;stroke-width:1}.wallet-actions{display:flex;gap:10px;margin-top:19px}.wallet-grid>.wallet-card{min-width:0}.points-layout{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:28px}.reward-list{display:grid;gap:12px;margin-bottom:26px}.reward-card{background:white;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;gap:13px;padding:17px 19px}.reward-card .task-icon{width:39px;height:39px}.reward-card h3{font-size:13px;margin-bottom:5px;font-weight:550}.reward-card p{font-size:10px;color:#9da491;line-height:1.6}.reward-card .btn{margin-left:auto}.ledger{border:1px solid var(--line);border-radius:19px;background:white;padding:4px 20px}.ledger-row{display:flex;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid #f0f0e9}.ledger-row:last-child{border-bottom:0}.ledger-icon{width:33px;height:33px;border-radius:10px;background:#f3f5ee;display:grid;place-items:center;color:#92a283}.ledger-icon .icon{width:16px;height:16px}.ledger-row h3{font-size:11px;font-weight:500}.ledger-row p{font-size:9px;color:#a7ac9d;margin-top:6px}.ledger-amount{margin-left:auto;color:#7d9670;font-size:16px;font-family:var(--serif);white-space:nowrap}.ledger-amount.negative{color:#ba8f74}.rules-mini{font-size:11px;color:#96a08b;line-height:2.1}.rules-mini strong{color:#788a6e;font-weight:500}.rules-mini hr{border:0;border-top:1px solid var(--line);margin:14px 0}.point-pills{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.point-pills span{padding:3px 8px;border-radius:5px;background:#f3f5ef;font-size:9px;line-height:1.7}.toast{position:fixed;left:50%;bottom:34px;transform:translate(-50%,20px);background:#394538;color:#fff;font-size:12px;line-height:1.7;padding:12px 22px;border-radius:13px;box-shadow:0 8px 35px #27322220;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:calc(100vw - 32px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{position:fixed;border:1px solid var(--line);border-radius:25px;padding:27px;width:min(640px,calc(100vw - 32px));max-height:85dvh;overflow:auto;background:#fbfaf6;color:var(--ink);box-shadow:0 30px 110px #222b2333}dialog::backdrop{background:#32382d55;backdrop-filter:blur(5px)}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:20px}.modal-header h2{font-size:20px;font-weight:550}.icon-button{display:grid;place-items:center;min-width:36px;min-height:36px;border-radius:50%;background:#f0efe7;color:#929987}.modal-desc{font-size:12px;color:#949c87;line-height:1.8;margin-bottom:20px}.draw-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.draw-count{font-size:10px;letter-spacing:1px;color:#939b86}.candidate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:10px 0 22px}.candidate{padding:20px 13px 15px;border:1px solid var(--line);background:#fff;border-radius:17px;min-height:218px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;animation:reveal .4s ease}.candidate.chosen{border-color:#d99570;box-shadow:0 0 0 2px #eed3bf;background:#fffaf2}.candidate .task-icon{margin:2px auto 14px}.candidate h3{font-size:12px;line-height:1.7}.candidate p{font-size:10px;line-height:1.8;color:#9ca48f;margin:7px 0 14px}.candidate .btn{margin-top:auto;width:100%;padding:8px;white-space:normal;min-height:34px}.candidate.unrevealed{background:repeating-linear-gradient(45deg,#f5f3eb,#f5f3eb 7px,#f7f5ee 7px,#f7f5ee 14px);border-style:dashed;justify-content:center;color:#b9bbab;animation:none}.candidate.unrevealed>.icon{width:29px;height:29px;stroke-width:1}.candidate.unrevealed span{font-size:10px;letter-spacing:1px;margin-top:12px}.candidate-votes{font-size:9px;color:#b28763;margin:6px 0 8px;min-height:14px}.dialog-footer{display:flex;align-items:center;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:17px}.dialog-footer>small{margin-right:auto;font-size:10px;color:#a0a690;line-height:1.8}.field{display:block;margin-bottom:18px}.field>span{display:block;font-size:12px;color:#7c8871;margin-bottom:9px}.field input,.field textarea{display:block;width:100%;border:1px solid #e3e7da;border-radius:12px;padding:13px 14px;background:#fff;color:var(--ink);font-size:16px;outline-offset:2px}.field textarea{min-height:112px;resize:vertical;line-height:1.7}.upload-label{display:flex;align-items:center;justify-content:center;gap:9px;border:1px dashed #c9d2be;background:#f1f5eb;color:#8e9f7f;padding:17px;border-radius:12px;font-size:12px;cursor:pointer}.upload-label input{position:absolute;width:1px;height:1px;opacity:0}.upload-preview{display:flex;gap:9px;margin-top:12px;flex-wrap:wrap}.upload-preview img{width:78px;height:78px;object-fit:cover;border-radius:10px}.inline-hint{font-size:10px;color:#9ea68f;line-height:1.8;margin:12px 0}.demo-notice{font-size:10px;color:#99a08f;line-height:1.8;display:flex;align-items:start;gap:6px}.demo-notice .icon{width:13px;height:13px;margin-top:2px}.preview-controls{display:flex;gap:10px;flex-wrap:wrap}.choice-button{display:flex;gap:9px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:white;flex:1;min-width:120px}.choice-button.active{border-color:#dea484;background:#fcf1e7}.profile-explain{font-size:11px;color:#9ca28e;line-height:1.9;margin-top:18px}.mobile-tiny{display:none}@keyframes reveal{from{opacity:0;transform:translateY(10px) rotateY(-15deg)}to{opacity:1;transform:none}}.fade-in{animation:reveal .3s ease}.partner-peek{border:1px solid var(--line);border-radius:14px;padding:15px;margin:12px 0;background:white}.partner-peek summary{cursor:pointer;font-size:12px;display:flex;align-items:center;gap:8px;list-style:none}.partner-peek .tasks-list{margin:14px 0 0}.partner-peek .task-card{box-shadow:none;padding:13px}.partner-peek .task-card h3{font-size:12px}.mobile-only{display:none}
@media(min-width:1450px){.main{padding-left:60px;padding-right:60px}.content-grid,.records-layout,.points-layout{grid-template-columns:minmax(0,1fr) 300px;gap:34px}.hero{padding:28px 32px}.hero-art{right:25px;width:240px}.task-card{padding:22px 24px}}
@media(max-width:1180px){.sidebar{width:190px;padding:32px 21px}.brand-name{font-size:23px}.brand-mark{width:30px}.brand-tagline{font-size:8px;margin-left:40px}.main{margin-left:190px;padding:27px 28px}.content-grid,.records-layout,.points-layout{grid-template-columns:minmax(0,1fr) 232px;gap:20px}.hero-art{right:-28px;opacity:.65;width:200px}.hero h2{font-size:24px}.task-card{padding:17px 16px}.task-header{gap:10px}.task-actions .btn{padding:10px 12px}.side-card{padding:19px}.wallet-card{padding:22px}.wallet-actions{flex-wrap:wrap}}
@media(max-width:1000px){.sidebar{width:172px;padding:30px 16px}.main{margin-left:172px;padding:26px}.brand-name{font-size:21px}.brand-tagline{letter-spacing:1px}.nav-item{padding:14px}.content-grid,.records-layout,.points-layout{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.right-column .guide-card{grid-column:1/-1}.right-column .side-card{margin-bottom:0}.hero-art{right:24px;opacity:.9}.points-layout .right-column{display:block}.page-heading h1{font-size:28px}.topbar{margin-bottom:30px}.records-layout .right-column{display:none}.points-layout .right-column{display:none}.page-footer{margin-top:24px}}
@media(max-width:720px){:root{font-size:14px}.sidebar{display:none}.main{margin:0;max-width:none;padding:22px 20px calc(104px + env(safe-area-inset-bottom))}.topbar{margin-bottom:29px;gap:8px}.breadcrumb{display:none}.mobile-brand{display:flex}.mobile-brand .brand-name{font-size:24px}.mobile-brand .brand-mark{width:29px;height:29px}.toolbar{gap:9px}.prototype-badge{font-size:8px;padding:5px 7px;letter-spacing:0}.profile-switch{gap:0}.profile-switch .profile-label{display:none}.profile-switch .icon{display:none}.profile-switch .avatar{width:33px;height:33px;font-size:10px}.page-heading{display:block;margin-bottom:21px}.eyebrow{font-size:9px;letter-spacing:1.7px;margin-bottom:9px}.page-heading h1{font-size:25px;letter-spacing:-.5px}.page-heading p{font-size:11px;margin-top:8px}.date-pill{margin-top:12px;font-size:9px;padding:0}.date-pill .icon{width:12px}.content-grid{gap:18px}.hero{border-radius:20px;padding:23px 21px 19px;margin-bottom:27px;min-height:225px}.hero h2{font-size:23px;position:relative;z-index:1}.hero-art{width:165px;height:150px;right:-12px;top:6px;opacity:.7}.hero-label{font-size:9px}.hero .subtext{font-size:10px;position:relative;z-index:1}.progress-pair{gap:19px;margin-top:26px;padding-top:15px}.person-progress-head{font-size:10px}.progress-estimate{font-size:9px}.task-card{padding:17px 15px;border-radius:17px}.task-header{gap:11px}.task-icon{width:39px;height:39px;border-radius:12px}.task-icon .icon{width:21px}.task-card h3{font-size:13px}.task-group{font-size:8px;margin-bottom:5px}.task-meta{font-size:9px;gap:4px;margin-top:5px}.task-actions .btn{font-size:11px;padding:10px 12px;min-height:39px}.task-actions .btn .icon{display:none}.task-actions .completed-mark{font-size:10px}.task-footer{margin-top:13px;padding-top:10px;gap:5px}.participant-states{gap:8px}.participant-state{font-size:9px}.participant-state .avatar{width:23px;height:23px;font-size:8px}.text-btn{font-size:10px;min-height:34px;padding:5px 2px}.task-details{font-size:10px}.tasks-list{gap:11px;margin-bottom:25px}.section-title h2{font-size:14px}.section-title>span{font-size:9px}.right-column{grid-template-columns:1fr}.right-column>.mini-note{display:none}.right-column>.guide-card{padding:0 2px}.side-card{padding:20px}.week-strip{justify-content:flex-start;gap:15px}.day-circle{width:29px;height:29px}.week-rule{margin-top:20px}.side-card-head{margin-bottom:18px}.guide-card{font-size:9px}.guide-card p{margin-top:4px}.page-footer{font-size:8px;gap:10px;margin-top:20px;line-height:1.8;align-items:flex-end}.page-footer>span:last-child{text-align:right}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fdfcf8f2;backdrop-filter:blur(20px);border-top:1px solid #e9e9e2;padding:8px 24px calc(8px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:65px;min-height:48px;padding:5px 14px;color:#a2a697;font-size:9px;position:relative}.mobile-nav button.active{color:var(--orange)}.mobile-nav button.active:before{content:'';position:absolute;top:-9px;width:20px;height:2px;background:var(--orange);border-radius:2px}.mobile-nav .icon{width:21px;height:21px}.toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:11px;min-width:190px}.record-toolbar{margin-bottom:20px;gap:3px}.filter-button{font-size:10px;padding:7px 13px}.record-card{padding:18px}.record-card-header{gap:9px}.record-card-header h3{font-size:13px}.record-card-header>.completed-mark{font-size:9px}.record-text{font-size:12px}.memory-art{height:156px}.record-date{font-size:9px}.record-bottom{font-size:9px}.wallet-grid{gap:12px;margin-bottom:25px}.wallet-card{padding:19px 16px;border-radius:18px}.wallet-owner{font-size:10px;gap:4px}.wallet-owner .avatar{width:28px;height:28px;font-size:10px}.wallet-number{font-size:40px;margin:17px 0 10px}.wallet-number span{font-size:10px;margin-left:5px}.wallet-card p{font-size:9px}.wallet-card .wallet-symbol{right:8px;top:65px}.wallet-symbol .icon{width:42px;height:42px}.wallet-actions{gap:7px;margin-top:14px}.wallet-actions .btn{font-size:10px;padding:9px;min-height:35px;flex:1}.wallet-actions .btn .icon{display:none}.reward-card{padding:15px 13px;gap:10px}.reward-card h3{font-size:12px}.reward-card p{font-size:9px}.reward-card .btn{padding:8px 10px;font-size:10px;min-height:35px}.reward-card .task-icon{width:35px;height:35px}.reward-card .task-icon .icon{width:18px}.ledger{padding:0 16px}.ledger-row{padding:16px 0}.ledger-row h3{font-size:11px}.ledger-amount{font-size:15px}dialog{padding:22px 18px;border-radius:22px;width:calc(100vw - 24px);max-height:88dvh}.modal-header h2{font-size:19px}.modal-desc{font-size:11px}.candidate-grid{gap:8px}.candidate{padding:15px 9px 10px;border-radius:13px;min-height:205px}.candidate .task-icon{width:34px;height:34px;margin-bottom:11px}.candidate h3{font-size:11px;line-height:1.6}.candidate p{font-size:9px;line-height:1.7;margin-top:7px}.candidate .btn{font-size:10px;padding:8px 4px}.candidate-votes{font-size:8px}.dialog-footer{flex-wrap:wrap}.dialog-footer>small{font-size:9px;flex:1;min-width:110px}.upload-label{font-size:11px}.mobile-only{display:block}}
@media(max-width:374px){.main{padding-left:14px;padding-right:14px}.task-header{gap:8px}.task-card{padding:15px 12px}.task-actions .btn{padding:9px}.hero-art{right:-25px;opacity:.5}.hero h2{font-size:22px}.wallet-grid{gap:9px}.wallet-card{padding:17px 13px}.wallet-number{font-size:35px}.prototype-badge{font-size:7px}.candidate-grid{gap:6px}.candidate{padding:13px 6px}.participant-state{gap:2px}.participant-states{gap:5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 提高说明文字的可读性，保留柔和的整体配色。 */
.task-group,.task-meta,.task-details,.progress-estimate,.record-card-header p,.record-bottom,.record-date,.ledger-row p,.section-title>span,.wallet-card p,.reward-card p,.guide-card,.page-footer,.modal-desc,.candidate p,.inline-hint,.dialog-footer>small{color:#7e8777}
@media(max-width:720px){
  .task-card h3{font-size:14px}.task-group{font-size:10px}.task-meta{font-size:11px}.task-details{font-size:12px}.task-actions .btn{min-height:44px;font-size:12px}.task-actions .completed-mark{font-size:11px}.task-footer .text-btn{min-height:40px;font-size:11px}.participant-state{font-size:10px}.section-title>span{font-size:10px}.person-progress-head{font-size:11px}.progress-estimate{font-size:10px}.page-heading p{font-size:12px}.date-pill{font-size:11px}.wallet-owner{font-size:11px}.wallet-card p{font-size:11px}.wallet-actions .btn{min-height:40px;font-size:11px}.reward-card h3{font-size:13px}.reward-card p{font-size:11px}.reward-card .btn{min-height:40px;font-size:11px}.ledger-row h3{font-size:12px}.ledger-row p{font-size:11px}.record-card-header h3{font-size:14px}.record-card-header p{font-size:11px}.record-text{font-size:14px}.record-bottom{font-size:11px}.record-date{font-size:11px}.filter-button{min-height:40px;font-size:12px}.candidate h3{font-size:12px}.candidate p{font-size:11px}.candidate .btn{min-height:40px;font-size:11px}.modal-desc{font-size:12px}.icon-button{min-width:40px;min-height:40px}.guide-card{font-size:10px}.date-pill{font-size:10px}
}
@media(max-width:1000px){.content-grid,.records-layout,.points-layout{grid-template-columns:minmax(0,1fr)}.right-column{min-width:0}}
@media(max-width:720px){.right-column{grid-template-columns:minmax(0,1fr)}.week-strip{gap:6px;justify-content:space-between}}

/* 桌面保留候选区域高度；手机用紧凑列表，并固定弹窗顶部。 */
.candidate{height:300px;min-height:0}
.candidate p{overflow:auto;min-height:0;overscroll-behavior:contain}
.candidate-duration{display:block}
.candidate h3,.candidate .task-icon,.candidate .candidate-votes,.candidate .btn{flex-shrink:0}
.draw-top [data-action="draw-next"]{min-width:130px}
@media(max-width:720px){
  dialog:has(.candidate-grid){inset:20px 0 auto;margin:0 auto;max-height:calc(100dvh - 40px);padding:18px 14px}
  dialog:has(.candidate-grid) .modal-header{margin-bottom:8px}
  dialog:has(.candidate-grid) .modal-desc{margin-bottom:12px}
  .draw-top{margin-bottom:12px}
  .candidate-grid{grid-template-columns:minmax(0,1fr);gap:8px;margin:0 0 14px}
  .candidate{height:auto;min-height:0;display:grid;grid-template-columns:28px minmax(0,1fr) 76px;gap:6px 8px;padding:12px;text-align:left}
  .candidate .task-icon{width:28px;height:28px;margin:0;border-radius:9px}
  .candidate .task-icon .icon{width:18px;height:18px}
  .candidate h3{font-size:14px;line-height:1.5}
  .candidate p{grid-column:1 / 3;overflow:visible;margin:0;font-size:12px;line-height:1.6}
  .candidate-duration{display:inline;white-space:nowrap}
  .candidate-duration::after{content:' · '}
  .candidate-votes{grid-column:1 / 3;min-height:0;margin:0;font-size:11px;line-height:1.6}
  .candidate-votes:empty{display:none}
  .candidate .btn{grid-column:3;grid-row:1 / span 2;align-self:center;width:100%;min-width:0;min-height:44px;margin:0;padding:9px 6px;font-size:12px;white-space:nowrap}
  .candidate.unrevealed{display:flex;flex-direction:row;min-height:68px;gap:12px}
  .candidate.unrevealed>.icon{width:23px;height:23px}
  .candidate.unrevealed span{margin:0;font-size:11px}
}

/* 首页讨论稿：先看双方进度，再进入今天的任务。 */
.page-today{--orange:#b65a35;--orange-dark:#a64e2c;--muted:#626d61}
.today-heading{position:relative;min-height:85px;padding-right:130px;margin-bottom:24px}
.today-date{font-size:12px;color:#626d61;margin-bottom:8px}
.today-heading h1{font-size:29px;font-weight:600;letter-spacing:-.6px;line-height:1.4}
.today-heading h1 em{font:inherit;color:var(--orange)}
.today-heading .hero-art{width:116px;height:83px;right:0;top:-8px;opacity:.9}
.daily-summary.hero{min-height:0;padding:20px 24px;margin-bottom:24px;background:#fffdf9;border-color:#e5e7de}
.summary-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.daily-summary .summary-heading h2{font-family:inherit;font-size:14px;line-height:1.5;font-weight:600;letter-spacing:0}
.summary-deadline{display:flex;align-items:center;gap:5px;font-size:12px;color:#626d61}
.summary-deadline .icon{width:13px;height:13px}
.daily-summary .progress-pair{grid-template-columns:repeat(2,minmax(0,1fr));border:0;margin-top:16px;padding-top:0;gap:12px}
.daily-summary .person-progress{min-width:0;padding:14px;border:1px solid #efddce;border-radius:14px;background:#fbf0e7}
.daily-summary .person-progress.is-partner{background:#eef3e9;border-color:#dce5d5}
.daily-summary .person-progress-head .avatar{border:0;width:24px;height:24px}
.daily-summary .progress-count{display:flex;align-items:baseline;gap:5px;margin:0 0 10px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#965335}
.daily-summary .progress-count strong{font-size:25px;line-height:1.2;font-weight:600}
.daily-summary .progress-count span{font-size:12px;color:#626d61}
.daily-summary .is-partner .progress-count{color:#4f694c}
.daily-summary .progress-track{height:6px;background:#eadbce}
.daily-summary .is-partner .progress-track{background:#dae4d3}
.daily-summary .is-partner .progress-track i{background:#708969}
.daily-summary .person-progress-head{font-size:13px;gap:6px;margin-bottom:10px}
.daily-summary .progress-estimate{color:#626d61;font-size:12px;margin-top:8px}
.today-page .section-title>span,.today-page .task-group,.today-page .task-meta,.today-page .task-details,.today-page .participant-state,.today-page .guide-card{color:#626d61}
.today-page .section-title>span{font-size:11px}
.today-page .task-group{font-size:11px;letter-spacing:.3px}
.today-page .task-meta{font-size:12px}
.today-page .task-details{font-size:13px;line-height:1.7}
.today-page .task-card h3{font-size:15px;font-weight:600}
.today-page .task-card:not(.shared) .task-footer>.completed-mark{display:none}
.today-page .task-card:not(.shared) .task-footer{border-top:0;justify-content:flex-end;margin-top:8px;padding-top:0}
.today-page .text-btn{color:#96603f;min-height:40px;font-size:12px}
.today-page .btn-soft{color:#934a2d;background:#f5e8dc}
.today-page .completed-mark,.today-page .participant-state.complete{color:#526d4d}
.today-page .task-actions .btn{min-height:44px;font-size:13px}
.today-page .empty-task{border-style:solid;background:#fffdf8}
.today-page .empty-task h3{color:var(--ink)}
.today-page .empty-task .task-icon{color:#8b8f75}
@media(max-width:720px){
  .page-today.main{padding-top:18px}
  .page-today .topbar{margin-bottom:16px}
  .today-heading{min-height:56px;padding-right:80px;margin-bottom:16px}
  .today-date{font-size:11px;margin-bottom:5px}
  .today-heading h1{font-size:23px;letter-spacing:-.4px}
  .today-heading .hero-art{right:0;top:-3px;width:76px;height:60px}
  .daily-summary.hero{padding:16px;margin-bottom:20px;border-radius:18px}
  .daily-summary .summary-heading h2{font-size:13px}
  .summary-deadline{font-size:11px;gap:4px}
  .daily-summary .progress-pair{gap:10px;margin-top:13px}
  .daily-summary .person-progress{padding:12px 10px}
  .daily-summary .person-progress-head{font-size:11px;gap:5px;margin-bottom:8px}
  .daily-summary .progress-estimate{font-size:11px;margin-top:7px}
  .today-page .section-title{margin-bottom:12px}
  .today-page .section-title h2{font-size:15px}
  .today-page .tasks-list{gap:12px;margin-bottom:20px}
  .today-page .task-card{padding:14px;border-radius:16px}
  .today-page .task-header{gap:10px}
  .today-page .task-icon{width:34px;height:34px;border-radius:10px}
  .today-page .task-icon .icon{width:19px;height:19px}
  .today-page .task-group{margin-bottom:4px}
  .today-page .task-card h3{font-size:14px}
  .today-page .task-meta{font-size:11px;margin-top:4px}
  .today-page .task-details{font-size:12px;margin-top:10px}
  .today-page .task-actions .btn{font-size:12px;padding:10px 12px}
  .today-page .task-footer{margin-top:12px;padding-top:8px}
  .today-page .participant-state{font-size:11px}
  .today-page .content-grid{gap:12px}
}
@media(max-width:374px){
  .daily-summary.hero{padding:14px}
  .daily-summary .progress-pair{gap:10px}
  .daily-summary .person-progress-head{gap:4px}
  .daily-summary .person-progress-head .avatar{width:22px;height:22px}
  .today-page .task-header{gap:8px}
  .today-page .task-card{padding:12px}
}

/* 记录页：简短保留完成信息，把空间留给照片和文字。 */
.page-records{--orange:#b65a35;--muted:#626d61}
.page-records .topbar{margin-bottom:24px}
.page-records .records-heading{margin-bottom:16px}
.page-records .records-heading h1{font-size:28px;line-height:1.4}
.page-records .records-heading h1 em{font:inherit}
.page-records .record-toolbar{margin-bottom:20px}
.page-records .filter-button{color:#626d61;min-height:44px;font-size:12px}
.page-records .filter-button.active{color:#964b2e;border-color:#e8d8c9;background:#fffaf5}
.page-records .record-date{color:#626d61;font-size:12px;letter-spacing:0;margin-bottom:10px}
.page-records .record-card{padding:18px;margin-bottom:12px;border-radius:18px}
.page-records .record-card-header{gap:10px;margin-bottom:14px}
.page-records .record-card-header .task-icon{width:30px;height:30px;border-radius:9px}
.page-records .record-card-header .task-icon .icon{width:18px;height:18px}
.page-records .record-task{min-width:0;flex:1}
.page-records .record-card-header h3{font-size:13px;font-weight:550;line-height:1.5}
.page-records .record-card-header p{color:#626d61;font-size:11px;line-height:1.6;margin-top:3px}
.page-records .record-compact .record-card-header{margin-bottom:0}
.page-records .record-entry+.record-entry{margin-top:16px}
.page-records .record-author{display:flex;align-items:center;gap:5px;color:#626d61;font-size:11px;margin-bottom:6px}
.page-records .record-author .avatar{width:22px;height:22px;border:0;font-size:10px}
.page-records .record-text{color:#414e43;font-size:15px;line-height:1.8;margin:0}
.page-records .record-media{margin:10px 0 0;gap:8px}
.page-records .record-media .record-photo:only-child{grid-column:1 / -1}
.page-records .record-entry>.record-media:first-child{margin-top:0}
.page-records .record-entry .memory-art{margin-top:10px}
.page-records .record-bottom{margin-top:8px;justify-content:flex-end}
.page-records .text-btn{color:#965335;min-height:44px;padding:8px 4px;font-size:12px;white-space:nowrap;flex-shrink:0}
.page-records .guide-card,.page-records .page-footer{color:#626d61}
@media(max-width:720px){
  .page-records.main{padding-top:18px}
  .page-records .topbar{margin-bottom:16px}
  .page-records .records-heading{margin-bottom:12px}
  .page-records .records-heading h1{font-size:23px;letter-spacing:-.4px}
  .page-records .record-toolbar{margin-bottom:16px;gap:4px}
  .page-records .filter-button{padding:8px 12px}
  .page-records .record-group{margin-bottom:20px}
  .page-records .record-card{padding:14px;border-radius:16px}
  .page-records .record-compact{padding:12px}
  .page-records .record-text{font-size:14px}
}

/* 积分页：余额与操作集中展示，奖励保持清楚、紧凑。 */
.page-points{--orange:#b65a35;--orange-dark:#a64e2c;--muted:#626d61}
.page-points .topbar{margin-bottom:24px}
.page-points .points-heading{margin-bottom:18px}
.page-points .points-heading h1{font-size:28px;line-height:1.4}
.page-points .points-heading h1 em{font:inherit}
.page-points .wallet-grid{gap:16px;margin-bottom:12px}
.page-points .wallet-card{padding:20px;border-radius:18px}
.page-points .wallet-owner{color:#626d61;font-size:12px;gap:7px}
.page-points .wallet-owner .avatar{width:26px;height:26px;font-size:11px;border:0}
.page-points .wallet-number{font-family:inherit;font-variant-numeric:tabular-nums;font-size:40px;font-weight:600;letter-spacing:-1px;line-height:1.1;margin:10px 0 0;color:#496448;overflow-wrap:anywhere}
.page-points .partner-wallet .wallet-number{color:#80694e}
.page-points .wallet-number span{font-size:11px;font-weight:400;color:#626d61;letter-spacing:0;margin-left:6px}
.page-points .points-actions{margin:0 0 22px;gap:10px}
.page-points .points-actions .btn{min-height:44px;min-width:144px;font-size:13px}
.page-points .btn-green{color:#486244;background:#e7eee0}
.page-points .btn-outline{color:#626d61}
.page-points .btn-soft{color:#934a2d;background:#f5e8dc}
.page-points .section-title{margin-bottom:12px;gap:8px;flex-wrap:wrap}
.page-points .section-title>span{color:#626d61;font-size:11px}
.page-points .reward-list{gap:10px;margin-bottom:24px}
.page-points .reward-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;padding:14px;border-radius:16px}
.page-points .reward-copy{min-width:0}
.page-points .reward-card .task-icon{width:34px;height:34px;border-radius:10px}
.page-points .reward-card .task-icon .icon{width:19px;height:19px}
.page-points .reward-card h3{font-size:14px;font-weight:600;line-height:1.5;margin-bottom:3px}
.page-points .reward-card p{font-size:12px;color:#626d61;line-height:1.6}
.page-points .reward-card .btn{min-width:80px;min-height:44px;padding:10px;font-size:12px}
.page-points .ledger-row h3{color:#414e43}
.page-points .ledger-row p,.page-points .rules-mini,.page-points .page-footer{color:#626d61}
.page-points .ledger-amount{color:#496448}
.page-points .ledger-amount.negative{color:#965335}
@media(max-width:720px){
  .page-points.main{padding-top:18px}
  .page-points .topbar{margin-bottom:16px}
  .page-points .points-heading{margin-bottom:16px}
  .page-points .points-heading h1{font-size:23px;letter-spacing:-.4px}
  .page-points .wallet-grid{gap:10px}
  .page-points .wallet-card{padding:14px;border-radius:16px}
  .page-points .wallet-number{font-size:36px;margin-top:8px}
  .page-points .points-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}
  .page-points .points-actions .btn{min-width:0;font-size:12px}
  .page-points .section-title h2{font-size:14px}
  .page-points .section-title>span{font-size:10px}
  .page-points .reward-list{gap:8px;margin-bottom:20px}
  .page-points .reward-card{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:12px}
  .page-points .reward-card .task-icon{width:30px;height:30px}
  .page-points .reward-card h3{font-size:13px}
  .page-points .reward-card p{font-size:11px}
  .page-points .reward-card .btn{min-width:78px;padding:9px}
}

/* 弹窗沿用主页面的文字和操作颜色，尺寸与排布保持不变。 */
dialog{--orange:#b65a35;--orange-dark:#a64e2c;--muted:#626d61}
dialog .modal-desc,dialog .candidate p,dialog .draw-count,dialog .dialog-footer>small,
dialog .field>span,dialog .inline-hint,dialog .demo-notice,dialog .profile-explain,
dialog .icon-button,dialog .rules-mini{color:#626d61}
dialog .candidate-votes{color:#934a2d}
dialog .btn-soft{color:#934a2d;background:#f5e8dc}
dialog .btn-soft:hover{background:#f2dfcf}
dialog .btn-green,dialog .upload-label{color:#486244;background:#e7eee0}
dialog .btn-outline{color:#626d61}

/* 保留记录缩略图，点开后按照片原始比例完整展示。 */
.record-photo{display:block;min-width:0;padding:0;border-radius:12px;cursor:zoom-in}
.record-photo img{display:block}
dialog:has(.photo-viewer){width:min(900px,calc(100vw - 24px))}
.photo-viewer{display:flex;align-items:center;justify-content:center}
.photo-viewer img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(85dvh - 120px);object-fit:contain;border-radius:12px}

@media(max-width:720px){
  .mobile-nav{--orange:#b65a35}
  .mobile-nav button{font-size:11px;line-height:12px;gap:4px;color:#626d61}
  .mobile-nav button.active{color:var(--orange)}
}

/* 登录只增加独立入口；登录后的三页沿用现有排布。 */
.login-page{min-height:100dvh;display:grid;place-items:center;padding:28px 20px;background:var(--bg);--orange:#b65a35;--orange-dark:#a64e2c;--muted:#626d61}
.login-card{width:100%;max-width:380px}
.login-card .brand{margin-bottom:32px}
.login-card h1{font-size:26px;font-weight:600;line-height:1.5;letter-spacing:-.5px;margin:0 0 10px}
.login-intro,.login-footnote{font-size:13px;color:#626d61;line-height:1.8}
.login-intro{margin:0 0 26px}
.login-accounts{border:0;padding:0;margin:0 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.login-accounts legend{padding:0;margin-bottom:10px;font-size:12px;color:#626d61}
.login-account{position:relative;cursor:pointer}
.login-account input{position:absolute;width:1px;height:1px;opacity:0}
.login-account span{display:block;text-align:center;border:1px solid #dce2d5;background:#fffdf8;border-radius:14px;padding:14px;font-size:15px;color:#626d61}
.login-account input:checked+span{border-color:#b65a35;background:#f5e8dc;color:#934a2d}
.login-account input:focus-visible+span{outline:2px solid #b65a35;outline-offset:3px}
.login-card .field>span{color:#626d61}
.login-card .field input{font-size:16px;min-height:48px}
.login-card .btn-primary{width:100%;min-height:48px;font-size:14px}
.login-message{font-size:12px;color:#934a2d;line-height:1.6;min-height:20px;margin:0 0 12px}
.login-footnote{font-size:11px;margin:20px 0 0;text-align:center}
.sync-badge[data-status="offline"]{color:#934a2d;background:#f5e8dc}

/* 可读、易点，同时保留轻盈的纸张与暖色。 */
:root{--muted:#626d61;--orange:#b65a35;--orange-dark:#a64e2c}
button,.filter-button,.text-btn,.icon-button,.partner-peek summary{touch-action:manipulation}
.btn,.btn-small,.icon-button,.text-btn{min-height:44px}
.text-btn{font-size:12px;color:#934a2d}
.icon-button{min-width:44px;flex-shrink:0;color:#626d61}
.btn-small{font-size:12px}
.btn-outline{color:#626d61}
.btn-soft{color:#934a2d}
.nav-item{color:#626d61}
.nav-item.active{color:#964b2e}
.brand-tagline,.sidebar-note,.sidebar-bottom,.breadcrumb{color:#626d61}
.sidebar-note{font-size:13px}
.brand-tagline,.sidebar-bottom{font-size:11px;letter-spacing:1px}
.profile-switch{min-height:44px;gap:6px}
.profile-label{color:#414e43;font-size:12px;white-space:nowrap}
.sync-badge{position:relative;isolation:isolate;min-height:44px;min-width:60px;padding:8px 10px;border:0;background:transparent;font-size:12px;line-height:1.5;color:#626d61}
.sync-badge::before{content:'';position:absolute;inset:7px 0;z-index:-1;border:1px solid #e0e3d9;border-radius:20px;background:#efefe8}
.sync-badge[data-status="offline"]{background:transparent;color:#934a2d}
.sync-badge[data-status="offline"]::before{background:#f5e8dc;border-color:#ead6c6}
.avatar{color:#815030}.avatar.partner{color:#536746}
.today-date,.today-page .task-group,.today-page .task-meta,.today-page .section-title>span,
.daily-summary .progress-estimate,.daily-summary .person-progress-head,.summary-deadline,
.today-page .participant-state,.side-card-head>span,.week-rule,.day-dot,.day-circle,
.today-page .guide-card,.page-records .record-author,.page-records .record-card-header p,
.page-points .wallet-owner,.page-points .wallet-number span,.page-points .section-title>span,
.page-points .reward-card p,.page-points .ledger-row p,.page-points .rules-mini,.point-pills span,
dialog .modal-desc,dialog .draw-count,dialog .candidate p,dialog .candidate-votes,
dialog .dialog-footer>small,dialog .inline-hint,dialog .demo-notice,dialog .profile-explain,
.login-footnote,.field>span{font-size:12px;line-height:1.6}
.side-card-head>span,.week-rule,.day-dot,.day-circle,.empty-state,.ledger-empty{color:#626d61}
.side-card h2{font-size:14px;line-height:1.5}
.side-card-head{gap:10px}
.day-circle{width:30px;height:30px;margin-top:8px}
.day-dot.finished .day-circle{color:#486244}
.week-rule b{color:#486244}
.week-rule{gap:12px;flex-wrap:wrap}
.empty-state{padding:32px 20px;font-size:14px;line-height:1.9;border-color:#dce1d6}
.empty-state > .icon{color:#6b8063}
.empty-state .btn{margin-top:16px}
.page-records .records-empty{padding:34px 20px 30px;border-style:solid;border-color:#e4e7dd;background:#fffefa;box-shadow:0 6px 24px #39453804}
.records-empty > .icon{width:54px;height:54px;margin:0 auto 18px;padding:11px;border-radius:17px;background:#eef3e9;color:#6b8063}
.records-empty h2{font-size:17px;line-height:1.5;font-weight:600;color:#414e43;margin-bottom:9px}
.records-empty p{font-size:13px;line-height:1.9;color:#626d61}
.records-empty p span{display:block}
.records-empty .records-empty-action{margin-top:22px;min-height:46px;padding:12px 19px;gap:10px;border:1px solid #e9d2bf;border-radius:13px;background:#f8e8db;color:#8c482c;font-size:14px;line-height:20px;box-shadow:0 4px 10px #96533512,0 1px 2px #9653350a}
.records-empty .records-empty-action .icon{width:18px;height:18px;margin:0;color:currentColor}
@media(hover:hover){.records-empty .records-empty-action:hover{background:#f3dfce;box-shadow:0 5px 14px #9653351a}}
.records-empty .records-empty-action:active{box-shadow:0 1px 3px #96533514}

.ledger-empty{padding:24px 4px;font-size:14px;line-height:1.8;text-align:center}
.ledger-empty p+p{margin-top:6px}
.ledger-empty .btn{margin-top:14px}
.page-points .ledger-row h3{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.ledger-row>div:nth-child(2){min-width:0}
.ledger-icon{flex-shrink:0}
.ledger-amount{flex-shrink:0;font-variant-numeric:tabular-nums}
.page-points .point-pills{gap:6px}
.point-pills span{padding:4px 8px}
.page-footer{font-size:10px;line-height:1.8;color:#626d61}
.page-footer>span{min-width:0}
.partner-peek{padding:0 14px}
.partner-peek summary{min-height:48px;font-size:13px;line-height:1.6}
.partner-peek[open] summary>.icon{transform:rotate(180deg)}
.partner-peek .tasks-list{margin-top:0;padding-bottom:14px}
.page-records .record-card-header h3{font-size:14px}
.today-page .task-details{font-size:14px;line-height:1.75}
.login-intro{font-size:14px}
.page-records .record-author{gap:7px}
.page-records .text-btn,.today-page .text-btn{min-height:44px}
.modal-header{gap:12px;align-items:flex-start}
.modal-header h2{line-height:1.5;padding-top:7px}
dialog .modal-desc{font-size:14px;line-height:1.75}
dialog .field>span{font-size:14px}
dialog .upload-label{min-height:48px;font-size:14px}
.upload-label:focus-within{outline:3px solid #b65a35;outline-offset:3px}
dialog .candidate h3{font-size:14px}
dialog .candidate p{font-size:14px;line-height:1.7}
dialog .candidate.unrevealed{color:#707a63}
dialog .candidate.unrevealed span{font-size:12px}
dialog .candidate .btn{min-height:44px;font-size:12px}
dialog .candidate.chosen .btn:disabled{opacity:1;color:#486244;background:#e7eee0}
dialog .dialog-footer{gap:12px}
dialog .dialog-footer>small{min-width:140px}
.dialog-feedback{margin:16px 0;padding:12px 14px;border:1px solid #e7c6ac;border-radius:12px;background:#f5e8dc;color:#713d29;font-size:14px;line-height:1.7;overflow-wrap:anywhere;scroll-margin-block:12px}
.toast{font-size:14px;max-width:min(480px,calc(100vw - 32px))}
.fade-in{animation:page-appear .16s ease-out}
@keyframes page-appear{from{opacity:.65}to{opacity:1}}

/* 表单反馈与照片管理，操作放在照片下面，避免遮住预览。 */
.password-control{display:flex;align-items:stretch;position:relative}
.password-control input{padding-right:70px}
.password-toggle{position:absolute;right:3px;top:2px;bottom:2px;min-width:60px;min-height:44px;color:#934a2d;font-size:12px;border-radius:9px}
.password-toggle:hover{background:#f9eee5}
.upload-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}
.photo-preview-item{min-width:0;overflow:hidden;background:#fff;border:1px solid #e3e7da;border-radius:12px}
.upload-preview .photo-preview-item img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:0}
.remove-photo{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:44px;padding:8px 4px;color:#934a2d;font-size:12px;background:#fffaf5;border-top:1px solid #eee5db}
.remove-photo .icon{width:14px;height:14px}
.photo-selection-status,.draft-notice{font-size:12px;line-height:1.7;color:#626d61;margin:10px 0}
.draft-notice{padding:10px 12px;border-radius:10px;background:#eef3eb}
.points-rules{border:1px solid var(--line);border-radius:16px;background:#fff;padding:0 16px;margin:0 0 22px}
.points-rules>summary{display:flex;align-items:center;justify-content:flex-start;gap:12px;cursor:pointer;min-height:52px;list-style:none;font-size:14px;font-weight:600;color:var(--ink)}
.points-rules>summary::-webkit-details-marker{display:none}
.points-rules>summary>.icon{color:#626d61;width:18px;height:18px}
.points-rules>summary>.icon:last-child{margin-left:auto}
.points-rules[open]>summary>.icon:last-child{transform:rotate(180deg)}
.points-rules .rules-mini{padding:0 0 16px;font-size:13px;line-height:1.8}
.points-rules .side-card{border:0;padding:0;margin:0;border-radius:0}

@media(max-width:720px){
  .topbar{flex-wrap:wrap;row-gap:4px}
  .toolbar{margin-left:auto;max-width:100%;gap:8px}
  .mobile-brand .brand-name{font-size:23px}
  .mobile-brand .brand-mark{width:27px;height:27px}
  .profile-switch{gap:4px;padding:3px 0 3px 3px}
  .profile-switch .profile-label{display:inline;font-size:12px}
  .profile-switch .avatar{width:28px;height:28px;font-size:10px;border:0}
  .sync-badge{font-size:12px;white-space:normal;max-width:190px;min-width:58px;padding:8px}
  .today-heading{padding-right:72px}
  .today-page .task-group,.today-page .task-meta,.today-page .section-title>span,
  .daily-summary .progress-estimate,.daily-summary .person-progress-head,.summary-deadline,
  .today-page .participant-state,.page-points .wallet-owner,.page-points .wallet-number span,
  .page-points .section-title>span,.page-points .reward-card p,.page-records .record-card-header p,
  .page-records .record-author,.today-date{font-size:12px}
  .daily-summary .summary-heading{align-items:flex-start;gap:6px}
  .daily-summary .summary-heading h2{font-size:14px}
  .daily-summary .person-progress-head{flex-wrap:nowrap;gap:6px;white-space:nowrap}
  .daily-summary .person-progress-head>.avatar{width:22px;height:22px}
  .today-page .task-footer{flex-wrap:wrap;gap:4px 10px}
  .today-page .task-footer>.text-btn{margin-left:auto}
  .participant-states{gap:10px}
  .section-title{gap:8px;flex-wrap:wrap}
  .page-points .reward-card{gap:8px;grid-template-columns:30px minmax(0,1fr) auto}
  .page-points .reward-card h3{font-size:14px}
  .page-points .reward-card .btn{min-width:76px}
  .mobile-nav button{font-size:12px;line-height:16px;gap:3px;min-height:48px}
  .page-footer{font-size:10px;align-items:flex-start;gap:16px}
  dialog{padding:18px 16px;max-height:calc(100dvh - 32px)}
  dialog .modal-header h2{font-size:19px}
  dialog:has(.candidate-grid){inset:16px 0 auto;max-height:calc(100dvh - 32px);padding:16px 14px}
  .draw-top [data-action="draw-next"]{min-width:130px;min-height:44px}
  .draw-top{gap:10px}
  .candidate-grid{gap:10px}
  .candidate{padding:12px;grid-template-columns:28px minmax(0,1fr) 80px}
  .candidate p{line-height:1.7}
  .dialog-footer>.btn{min-height:44px}
  .upload-preview{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .photo-preview-item{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:stretch;border-radius:10px}
  .upload-preview .photo-preview-item img{width:56px;height:56px}
  .photo-preview-item .remove-photo{border-top:0;border-left:1px solid #eee5db;min-height:56px}
}
@media(max-width:374px){
  .toolbar{gap:6px}
  .mobile-brand .brand-name{font-size:22px}
  .mobile-brand .brand-mark{width:25px;height:25px}
  .mobile-brand .brand{gap:7px}
  .daily-summary .progress-pair{gap:10px}
  .today-page .task-header{flex-wrap:wrap}
  .today-page .task-main{min-width:120px}
  .today-page .task-actions{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.fade-in{animation:none}}
