:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#26382d;background:#f6f6ef;font-synthesis:none;color-scheme:light;--surface:#fffefa;--line:#e1e5da;--ink:#26382d;--muted:#5e6c62;--sage:#45674e}*{box-sizing:border-box}body{margin:0;min-width:300px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d9e0d5;background:var(--surface);color:var(--ink);border-radius:11px;padding:9px 13px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-weight:650;font-size:.9rem;line-height:1.3}button:hover,.button:hover{background:#eef2e9}button:disabled,.disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,.upload:focus-within{outline:2px solid #56795e;outline-offset:3px}button.primary{background:#42654c;color:#fff;border-color:#42654c}button.primary:hover{background:#33503b}.icon-button{width:44px;padding:0;flex-shrink:0}button.danger{color:#8b3c37}button.text-button{background:none;border:0;color:#48654e;padding:4px;white-space:nowrap}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,p,dl,dd{margin:0}h1{font-size:clamp(2rem,4.5vw,3rem);letter-spacing:-.05em;line-height:1.18}h2{font-size:1.15rem;line-height:1.4}h3{font-size:1rem}p,li,dd{line-height:1.65;overflow-wrap:anywhere}small{font-size:.8rem;line-height:1.45}.shell{width:min(100% - 48px,1040px);margin:auto}.topbar{border-bottom:1px solid #e4e7dc;background:#fafaf4;padding-top:env(safe-area-inset-top)}.topbar-inner{height:75px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px}.brand-icon{width:42px;height:42px;border-radius:14px;background:#dce7d8;color:#385741;display:grid;place-items:center}.brand strong,.brand small{display:block}.brand strong{font-size:1.18rem;letter-spacing:-.035em}.brand small{color:var(--muted);font-size:.75rem}.settings-button{border-color:#e1e6da;background:#f3f5ed}.main{padding-top:32px;padding-bottom:calc(104px + env(safe-area-inset-bottom))}.stack{display:grid;gap:20px}.home-intro,.page-title,.section-title{display:flex;align-items:center;justify-content:space-between;gap:9px}.home-intro{align-items:end}.eyebrow{font-size:.78rem;letter-spacing:.14em;font-weight:750;color:#526b54;margin-bottom:6px}.eyebrow span{display:inline-block;width:7px;height:7px;border-radius:100%;background:#789278;margin-right:6px;vertical-align:2px}.date-chip{display:flex;align-items:center;gap:7px;color:#536457;font-size:.85rem;background:#edf0e6;border:1px solid #e5e9dd;padding:8px 12px;border-radius:20px;white-space:nowrap}.hero{position:relative;overflow:hidden;background:#e1ebdd;border:1px solid #d5e2d2;border-radius:25px;padding:28px 32px;min-height:262px}.hero-body{position:relative;z-index:1}.hero-kicker{display:flex;gap:8px;align-items:center;color:#415d47;font-weight:700;font-size:.88rem}.hero h2{margin:11px 0 4px;font-size:clamp(1.65rem,4vw,2.45rem);letter-spacing:-.045em}.hero h2 em{font-weight:750;font-style:normal}.hero p{color:#4d6152;font-size:.95rem}.hero button{margin-top:17px;background:#f7faf3;border-color:#c9d8c7;color:#385640}.contours{position:absolute;right:-42px;top:-65px;width:430px;height:430px;transform:rotate(-28deg);pointer-events:none}.contours i{position:absolute;border:1px solid #a8c2a6;opacity:.65;border-radius:44% 56% 63% 37%/48% 42% 58% 52%}.progress{max-width:345px;margin-top:16px;color:#405646;font-size:.8rem;font-weight:700}.progress div{display:flex;justify-content:space-between;gap:8px;margin-bottom:3px}progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;background:#cbdac9}progress::-webkit-progress-bar{background:#cbdac9}progress::-webkit-progress-value{background:#56785a;border-radius:10px}progress::-moz-progress-bar{background:#56785a;border-radius:10px}.quick-grid,.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.quick{justify-content:flex-start;text-align:left;padding:14px 17px;border-radius:17px;gap:12px;min-height:78px}.quick strong,.quick small,.timeline-row small,.upload-row small{display:block}.quick strong{font-size:1rem}.quick small{color:var(--muted);font-weight:400;margin-top:3px}.quick-icon,.empty-icon{width:43px;height:43px;border-radius:13px;background:#e8efe4;display:grid;place-items:center;color:#43664d;flex-shrink:0}.peach{background:#f3ece2;color:#795d44}.quick-plus{margin-left:auto;color:#607568}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px;min-width:0}.home-card{min-height:129px;padding:15px 18px}.home-card h2{display:flex;align-items:center;gap:7px;font-size:1rem}.home-card h2 svg{color:#53735a}.home-empty{margin-top:9px;color:var(--muted)}.home-empty strong{color:#3f5145;font-size:.95rem}.home-empty p{font-size:.88rem;margin-top:2px}.privacy{display:flex;align-items:center;justify-content:center;gap:8px;color:#56695b;font-size:.88rem}.tab-bar{position:fixed;z-index:3;bottom:0;left:0;right:0;border-top:1px solid #dee4d8;background:#fafbf5;padding-bottom:env(safe-area-inset-bottom)}.tab-inner{display:grid;grid-template-columns:repeat(5,1fr);max-width:620px;margin:auto}.tab-inner a{display:grid;justify-items:center;align-content:center;gap:5px;min-height:63px;color:#57675c;font-size:.81rem;font-weight:600}.tab-inner a[aria-current]{color:#355641;font-weight:750}.tab-inner a[aria-current] svg{border-radius:12px;background:#e0eadb;box-shadow:0 0 0 4px #e0eadb}.muted,.hint{color:var(--muted)}.hint{font-size:.88rem}.error{color:#8c302f;background:#f9eae7;border-radius:9px;padding:10px;overflow-wrap:anywhere}.empty{display:grid;justify-items:center;text-align:center;gap:8px;padding:24px 4px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.form-stack{display:grid;gap:13px}.form-stack>button{justify-self:start}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}label{display:grid;gap:5px;font-size:.9rem;font-weight:650;min-width:0}input:not([type=checkbox],[type=range],[type=file]),textarea,select{border:1px solid #d6ddd2;border-radius:9px;width:100%;min-width:0;min-height:44px;padding:9px 10px;background:#fff;color:var(--ink);font-size:16px}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%2345674e' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}input[type=date]{-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=range]{accent-color:#42654c;min-height:32px;width:100%;margin:0}input[type=checkbox]{accent-color:#42654c;width:18px;height:18px;flex-shrink:0}textarea{resize:vertical}dialog{border:1px solid var(--line);border-radius:19px;padding:20px;width:min(620px,calc(100% - 26px));max-height:calc(100dvh - 40px - env(safe-area-inset-top) - env(safe-area-inset-bottom));color:var(--ink);background:var(--surface);overscroll-behavior:contain}dialog::backdrop{background:#1c2e24a1}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.dialog-head h2{font-size:1.3rem}.confirm{padding:12px;background:#f1f3ea;border-radius:12px}.confirm p{margin-bottom:7px}.file-actions .hint{margin-top:6px}.upload{position:relative;overflow:hidden}.upload input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-row,.timeline-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.upload-row>div:first-child,.timeline-row>div:first-child{min-width:0;overflow-wrap:anywhere}.upload-row small,.timeline-row small{color:var(--muted)}.upload-row .actions{justify-content:flex-end}summary{cursor:pointer;font-weight:650;min-height:36px;line-height:1.6}.guide summary{display:flex;align-items:center;gap:9px;min-height:26px}.guide summary svg:last-child{margin-left:auto}.guide p{margin-top:8px}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.thumbnail{display:grid;padding:0;justify-content:stretch;text-align:left;overflow:hidden;gap:0}.thumbnail img{width:100%;aspect-ratio:3/4;object-fit:cover}.thumbnail span{padding:6px}.photo-preview{display:grid;place-items:center;background:#edf1e8;border-radius:12px;margin-bottom:12px;min-height:80px}.photo-preview img{max-width:100%;max-height:55dvh;object-fit:contain}.image-fallback{display:inline-block;color:var(--muted);overflow-wrap:anywhere;font-size:.84rem;padding:9px}.compare{position:relative;display:grid;gap:8px;background:#e9ede5;border-radius:12px;overflow:hidden;-webkit-user-select:none;user-select:none}.compare.side{grid-template-columns:repeat(2,minmax(0,1fr))}.compare.slide{grid-template-columns:1fr}.compare.zoomed{touch-action:none;cursor:grab}.compare-pane{display:grid;place-items:center;aspect-ratio:4/5;max-height:475px;overflow:hidden}.compare.slide .compare-pane{grid-area:1/1}.compare-pane img{width:100%;height:100%;max-height:475px;object-fit:contain;pointer-events:none}.divider{position:absolute;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 3px #27322a;pointer-events:none}.compare-labels{display:flex;justify-content:space-between;gap:8px;font-size:.82rem;color:var(--muted)}.inline-label,.range-inline{display:flex;align-items:center;gap:8px}.range-inline{flex:1}.segmented{display:inline-flex;flex-wrap:wrap;justify-self:start;gap:3px;background:#eff2ea;border-radius:12px;padding:3px}.segmented button{border:0;background:transparent}.segmented button[aria-pressed=true]{background:#dce9d9;color:#284731}.search-row{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.search-row label{display:block;flex:1;min-width:150px}.search-row input{margin-top:5px}.tags{display:flex;flex-wrap:wrap;gap:6px}.tags span{background:#eef2e9;color:#486252;padding:5px 9px;border-radius:8px;font-size:.84rem}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.chart{width:min(100%,740px);margin:auto}.chart text{font-family:inherit;font-size:12px;fill:#58665d}.checkbox-list{display:grid;gap:5px;max-height:200px;overflow:auto}.checkbox-list label,.check-label{display:flex;align-items:center;overflow-wrap:anywhere}.report-list>div{display:grid;grid-template-columns:minmax(95px,1fr) 3fr;gap:10px;padding:7px 0;border-top:1px solid var(--line)}.report-list dt{font-size:.88rem;font-weight:650}.report-item{border-top:1px solid var(--line);padding:10px 0}.report-item summary{min-height:44px;overflow-wrap:anywhere}.report-item summary span{display:inline-block;margin-left:9px;font-size:.82rem}.settings-section{border-top:1px solid var(--line);padding-top:12px}.settings-section h3{display:flex;align-items:center;gap:7px}.toast{position:fixed;left:50%;transform:translate(-50%);bottom:calc(73px + env(safe-area-inset-bottom));z-index:5;background:#253e2d;color:#fff;border-radius:12px;padding:10px 14px;width:max-content;max-width:calc(100% - 26px);overflow-wrap:anywhere}@media(max-width:700px){.shell{width:calc(100% - 32px)}.topbar-inner{height:62px}.main{padding-top:22px}.hero{padding:20px;min-height:0;border-radius:18px}.contours{width:315px;height:310px;right:-150px;top:-70px;opacity:.7}.dashboard-grid{grid-template-columns:1fr;gap:11px}.quick-grid{gap:8px}.quick{padding:10px;gap:7px;min-height:70px}.quick-icon{width:33px;height:33px;border-radius:10px}.quick-icon svg{width:17px}.quick-plus{display:none}.quick small{font-size:.71rem}.home-intro{align-items:flex-start;flex-direction:column}.date-chip{padding:4px 9px}.stack{gap:14px}.card{padding:14px}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-title h1{font-size:1.8rem}}@media(max-width:365px){.form-grid{grid-template-columns:1fr}.quick small{display:none}.contours{opacity:.3}}
