:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;font-size:16px;color:#233c34;background:#f5f5ef;--ink:#233c34;--muted:#627167;--teal:#236b58;--line:#dae3d9;--paper:#fffefa;--soft:#e8f0e5;--red:#a23e34}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0}a{color:var(--teal)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #ad7a22;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:25px;letter-spacing:2px}h2{font-size:27px;line-height:1.55}h3{font-size:19px;line-height:1.6}p{line-height:1.8}.app-header{max-width:1140px;margin:auto;padding:26px 28px;display:flex;justify-content:space-between;gap:20px;align-items:center}.brand{display:flex;align-items:center;gap:12px}.brand-mark{font-size:32px;background:var(--teal);color:#fff;border-radius:16px;width:52px;height:52px;text-align:center;line-height:52px}.brand p{font-size:13px;color:var(--muted)}#identity{display:flex;align-items:center;gap:16px;font-size:14px}.development-note{background:#e8eddf;text-align:center;padding:10px 20px;color:#4c5f4e;font-size:13px;line-height:1.7}main{max-width:1080px;margin:auto;padding:30px 26px 50px;min-height:70vh}.auth-shell{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;max-width:960px;margin:30px auto}.auth-intro h2{font-size:36px;line-height:1.55;margin:18px 0}.auth-intro p{font-size:18px;line-height:2;max-width:400px}.eyebrow{font-size:13px;color:var(--teal);letter-spacing:1.5px}.principle{margin-top:35px;padding-left:18px;border-left:3px solid var(--teal);line-height:2;color:var(--muted);font-size:15px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:24px}.auth-panel h2{font-size:22px;margin:22px 0 8px}.muted{color:var(--muted);font-size:15px}.small{font-size:13px;color:var(--muted);margin-top:15px}.tabs{display:flex;flex-wrap:wrap;gap:6px}.tabs button{border-radius:11px;min-height:46px;padding:11px 18px;background:transparent;font-size:15px}.tabs button[aria-selected=true]{background:var(--teal);color:#fff}label{display:block;font-size:15px;margin:17px 0 8px}input,select,textarea{width:100%;min-height:48px;border:1px solid #becdbf;background:var(--paper);color:var(--ink);padding:12px 14px;border-radius:12px;font-size:16px}textarea{min-height:86px;resize:vertical}input[type=checkbox]{width:22px;min-height:22px;height:22px;accent-color:var(--teal);margin:0;flex-shrink:0}.check{display:flex;gap:11px;align-items:flex-start;font-size:16px;line-height:1.8}.primary,.secondary,.danger{min-height:50px;border-radius:13px;padding:13px 19px;font-weight:600}.primary{background:var(--teal);color:#fff}.secondary{background:#e9eee4}.danger{background:#f9e7e1;color:var(--red)}.quiet-button{background:transparent;padding:10px;min-height:44px;color:var(--teal)}button:disabled{opacity:.55;cursor:wait}.full{width:100%;margin-top:18px}.error{color:var(--red);font-size:14px;line-height:1.7;min-height:10px;margin-top:12px}.narrow{max-width:520px;margin:40px auto}.workspace-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:8px 0 24px}.workspace-head h2{font-size:30px;margin:7px 0}.date-control{font-size:13px;margin:0;max-width:200px}.date-control input{margin-top:7px}.main-tabs{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:26px}.notice{padding:17px 20px;background:var(--soft);border-radius:14px;margin:16px 0;line-height:1.85;font-size:15px}.notice.warn{background:#f8edda;color:#7c591f}.notice.danger{background:#f9e7e1;color:var(--red)}.section-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:28px 0 15px}.section-title h3{font-size:21px}.task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.task-card{padding:24px;border:1px solid var(--line);background:var(--paper);border-radius:20px;display:flex;flex-direction:column;gap:13px}.task-time{font-size:14px;color:var(--teal);font-weight:600}.task-card h3{font-size:21px}.task-card .details{font-size:14px;color:var(--muted);line-height:1.85}.badge{display:inline-block;align-self:flex-start;padding:5px 10px;border-radius:8px;font-size:13px;background:#e8eee3;line-height:1.6}.badge.warn{background:#f8edda;color:#7c591f}.badge.done{background:#deecdf;color:#1c604b}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.actions button{flex:1}.elder .task-grid{grid-template-columns:1fr;max-width:680px}.elder .task-card h3{font-size:27px}.elder .task-card .details{font-size:18px}.elder .task-card .primary,.elder .task-card .secondary{font-size:21px;min-height:60px}.elder .notice{font-size:18px}.two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.chip{border-radius:11px;padding:12px 15px;min-height:46px;background:#edf0e7;border:1px solid transparent}.chip[aria-pressed=true]{border-color:var(--teal);background:#deeddd;color:#1a5745}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row>*{flex:1;min-width:120px}.report-row{display:flex;justify-content:space-between;gap:24px;padding:13px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.8}.report-row span:last-child{text-align:right}.record-row{padding:16px 0;border-bottom:1px solid var(--line)}.record-row:last-child{border:0}.record-row strong{display:block;margin-bottom:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.stat{background:#e9eee1;border-radius:17px;padding:21px}.stat b{display:block;font-size:30px;font-weight:600}.stat span{font-size:14px;color:var(--muted)}.members{display:grid;gap:10px;margin:16px 0}.member{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.invite-code{font-family:Consolas,monospace;font-size:25px;overflow-wrap:anywhere;background:#e5eddf;padding:18px;border-radius:14px;letter-spacing:1px;margin:15px 0}.empty{text-align:center;color:var(--muted);padding:40px 20px;line-height:1.9}dialog{border:1px solid var(--line);border-radius:22px;padding:26px;max-width:530px;width:calc(100% - 30px);max-height:90vh;overflow:auto;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#183b3266}.dialog-close{display:flex;justify-content:flex-end;margin:-10px -10px 0 0}.icon-button{width:40px;height:40px;background:#eaf0e6;border-radius:50%;font-size:27px}.dialog h2{font-size:25px}.dialog .muted{margin:8px 0 15px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#1e493a;color:#fff;padding:15px 21px;border-radius:14px;max-width:calc(100% - 32px);z-index:10;line-height:1.8;box-shadow:0 8px 40px #1a322b30}footer{max-width:1080px;margin:0 auto;padding:10px 26px 30px;font-size:13px;color:var(--muted);line-height:1.9}@media(max-width:760px){.auth-shell{grid-template-columns:1fr;gap:26px;margin:5px auto}.auth-intro h2{font-size:29px}.auth-intro p{font-size:16px}.principle{display:none}.auth-intro{padding:0 5px}.task-grid,.two-column{grid-template-columns:1fr}main{padding:24px 16px}.app-header{padding:19px 16px}.brand h1{font-size:22px}.brand-mark{width:44px;height:44px;line-height:44px;font-size:28px}#identity{gap:4px;flex-wrap:wrap;justify-content:flex-end}.workspace-head{align-items:flex-start}.workspace-head h2{font-size:25px}.date-control{max-width:150px;min-width:130px}.tabs button{padding:10px 14px}.panel,.task-card{padding:20px}.stats{gap:8px}.stat{padding:15px 10px}.stat b{font-size:25px}.report-row{font-size:15px}.report-row span:first-child{min-width:120px}}@media(max-width:400px){.workspace-head{flex-direction:column}.date-control{max-width:none;width:100%}.tabs{gap:4px}.tabs button{padding:10px 12px}.brand p{font-size:11px}.development-note{font-size:12px}.stats{grid-template-columns:1fr}.stat{display:flex;gap:15px;align-items:center}}
/* Desktop Web App installation, device consent and delivery receipts. */
body{padding-top:env(safe-area-inset-top)}
.install-guide{margin:0 0 26px}.install-card{background:#eef3e8;border:1px solid var(--line);border-radius:16px;padding:15px 20px}.install-card summary{font-size:18px;font-weight:600;cursor:pointer;min-height:32px}.install-card p{margin:10px 0}.install-card ol{padding-left:24px;margin:14px 0;line-height:1.95}.install-card li{padding:4px 0}.install-summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--muted)}.install-summary .badge{margin:0}.offline-banner{background:#fff0d6;color:#785114;padding:14px 24px;text-align:center;line-height:1.8;position:sticky;top:0;z-index:4}.push-panel{max-width:760px;margin-bottom:20px}.push-panel h2{font-size:27px;margin:8px 0 12px}.push-steps{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.push-steps span{background:#edf0e8;color:var(--muted);border-radius:10px;padding:10px 13px;font-size:15px}.push-steps .step-ready{background:#e0eddf;color:#1c604b}.push-actions{margin-top:20px}.push-actions button{min-height:60px;font-size:20px}.push-diagnostics{margin-top:12px;border-top:1px solid var(--line);padding-top:17px}.push-diagnostics summary{cursor:pointer;min-height:40px;font-size:16px}.push-device-panel{max-width:760px;margin-bottom:24px}.push-device-panel .section-title{margin:0 0 14px}.device-record .badge{margin:8px 0}.device-receipts{display:grid;gap:3px;margin:10px 0;color:var(--muted);font-size:15px}.offline-shell{max-width:560px;text-align:center;margin:60px auto;padding:24px}.offline-shell img{border-radius:20px;margin-bottom:25px}.offline-shell h1{font-size:29px;line-height:1.55;margin-bottom:18px}.offline-shell p{font-size:19px}.offline-shell .small{font-size:14px}.offline-retry{display:flex;align-items:center;justify-content:center;margin:24px 0;text-decoration:none;min-height:60px;font-size:21px}footer{padding-bottom:calc(30px + env(safe-area-inset-bottom))}@media(max-width:760px){.install-guide{margin-bottom:22px}.install-card{padding:16px}.install-card ol{font-size:17px}.push-actions{flex-direction:column}.push-actions button{width:100%;flex:auto}.push-steps{gap:7px}.push-steps span{font-size:14px;padding:9px}.push-panel h2{font-size:25px}.offline-banner{font-size:15px;padding:12px 16px}.offline-shell{margin:30px auto}}
