:root{font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif;color:#283d34;background:#f6f7f2;font-synthesis:none;--green:#426b58;--muted:#77867d;--line:#e4e8df}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:12px;background:white;color:inherit;padding:10px 16px;min-height:44px}button:hover{background:#edf2e9}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #a7b98c;outline-offset:3px}a{color:var(--green)}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#335543}.danger{color:#a94e45}.shell{max-width:1440px;margin:auto;display:grid;grid-template-columns:238px 1fr;min-height:100vh}aside{border-right:1px solid var(--line);padding:40px 25px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;text-decoration:none;align-items:center;font-size:23px;font-weight:650;letter-spacing:2px}.brand-icon{background:#e4ecdb;width:48px;height:48px;display:grid;place-items:center;border-radius:17px;font-size:33px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:4px}.aside-note{font-size:12px;color:var(--muted);margin:28px 0 36px}nav{display:grid;gap:12px}nav button{border:0;background:transparent;text-align:left;font-size:20px;display:flex;gap:15px}nav button span{font-size:14px}nav button.active{background:#e6eddf;color:#365a45;font-weight:650}.aside-bottom{margin-top:auto;font-size:13px;color:var(--muted);line-height:2}main{padding:40px 44px 24px;min-width:0}header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.eyebrow{font-size:12px;color:var(--muted);letter-spacing:1px}h1{font-size:29px;letter-spacing:2px;margin:8px 0}h2{font-size:19px;margin:0}h3{font-size:16px;margin:0}p{line-height:1.7}.connection{font-size:12px;color:var(--muted);margin-bottom:22px}.connection::before{content:'●';color:#7a9970;margin-right:6px}.filters{display:flex;gap:8px;overflow:auto;padding-bottom:10px;margin-bottom:16px}.chip{border-radius:24px;white-space:nowrap;font-size:13px;padding:7px 16px;min-height:38px}.chip.active{color:white;background:var(--green);border-color:var(--green)}.hero{background:#e8eddf;border-radius:22px;padding:27px 30px;display:flex;justify-content:space-between;gap:20px;align-items:center;position:relative;overflow:hidden}.hero h2{font-size:25px;font-weight:550;line-height:1.5}.hero p{font-size:13px;color:#62745e;margin-bottom:0}.hero-art{font-size:76px;color:#99ad80;transform:rotate(-14deg);padding:0 20px}.eyebrow.large{display:block;letter-spacing:3px;font-size:10px;margin-bottom:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 30px}.stat{background:white;border:1px solid var(--line);border-radius:16px;padding:18px 22px}.stat strong{font-size:29px;display:block;margin-top:9px;font-weight:550}.stat span{font-size:12px;color:var(--muted)}.stat.warn strong{color:#b77954}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 15px}.section-head small{color:var(--muted);font-size:12px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{border:1px solid var(--line);border-radius:18px;background:white;padding:20px}.card-top{display:flex;gap:12px;align-items:flex-start}.avatar{width:42px;height:42px;display:grid;place-items:center;background:#edf0e5;border-radius:14px;font-size:21px;flex-shrink:0}.pet{background:#f6ecdf}.child{background:#e8edf5}.card-title{flex:1;min-width:0}.card-title h3{overflow-wrap:anywhere}.sub{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.6}.badge{font-size:11px;color:#6b805c;background:#edf3e6;border-radius:6px;padding:5px 8px;white-space:nowrap}.badge.late{color:#a26744;background:#faf0e6}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px;gap:8px}.card-bottom button{padding:7px 14px;font-size:13px}.empty{padding:38px 20px;text-align:center;border:1px dashed #ccd5c5;border-radius:18px;color:var(--muted);line-height:1.8;background:#fafbf7}.empty strong{display:block;font-size:19px;color:#426b58;margin-bottom:10px}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0}.toolbar input{flex:1;min-width:150px}.toolbar button,.toolbar select{font-size:13px}.rows{display:grid;gap:10px}.row{display:flex;gap:12px;align-items:center;background:white;border:1px solid var(--line);padding:16px;border-radius:14px}.row .body{flex:1;min-width:0}.row .body strong,.row .body p{overflow-wrap:anywhere}.row p{font-size:13px;margin:6px 0 0;color:var(--muted);white-space:pre-wrap}.row-actions{display:flex;gap:5px}.row-actions button{font-size:12px;padding:7px 10px}.check{width:19px;height:19px;flex:none;accent-color:var(--green)}input,select,textarea{border:1px solid #d6ddd2;border-radius:10px;background:#fff;padding:11px 12px;color:inherit;min-height:44px;max-width:100%}textarea{resize:vertical;min-height:90px}input:focus,select:focus,textarea:focus{outline:2px solid #9fb88a;outline-offset:1px}label{font-size:13px;display:block;margin:16px 0 6px}dialog{border:0;border-radius:22px;padding:25px;max-width:480px;width:calc(100% - 28px);max-height:90dvh;color:inherit;box-shadow:0 20px 80px #1c352b33}dialog::backdrop{background:#20372e65;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.icon-btn{border:0;padding:5px 10px;background:transparent}#fields input,#fields select,#fields textarea{width:100%}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:26px}.hint{font-size:12px;color:var(--muted);line-height:1.7}.settings-grid{display:grid;gap:15px}.settings-grid .card p{font-size:13px;color:var(--muted)}.settings-grid .card .toolbar{margin-bottom:0}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:24px}.day-head{text-align:center;color:var(--muted);font-size:12px;padding:9px 0}.day{padding:8px 2px;min-height:58px;border-radius:10px;text-align:center;font-size:13px}.day.today{border-color:var(--green)}.day.selected{background:var(--green);color:white}.day .dot{display:block;font-size:10px;margin-top:3px}.month-head{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#283f33;color:white;padding:13px 22px;border-radius:13px;z-index:20;max-width:90%;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}footer{font-size:11px;color:#8a968c;display:flex;justify-content:space-between;margin-top:48px;padding-top:20px;border-top:1px solid var(--line)}.onboarding{margin-bottom:22px}.onboarding p{font-size:14px;color:var(--muted)}.hidden{display:none!important}.note-box{background:#f1f3eb;border-radius:12px;padding:12px;font-size:13px;line-height:1.8}.profile{display:flex;gap:10px;flex-wrap:wrap}.plain{border:0;background:transparent;color:var(--green);padding:5px 8px}.tag{font-size:11px;border-radius:20px;background:#edf0e7;padding:4px 9px}.file{display:none}.date-filter{max-width:160px}.cost{font-size:13px;white-space:nowrap}.section-desc{font-size:13px;color:var(--muted)}
@media(min-width:1200px){main{padding:42px 64px}.cards{gap:18px}}
@media(max-width:760px){.shell{display:block}aside{height:auto;padding:0;border:0;position:fixed;bottom:0;top:auto;background:#fdfefbee;backdrop-filter:blur(12px);width:100%;z-index:5;padding-bottom:env(safe-area-inset-bottom)}.brand,.aside-note,.aside-bottom{display:none}nav{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--line);padding:7px 5px}nav button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:21px;text-align:center;border-radius:12px;padding:5px 1px;min-height:55px}nav button span{font-size:10px}main{padding:25px 18px 100px}h1{font-size:25px}header .primary{font-size:13px;padding:10px 14px}.hero{padding:23px}.hero h2{font-size:21px}.hero-art{font-size:52px;padding:0 4px}.hero p{max-width:225px}.stats{gap:8px;margin-bottom:25px}.stat{padding:15px 13px}.stat strong{font-size:25px}.stat span{font-size:11px}.cards{grid-template-columns:1fr}.card{padding:18px}.row{gap:9px;padding:13px;flex-wrap:wrap}.row-actions{margin-left:auto}.row .body{min-width:120px}.connection{margin-bottom:16px;font-size:11px}.filters{margin-bottom:10px}footer{font-size:10px}#toast{bottom:95px}.two{gap:8px}.toolbar{gap:6px}.toolbar button{padding:9px 10px}.hero-art{align-self:center}.date-filter{max-width:calc(50% - 4px)}}
.shell{max-width:1120px}.hero{padding:18px 24px}.hero h2{font-size:21px}.hero-art{font-size:54px}.hero p{margin-top:8px}.stats{margin:12px 0 20px}.stat{padding:12px 16px}.card{padding:15px}.card-bottom{margin-top:12px}.row{padding:11px 13px}.rows{gap:6px}.section-head{margin:19px 0 11px}header{position:sticky;top:0;background:#f6f7f2;z-index:3;padding:10px 0;margin-top:-10px}.filters{position:sticky;top:100px;background:#f6f7f2;z-index:2;padding-top:7px}.hero h2 br{display:none}@media(max-width:760px){.hero{padding:16px 18px}.hero h2{font-size:20px}.hero-art{font-size:40px}.hero p{font-size:12px}.stats{margin:10px 0 17px}.stat{padding:11px}.stat strong{margin-top:5px}.filters{top:92px}.card{padding:14px}.hero .eyebrow{font-size:9px;margin-bottom:7px}}
