:root{--bg:#f5f8fc;--paper:#fff;--ink:#172b45;--muted:#52657d;--line:#dce6f2;--green:#245fb9;font:15px system-ui,"Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button{border:1px solid var(--line);background:white;border-radius:9px;padding:8px 12px;min-height:40px;cursor:pointer}button:hover{background:#eef5ff}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #3274d2;outline-offset:2px}.primary,.active{background:var(--green);color:white;border-color:var(--green)}.primary:hover,.active:hover{background:#184e9f}aside{position:fixed;inset:0 auto 0 0;width:214px;background:white;color:var(--ink);border-right:1px solid var(--line);padding:29px 16px;display:flex;flex-direction:column}.brand{font-size:21px;font-weight:750;margin:0 12px 38px}.brand span{color:#2869c5;margin-right:8px}nav{display:flex;gap:8px}aside nav{flex-direction:column}nav button{background:transparent;color:inherit;border-color:transparent;text-align:left}aside nav button:hover,aside nav .active{background:#e8f1ff;color:#184e9f;font-weight:700}.sidefoot{margin-top:auto;padding:12px;color:#536b88}main{margin-left:214px;padding:33px clamp(20px,4vw,60px) 56px;max-width:1510px}header,.toolbar,.row,.section-head,.actions{display:flex;align-items:center;justify-content:space-between;gap:12px}h1{font-size:clamp(28px,4vw,41px);margin:5px 0 18px;letter-spacing:-.04em}h2{font-size:18px;margin:0}h3{margin:0;font-size:16px}.eyebrow,small,.muted{color:var(--muted)}.toolbar{flex-wrap:wrap;margin-bottom:18px}.group{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.group input{width:143px}.focus{background:#eaf3ff;border-color:#d3e4fc}.card,.quad{border:1px solid var(--line);border-radius:15px;padding:15px 17px;background:var(--paper);margin-bottom:14px}.card.focus{background:#eaf3ff}.focus progress{width:100%;height:8px;accent-color:#3c7bd3;margin-top:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.quad{margin:0;border-top:3px solid var(--tone);min-width:0}.quad .section-head{padding:2px 0 8px}.section-head span{font-size:13px;color:var(--muted)}.task{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #e9eff7}.task:first-child{border-top:0}.task .title{overflow-wrap:anywhere;text-align:left;border:0;background:transparent;flex:1;padding-left:0}.title strong,.title small{display:block}.title small{margin-top:3px}.check{min-width:40px;padding:4px}.done strong{text-decoration:line-through;color:var(--muted)}.late{color:#913b29;font-weight:650}.section-head.spaced{margin:21px 0 10px}.mobile-only,footer{display:none}dialog{width:min(550px,calc(100% - 24px));border:1px solid var(--line);border-radius:18px;padding:22px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#142b4d80}label{display:grid;gap:5px;margin:9px 0}input,select,textarea{min-width:0;width:100%;background:white;border:1px solid var(--line);border-radius:8px;padding:8px;min-height:40px}textarea{min-height:75px;resize:vertical}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.formgrid>*{min-width:0}.actions{justify-content:flex-start;flex-wrap:wrap;margin-top:10px}.log{padding:8px 0;border-top:1px solid var(--line);overflow-wrap:anywhere;white-space:pre-wrap}.checkline{display:flex;align-items:center;gap:8px}.checkline input{width:20px;min-height:25px}.checkline button{margin-left:auto}#toast{position:fixed;bottom:20px;right:20px;background:#193f72;color:white;border-radius:8px;padding:9px 14px;z-index:5}#toast:empty{display:none}
@media(max-width:760px){aside{display:none}main{margin:0;padding:21px 14px 90px}footer{display:block;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);padding:7px 8px max(7px,env(safe-area-inset-bottom));z-index:2}footer nav{justify-content:space-around;gap:1px}footer nav .active{background:#e8f1ff;color:#184e9f;font-weight:700}footer nav button{text-align:center;font-size:13px;padding:6px}.grid{grid-template-columns:1fr}.card,.quad{padding:12px}.mobile-only{display:inline}#toast{bottom:70px}.task button{min-height:44px}.eyebrow{font-size:13px}}

.title .first-step,.first-step{color:#24589c}
.login{margin:8vh auto!important;max-width:420px;padding:24px}.login h1{margin-bottom:8px}a{color:#2878ce}.sidefoot p{max-width:180px;line-height:1.6}button:disabled{opacity:.5;cursor:wait}.log{white-space:pre-wrap;overflow-wrap:anywhere}
