:root{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC",sans-serif;color:#182e29;background:#f1f5f3;font-size:16px;--green:#176b58;--muted:#60736d;--line:#dbe5df}*{box-sizing:border-box}body{margin:0}header{background:#153e36;color:white;padding:calc(15px + env(safe-area-inset-top)) 18px 15px;display:flex;justify-content:space-between;align-items:center}header small{display:block;color:#b7d8cb;margin-top:4px}header span{font-size:13px;border:1px solid #71978b;padding:5px 9px;border-radius:20px}main{max-width:760px;margin:auto;padding:15px 12px calc(96px + env(safe-area-inset-bottom))}nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid var(--line);padding:5px 2px calc(7px + env(safe-area-inset-bottom));z-index:4}nav button{flex:1;background:none;color:var(--muted);padding:12px 2px;border:0;font-size:14px;min-width:0}nav button.active{color:#fff;background:var(--green);border-radius:9px}h1{font-size:23px;margin:5px 0 13px}h2{font-size:18px;margin:0 0 12px}h3{font-size:16px;margin:16px 0 8px}p{line-height:1.6;margin:8px 0}small,.muted{color:var(--muted);font-size:13px;line-height:1.55}.card{background:white;border:1px solid var(--line);border-radius:15px;padding:15px;margin-bottom:12px;overflow-wrap:anywhere}.hero{background:#153e36;color:white;border:0}.hero small{color:#b7d8cb}.big{font-size:30px;font-weight:750;letter-spacing:-.8px;margin:5px 0 12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric{background:#f3f7f5;border-radius:10px;padding:11px;min-width:0}.metric b{display:block;font-size:19px;margin-top:4px;overflow-wrap:anywhere}.hero .metric{background:#245246}.row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.row>div:first-child{min-width:0;flex:1}.row b{overflow-wrap:anywhere}.right{text-align:right}.good{color:#116b50}.bad{color:#b42318}.warn{background:#fff6df;border-color:#efd69b}label{display:block;font-weight:600;font-size:14px;margin:12px 0 4px}input,select,textarea{width:100%;font:inherit;border:1px solid #b9cbc1;border-radius:9px;background:#fff;color:#182e29;padding:11px;min-height:44px}input[type=checkbox]{width:20px;min-height:20px;vertical-align:middle;margin-right:6px}button{font:inherit;font-weight:600;border:1px solid #b9cbc1;background:#fff;color:#153e36;border-radius:9px;padding:11px 12px;cursor:pointer;min-height:42px}button.primary{background:var(--green);color:white;border-color:var(--green)}button.danger{color:#a22222}button:disabled{opacity:.45;cursor:default}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.actions button{flex:1}.full{width:100%;margin-top:10px}progress{width:100%;height:12px;accent-color:var(--green)}.monthbar{display:flex;align-items:center;gap:6px;margin-bottom:12px}.monthbar input{min-width:0;flex:1}.monthbar button{padding:8px}.pill{display:inline-block;font-size:12px;border-radius:14px;background:#e7f0eb;padding:3px 8px;margin-left:4px}.bar{display:flex;height:20px;border-radius:6px;overflow:hidden;margin:10px 0}.dot{display:inline-block;width:11px;height:11px;margin-right:7px;border-radius:3px}.chart{width:100%;height:auto}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th,td{text-align:right;padding:9px 7px;border-bottom:1px solid var(--line)}th:first-child,td:first-child{text-align:left}#notice{position:fixed;bottom:calc(75px + env(safe-area-inset-bottom));left:12px;right:12px;background:#153e36;color:#fff;padding:12px;border-radius:10px;z-index:8;text-align:center}details summary{cursor:pointer;font-weight:650}hr{border:0;border-top:1px solid var(--line);margin:15px 0}fieldset{border:0;padding:0;margin:0} @media(max-width:360px){nav button{font-size:12px}.metric b{font-size:16px}}
