:root{--green:#1f3831;--green2:#2e4a3f;--brass:#c9a66b;--ink:#202824;--muted:#738078;--paper:#f6f5f0;--white:#fff;--line:#e5e7e1}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;padding-bottom:92px}.topbar{height:76px;background:var(--green);color:white;padding:12px 20px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:18px;font-weight:800;letter-spacing:1.4px}.brand span{color:var(--brass)}.topbar small{color:#d4ddd7;font-size:11px}.top-actions{display:flex;gap:8px}.icon-btn{border:1px solid #ffffff40;background:#ffffff12;color:white;border-radius:12px;width:42px;height:42px;font-size:22px}.welcome{margin:18px 16px 14px;background:linear-gradient(125deg,#1f3831,#345548);border-radius:22px;color:white;padding:23px;min-height:185px;display:flex;justify-content:space-between;overflow:hidden;position:relative}.eyebrow{font-size:10px;letter-spacing:1.2px;color:var(--brass);font-weight:700;margin:0 0 7px}.welcome h1{font-size:27px;line-height:1.35;margin:0 0 8px}.muted{font-size:12px;line-height:1.8;color:#d2ddd6;max-width:240px;margin:0}.welcome-mark{font-size:46px;font-weight:900;color:#ffffff16;align-self:center;letter-spacing:-4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 16px 25px}.stats article{background:white;border:1px solid var(--line);border-radius:15px;padding:13px 10px;min-width:0}.stats small{display:block;color:var(--muted);font-size:10px;margin-bottom:8px}.stats strong{font-size:17px;white-space:nowrap}.section-head{display:flex;align-items:end;justify-content:space-between;margin:0 18px 12px}.section-head h2{font-size:22px;margin:0}.primary{background:var(--green);color:white;border:0;border-radius:12px;padding:12px 16px;font-weight:700;font-size:13px}.project-list{margin:0 16px}.empty{background:white;border:1px dashed #cbd2cb;border-radius:18px;padding:30px 20px;text-align:center}.empty-icon{margin:auto auto 12px;width:46px;height:46px;border-radius:15px;background:#edf1ed;color:var(--green);display:grid;place-items:center;font-size:25px}.empty h3{font-size:15px;margin:0 0 6px}.empty p{font-size:12px;color:var(--muted);margin:0}.project-card{background:white;border:1px solid var(--line);border-radius:16px;padding:15px;margin-bottom:10px}.project-card h3{margin:0 0 5px;font-size:15px}.project-card p{margin:0;color:var(--muted);font-size:11px}.project-meta{display:flex;justify-content:space-between;margin-top:13px;padding-top:10px;border-top:1px solid var(--line);font-size:11px}.notice{margin:22px 16px;background:#eeeee7;border-radius:14px;padding:14px}.notice strong{font-size:12px}.notice p{font-size:11px;line-height:1.8;color:var(--muted);margin:5px 0 0}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:10px 10px calc(10px + env(safe-area-inset-bottom));z-index:3}.bottom-nav a{color:#87918a;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:19px}.bottom-nav a span{font-size:10px}.bottom-nav a.active{color:var(--green);font-weight:700}dialog{border:0;border-radius:20px;padding:0;width:min(94vw,480px);max-height:88vh;box-shadow:0 20px 70px #0003}dialog::backdrop{background:#14231dcc}dialog form,#detailContent{padding:22px}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:18px}.dialog-head h2{margin:0;font-size:21px}.close{border:0;background:#f1f2ee;border-radius:10px;width:36px;height:36px;font-size:22px}label{display:block;font-size:12px;font-weight:700;margin:13px 0}input,textarea{display:block;width:100%;margin-top:7px;border:1px solid #dce1db;border-radius:11px;padding:12px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}textarea{resize:vertical}.full{width:100%;margin-top:12px}.detail-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-actions{display:flex;gap:8px;margin-top:18px}.secondary{background:#eef1ed;color:var(--green);border:0;border-radius:11px;padding:11px 13px;font-weight:700}.danger{color:#a23d32;background:#f8eeec}.small-note{font-size:11px;line-height:1.7;color:var(--muted)}.notes-box{margin-top:14px;padding:13px;background:#f5f6f2;border-radius:12px}.notes-box strong{font-size:12px}.notes-box p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;color:var(--ink)}.notes-empty{color:var(--muted)!important}@media(min-width:700px){main{max-width:760px;margin:auto}.topbar{padding-inline:max(20px,calc((100vw - 760px)/2))}.welcome{margin-top:28px}.project-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.project-card{margin:0}}
