:root{--bg:#f6f8f5;--card:#fff;--ink:#203128;--muted:#748078;--line:#e5ece5;--green:#327e52;--green-dark:#22633e;--soft:#eaf4ec;--amber:#e59a3b;--red:#c95b55;--shadow:0 12px 38px rgba(30,65,42,.07)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a4d6b4;outline-offset:2px}.boot{display:flex;align-items:center;justify-content:center;gap:12px;min-height:100dvh;color:var(--muted)}.spinner{width:20px;height:20px;border:3px solid #dce9df;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.shell{max-width:1220px;margin:auto;padding:0 24px 36px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:800;letter-spacing:.04em}.brand img{width:42px;height:42px;object-fit:contain;border-radius:13px}.brand small{display:block;color:var(--muted);font-size:11px;font-weight:500;letter-spacing:.08em}.desktop-nav{display:flex;gap:6px;background:#ecf1ec;padding:5px;border-radius:16px}.desktop-nav button{border:0;background:none;color:#63756b;padding:10px 20px;border-radius:12px;font-weight:650}.desktop-nav button.active{color:var(--green-dark);background:#fff;box-shadow:0 2px 9px #b7cdbb44}.top-actions{display:flex;align-items:center;gap:10px}.icon-button{border:1px solid var(--line);background:#fff;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:var(--muted)}.icon-button:hover,.text-action:hover{color:var(--green)}.icon-button svg,.nav-button svg,.inline-icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.eyebrow{color:var(--green);font-size:12px;font-weight:800;letter-spacing:.16em}.page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:24px 0}.page-head h1{font-size:34px;letter-spacing:-.04em;line-height:1.2;margin-top:7px}.subtle{color:var(--muted)}.page-head .subtle{margin-top:7px}.primary-button{border:0;border-radius:14px;background:var(--green);color:#fff;padding:12px 18px;font-weight:700;box-shadow:0 8px 18px #327e5229;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.primary-button:hover{background:var(--green-dark)}.primary-button:disabled{opacity:.55;cursor:wait}.secondary-button{border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);padding:10px 15px;font-weight:650}.secondary-button:hover{border-color:#afd1b5}.danger-button{border:1px solid #f0d5d2;color:var(--red);background:#fff7f6;border-radius:12px;padding:10px 14px}.text-action{border:0;background:none;color:var(--muted);font-weight:650;padding:5px 3px}.card{background:var(--card);border:1px solid #e9eee8;border-radius:20px;box-shadow:var(--shadow)}.section-title{font-size:20px;letter-spacing:-.02em}.section-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:26px 0 13px}.section-bar a,.section-bar button{color:var(--green);font-weight:700;border:0;background:none}.muted{color:var(--muted)}
.hero{display:grid;grid-template-columns:1.15fr .85fr;min-height:260px;overflow:hidden;background:linear-gradient(120deg,#dcefe1,#eef8e9);position:relative}.hero-copy{padding:35px 42px;z-index:1}.hero h2{font-size:30px;line-height:1.26;letter-spacing:-.035em;margin:12px 0}.hero p{color:#587264;max-width:390px}.hero .primary-button{margin-top:24px}.hero img{width:100%;height:100%;object-fit:cover;object-position:center}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:17px}.kpi{padding:19px 21px}.kpi .label{font-size:13px;color:var(--muted)}.kpi strong{display:block;font-size:30px;line-height:1.2;margin:7px 0 2px;letter-spacing:-.04em}.kpi .hint{font-size:12px;color:#9aa69c}.kpi.warn strong{color:var(--red)}.kpi.good strong{color:var(--green)}.content-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:18px}.stack{display:grid;gap:11px}.task-card{padding:17px 19px;display:flex;gap:15px;align-items:flex-start}.check{width:25px;height:25px;min-width:25px;border:2px solid #b7d5c0;background:#fff;border-radius:8px;display:grid;place-items:center;color:#fff;margin-top:2px}.check:hover{border-color:var(--green)}.check.done{background:var(--green);border-color:var(--green)}.task-main{flex:1;min-width:0}.task-title{font-weight:720;font-size:16px;word-break:break-word}.task-title.done{text-decoration:line-through;color:#98a69c}.task-desc{font-size:13px;color:var(--muted);margin-top:3px;white-space:pre-wrap;word-break:break-word}.task-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:10px}.chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:7px;background:#f0f4ef;color:#6e7e72;font-size:11px;font-weight:700}.chip.green{background:#e9f5eb;color:var(--green)}.chip.red{background:#fff0ee;color:var(--red)}.chip.amber{background:#fff4e4;color:#ad731e}.task-actions{display:flex;gap:4px}.task-actions button{background:none;border:0;color:#98a59a;padding:3px 5px;font-size:13px}.task-actions button:hover{color:var(--green)}.empty{border:1px dashed #d6e4d8;border-radius:20px;background:#fbfdfb;display:flex;flex-direction:column;align-items:center;text-align:center;padding:25px;color:var(--muted)}.empty img{width:130px;height:100px;object-fit:contain;margin-bottom:6px}.empty strong{color:var(--ink);margin-bottom:4px}.plan-card{padding:19px;display:flex;flex-direction:column;gap:14px}.plan-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.plan-title-row h3{font-size:17px;line-height:1.35}.plan-description{color:var(--muted);font-size:13px;white-space:pre-wrap}.progress-row{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-bottom:7px}.progress-row strong{color:var(--green)}.progress-track{height:8px;background:#edf2ed;border-radius:999px;overflow:hidden}.progress-track i{display:block;height:100%;background:linear-gradient(90deg,#64ae78,#327e52);border-radius:999px}.plan-footer{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.plan-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.filters{display:flex;gap:7px;overflow:auto;padding-bottom:4px}.filters button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:10px;padding:8px 13px;white-space:nowrap;font-size:13px}.filters button.active{background:var(--green);color:#fff;border-color:var(--green)}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.search{width:min(260px,100%);border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 13px;outline:none}.search:focus{border-color:var(--green)}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.stats-card{padding:22px}.stats-card h3{margin-bottom:15px}.bars{height:180px;display:flex;align-items:end;gap:11px;border-bottom:1px solid var(--line);padding:0 5px}.bar-slot{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;height:100%}.bar-slot i{display:block;width:min(35px,100%);min-height:4px;background:#8ccca0;border-radius:7px 7px 0 0}.bar-slot i.today{background:var(--green)}.bar-slot span{font-size:11px;color:var(--muted)}.distribution{display:grid;gap:14px}.dist-line{display:grid;grid-template-columns:48px 1fr 26px;gap:9px;align-items:center;font-size:12px}.dist-line .progress-track{height:8px}.dist-line b{text-align:right}.reminder-list .task-card{margin-bottom:10px}.bottom-nav{display:none}.login-wrap{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-visual{background:linear-gradient(140deg,#d8ecde,#f3f8ed);display:flex;align-items:center;justify-content:center;padding:30px;overflow:hidden}.login-visual img{width:min(550px,100%);filter:drop-shadow(0 20px 30px #31744b22);border-radius:26px}.login-panel{display:flex;align-items:center;justify-content:center;padding:30px}.login-box{width:min(390px,100%)}.login-box .brand{margin-bottom:55px}.login-box h1{font-size:34px;margin-bottom:10px}.login-box p{color:var(--muted);margin-bottom:28px}.field{display:grid;gap:7px;margin-bottom:15px}.field label{font-size:13px;font-weight:700}.field input,.field select,.field textarea{width:100%;border:1px solid #dce6dd;border-radius:12px;background:#fbfdfb;padding:12px 13px;color:var(--ink);outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#72ad83;background:#fff}.field textarea{min-height:90px;resize:vertical}.login-box .primary-button{width:100%;margin-top:7px}.login-note{font-size:12px;color:#9aa69c;margin-top:20px}.modal-backdrop{position:fixed;inset:0;z-index:30;background:#142b1c90;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:#fff;width:min(540px,100%);max-height:min(90dvh,760px);overflow:auto;border-radius:22px;box-shadow:0 20px 80px #17382044}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px}.modal-body{padding:23px 24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.form-grid .wide{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.modal-actions .danger-button{margin-right:auto}#toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);z-index:50;background:#24382a;color:white;padding:11px 18px;border-radius:11px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s;max-width:min(90vw,420px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.topbar .mobile-only{display:none}
@media(max-width:900px){.shell{padding:0 18px 90px}.topbar{height:70px}.desktop-nav{display:none}.topbar .mobile-only{display:grid}.page-head{margin:16px 0 18px}.page-head h1{font-size:28px}.content-grid{grid-template-columns:1fr}.hero{min-height:230px}.hero-copy{padding:30px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.bottom-nav{position:fixed;z-index:20;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fffffff5;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(16px);box-shadow:0 -8px 28px #34573a11}.nav-button{flex:1;display:flex;align-items:center;flex-direction:column;gap:2px;color:#91a095;border:0;background:none;font-size:11px;padding:3px}.nav-button.active{color:var(--green);font-weight:750}.nav-button svg{width:22px;height:22px}.login-wrap{grid-template-columns:1fr}.login-visual{display:none}}
@media(max-width:600px){.shell{padding:0 15px 90px}.topbar{height:66px}.brand{font-size:16px}.brand img{width:38px;height:38px}.page-head h1{font-size:27px}.page-head .subtle{font-size:13px}.hero{display:block;min-height:0}.hero-copy{padding:25px 22px 19px}.hero h2{font-size:24px}.hero p{font-size:13px}.hero .primary-button{margin-top:16px}.hero img{height:130px;object-position:center 56%}.kpi-grid{gap:9px}.kpi{padding:15px}.kpi strong{font-size:25px}.plan-list,.stats-grid{grid-template-columns:1fr}.toolbar{flex-direction:column;align-items:stretch}.search{width:100%}.task-card{padding:14px;gap:10px}.task-actions{flex-direction:column}.form-grid{grid-template-columns:1fr}.modal-backdrop{align-items:end;padding:0}.modal{width:100%;border-radius:22px 22px 0 0;max-height:92dvh}.modal-head,.modal-body{padding:18px}.login-panel{padding:28px}.login-box .brand{margin-bottom:60px}}
