:root{color:#25342f;background:#fff9f4;font-family:Hiragino Sans,Yu Gothic,system-ui,sans-serif}html,body{overscroll-behavior-x:none;overscroll-behavior-y:none;width:100%;max-width:100%;overflow-x:clip}*{box-sizing:border-box}body{background:radial-gradient(circle at 18px 20px,#e7ae9129 0 7px,#0000 8px) 0 0/88px 88px,radial-gradient(circle at 44px 42px,#73b5a41f 0 5px,#0000 6px) 0 0/88px 88px,linear-gradient(140deg,#fffaf6 0%,#fff6ed 42%,#eef8f3 100%);min-width:0;min-height:100dvh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation;border:0}input[type=date],input[type=time]{-webkit-min-logical-width:0;inline-size:100%;min-inline-size:0;max-inline-size:100%;white-space:nowrap;appearance:none;height:48px;padding:0 14px;display:block;overflow:hidden}input[type=date]::-webkit-date-and-time-value{white-space:nowrap;text-align:left;width:100%;min-width:0;margin:0;line-height:46px;display:block;overflow:hidden}input[type=time]::-webkit-date-and-time-value{white-space:nowrap;text-align:left;width:100%;min-width:0;margin:0;line-height:46px;display:block;overflow:hidden}input[type=date]::-webkit-datetime-edit{white-space:nowrap;min-width:0;padding:0;display:block;overflow:hidden}input[type=time]::-webkit-datetime-edit{white-space:nowrap;min-width:0;padding:0;display:block;overflow:hidden}input[type=date]::-webkit-calendar-picker-indicator{flex:none;margin-left:auto}input[type=time]::-webkit-calendar-picker-indicator{flex:none;margin-left:auto}input,select,textarea{color:#25342f;touch-action:manipulation;background:#ffffffeb;border:1px solid #d8e2dc;border-radius:14px;outline:none;width:100%;min-width:0;min-height:48px;padding:0 14px}textarea{resize:vertical;min-height:112px;padding-top:12px}input:focus,select:focus,textarea:focus{border-color:#5aa898;box-shadow:0 0 0 4px #5aa89829}h1,h2,h3,p{margin:0}.app-shell{min-height:100dvh;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.auth-loading{background:#fff9f4;min-height:100dvh}.auth-shell{min-height:100dvh;padding:calc(28px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom));background:radial-gradient(circle at 18px 20px,#e7ae9121 0 7px,#0000 8px) 0 0/88px 88px,linear-gradient(145deg,#fffaf6 0%,#f4faf7 100%);place-items:center;display:grid;position:relative;overflow:hidden auto}.auth-panel{z-index:1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border:1px solid #68897e29;border-radius:8px;gap:22px;width:min(100%,430px);padding:24px;animation:.56s both auth-panel-in;display:grid;position:relative;box-shadow:0 24px 60px #3a49431f}.auth-brand{align-items:center;gap:14px;display:flex}.auth-brand img{border-radius:15px;flex:none;width:62px;height:62px;box-shadow:0 10px 24px #4f9b8d29}.auth-brand p{color:#658078;font-size:.76rem;font-weight:800}.auth-brand h1{color:#263d36;letter-spacing:0;margin-top:5px;font-size:1.45rem}.auth-mode{background:#edf5f1;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.auth-mode button{color:#687b74;background:0 0;border-radius:6px;min-height:42px;font-size:.86rem;font-weight:900}.auth-mode button.active{color:#2f7d70;background:#fff;box-shadow:0 4px 12px #3a49431a}.auth-form{gap:14px;display:grid}.auth-forgot-button{color:#347f73;background:0 0;justify-self:end;min-height:36px;margin-top:-8px;font-size:.82rem;font-weight:800}.auth-forgot-button:focus-visible{outline-offset:2px;outline:3px solid #5aa89838}.password-field{display:block;position:relative}.password-field input{padding-right:52px}.password-field button{color:#668078;background:0 0;border-radius:50%;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:50%;right:7px;transform:translateY(-50%)}.password-field button:focus-visible{outline:3px solid #5aa89838}.password-field svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:21px;height:21px}.auth-error{color:#a44639;background:#fff0ed;border-radius:6px;padding:10px 12px;font-size:.8rem;font-weight:800;line-height:1.5}.auth-info{color:#2f756a;background:#edf7f3;border-radius:6px;padding:10px 12px;font-size:.8rem;font-weight:800;line-height:1.5}.auth-submit{color:#fff;background:#397f73;border-radius:8px;min-height:50px;font-weight:900;box-shadow:0 12px 24px #317f7238}.auth-submit:disabled{cursor:wait;opacity:.68}.auth-guest-area{text-align:center;gap:10px;display:grid}.auth-guest-area>span{color:#82918c;align-items:center;gap:10px;font-size:.72rem;font-weight:800;display:flex;position:relative}.auth-guest-area>span:before,.auth-guest-area>span:after{content:"";background:#dde7e2;flex:1;height:1px}.auth-guest-button{color:#39796e;background:#fff;border:1px solid #cadbd4;border-radius:8px;min-height:46px;font-weight:900}.legal-agreement{color:#53665f;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;font-size:.78rem;font-weight:800;line-height:1.7;display:grid}.legal-agreement input{accent-color:#397f73;width:22px;min-width:22px;min-height:22px;margin:2px 0 0}.legal-agreement button,.auth-guest-area p button{color:#2f7d70;text-underline-offset:2px;background:0 0;padding:0;font-weight:900;text-decoration:underline;display:inline}.auth-guest-area>p{color:#73847e;font-size:.7rem;line-height:1.65}.auth-paw{color:#efaa93;opacity:.16;position:absolute;transform:rotate(-18deg)}.auth-paw .paw-icon{fill:currentColor;stroke:currentColor;width:84px;height:84px}.auth-paw-one{top:9%;left:8%}.auth-paw-two{color:#65a99b;bottom:8%;right:7%;transform:rotate(22deg)scale(.8)}.account-card{justify-content:space-between;align-items:center;gap:14px;display:flex}.account-card>div{min-width:0}.account-card p:last-child{color:#64766f;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;overflow:hidden}.account-card .secondary-button{white-space:nowrap;flex:none}.account-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px;display:flex}.account-delete-button{color:#a94739;background:#fff0ed;border-radius:14px;min-height:42px;padding:9px 13px;font-size:.82rem;font-weight:900}.account-delete-sheet{max-width:560px}.account-delete-description{color:#6b5954;margin-top:12px;font-size:.86rem;line-height:1.7}.sync-status{color:#2f756a;background:#edf7f3;border-radius:999px;margin-top:8px;padding:5px 9px;font-size:.72rem;font-weight:900;display:inline-flex}.sync-status.saving{color:#8b6818;background:#fff4d7}.sync-status.error{color:#a44639;background:#fff0ed}.legal-settings-card{gap:14px;display:grid}.legal-settings-card p:not(.tag){color:#64766f;margin-top:5px;line-height:1.55}.legal-settings-actions{flex-wrap:wrap;gap:8px;display:flex}.legal-settings-actions button{color:#2f756a;background:#eef7f3;border-radius:999px;min-height:42px;padding:8px 14px;font-weight:900}.legal-modal-backdrop{z-index:100;padding:calc(16px + env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom));background:#25342f75;place-items:center;animation:.18s both sheet-fade-in;display:grid;position:fixed;inset:0}.legal-modal{background:#fff;border-radius:16px;grid-template-rows:auto minmax(0,1fr) auto;width:min(720px,100%);max-height:92dvh;display:grid;overflow:hidden;box-shadow:0 26px 70px #19211e4d}.legal-modal-head{border-bottom:1px solid #e3ebe7;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.legal-modal-head p{color:#397f73;font-size:.72rem;font-weight:900}.legal-modal-head h2{margin-top:3px;font-size:1.15rem}.legal-modal-head>button{color:#48635b;background:#eef5f1;border-radius:50%;flex:none;width:40px;height:40px;font-size:1.3rem}.legal-document-body{color:#455750;overscroll-behavior:contain;padding:18px 18px 28px;line-height:1.85;overflow-y:auto}.legal-document-body>p{font-size:.86rem}.legal-effective-date{color:#71827c;margin-bottom:10px;font-weight:800;font-size:.76rem!important}.legal-document-body section{margin-top:22px}.legal-document-body h3{color:#25342f;margin-bottom:6px;font-size:.96rem}.legal-document-body section p{font-size:.84rem}.legal-modal-footer{border-top:1px solid #e3ebe7;justify-content:flex-end;padding:12px 16px;display:flex}.legal-modal-footer .primary-button{min-width:110px}@keyframes auth-panel-in{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.saved-notice{top:calc(14px + env(safe-area-inset-top));z-index:80;color:#286f64;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;border:1px solid #4f9b8d33;border-radius:999px;align-items:center;gap:9px;min-height:48px;padding:8px 18px 8px 9px;animation:2.2s both saved-notice-show;display:flex;position:fixed;left:50%;box-shadow:0 16px 38px #2d4f4433}.saved-notice span{color:#fff;background:#4f9b8d;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.saved-notice svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.6px;width:19px;height:19px}.saved-notice strong{letter-spacing:0;font-size:.9rem}@keyframes saved-notice-show{0%{opacity:0;transform:translate(-50%,-12px)scale(.96)}14%,82%{opacity:1;transform:translate(-50%)scale(1)}to{opacity:0;transform:translate(-50%,-6px)scale(.98)}}.reveal-on-scroll.is-pending{opacity:0;filter:blur(8px);transition:opacity .76s ease var(--reveal-delay,0s), filter .76s ease var(--reveal-delay,0s);will-change:opacity, filter}.reveal-on-scroll.is-visible{opacity:1;filter:blur()}.topbar{z-index:10;padding:calc(12px + env(safe-area-inset-top)) 16px 12px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffaf6e0;border-bottom:1px solid #916d5b1f;justify-content:space-between;align-items:center;gap:14px;display:flex;position:sticky;top:0}.topbar h1{letter-spacing:0;font-size:clamp(1.35rem,5vw,2rem)}.eyebrow,.tag{color:#6a7b73;font-size:.75rem;font-weight:700}.page-wrap{width:min(1120px,100%);min-width:0;max-width:100%;padding:calc(16px + env(safe-area-inset-top)) 14px 0;margin:0 auto}.view-transition{animation:.46s cubic-bezier(.16,.8,.24,1) both page-rise-in}@keyframes page-rise-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.view-transition,.quick-sheet,.quick-sheet-backdrop,.saved-notice,.auth-panel{animation:none}}.stack{gap:16px;display:grid}.home-layout{gap:18px;display:grid}.care-hero{background:radial-gradient(circle at 85% 18%,#ffffffc7 0 68px,#0000 69px),radial-gradient(circle at 18% 85%,#5aa89829,#0000 210px),linear-gradient(135deg,#ffe7d9 0%,#fffaf6 50%,#dbf1e9 100%);border:1px solid #68897e24;border-radius:28px;gap:18px;padding:22px;display:grid;position:relative;overflow:hidden;box-shadow:0 20px 42px #543a2a1f}.care-hero:after{content:"";border:22px solid #5aa89824;border-radius:999px;width:128px;height:128px;position:absolute;bottom:-28px;right:-28px}.care-hero-copy{z-index:1;gap:6px;display:grid;position:relative}.home-wordmark{align-items:center;gap:8px;display:flex}.home-brand-paw{background:#ffffffc7;border-radius:50%;place-items:center;width:29px;height:29px;display:grid;box-shadow:0 6px 15px #3a49431a}.home-brand-paw .paw-icon{fill:#efaa91;stroke:#d98672;width:19px;height:19px}.home-brand{color:#294c43;letter-spacing:0;font-family:ui-rounded,Hiragino Maru Gothic ProN,Yu Gothic,sans-serif;font-size:1.28rem;font-weight:900;line-height:1}.home-brand em{color:#4f8092;font-style:normal}.care-summary-description{color:#51645d;max-width:620px;font-size:.92rem;line-height:1.65}.care-summary-grid{z-index:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid;position:relative}.home-pet-marquee-card{background:#ffffffa8;border:1px solid #68897e29;border-radius:22px;grid-column:1/-1;padding:12px;overflow:hidden;box-shadow:0 12px 28px #3a494312}.home-pet-marquee-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.home-pet-marquee-head .paw-heading{gap:6px;font-size:1rem;line-height:1.2}.home-pet-marquee-head .paw-icon{width:18px;height:18px}.home-pet-marquee-head button{color:#247469;background:#317f721a;border-radius:999px;min-height:34px;padding:0 12px;font-size:.78rem;font-weight:900}.pet-count-pill{color:#b7604f;background:#fff7ef;border-radius:999px;align-items:center;min-height:22px;padding:0 8px;font-size:.68rem;font-weight:900;display:inline-flex}.pet-marquee{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;touch-action:pan-x;-webkit-overflow-scrolling:touch;margin:0 -12px;padding:2px 0 4px;position:relative;overflow:auto hidden}.pet-marquee::-webkit-scrollbar{display:none}.pet-marquee:before,.pet-marquee:after{content:"";z-index:2;pointer-events:none;width:32px;position:absolute;top:0;bottom:0}.pet-marquee:before{background:linear-gradient(90deg,#fffdf9f5,#0000);left:0}.pet-marquee:after{background:linear-gradient(270deg,#fffdf9f5,#0000);right:0}.pet-marquee-track{will-change:transform;gap:10px;width:max-content;padding:0 12px;animation:30s linear infinite pet-marquee;display:flex}.pet-marquee:hover .pet-marquee-track,.pet-marquee:focus-within .pet-marquee-track,.pet-marquee:active .pet-marquee-track,.pet-marquee.paused .pet-marquee-track,.pet-marquee.still .pet-marquee-track{animation-play-state:paused}@keyframes pet-marquee{0%{transform:translate(0)}to{transform:translate(calc(-50% - 5px))}}@media (prefers-reduced-motion:reduce){.reveal-on-scroll{opacity:1;filter:none;transition:none}.pet-marquee-track{animation:none}}.quick-record-pair{gap:10px;display:grid}.health-memo-summary{display:block}.health-memo-summary .metric{width:100%}.quick-record-button{color:#fff;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:52px;font-weight:900;transition:transform .16s,box-shadow .16s;display:flex;box-shadow:0 12px 22px #317f7233}.quick-record-button:active{transform:translateY(1px)scale(.98);box-shadow:0 8px 16px #317f7229}.quick-record-button.supply{background:#317f72}.quick-record-button.health{background:#d77866}.quick-record-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:23px;height:23px}.home-section{background:#ffffffc7;border:1px solid #68897e24;border-radius:24px;padding:16px;overflow:hidden;box-shadow:0 16px 34px #3a494314}.home-week-range{color:#6a7b73;margin-top:3px;font-size:.76rem;font-weight:800}.home-grid{gap:16px;display:grid}.pet-strip{scroll-snap-type:x proximity;scrollbar-width:none;gap:12px;margin:0 -16px;padding:2px 16px 6px;display:flex;overflow-x:auto}.pet-strip::-webkit-scrollbar{display:none}.pet-profile{scroll-snap-align:start;text-align:left;background:linear-gradient(135deg,#ffdbc8d1,#ffffffeb 48%,#d9f1e9e6);border:1px solid #68897e24;border-radius:22px;flex:0 0 min(78vw,280px);grid-template-columns:auto 1fr;align-items:center;gap:12px;min-height:116px;padding:14px;display:grid;box-shadow:0 12px 24px #3a494314}.pet-profile.compact{scroll-snap-align:start;border-radius:18px;flex-basis:220px;min-height:88px;padding:12px}.pet-profile.compact h3{font-size:1rem}.pet-profile.compact p{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.78rem;display:-webkit-box;overflow:hidden}.pet-profile h3{font-size:1.12rem}.pet-profile p{color:#596c64;margin-top:4px;line-height:1.45}.pet-profile span{color:#427267;background:#ffffffb8;border-radius:999px;margin-top:8px;padding:5px 9px;font-size:.74rem;font-weight:900;display:inline-flex}.avatar.large{border-radius:22px;width:62px;height:62px;font-size:1.25rem}.alert-list,.timeline-list{gap:10px;display:grid}.alert-row,.timeline-row{color:#25342f;text-align:left;background:#ffffffd1;border-radius:18px;width:100%;padding:12px;display:grid}.alert-row{border:1px solid #68897e21;grid-template-columns:minmax(92px,auto) minmax(0,1fr) auto;align-items:center;gap:12px}.alert-row>span{color:#2f756a;text-align:center;background:#eef8f3;border-radius:999px;place-items:center;min-width:74px;min-height:42px;padding:7px 10px;font-size:.82rem;font-weight:900;line-height:1.35;display:grid}.alert-row.warning>span{color:#95701a;background:#fff4d7}.alert-row.danger>span{color:#b94838;background:#ffe6e1}.alert-row strong,.timeline-row strong{font-size:.98rem;display:block}.alert-row>strong{overflow-wrap:anywhere;min-width:0}.supply-purchased-button{color:#276f63;white-space:nowrap;background:#e3f4ed;border-radius:999px;min-height:40px;padding:8px 13px;font-size:.8rem;font-weight:900;box-shadow:inset 0 0 0 1px #317f7224}.supply-purchased-button:active{transform:scale(.97)}.alert-row p,.timeline-row p{color:#596c64;margin-top:4px;line-height:1.55}.timeline-list{position:relative}.timeline-list:before{content:"";background:#d9ebe5;border-radius:999px;width:2px;position:absolute;top:10px;bottom:10px;left:9px}.timeline-row{border:0;grid-template-columns:minmax(0,1fr);align-items:center;gap:10px;padding-left:26px;position:relative}.timeline-row:has(.health-log-thumb){grid-template-columns:minmax(0,1fr) auto}.timeline-row:before{content:"";background:#5aa898;border:3px solid #fff;border-radius:999px;width:12px;height:12px;position:absolute;top:20px;left:4px;box-shadow:0 0 0 1px #c8e1d9}.timeline-row time{color:#2f7d70;font-size:.8rem;font-weight:900}.timeline-main{gap:4px;min-width:0;display:grid}.timeline-edit-area{width:100%;min-width:0;color:inherit;text-align:left;background:0 0;padding:0}.health-log-thumb{object-fit:cover;border-radius:14px;flex:none;width:46px;height:46px;box-shadow:0 8px 16px #3a49431a}.health-log-thumb-button,.attached-photo-button,.expense-receipt-preview,.report-log-photo-button{border-radius:inherit;background:0 0;flex:none;padding:0;display:block;overflow:hidden}.health-log-thumb-button{border-radius:14px;position:relative}.photo-count-badge{color:#fff;background:#254139d6;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 5px;font-size:.68rem;font-weight:900;display:grid;position:absolute;bottom:3px;right:3px}.health-log-thumb-button:focus-visible,.attached-photo-button:focus-visible,.expense-receipt-preview:focus-visible,.report-log-photo-button:focus-visible{outline-offset:3px;outline:3px solid #4f809259}.health-card-body{align-items:flex-start;gap:12px;display:flex}.health-card-photo{flex:none;position:relative}.health-log-photo{object-fit:cover;border-radius:16px;flex:none;width:72px;height:72px;box-shadow:0 10px 20px #3a49431f}.hero{color:#24342f;background:radial-gradient(circle at 92% 14%,#ffffffb3 0 72px,#0000 73px),linear-gradient(135deg,#ffe6d7 0%,#fff8f1 52%,#dbf1e9 100%);border-radius:24px;gap:18px;padding:22px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 40px #543a2a1c}.hero:after{content:"♡";color:#5aa89838;font-size:6rem;font-weight:900;position:absolute;bottom:-8px;right:20px}.hero h2{letter-spacing:0;max-width:660px;font-size:clamp(1.55rem,8vw,3rem);line-height:1.12}.hero p{color:#51645d;max-width:620px;line-height:1.75}.summary-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.metric{text-align:left;background:#ffffffc7;border:1px solid #68897e29;border-radius:18px;min-height:86px;padding:14px;box-shadow:0 10px 24px #3a494314}.metric.clickable{cursor:pointer;transition:transform .16s,box-shadow .16s}.metric.clickable:active{transform:translateY(1px)scale(.98);box-shadow:0 8px 18px #3a494314}.metric span{color:#6a7b73;font-size:.78rem;font-weight:700;display:block}.metric strong{margin-top:8px;font-size:1.5rem;display:block}.metric.danger{background:#fff0ed;border-color:#d9655652}.metric.ok{background:#eefaf5}.two-column{gap:16px;display:grid}.section,.form-card,.card{background:#ffffffd6;border:1px solid #68897e29;border-radius:22px;box-shadow:0 16px 34px #3a494314}.section,.form-card{padding:16px}.section-head,.card-head,.action-row,.filter-row,.card-actions,.badges{align-items:center;gap:10px;display:flex}.section-head,.card-head{justify-content:space-between}.form-card-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-head{margin-bottom:12px}.section-head h2,.form-card h2{font-size:1.08rem}.paw-heading{align-items:center;gap:8px;display:inline-flex}.paw-icon{fill:#f0a992;stroke:#d88a78;stroke-linejoin:round;stroke-width:.8px;width:21px;height:21px}.section-head button,.text-button{color:#2f7d70;background:0 0;font-weight:800}.card-list{gap:12px;display:grid}.card{padding:14px}.card h3{margin-top:5px;font-size:1.05rem}.card p,.memo{color:#596c64;margin-top:6px;line-height:1.6}.pet-card{grid-template-columns:auto 1fr;align-items:center;gap:12px;display:grid}.avatar{color:#2d594f;background:linear-gradient(135deg,#ffdbc8,#d9f1e9);border-radius:18px;place-items:center;width:52px;height:52px;font-size:.9rem;font-weight:900;display:grid}.avatar.generic .paw-icon{fill:#69a99a;stroke:#43897b;width:28px;height:28px}.pet-photo{object-fit:cover;border:3px solid #ffffffdb;border-radius:18px;width:52px;height:52px;box-shadow:0 10px 20px #3a49431f}.pet-photo.large{border-radius:22px;width:62px;height:62px}.photo-picker,.health-photo-picker,.pet-list-head{align-items:center;gap:12px;display:flex}.photo-picker,.health-photo-picker{background:#ffffff94;border:1px solid #68897e24;border-radius:18px;align-items:stretch;gap:10px;padding:12px;display:grid}.photo-picker img,.photo-picker>div:first-child{color:#6a7b73;object-fit:cover;background:#f2f8f5;border-radius:16px;flex:none;place-items:center;width:76px;height:76px;font-size:.78rem;font-weight:900;display:grid}.health-photo-preview-grid{grid-template-columns:repeat(auto-fill,76px);gap:9px;display:grid}.health-photo-empty,.health-photo-preview{color:#6a7b73;background:#f2f8f5;border-radius:16px;place-items:center;width:76px;height:76px;font-size:.78rem;font-weight:900;display:grid;position:relative;overflow:hidden}.health-photo-preview img{object-fit:cover;width:100%;height:100%}.health-photo-preview button{color:#fff;background:#233731c7;border:1px solid #ffffffc2;border-radius:999px;place-items:center;width:25px;height:25px;min-height:0;padding:0;font-size:1rem;display:grid;position:absolute;top:4px;right:4px}.photo-button{place-items:center;margin-right:8px;display:inline-grid}.health-photo-actions{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.health-photo-actions small{color:#6d7c76;font-size:.76rem;font-weight:800}.health-photo-actions .photo-button{margin-right:0}.health-photo-attach-button{justify-content:center;align-items:center;gap:7px;min-height:44px;display:inline-flex}.health-photo-attach-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:20px;height:20px}.health-photo-hidden-input{display:none}.photo-source-backdrop{z-index:95;background:#25342f52}.photo-source-sheet{max-width:520px}.photo-source-actions{gap:8px;margin-top:16px;display:grid}.photo-source-actions>button:not(.photo-source-cancel){color:#30443d;text-align:left;background:#f4faf7;border:1px solid #4b9b8c29;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;min-height:68px;padding:10px 12px;display:grid}.photo-source-actions>button>span:last-child{gap:3px;min-width:0;display:grid}.photo-source-actions strong{color:#2f756a;font-size:.92rem}.photo-source-actions small{color:#6a7b73;font-size:.74rem;font-weight:700}.photo-source-icon{color:#367e70;background:#dff1ea;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.photo-source-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:23px;height:23px}.photo-source-cancel{color:#53665f;background:#eef3f1;border-radius:999px;min-height:46px;font-weight:900}.expense-receipt-button{white-space:nowrap;min-height:40px;margin-right:0;padding:8px 14px}.photo-button input{display:none}.form-grid{gap:12px;min-width:0;margin-top:14px;display:grid}.field{color:#53665f;gap:7px;min-width:0;font-size:.82rem;font-weight:800;display:grid}.date-field-button{color:#71827b;text-align:left;background:#fff;border:1px solid #68897e33;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:0 14px;display:flex}.date-field-button.has-value{color:#2f403a}.date-field-button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.date-field-button svg{fill:none;stroke:#4b8d80;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;flex:none;width:20px;height:20px}.date-picker-backdrop{z-index:90}.date-picker-sheet{max-width:520px}.date-picker-selects{grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.date-picker-selects select{min-height:48px;padding-inline:10px}.date-picker-preview{color:#2f756a;text-align:center;background:#edf7f3;border-radius:8px;margin-top:14px;padding:12px;font-size:1rem;font-weight:900}.date-picker-error{color:#b94838;text-align:center;margin-top:8px;font-size:.78rem;font-weight:800}.date-picker-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px;display:grid}.date-picker-actions .text-button{grid-column:1/-1;justify-self:center}.split{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;max-width:100%;display:grid}.split>.field{width:100%;max-width:100%}.toggle{color:#42534d;align-items:center;gap:10px;min-height:48px;font-weight:800;display:flex}.toggle input{accent-color:#4b9b8c;width:22px;min-height:22px}.supply-reminder-toggle{background:#f3faf7;border:1px solid #4b9b8c33;border-radius:8px;align-items:flex-start;padding:12px}.supply-reminder-toggle input{flex:none;margin-top:2px}.supply-reminder-toggle span{gap:3px;min-width:0;display:grid}.supply-reminder-toggle strong{color:#2f756a}.supply-reminder-toggle small{color:#667a72;font-size:.78rem;font-weight:700;line-height:1.5}.primary-button,.secondary-button,.danger-button{border-radius:999px;min-height:48px;padding:0 18px;font-weight:900}.primary-button{color:#fff;background:#317f72;box-shadow:0 12px 20px #317f7238}.primary-button.compact{white-space:nowrap;min-height:40px}.secondary-button{color:#2f756a;background:#eef8f3}.danger-button{color:#b94838;background:#fff0ed}.backup-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.backup-actions>.secondary-button{text-align:center;width:100%;min-width:0;margin:0}.backup-file-button{cursor:pointer;place-items:center;display:inline-grid}.backup-file-button input{display:none}.data-delete-actions{border-top:1px solid #b948381f;margin-top:16px;padding-top:14px}.data-delete-actions .danger-button{width:100%}.settings-menu-card{justify-content:space-between;align-items:center;gap:14px;display:flex}.settings-page,.settings-page .section,.settings-page .card-list,.settings-page .card{width:100%;min-width:0;max-width:100%}.settings-page .reveal-on-scroll{opacity:1;filter:none}.settings-menu-card p:not(.tag){margin-top:5px}.premium-settings-card{background:linear-gradient(135deg,#eff9f4f5,#fffae5eb);border-color:#5097854d}.premium-settings-card .tag{color:#7a6728}.premium-outline-button{color:#2f7567;background:#fff;border:1px solid #37827057;border-radius:999px;flex:none;min-height:42px;padding:0 16px;font-weight:900}.pet-management-head .action-row{flex-wrap:wrap;flex:none;justify-content:flex-end}.card-actions{justify-content:flex-end;margin-top:12px}.card-actions button{color:#42645b;background:#f3f8f5;border-radius:999px;min-height:38px;padding:0 14px;font-weight:800}.card-actions button:last-child{color:#b94838;background:#fff0ed}.pet-management-actions{flex:none;justify-items:end;gap:6px;display:grid}.pet-management-actions .card-actions{margin-top:0}.pet-order-actions{gap:6px;display:flex}.pet-order-actions button{color:#39786b;background:#f5faf7;border:1px solid #dce8e2;border-radius:50%;place-items:center;width:38px;height:38px;font-size:1rem;font-weight:900;display:grid}.pet-order-actions button:disabled{cursor:default;opacity:.3}.remaining{color:#2f756a;background:#eef8f3;border-radius:999px;flex:none;padding:8px 12px;font-weight:900}.supply.warning .remaining{color:#95701a;background:#fff4d7}.supply.danger{border-color:#d9655659}.supply.danger .remaining{color:#b94838;background:#ffe6e1}.supply.unknown .remaining{color:#6b625b;background:#f2f0ec}.supply-simple-row{background:#ffffffd6;border:1px solid #68897e24;border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex;box-shadow:0 10px 22px #3a494312}.supply-simple-row h3{overflow-wrap:anywhere;flex:1;min-width:0;font-size:1rem}.supply-simple-actions{flex:none;align-items:center;gap:8px;display:flex}.supply-simple-actions span,.supply-simple-actions button{border-radius:999px;min-height:34px;padding:7px 11px;font-size:.8rem;font-weight:900}.supply-simple-actions span{color:#2f756a;text-align:center;white-space:normal;background:#eef8f3;max-width:170px;line-height:1.35}.supply-simple-row.warning .supply-simple-actions span{color:#95701a;background:#fff4d7}.supply-simple-row.danger .supply-simple-actions span{color:#b94838;background:#ffe6e1}.supply-simple-row.unknown .supply-simple-actions span{color:#6b625b;background:#f2f0ec}.supply-simple-actions button{color:#42645b;background:#f3f8f5}.supply-simple-actions .supply-schedule-button{color:#376d7f;background:#edf6f8;border:1px solid #4f809233}.supply-simple-actions button:last-child{color:#b94838;background:#fff0ed}.supply-schedule-sheet{max-width:520px}.health-simple-row{background:#ffffffd6;border:1px solid #68897e24;border-radius:18px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;display:grid;box-shadow:0 10px 22px #3a494312}.health-simple-main{min-width:0}.health-simple-row time{color:#2f7d70;font-size:.8rem;font-weight:900}.health-simple-row h3{overflow-wrap:anywhere;margin-top:4px;font-size:1rem}.health-simple-row p{color:#596c64;overflow-wrap:anywhere;margin-top:5px;line-height:1.55}.health-simple-badges{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.health-simple-badges span{color:#42645b;background:#f2f8f5;border-radius:999px;padding:5px 9px;font-size:.74rem;font-weight:900}.health-simple-photo{background:#f5f1ea;border-radius:16px;width:58px;height:58px;overflow:hidden;box-shadow:0 9px 18px #3a49431a}.health-simple-photo-list{overscroll-behavior-inline:contain;scrollbar-width:none;gap:6px;max-width:128px;display:flex;overflow-x:auto}.health-simple-photo-list::-webkit-scrollbar{display:none}.health-simple-photo img{object-fit:cover;width:100%;height:100%}.health-simple-actions{flex:none;align-items:center;gap:8px;display:flex}.health-simple-actions button{color:#42645b;background:#f3f8f5;border-radius:999px;min-height:34px;padding:7px 11px;font-size:.8rem;font-weight:900}.health-simple-actions button:last-child{color:#b94838;background:#fff0ed}.health-record-tabs{background:#edf4f1;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.health-record-tabs button{color:#60716a;background:0 0;border-radius:9px;min-height:42px;font-size:.84rem;font-weight:900}.health-record-tabs button.active{color:#287568;background:#fff;box-shadow:0 4px 12px #3a49431a}.health-record-form{background:#f5faf7b8;border-block:1px solid #68897e24;margin-top:14px;padding:14px 0;scroll-margin-top:16px}.health-record-list{margin-top:14px}.health-record-filter{width:min(100%,240px);margin-top:14px}.medication-master-panel{background:#f4f9fa;border:1px solid #4f809229;border-radius:14px;gap:12px;margin-top:14px;padding:14px;display:grid}.medication-settings-card{gap:14px;display:grid}.settings-medication-list{overscroll-behavior:contain;max-height:280px;padding-top:2px;padding-right:3px;overflow-y:auto}.medication-settings-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px;display:flex}.family-settings-stack,.family-member-list,.family-pending-list{gap:10px;display:grid}.family-inline-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.family-space-name{color:#304c53;font-size:1.05rem;font-weight:900}.family-member-row{background:#fff;border:1px solid #68897e24;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.family-member-row div{gap:3px;min-width:0;display:grid}.family-member-row strong{overflow-wrap:anywhere;color:#304c53;font-size:.9rem}.family-member-row span{color:#71817b;font-size:.74rem;font-weight:800}.family-member-row button{color:#aa493c;background:#fff0ed;border-radius:999px;flex:none;padding:8px 11px;font-size:.78rem;font-weight:900}.family-invite-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.family-message{color:#3a7067;margin-top:10px;font-size:.82rem;font-weight:800}.family-invite-link{background:#f4f9fa;border:1px solid #4f80922e;border-radius:12px;gap:10px;margin-top:12px;padding:12px;display:grid}.family-invite-link p{overflow-wrap:anywhere;color:#536b72;font-size:.78rem;line-height:1.5}.family-invite-link a.primary-button{place-items:center;text-decoration:none;display:inline-grid}.family-pending-list{margin-top:16px}.family-pending-list h3{color:#405a54;font-size:.9rem}.medication-master-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.medication-master-head h3,.medication-master-row h4{color:#304c53;margin:0}.medication-master-head h3{font-size:.98rem}.medication-master-head p,.medication-master-empty,.medication-master-row p{color:#687b77;font-size:.78rem;line-height:1.5}.medication-master-head p{margin-top:4px}.medication-master-list{gap:8px;display:grid}.medication-master-row{background:#fff;border:1px solid #68897e21;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;display:grid}.medication-master-row span{color:#4f8092;font-size:.72rem;font-weight:900}.medication-master-row h4{overflow-wrap:anywhere;margin-top:3px;font-size:.95rem}.medication-master-row p{overflow-wrap:anywhere;margin-top:4px}.medication-master-row .card-actions{margin-top:0}.health-record-row{background:#fff;border:1px solid #68897e24;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.health-record-row time{color:#2f7d70;font-size:.78rem;font-weight:900}.health-record-row h3{overflow-wrap:anywhere;margin-top:4px;font-size:1.02rem}.health-record-row p{color:#596c64;overflow-wrap:anywhere;margin-top:5px;line-height:1.5}.health-record-row .card-actions{margin-top:0}.weight-chart-panel{border-bottom:1px solid #68897e24;gap:12px;margin-top:14px;padding-bottom:14px;display:grid}.weight-chart-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.weight-change-summary{background:#f4f9fa;border:1px solid #4f809229;border-radius:14px;gap:7px;padding:12px 14px;display:grid}.weight-change-summary>div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.weight-change-summary span{color:#5d7069;font-size:.78rem;font-weight:900}.weight-change-summary strong{color:#376d7f;font-size:1.15rem}.weight-change-summary.increase strong{color:#b76551}.weight-change-summary.decrease strong{color:#327b70}.weight-change-summary p{color:#64766f;font-size:.78rem;line-height:1.5}.weight-line-chart{background:#fffc;border:1px solid #68897e24;border-radius:14px;padding:10px;overflow:hidden}.weight-line-chart svg{width:100%;min-height:190px;display:block}.weight-chart-grid{stroke:#deebe6;stroke-width:1.5px}.weight-chart-axis-label,.weight-chart-date-label{fill:#64766f;font-size:9px;font-weight:800}.weight-chart-line{fill:none;stroke:#4d9a8d;stroke-linecap:round;stroke-linejoin:round;stroke-width:3.5px}.weight-chart-point{cursor:pointer;outline:none}.weight-chart-hit{fill:#0000}.weight-chart-dot{fill:#fff;stroke:#4d9a8d;stroke-width:3px}.weight-chart-dot.selected{fill:#e77c62;stroke:#fff;stroke-width:2.5px}.weight-chart-selected{background:#edf7f3;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;display:flex}.weight-chart-selected span{color:#596c64;font-size:.8rem;font-weight:800}.weight-chart-selected strong{color:#255f55;font-size:1rem}.weight-chart-note{color:#6a7b73;margin-top:7px;font-size:.76rem;line-height:1.45}.badges{flex-wrap:wrap;margin-top:10px}.badges span,.chip{color:#45645c;background:#f2f8f5;border-radius:999px;min-height:34px;padding:7px 12px;font-size:.8rem;font-weight:800}.chip.active{color:#fff;background:#317f72}.filter-row{flex-wrap:wrap;margin-bottom:12px}.filter-row span{color:#6a7b73;font-size:.82rem;font-weight:800}.section-subtext{color:#6a7b73;margin-top:4px;font-size:.78rem;font-weight:800}.fold-button{color:#2f756a;background:#eef8f3;border-radius:999px;min-height:36px;padding:7px 13px;font-size:.82rem;font-weight:900}.fold-button.emphasized{color:#317f72;white-space:nowrap;background:linear-gradient(135deg,#e9f7f2 0%,#f8efe8 100%);min-width:148px;min-height:42px;padding:9px 16px;box-shadow:inset 0 0 0 1px #5aa89833,0 10px 22px #3a494314}.fold-button.emphasized:after{content:"↓";margin-left:8px;font-weight:900}.fold-button.emphasized[aria-expanded=true]:after{content:"↑"}.fold-button.emphasized.compact{min-width:92px}.expense-add-button{color:#fff;white-space:nowrap;background:#287f86;border-radius:999px;flex:none;min-height:40px;padding:8px 18px;font-size:.86rem;font-weight:900;transition:transform .16s,box-shadow .16s;box-shadow:0 12px 24px #287f8640}.expense-add-button:active{transform:translateY(1px)scale(.98);box-shadow:0 8px 18px #287f862e}.expense-entry-section{background:#eaf6f7;border-color:#287f863d;box-shadow:0 14px 30px #287f861a}.expense-record-form-anchor{min-width:0;scroll-margin-top:16px}.expense-submit-actions .primary-button{min-width:min(100%,180px)}.expense-entry-section .section-head{margin-bottom:0}.expense-entry-title{align-items:center;gap:10px;min-width:0;display:flex}.expense-entry-icon{color:#287f86;background:#ffffffd1;border:1px solid #287f862e;border-radius:8px;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.expense-entry-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:21px;height:21px}.report-list{gap:10px;display:grid}.report-actions{flex-wrap:wrap;flex:none;justify-content:flex-end}.pdf-save-button{color:#fff;white-space:nowrap;background:#317f72;border-radius:999px;min-height:42px;padding:9px 15px;font-size:.82rem;font-weight:900;box-shadow:0 10px 20px #317f722e}.pdf-save-button:disabled{cursor:wait;opacity:.65}.report-document-header{border-bottom:1px solid #68897e33;gap:6px;padding:4px 2px 14px;display:grid}.report-document-header>p{color:#2f7d70;font-size:.76rem;font-weight:900}.report-document-header h1{color:#25342f;letter-spacing:0;font-size:1.35rem}.report-document-meta{color:#596c64;flex-wrap:wrap;gap:6px 14px;font-size:.82rem;font-weight:800;display:flex}.report-row{background:#fff;border-left:4px solid #5aa898;border-radius:16px;gap:10px;padding:14px;display:grid}.report-row time{color:#2f7d70;font-weight:900}.report-row h3{font-size:1rem}.report-row p{color:#4d5e58;margin-top:6px;line-height:1.65}.report-row span{color:#728078;margin-top:8px;font-size:.82rem;font-weight:700;display:block}.report-row-body{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.report-log-photo{object-fit:cover;border-radius:14px;width:82px;height:82px;box-shadow:0 8px 18px #3a49431a}.report-log-photo-list{grid-template-columns:repeat(2,82px);gap:7px;display:grid}.receipt-picker{background:#ffffff94;border:1px solid #68897e24;border-radius:18px;align-items:center;gap:12px;padding:12px;display:flex}.receipt-picker img,.receipt-picker>div:first-child{color:#6a7b73;object-fit:cover;background:#f2f8f5;border-radius:16px;flex:none;place-items:center;width:76px;height:76px;font-size:.78rem;font-weight:900;display:grid}.receipt-preview>div:last-child{color:#53665f;justify-items:start;gap:7px;font-size:.82rem;display:grid}.photo-button.is-reading{cursor:wait;opacity:.7}.receipt-read-status{color:#37685e;background:#eef8f4;border-radius:14px;gap:8px;padding:11px 13px;font-size:.8rem;display:grid}.receipt-read-status>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.receipt-read-status strong{line-height:1.5}.receipt-read-status span{flex:none;font-weight:900}.receipt-read-status progress{accent-color:#4f9b8d;border:0;border-radius:999px;width:100%;height:7px;overflow:hidden}.receipt-read-status.error{color:#9a5d45;background:#fff4ed}.receipt-amount-confirm{background:#f4fbf8;border:1px solid #317f7233;border-radius:14px;gap:8px;padding:14px;display:grid}.receipt-amount-confirm>span{color:#527068;font-size:.78rem;font-weight:900}.receipt-amount-confirm>strong{color:#245f55;font-size:1.65rem;line-height:1.2}.receipt-amount-confirm>p{color:#5d7069;font-size:.82rem;line-height:1.5}.receipt-amount-confirm>div{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.expense-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.expense-graph-controls{grid-template-columns:repeat(2,minmax(150px,220px));justify-content:start;gap:10px;width:fit-content;max-width:100%;margin:0 0 12px;display:grid}.expense-graph-controls label{margin:0}.expense-target-control{width:min(46vw,190px)}.expense-target-control label{gap:5px;margin:0;font-size:.74rem}.expense-target-control select{color:#317f72;background:linear-gradient(135deg,#f3fbf8 0%,#fff7f0 100%);border-color:#5aa8983d;min-height:40px;font-size:.86rem;font-weight:900}.expense-list{gap:10px;display:grid}.expense-record-group{background:#f2f8f594;border:1px solid #68897e24;border-radius:20px;gap:10px;padding:10px;display:grid}.expense-record-group-head{justify-content:space-between;align-items:center;gap:12px;padding:2px 2px 0;display:flex}.expense-record-group-head h3{font-size:.98rem}.expense-record-group-head p{color:#6a7b73;margin-top:3px;font-size:.78rem;font-weight:800}.expense-record-group-head strong{color:#25342f;flex:none;font-size:.96rem}.expense-more-button{color:#2f756a;background:#eef8f3;border-radius:999px;min-height:44px;font-weight:900;box-shadow:inset 0 0 0 1px #68897e1f}.expense-more-button.subtle{color:#6a7b73;box-shadow:none;background:0 0}.expense-line-chart{background:#ffffffb8;border:1px solid #68897e24;border-radius:20px;padding:12px;overflow:hidden}.expense-line-chart svg{width:100%;min-height:180px;display:block}.chart-grid{stroke:#dcebe5;stroke-linecap:round;stroke-width:2px}.chart-axis-label{fill:#6a7b73;font-size:10px;font-weight:900}.chart-line{fill:none;stroke:#4d9a8d;stroke-linecap:round;stroke-linejoin:round;stroke-width:4px}.chart-point{fill:#f0a992;stroke:#fff;stroke-width:3px}.chart-point.selected{fill:#d77866;stroke:#fff;stroke-width:4px}.chart-point-hit{cursor:pointer;outline:none}.chart-point-tap{fill:#0000;stroke:#0000;pointer-events:all}.chart-label{fill:#6a7b73;font-size:10px;font-weight:900}.chart-label.selected{fill:#25342f;font-size:11px}.expense-chart-selected{background:#eef8f3;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;padding:10px 12px;display:flex}.expense-chart-selected span{color:#53665f;font-size:.82rem;font-weight:900}.expense-chart-selected strong{color:#25342f;font-size:1rem}.expense-chart-note{color:#6a7b73;margin-top:4px;font-size:.78rem;font-weight:700;line-height:1.5}.expense-row{background:#ffffffd6;border:1px solid #68897e24;border-radius:18px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid;box-shadow:0 10px 22px #3a494312}.expense-row img,.receipt-placeholder{color:#6a7b73;object-fit:cover;background:#f2f8f5;border-radius:14px;place-items:center;width:54px;height:54px;font-size:.75rem;font-weight:900;display:grid}.expense-row time{color:#2f7d70;font-size:.8rem;font-weight:900}.expense-row h3{margin-top:3px;font-size:1.05rem}.expense-row p{color:#596c64;margin-top:4px;line-height:1.45}.expense-actions{gap:8px;display:flex}.expense-actions button{color:#42645b;background:#f3f8f5;border-radius:999px;min-height:34px;padding:7px 11px;font-size:.8rem;font-weight:900}.expense-actions button:last-child{color:#b94838;background:#fff0ed}.report-panel{gap:14px;margin-top:14px;display:grid}.report-date-range{max-width:420px}.section-mini-head h3{color:#25342f;font-size:.98rem}.quick-sheet-backdrop{z-index:40;padding:18px 12px calc(18px + env(safe-area-inset-bottom));background:#25342f2e;align-items:end;animation:.42s both sheet-fade-in;display:grid;position:fixed;inset:0}.premium-plan-backdrop{z-index:65;background:#1f2e2957}.premium-plan-sheet{background:#fffdf9;border-color:#468e7c3d;gap:18px;width:min(620px,100%);max-height:min(90dvh,820px);display:grid}.premium-plan-head{align-items:flex-start}.premium-plan-heading{align-items:center;gap:12px;min-width:0;display:flex}.premium-plan-heading h2{color:#24463d}.premium-plan-mark{color:#3b8a78;background:#e8f5ef;border-radius:14px;flex:none;place-items:center;width:48px;height:48px;display:grid}.premium-plan-mark svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7px;width:28px}.premium-limit-notice{background:#fff8df;border-left:4px solid #d2a83f;gap:5px;padding:13px 14px;display:grid}.premium-limit-notice strong{color:#5f511f}.premium-limit-notice p{color:#716538;font-size:.86rem;line-height:1.6}.premium-active-notice{background:#eef8f4;border-left-color:#4d9b82}.premium-active-notice strong{color:#285f51}.premium-active-notice p{color:#52766c}.premium-usage-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.premium-usage-grid>div{background:#f7fbf9;border:1px solid #dce9e3;border-radius:8px;gap:4px;min-width:0;padding:11px;display:grid}.premium-usage-grid span{color:#667a72;font-size:.72rem;font-weight:800}.premium-usage-grid strong{color:#294f45;overflow-wrap:anywhere;font-size:.88rem}.premium-price-section{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.premium-price-option{background:#fff;border:1px solid #d9e6e0;border-radius:8px;gap:5px;min-width:0;padding:13px;display:grid}.premium-price-option.recommended{background:#fffaf0;border-color:#d2a83f7a}.premium-price-option>span{color:#687a73;justify-content:space-between;align-items:center;gap:7px;min-width:0;font-size:.76rem;font-weight:900;display:flex}.premium-price-option em{color:#65531e;white-space:nowrap;background:#f3df9f;border-radius:999px;padding:3px 7px;font-size:.62rem;font-style:normal}.premium-price-option strong{color:#24483e;font-size:1.22rem}.premium-price-option small{color:#718078;font-size:.7rem;line-height:1.45}.premium-feature-section{gap:10px;display:grid}.premium-feature-list{gap:8px;display:grid}.premium-feature-list>div{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:9px;display:grid}.premium-feature-list>div>span{color:#2e7e6c;background:#e7f4ef;border-radius:50%;place-items:center;width:26px;height:26px;font-size:.78rem;font-weight:900;display:grid}.premium-feature-list p{gap:2px;display:grid}.premium-feature-list strong{color:#29443c;font-size:.9rem}.premium-feature-list small{color:#708078;font-size:.76rem;line-height:1.45}.premium-free-note{background:#f7fbf9;border:1px solid #dbe9e3;border-radius:8px;gap:5px;padding:13px 14px;display:grid}.premium-free-note strong{color:#326f61}.premium-free-note p,.premium-plan-footer p{color:#687a73;font-size:.82rem;line-height:1.6}.premium-plan-footer{border-top:1px solid #e5ece8;justify-content:space-between;align-items:center;gap:14px;padding-top:14px;display:flex}.premium-plan-footer .primary-button{flex:none}.premium-plan-footer .action-row{flex-wrap:nowrap;flex:none}.ad-banner-slot{background:#ffffffb8;border-top:1px solid #68897e24;place-items:center;width:min(100%,480px);min-height:58px;margin:4px auto 0;padding:5px 8px;display:grid}.ad-banner-slot>span{color:#87958f;justify-self:start;font-size:.62rem;font-weight:700}.ad-banner-mount{width:min(100%,360px);min-height:40px}.expense-receipt-button.is-premium:after,.pdf-save-button.is-premium:after{content:"PLUS";color:#3b7f70;margin-left:7px;font-size:.62rem;font-weight:900}.image-preview-backdrop{z-index:55;padding:max(22px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));background:#25342f94;place-items:center;animation:.18s both sheet-fade-in;display:grid;position:fixed;inset:0}.image-preview-panel{background:#fff;border-radius:24px;place-items:center;width:fit-content;max-width:100%;height:fit-content;max-height:100%;padding:12px;display:grid;position:relative;overflow:hidden;box-shadow:0 22px 64px #19211e47}.image-preview-panel .sheet-close{z-index:1;background:#ffffffeb;position:absolute;top:18px;right:18px}.image-preview-panel img{object-fit:contain;border-radius:18px;width:auto;max-width:min(100%,536px);height:auto;max-height:calc(100dvh - 68px);display:block}.quick-sheet{background:#fffcf8fa;border:1px solid #68897e2e;border-radius:28px 28px 24px 24px;width:min(680px,100%);max-height:min(84dvh,760px);margin:0 auto;padding:10px 16px 18px;animation:.56s cubic-bezier(.16,.8,.24,1) both sheet-rise-in;overflow:hidden auto;box-shadow:0 24px 58px #25342f38}.quick-sheet-handle{background:#d6e2dc;border-radius:999px;width:44px;height:5px;margin:0 auto 14px}.quick-sheet-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.quick-sheet-head h2{margin-top:4px;font-size:1.2rem}.sheet-close{color:#48635b;background:#f2f8f5;border-radius:999px;place-items:center;width:40px;height:40px;font-size:1.35rem;font-weight:700;display:grid}@keyframes sheet-fade-in{0%{opacity:0}to{opacity:1}}@keyframes sheet-rise-in{0%{opacity:0;transform:translateY(42px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.empty{color:#65776f;text-align:center;background:#ffffff8f;border:1px dashed #68897e47;border-radius:18px;padding:18px}.bottom-nav{z-index:20;width:100%;max-width:none;padding:8px 8px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border:0;border-top:1px solid #68897e2e;border-radius:22px 22px 0 0;grid-template-columns:repeat(5,1fr);gap:4px;margin:0;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 28px #33413b1f}.bottom-nav button{color:#64766f;white-space:nowrap;background:0 0;border-radius:18px;place-items:center;min-height:54px;font-size:.72rem;font-weight:900;display:grid}.bottom-nav span{font-size:1.05rem}.nav-svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.2px;width:22px;height:22px}.bottom-nav button.active{color:#247469;background:#eaf7f2}@media (width>=720px){.page-wrap{padding:24px 24px 0}.care-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start}.two-column{grid-template-columns:minmax(320px,.85fr) minmax(0,1.35fr);align-items:start}.split{grid-template-columns:repeat(2,minmax(0,1fr))}.report-date-range{grid-template-columns:repeat(2,minmax(0,190px))}.hero{grid-template-columns:1fr auto;align-items:end}}@media (width<=430px){input,select,textarea{font-size:16px}.topbar{align-items:flex-start}.topbar .primary-button{padding:0 12px;font-size:.82rem}.summary-grid{grid-template-columns:1fr}.care-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-record-button{min-height:48px;font-size:.88rem}.quick-record-icon{width:21px;height:21px}.timeline-row{grid-template-columns:minmax(0,1fr)}.timeline-row:has(.health-log-thumb){grid-template-columns:minmax(0,1fr) auto}.card-head{flex-direction:column;align-items:flex-start}.pet-management-actions{justify-items:start;width:100%}.supply-simple-row{flex-direction:column;align-items:flex-start}.supply-simple-actions{flex-wrap:wrap;width:100%}.supply-simple-actions span{max-width:none}.health-simple-row{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start}.health-simple-actions{flex-wrap:wrap;grid-column:1/-1;width:100%}.health-record-row{grid-template-columns:minmax(0,1fr);align-items:start}.health-record-row .card-actions{justify-content:flex-start}.medication-master-head{flex-direction:column;align-items:flex-start}.medication-settings-actions{justify-content:flex-start;width:100%}.family-inline-form,.family-invite-form{grid-template-columns:minmax(0,1fr)}.family-inline-form .secondary-button,.family-invite-form .primary-button{width:100%}.medication-master-row{grid-template-columns:minmax(0,1fr)}.medication-master-row .card-actions{justify-content:flex-start}.pet-management-head{flex-direction:column;align-items:flex-start}.pet-management-head .action-row{justify-content:flex-start;width:100%}.settings-menu-card,.account-card{flex-direction:column;align-items:stretch}.settings-menu-card>button,.account-card>button{align-self:flex-start}.account-actions{justify-content:flex-start;width:100%}.settings-page .action-row{flex-wrap:wrap}.backup-actions{grid-template-columns:minmax(0,1fr)}.premium-usage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-plan-footer{flex-direction:column;align-items:stretch}.premium-plan-footer .action-row,.premium-plan-footer .primary-button,.premium-plan-footer .secondary-button{width:100%}.premium-plan-footer .action-row{flex-wrap:wrap}.expense-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-summary .metric{min-height:78px;padding:12px}.expense-summary .metric strong{font-size:1.18rem}.expense-target-control{width:min(48vw,170px)}.report-section>.section-head{flex-direction:column;align-items:flex-start}.report-actions{justify-content:flex-end;width:100%}.report-log-photo{width:72px;height:72px}.report-log-photo-list{grid-template-columns:repeat(2,72px)}.expense-row{grid-template-columns:auto minmax(0,1fr)}.expense-actions{flex-wrap:wrap;grid-column:1/-1}.bottom-nav{padding:6px 6px calc(6px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.bottom-nav button{border-radius:16px;min-height:50px;font-size:.68rem}.nav-svg{width:20px;height:20px}}
