@charset "UTF-8";
/* Warm paper, bright citrus, and three little illustrated companions. */
:root{--paper:#FFF6EF;--white:#fff;--ink:#39332F;--muted:#8D8680;--line:#F0EAE4;--orange:#FF7A45;--accent:#FF7A45;--green:#2BA471;--red:#E54848;--amber:#C77A31;--radius:18px;font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif;color:var(--ink);font-synthesis:none;font-size:13px;line-height:1.5;background:#F8F5F1}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button,a{touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #FFAD83;outline-offset:3px}button{transition:background .18s,box-shadow .18s,transform .18s}button:hover{filter:brightness(.98)}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650}h2{font-size:16px;letter-spacing:.02em}small{font-size:11px}svg{display:block}input,select,textarea{min-width:0;width:100%;color:var(--ink);border:1px solid #E9E3DD;background:#FFFEFC;border-radius:9px;padding:10px 11px;font-size:12px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)}input::placeholder,textarea::placeholder{color:#B1AAA3}textarea{resize:vertical;min-height:62px}select{padding-right:25px}input[type=checkbox],input[type=radio]{width:17px;height:17px;accent-color:var(--orange);flex-shrink:0;padding:0}input[type=date]{min-height:39px}input[type=number]::-webkit-inner-spin-button{opacity:0}.icon{width:19px;height:19px;flex-shrink:0;display:inline-block;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.previewbar{height:49px;padding:0 28px;display:flex;justify-content:space-between;align-items:center;background:#FBF9F6;border-bottom:1px solid #EDE7E0;color:#938980;font-size:11px}.previewbar>span{display:flex;align-items:center;gap:10px}.previewbar>span>.icon{width:15px;height:15px;color:#C08E73}.previewbar i{font-style:normal;color:#CCC0B5;margin:0 4px}.device-toggle{display:flex;background:#EEE9E4;padding:3px;border-radius:8px;gap:3px}.device-toggle button{display:flex;align-items:center;gap:6px;padding:5px 12px;border-radius:6px;font-size:11px;color:#8E857D}.device-toggle .icon{width:14px;height:14px}.device-toggle .active{background:#fff;color:#514237;box-shadow:0 1px 4px #4830190B}.viewport{container-type:inline-size;container-name:app;position:relative;max-width:1780px;margin:0 auto;background:var(--paper)}.app-shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:calc(100dvh - 49px)}.sidebar{background:#FFFDFB;border-right:1px solid #EDE4DC;padding:30px 18px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100dvh - 49px);min-height:680px;overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 30px;font-size:22px;font-weight:750;white-space:nowrap;letter-spacing:.02em}.brand-mark{width:41px;height:41px;border-radius:13px;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #FF7A4518;flex-shrink:0;transform:rotate(-5deg)}.brand-mark .icon{width:27px;height:27px;fill:currentColor;stroke-width:.4}.brand small{display:block;font-weight:400;font-size:9px;color:#A49B93;letter-spacing:1px;margin-top:3px}.main-nav{display:flex;flex-direction:column;gap:6px;padding-bottom:25px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:11px;text-align:left;color:#82796F;font-size:13px;position:relative}.nav-item .icon{width:19px;height:19px}.nav-item.active{background:#FFF0E5;color:#D96A37;font-weight:650}.nav-item.active .nav-dot{height:5px;width:5px;background:#F28550;border-radius:50%;margin-left:auto}.nav-item:not(.active):hover{background:#F8F4EF}.roster-heading{display:flex;align-items:center;color:#A49B92;font-size:10px;letter-spacing:.05em;padding:11px 9px}.roster-heading>span{padding:0 5px;background:#F2ECE6;border-radius:4px;margin-left:7px;font-size:9px}.roster-heading .icon-btn{margin-left:auto;width:23px;height:23px}.icon-btn{padding:5px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;color:#9B8E82;border-radius:7px}.icon-btn:hover{background:#F7EEE6;color:#CE7141}.roster{display:flex;flex-direction:column;gap:7px}.roster-all{display:flex;align-items:center;gap:10px;padding:11px 9px;text-align:left;border:1px solid transparent;border-radius:12px;position:relative}.roster-all.selected{background:#FFF3E8;border-color:#F5D8C3}.all-pets-icon{width:35px;height:35px;border-radius:10px;background:#FFE6D1;color:#CE824D;display:grid;place-items:center}.roster-all>span:nth-child(2){font-size:12px;font-weight:650}.roster-all small{display:block;color:#AD9A88;font-size:9px;font-weight:400;margin-top:3px}.selection-dot{height:5px;width:5px;border-radius:50%;background:var(--orange);margin-left:auto}.roster-pet{padding:12px 8px;display:flex;gap:9px;align-items:flex-start;text-align:left;border:1px solid transparent;border-radius:12px}.roster-pet.selected{background:color-mix(in srgb,var(--pet) 6%,white);border-color:color-mix(in srgb,var(--pet) 30%,white)}.roster-pet:hover{background:color-mix(in srgb,var(--pet) 5%,white)}.avatar{display:inline-flex;width:43px;height:43px;flex-shrink:0;align-items:center;justify-content:center}.avatar svg{width:100%;height:100%}.avatar.small{width:36px;height:36px}.avatar.medium{width:52px;height:52px}.avatar.large{width:70px;height:70px}.roster-detail{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.roster-detail strong{font-size:13px}.pet-sex{margin-left:7px;font-size:12px;font-weight:500;color:#B9A390}.roster-detail small{font-size:9px;color:#A19990;white-space:nowrap;letter-spacing:-.02em}.status{font-size:9px;padding:2px 6px;border-radius:5px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;line-height:1.5}.status::before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.status.red{color:#CE6060;background:#FFF0ED}.status.amber{color:#B98546;background:#FFF4E1}.status.green{color:#5F9B79;background:#EEF7EF}.add-pet-btn{margin-top:18px;border:1px dashed #DFCCBB;border-radius:10px;padding:11px 5px;color:#AD8C70;font-size:11px;display:flex;align-items:center;justify-content:center;gap:7px}.add-pet-btn .icon{width:15px;height:15px}.sidebar-bottom{margin-top:auto;padding-top:30px}.backup-actions{display:flex;border-top:1px solid #EEE6DE;padding-top:15px;gap:10px}.backup-actions button{display:flex;align-items:center;gap:5px;font-size:10px;color:#928579;padding:6px 4px}.backup-actions .icon{width:14px;height:14px}.local-state{display:flex;align-items:flex-start;gap:7px;color:#9B9E8E;font-size:10px;padding:17px 3px 0}.local-state>.icon{width:15px;height:15px}.local-state small{display:block;font-size:9px;color:#B6ACA1;padding-top:3px}.workspace{padding:28px 30px 0;min-width:0}.workspace-header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:24px}.breadcrumb{font-size:10px;color:#B2A394;margin-bottom:8px}.breadcrumb span{margin:0 9px;color:#CEBFB0}.workspace-header h1{font-size:26px;letter-spacing:.05em;display:flex;align-items:center;gap:10px;line-height:1.5}.heading-dot{width:7px;height:7px;border-radius:50%;background:#FFAB7D;margin-top:7px}.workspace-header p{color:#AC9A8C;font-size:11px;margin-top:5px;letter-spacing:.02em}.header-right{display:flex;align-items:center;gap:22px}.today-label{font-size:11px;color:#A49283;display:flex;align-items:center;gap:7px}.today-label .icon{width:15px;height:15px}.header-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#F2E8D9;color:#9C856A;border:3px solid #fff}.header-avatar .icon{width:22px;height:22px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.main-content{min-width:0;display:flex;flex-direction:column;gap:21px}.card{background:#fff;border:1px solid #F0E9E1;border-radius:var(--radius);padding:21px 22px;box-shadow:0 3px 12px #7D563503}.welcome-banner{position:relative;min-height:122px;border:1px solid #F6DDC9;background:#FFEAD8;border-radius:16px;padding:22px 23px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.welcome-banner>div:first-child{position:relative;z-index:1}.welcome-eyebrow{font:600 8px/1.4 "Trebuchet MS",sans-serif;letter-spacing:2px;color:#BF8E68;display:block;margin-bottom:7px}.welcome-banner h2{font-size:21px;color:#704F36;letter-spacing:.045em}.welcome-banner p{margin-top:9px;font-size:10px;color:#B28B6D}.welcome-divider{padding:0 8px;color:#C6A084}.welcome-family{display:flex;align-items:center;position:relative;padding:0 4px;margin-left:20px}.welcome-avatar{height:68px;width:68px;background:#FFF5E7;border:4px solid #FFF5E7;border-radius:50%;box-shadow:0 5px 8px #6D3F2010;transform:rotate(-10deg);margin-left:-13px}.welcome-avatar:nth-child(2){transform:rotate(7deg) translateY(13px)}.welcome-avatar:nth-child(3){transform:rotate(12deg)}.little-heart{position:absolute;right:4px;top:-18px;color:#EAB087;font-size:24px;transform:rotate(15deg)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-heading h2{display:flex;align-items:center;gap:9px;font-size:15px;white-space:nowrap}.heading-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px}.heading-icon.orange{background:#FFF0E4;color:#ED8C4A}.heading-icon.peach{background:#FFF1E6;color:#DF9E6D}.heading-icon .icon{width:17px;height:17px}.count-badge{font-size:10px;display:inline-grid;place-items:center;width:19px;height:19px;border-radius:6px;background:#FFECE0;color:#DB8953;margin-left:0;font-weight:600}.text-button{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#CE875B;padding:4px 0;white-space:nowrap}.text-button .icon{width:13px;height:13px}.text-button.muted{color:#9D9388}.text-button:hover{color:#DC6B33}.section-note{font-size:10px;color:#AEA297;margin:8px 0 11px 37px}.section-note b{font-weight:500;color:#D5876B}.task-row{display:flex;align-items:center;gap:11px;padding:15px 0;border-bottom:1px solid #F3EEE9}.task-row:last-child{border:0;padding-bottom:3px}.task-main{flex:1;min-width:0}.task-main>div{display:flex;align-items:center;gap:7px}.pet-label{display:inline-block;font-size:9px;padding:2px 5px;border-radius:4px;color:var(--pet);background:color-mix(in srgb,var(--pet) 9%,white);white-space:nowrap}.task-main strong{font-size:12px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-main>small{display:flex;align-items:center;gap:4px;font-size:9px;color:#B0A69C;margin-top:5px}.task-main>small .icon{height:11px;width:11px}.task-date{white-space:nowrap}.due-badge{display:flex;align-items:center;gap:4px;font-size:9px;white-space:nowrap}.due-badge.overdue{color:#D97468}.due-badge.soon{color:#C29A59}.due-badge .icon{width:12px;height:12px}.done-button{display:flex;align-items:center;gap:4px;border:1px solid #EDE5DC;padding:6px 9px;border-radius:7px;color:#94806D;font-size:9px;white-space:nowrap;margin-left:5px;background:#FFFEFC}.done-button:hover{border-color:#F1BC98;background:#FFF2E7;color:#CD6F36}.done-button .icon{width:12px;height:12px}.empty-inline{padding:27px 8px;display:flex;align-items:center;gap:13px;color:#8D9D83}.empty-inline>.icon{width:31px;height:31px;background:#EDF6E9;padding:7px;border-radius:50%}.empty-inline strong{font-size:13px;font-weight:550}.empty-inline p{font-size:11px;color:#B0A595;margin-top:5px}.family-section>.section-heading{margin-bottom:13px;padding:0 2px}.subtle-count{font-size:10px;color:#B5A79B;font-weight:400;letter-spacing:0}.family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.family-card{text-align:left;background:#fff;border:1px solid #F0E7DE;border-radius:15px;padding:15px 14px 11px;min-width:0;position:relative;overflow:hidden}.family-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #936C3810;border-color:color-mix(in srgb,var(--pet) 40%,white)}.family-pet-top{display:flex;align-items:center;gap:10px}.family-pet-name{display:flex;flex-direction:column;gap:3px;min-width:0}.family-pet-name strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.family-pet-name strong small{font-size:11px;color:var(--pet);font-weight:400;margin-left:1px}.family-pet-name>span{font-size:9px;color:#AA9B8C;white-space:nowrap}.family-arrow{margin-left:auto;width:12px;height:12px;color:#CBB8A5}.family-card>p{font-size:9px;color:#AC9E91;margin:8px 0 12px}.family-stats{display:flex;align-items:center;justify-content:space-between;gap:4px}.family-stats>span:first-child{font:10px "Trebuchet MS",sans-serif;color:#A89889}.family-stats b{font:600 24px/1.1 "Trebuchet MS",sans-serif;color:#635344;margin-right:2px}.mini-measures{display:flex;justify-content:space-between;gap:4px;border-top:1px dashed #EEE5DB;margin-top:12px;padding-top:9px;font-size:9px;color:#B19D89}.mini-measures small{font-size:8px}.chart-card{padding-bottom:15px}.chart-card .section-heading select{width:auto;font-size:10px;padding:6px 8px;border-color:#EFE8DF;background:#FFFDF9;border-radius:6px;color:#A79988}.chart-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.metric-tabs{display:flex;background:#F8F6F3;border-radius:7px;padding:3px;gap:4px}.metric-tabs button{padding:5px 16px;border-radius:5px;color:#9B8C7E;font-size:11px}.metric-tabs .active{background:white;color:var(--pet);box-shadow:0 1px 5px #573A1110;font-weight:550}.chart-controls>select{width:84px;font-size:10px;padding:5px 8px;border:0;color:#9E8B7B;background:#FFF9F1}.chart-pet-label{display:flex;align-items:center;gap:5px;font-size:10px;color:#A2907F}.chart-pet-label i,.chart-foot i{width:5px;height:5px;border-radius:50%;display:inline-block}.chart-summary{display:flex;align-items:center;gap:20px;padding:17px 2px 0}.chart-summary>div{display:flex;align-items:baseline;gap:8px}.chart-summary strong{font:600 30px/1.2 "Trebuchet MS",sans-serif;letter-spacing:-1px;color:#65503F}.chart-summary strong small{font-size:11px;margin-left:5px;font-weight:400;letter-spacing:0;color:#B1A18F}.chart-summary>div>span{font-size:9px;color:#AD9D8C}.chart-change{font-size:10px;color:#8C9F82;display:flex;gap:5px;align-items:center}.chart-change small{font-size:9px;color:#B4A694}.chart-last-date{font-size:9px;color:#C3B3A2;margin-left:auto}.trend-chart{display:block;width:100%;height:auto;margin-top:8px;overflow:visible}.trend-chart text{font:10px "Trebuchet MS",sans-serif;fill:#B9AA99}.chart-point{transition:r .15s}.chart-point:hover{r:6}.chart-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #F7F1EA;padding-top:10px}.chart-foot>span{font-size:9px;color:#B09D8A;display:flex;align-items:center;gap:6px}.chart-foot .text-button{font-size:9px}.chart-empty{min-height:196px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#B5A390;font-size:11px}.chart-empty>.icon{width:30px;height:30px;color:#DCC4AD;margin-bottom:4px}.chart-empty strong{font-size:13px;font-weight:500}.right-panel{display:flex;flex-direction:column;gap:22px}.quick-card{padding:23px 20px 18px;position:relative;overflow:hidden}.quick-heading{display:flex;align-items:center;justify-content:space-between}.eyebrow{font:600 7px "Trebuchet MS",sans-serif;letter-spacing:1.5px;color:#C1A58D;display:block;margin-bottom:9px}.quick-heading h2{font-size:17px;display:flex;align-items:center;gap:8px}.quick-heading h2>.icon{color:#BC9474;height:18px;width:18px}.quick-deco{font:200 43px/1 "Trebuchet MS",sans-serif;color:#F3DECA;align-self:center;transform:rotate(-12deg)}.quick-description{color:#AF9D8D;font-size:10px;margin:9px 0 19px}.quick-tabs{display:flex;border-bottom:1px solid #F1E9E0;gap:8px;margin-bottom:17px}.quick-tabs button{flex:1;font-size:11px;color:#A99483;padding:0 0 10px;border-bottom:2px solid transparent}.quick-tabs button.active{color:var(--accent);border-color:var(--accent);font-weight:600}.field-label{display:flex;align-items:baseline;gap:7px;font-size:11px;color:#8F7C6C;font-weight:500;margin:13px 0 7px}.field-label:first-child{margin-top:0}.field-label small{font-size:9px;color:#B8AB9D;font-weight:400}.measurement-inputs{display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;margin-top:14px}.measurement-inputs label>span{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8F7C6C;margin-bottom:7px}.measurement-inputs label small{font-size:9px;color:#BCAA99}.primary-button{display:flex;align-items:center;justify-content:center;gap:7px;background:var(--accent);color:#fff;width:100%;border-radius:9px;padding:12px 14px;font-size:12px;font-weight:550;box-shadow:0 3px 7px color-mix(in srgb,var(--accent) 16%,transparent)}.primary-button:hover{filter:brightness(.95);transform:translateY(-1px)}.primary-button .icon{width:16px;height:16px}.save-button{margin-top:17px}.form-save-note{display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;color:#B9AC9C;margin-top:12px}.form-save-note .icon{width:12px;height:12px}.field-hint{color:#A89C8F;font-size:9px;line-height:1.8;margin-top:7px}.field-hint .icon{width:12px;height:12px;margin-right:3px}.form-error{color:#D16D5B;font-size:11px;margin-top:8px;line-height:1.7}.form-error:empty{display:none}.cancel-edit{width:100%;font-size:11px;color:#A5917E;margin-top:10px;padding:5px}.highlight{animation:highlight 1.8s ease-out}@keyframes highlight{0%,35%{box-shadow:0 0 0 4px #FF7A4530}100%{box-shadow:0 0 0 0 #FF7A4500}}.upcoming-card{padding:0 7px}.upcoming-card .section-heading h2{font-size:12px;color:#847565;gap:7px}.upcoming-card .section-heading h2 .icon{width:15px;height:15px;color:#B5987C}.upcoming-card .section-heading>span{font-size:9px;color:#BFAE9E}.upcoming-item{display:flex;align-items:center;gap:11px;padding:15px 0;text-align:left;width:100%;border-bottom:1px solid #EFE3D7}.upcoming-item:last-child{border-bottom:0}.upcoming-date{display:flex;flex-direction:column;align-items:center;background:#FFFEFC;border:1px solid #EDE1D5;border-radius:8px;padding:5px 10px;min-width:40px}.upcoming-date b{font:600 19px/1 "Trebuchet MS",sans-serif;color:#AA8D71}.upcoming-date small{font-size:8px;color:#C0AA95;margin-top:3px}.upcoming-item>span:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}.upcoming-item strong{font-size:10px;font-weight:500;color:#99816B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.upcoming-item>span:nth-child(2)>small{font-size:9px;color:#BBA591}.upcoming-item>i{width:5px;height:5px;border-radius:50%;margin-left:auto;flex-shrink:0}.care-note{border-radius:13px;padding:20px 16px;background:#F2EDE2;display:flex;gap:9px;align-items:flex-start;color:#A99A7D;position:relative;overflow:hidden}.care-note>.icon{width:16px;height:16px;color:#A99779}.care-note p{font-size:10px;position:relative;z-index:1}.care-note p span{display:block;font-size:9px;margin-top:5px;color:#BCAF97}.care-doodle{font:66px/1 Georgia,serif;position:absolute;right:0;bottom:-15px;color:#DFD4C0;transform:rotate(-15deg)}.content-footer{display:flex;align-items:center;justify-content:center;gap:6px;color:#C6B39F;font-size:9px;margin:0 0 22px}.content-footer>.icon{height:12px;width:12px}.content-footer>button{font-size:8px;color:#BEA890;margin-left:6px;text-decoration:underline;text-underline-offset:3px}.warning-banner{display:flex;gap:9px;align-items:center;background:#FFF0C9;border:1px solid #EED9A4;border-radius:10px;padding:10px 14px;margin-bottom:18px;color:#9F8046;font-size:11px}.warning-banner>.icon{width:16px;height:16px}.warning-banner span{flex:1}.warning-banner button{display:flex;gap:5px;align-items:center;font-size:10px;white-space:nowrap}.warning-banner button>.icon{height:13px;width:13px}.pet-profile{padding:21px}.pet-profile-head{display:flex;align-items:center;gap:14px}.pet-profile-head>div{min-width:0}.pet-profile-head h2{font-size:21px}.pet-profile-head p{font-size:10px;color:#A89B8C;margin-top:4px}.pet-profile-head small{font-size:10px;color:#B8AA9A;display:block;margin-top:5px}.pet-profile-head>.icon-btn{margin-left:auto;align-self:flex-start}.measure-caption{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#A99683;margin:18px 0 9px}.measure-caption>span{display:flex;align-items:center;gap:5px}.measure-caption .icon{width:13px;height:13px}.measure-caption>small{font-size:9px;color:#BBA995}.size-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.size-grid>div{background:color-mix(in srgb,var(--pet) 6%,white);border-radius:8px;padding:12px;text-align:center}.size-grid>div>span{font-size:9px;color:#B0977F;display:block;margin-bottom:4px}.size-grid strong{font:600 23px/1.2 "Trebuchet MS",sans-serif;color:var(--pet)}.size-grid strong small{font-size:9px;font-weight:400;color:#B7A18D;margin-left:4px}.profile-footnote{color:#BDAE9B;font-size:9px;margin-top:12px;text-align:right}.history-card .section-heading h2>.icon{color:#BF9878;width:18px;height:18px}.history-filters{display:flex;gap:7px;margin-top:20px}.history-filters button{font-size:11px;padding:5px 14px;color:#AA9684;border-radius:6px;background:#FAF7F3}.history-filters button.active{color:#DA8554;background:#FFF0E4}.history-row{display:flex;gap:12px;align-items:flex-start;padding:20px 0;border-bottom:1px solid #F1EBE4}.history-row:last-child{border-bottom:0;padding-bottom:4px}.history-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;color:var(--pet);background:color-mix(in srgb,var(--pet) 8%,white);flex-shrink:0}.history-icon .icon{width:16px;height:16px}.history-main{flex:1;min-width:0}.history-main>strong{font-size:12px;font-weight:550}.history-main>small{display:block;font-size:10px;color:#B2A18F;margin-top:4px;word-break:break-word}.history-next{font-size:9px;color:#B4A18C;margin-top:7px;display:block}.red-text{color:#CF7F72}.history-values{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px;font-size:9px;color:#B8A48F}.history-values b{color:#A3886D;font-weight:600}.delete-record{opacity:.4;width:26px;height:26px}.delete-record .icon{width:14px;height:14px}.history-row:hover .delete-record{opacity:1}.load-more{display:block;text-align:center;width:100%;font-size:11px;color:#AB8D70;padding:15px 0 0}.profile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.full-profile{padding:19px}.full-profile .avatar.large{width:55px;height:55px}.full-profile .pet-profile-head{gap:10px}.full-profile .pet-profile-head h2{font-size:18px}.full-profile .status{margin-top:7px}.profile-info{display:flex;flex-direction:column;gap:9px;margin:19px 0 12px;font-size:10px;color:#B4A08B}.profile-info span{display:flex;gap:20px}.profile-info strong{color:#97836F;font-weight:400}.profile-note{font-size:10px;color:#AC9781;margin:8px 0 17px;min-height:15px}.size-grid.compact{gap:5px}.compact>div{padding:9px 3px}.compact strong{font-size:17px}.compact strong small{font-size:8px;margin-left:2px}.profile-actions{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.profile-actions .text-button{font-size:9px}.new-family-card{border:1px dashed #DCC7B2;border-radius:17px;display:flex;align-items:center;justify-content:center;gap:10px;min-height:160px;color:#B69879;font-size:12px;background:#FFFAF4}.mobile-top,.mobile-nav,.mobile-add,.mobile-task-more{display:none}
.modal-backdrop{position:fixed;inset:0;z-index:100;background:#38271D55;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .15s ease-out}.modal{background:#FFFEFC;border:1px solid #F2E4D6;border-radius:22px;padding:26px;width:min(490px,100%);max-height:90dvh;overflow-y:auto;box-shadow:0 25px 100px #40281430;outline:none}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:22px}.modal-heading h2{font-size:20px;letter-spacing:.03em}.modal-heading p{font-size:11px;color:#B39B84;margin-top:7px;line-height:1.8}.pet-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pet-form-grid label{font-size:11px;color:#9B8571}.pet-form-grid input,.pet-form-grid select{margin-top:7px}.color-picker{display:flex;gap:13px;margin:11px 0 16px}.color-picker label{position:relative;cursor:pointer}.color-picker input{position:absolute;opacity:0;width:30px;height:30px;margin:0}.color-picker span{width:30px;height:30px;display:grid;place-items:center;background:var(--swatch);border-radius:50%;border:3px solid #FFFEFC;box-shadow:0 0 0 1px #E9DDD0;color:#fff}.color-picker .icon{width:15px;height:15px;opacity:0}.color-picker input:checked+span{box-shadow:0 0 0 2px var(--swatch)}.color-picker input:checked+span .icon{opacity:1}.color-picker input:focus-visible+span{outline:3px solid #D7C1AA;outline-offset:3px}#pet-form>.primary-button{margin-top:22px}.delete-pet-button{display:block;width:100%;font-size:10px;color:#C59A8B;margin-top:13px;padding:6px}.batch-pets{display:flex;flex-direction:column;gap:10px;margin:20px 0}.batch-pet{display:flex;align-items:center;gap:11px;border:1px solid #EEE3D7;border-radius:11px;padding:11px;cursor:pointer}.batch-pet>span:nth-last-child(2){display:flex;flex-direction:column;gap:2px}.batch-pet strong{font-size:12px;font-weight:550}.batch-pet small{font-size:9px;color:#B19D88}.cycle-field{display:flex;flex-direction:column;gap:3px;align-items:center;margin-left:auto}.cycle-field input{width:66px;padding:5px 8px;font-size:11px;text-align:center}.cycle-field small{font-size:8px}.batch-pets+.field-hint{margin-bottom:20px;font-size:10px}.import-summary{padding:18px;background:#FFF1E4;border-radius:11px;display:flex;flex-direction:column;gap:7px;margin-bottom:18px}.import-summary strong{font-size:15px;color:#AC7B54}.import-summary span{font-size:12px;color:#B08D70}.import-summary small{font-size:10px;color:#BD9C80}.import-option{display:flex;align-items:flex-start;gap:10px;padding:12px 0;cursor:pointer}.import-option>span{display:flex;flex-direction:column;gap:5px}.import-option strong{font-size:12px;font-weight:500}.import-option small{color:#B39C84;font-size:10px}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.modal-actions>*{width:auto;flex:1}.secondary-button{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 14px;border:1px solid #E7D6C5;border-radius:9px;color:#AA8867;font-size:11px;background:#FFFDF9}.danger-button{background:#D47563;color:white;padding:12px 14px;border-radius:9px;font-size:11px}.confirm-copy{font-size:12px;color:#A28B76;line-height:1.9}.data-buttons{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.muted-copy{font-size:11px;color:#B19D87;line-height:1.9}.bottom-sheet{border-radius:23px 23px 0 0;max-height:90dvh;align-self:flex-end;padding:9px 24px 25px;width:min(470px,100%);animation:slide-up .2s ease-out}.modal-backdrop:has(.bottom-sheet){padding:0}.sheet-handle{width:35px;height:4px;background:#DFD1C2;border-radius:8px;margin:0 auto 18px}.bottom-sheet .quick-description{margin-bottom:13px}.bottom-sheet .quick-tabs{margin-bottom:13px}.bottom-sheet .measurement-inputs{gap:9px 12px}.bottom-sheet .field-label{margin-top:9px}.bottom-sheet textarea{min-height:45px;height:45px}.bottom-sheet .form-save-note{margin-top:8px}.bottom-sheet .quick-heading h2{font-size:19px}#toast-root{position:fixed;z-index:150;bottom:28px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 28px);pointer-events:none}.toast{background:#51473F;color:#FFF8EF;border:1px solid #6E5C4D;border-radius:12px;padding:13px 15px;box-shadow:0 7px 25px #35271925;display:flex;align-items:center;gap:9px;font-size:12px;pointer-events:auto;animation:slide-up .2s ease-out}.toast>.icon{color:#C6D7A4;width:17px;height:17px}.toast.error>.icon{color:#F2B787}.toast>button{font-size:11px;color:#FEC69C;white-space:nowrap}.toast .toast-close{margin-left:4px;padding:2px;color:#B5A89B}.toast-close .icon{width:13px;height:13px}@keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes slide-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.phone-preview{width:414px;height:min(880px,calc(100dvh - 80px));min-height:600px;margin:15px auto;border:6px solid #FFFDFB;border-radius:28px;box-shadow:0 13px 55px #5D49351F;overflow:hidden}.phone-preview .app-shell{height:100%;overflow-y:auto;scrollbar-width:none}.phone-preview .app-shell::-webkit-scrollbar{display:none}
@container app (min-width:1450px){.workspace{padding:35px 38px 0}.app-shell{grid-template-columns:236px minmax(0,1fr)}.content-grid{grid-template-columns:minmax(0,1fr) 304px;gap:28px}.main-content{gap:24px}.card{padding:24px 26px}.quick-card{padding:26px 23px 21px}.family-card{padding:18px}.task-row{padding:18px 0}.welcome-banner{min-height:137px;padding:25px 28px}.welcome-avatar{width:77px;height:77px}.welcome-banner h2{font-size:24px}.family-stats b{font-size:27px}.task-main strong{font-size:13px}}
@container app (max-width:1180px) and (min-width:761px){.app-shell{grid-template-columns:182px minmax(0,1fr)}.sidebar{padding:24px 11px}.brand{font-size:19px;gap:8px;padding-left:5px}.brand-mark{width:35px;height:35px}.brand small{font-size:8px}.nav-item{font-size:12px;padding:10px 12px}.roster-pet{padding:10px 4px;gap:7px}.roster-pet .avatar{width:35px;height:35px}.roster-detail small{font-size:8px}.workspace{padding:22px 20px 0}.content-grid{grid-template-columns:minmax(0,1fr) 246px;gap:17px}.card{padding:17px}.quick-card{padding:19px 16px}.welcome-family{display:none}.family-grid{gap:9px}.family-card{padding:12px 10px}.family-pet-top{gap:6px}.avatar.medium{width:39px;height:39px}.family-pet-name strong{font-size:13px}.family-pet-name>span{font-size:8px}.family-arrow{display:none}.family-stats{flex-wrap:wrap;gap:7px}.family-stats b{font-size:22px}.mini-measures{font-size:8px;flex-wrap:wrap;gap:4px}.due-badge{font-size:8px}.done-button{padding:5px}.task-row{gap:8px}.task-row>.avatar{width:30px;height:30px}.task-main>div{gap:5px}.task-main strong{font-size:10px}.task-main small{font-size:8px}.task-date{display:none}.pet-label{font-size:8px}.metric-tabs button{padding:5px 12px}.chart-change small{display:none}.today-label{font-size:10px}.header-right{gap:12px}.section-heading h2{font-size:13px;gap:6px}.text-button{font-size:9px}.family-pet-top .family-pet-name{min-width:0}}
@container app (max-width:980px) and (min-width:761px){.right-panel{display:none}.content-grid{grid-template-columns:1fr}.mobile-add{position:fixed;display:flex;align-items:center;gap:5px;bottom:25px;right:25px;color:white;background:var(--accent);border-radius:30px;padding:12px 17px;box-shadow:0 5px 16px #DD6D4430;z-index:30}.welcome-family{display:flex}.family-stats{flex-wrap:nowrap}.task-main strong{font-size:12px}.done-button{padding:6px 9px}.due-badge{font-size:10px}}
@container app (max-width:760px){
  .app-shell{display:block;min-height:100%;height:100%;overflow-y:auto;scrollbar-width:none;overscroll-behavior:contain}.sidebar,.right-panel,.welcome-banner,.breadcrumb,.header-right,.workspace-header p,.heading-dot{display:none}.workspace{padding:14px 16px 90px}.workspace-header{margin-bottom:14px;align-items:baseline}.workspace-header h1{font-size:22px;letter-spacing:.035em}.content-grid{display:block}.main-content{gap:15px}.mobile-top{display:block;position:sticky;top:0;z-index:40;background:#FFF9F2F5;backdrop-filter:blur(12px);border-bottom:1px solid #EFE1D3}.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:12px 17px 8px}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand .brand-mark{width:29px;height:29px;border-radius:9px}.mobile-brand .brand-mark .icon{height:19px;width:19px}.mobile-brand strong{font-size:16px;letter-spacing:.03em;font-weight:700}.mobile-header>.icon-btn{width:29px;height:29px}.mobile-header>.icon-btn .icon{width:17px;height:17px}.pet-pills{display:flex;gap:8px;padding:5px 16px 11px;overflow-x:auto;scrollbar-width:none}.pet-pills button{display:flex;align-items:center;gap:6px;flex-shrink:0;border-radius:25px;padding:7px 13px;border:1px solid #EDE1D5;background:#FFFDF9;font-size:11px;color:#AB8F77;position:relative}.pet-pills button.active{background:#FFEAD8;border-color:#F3C6A6;color:#C27D4D;font-weight:600}.pet-pills button .icon{width:13px;height:13px}.pet-pills button>i{width:6px;height:6px;border-radius:50%;background:var(--pet)}.reminder-dot{width:4px;height:4px;border-radius:50%;background:#DF846D;position:absolute;top:5px;right:8px}.mobile-nav{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-around;background:#FFFDFCFA;backdrop-filter:blur(15px);border-top:1px solid #ECE1D6;z-index:50;padding:9px 5px max(9px,env(safe-area-inset-bottom));height:calc(64px + env(safe-area-inset-bottom))}.mobile-nav .nav-item{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;font-size:9px;padding:2px 7px;border-radius:0;flex:1;background:none;color:#B7A28E}.mobile-nav .nav-item .icon{width:20px;height:20px}.mobile-nav .nav-item.active{color:#E38B55}.mobile-nav .nav-dot{display:none}.mobile-add{display:flex;position:absolute;right:17px;bottom:calc(77px + env(safe-area-inset-bottom));align-items:center;gap:5px;background:var(--accent);color:#fff;border-radius:22px;padding:10px 14px;box-shadow:0 4px 14px #E4844C30;z-index:45;font-size:11px}.mobile-add .icon{height:16px;width:16px}.card{padding:15px 14px;border-radius:15px}.section-heading h2{font-size:13px;gap:6px}.heading-icon{width:23px;height:23px;border-radius:7px}.heading-icon .icon{height:15px;width:15px}.count-badge{height:17px;width:17px;font-size:9px}.text-button{font-size:9px}.section-note{font-size:9px;margin:5px 0 4px 29px}.task-row{padding:11px 0;gap:8px}.task-row>.avatar{width:30px;height:30px}.task-main>div{gap:5px}.task-main strong{font-size:10px}.pet-label{font-size:8px;padding:1px 4px}.task-main>small{font-size:8px;margin-top:3px}.task-main>small>.icon{width:10px;height:10px}.task-date{display:none}.due-badge{font-size:8px;gap:3px}.due-badge .icon{display:none}.done-button{padding:5px 7px;font-size:8px;margin-left:0;gap:3px}.done-button .icon{width:10px;height:10px}.task-list:not(.expanded) .task-row:nth-child(n+3){display:none}.mobile-task-more{display:flex;align-items:center;justify-content:center;gap:4px;color:#C1A389;width:100%;margin-top:7px;padding:4px 0 0;font-size:8px}.mobile-task-more .icon{width:10px;height:10px;transform:rotate(90deg)}.task-list .task-row:nth-child(2){border:0;padding-bottom:3px}.task-list.expanded .task-row:nth-child(2){border-bottom:1px solid #F3EEE9;padding-bottom:11px}.family-section>.section-heading{margin-bottom:9px}.family-grid{display:flex;overflow-x:auto;scrollbar-width:none;gap:9px;padding:0 1px 2px;scroll-snap-type:x proximity}.family-card{min-width:151px;max-width:151px;scroll-snap-align:start;padding:11px 11px 8px;border-radius:13px}.family-pet-top{gap:7px}.family-pet-top .avatar{width:36px;height:36px}.family-pet-name strong{font-size:13px}.family-pet-name>span{font-size:8px}.family-arrow{display:none}.family-card>p{font-size:8px;margin:5px 0 8px}.family-stats b{font-size:21px}.family-stats .status{font-size:7px;padding:2px 4px}.mini-measures{margin-top:8px;padding-top:6px;font-size:8px;gap:5px}.mini-measures small{font-size:7px}.chart-card{padding:14px 13px 10px}.chart-controls{margin-top:12px}.metric-tabs{gap:2px;padding:2px}.metric-tabs button{font-size:10px;padding:4px 13px}.chart-controls>select{width:66px;font-size:9px;padding:5px}.chart-card .section-heading select{font-size:8px;padding:5px 4px}.chart-summary{padding-top:12px;gap:14px}.chart-summary strong{font-size:25px}.chart-summary>div{gap:7px}.chart-summary>div>span{font-size:8px}.chart-summary strong small{font-size:9px}.chart-change{font-size:9px}.chart-change small{display:none}.chart-last-date{font-size:8px}.trend-chart{height:112px;margin-top:6px}.trend-chart text{font-size:13px}.chart-foot{padding-top:7px}.chart-foot>span{font-size:8px}.chart-foot .text-button{font-size:8px}.subtle-count{font-size:8px}.content-footer{font-size:8px;margin-bottom:0;flex-wrap:wrap;gap:4px}.content-footer>button{font-size:8px}.pet-profile-head{gap:11px}.pet-profile-head .avatar.large{width:53px;height:53px}.pet-profile-head h2{font-size:18px}.pet-profile-head p,.pet-profile-head small{font-size:9px}.measure-caption{font-size:9px;margin:12px 0 7px}.measure-caption small{font-size:8px}.size-grid{gap:6px}.size-grid>div{padding:10px 3px}.size-grid strong{font-size:21px}.size-grid strong small{font-size:8px;margin-left:3px}.size-grid>div>span{font-size:8px}.profile-footnote{font-size:8px;margin-top:8px}.profile-list{grid-template-columns:1fr;gap:13px}.full-profile{padding:18px}.full-profile .pet-profile-head p{font-size:10px}.profile-info{flex-direction:row;gap:25px;margin-top:15px}.profile-info span{gap:9px}.compact>div{padding:12px 3px}.compact strong{font-size:23px}.profile-actions .text-button{font-size:10px}.new-family-card{min-height:90px}.history-row{gap:9px;padding:16px 0}.history-main>strong{font-size:11px}.history-main>small{font-size:9px}.history-icon{width:29px;height:29px}.history-values{font-size:8px;gap:8px}.history-filters{margin-top:14px}.history-filters button{font-size:10px}.warning-banner{font-size:9px;padding:9px;margin-bottom:12px}.warning-banner button{font-size:9px}.empty-inline{padding:15px 3px;gap:9px}.empty-inline p{font-size:9px}.empty-inline strong{font-size:11px}
}
@media(max-width:760px){body{overflow:hidden}.previewbar{display:none}.viewport{height:100dvh;width:100%;margin:0;max-width:none;border:0;border-radius:0;min-height:0;box-shadow:none}.modal-backdrop{padding:16px}.modal{padding:22px;max-height:92dvh;border-radius:19px}.modal-heading h2{font-size:19px}.modal-heading p{font-size:10px}.bottom-sheet{border-radius:23px 23px 0 0;padding:9px 20px max(22px,env(safe-area-inset-bottom));max-height:94dvh}.bottom-sheet .quick-description{font-size:10px}.toast{font-size:11px;padding:11px 13px}#toast-root{bottom:82px}.toast .toast-close{display:none}.pet-form-grid{gap:12px}.batch-pet{gap:8px;padding:9px}.cycle-field input{width:55px}.modal-actions{gap:8px}.modal-actions>*{font-size:10px;padding:11px 8px}input,select,textarea{font-size:16px}.quick-tabs button{font-size:12px}.measurement-inputs input{font-size:16px}.bottom-sheet .field-label{font-size:11px}.bottom-sheet .primary-button{font-size:13px}.bottom-sheet input[type=date]{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep quiet details legible on cream and white surfaces. */
.sidebar{scrollbar-width:thin;scrollbar-color:#DDCEC0 transparent}
.status.red{color:#B45149;background:#FFF0ED}.status.amber{color:#9B6D2D;background:#FFF4E1}.status.green{color:#4E805F;background:#EEF7EF}
.due-badge.overdue{color:#BC5D51}.due-badge.soon{color:#9C792D}.section-note,.task-main>small,.family-pet-name>span,.family-card>p,.mini-measures,.chart-foot>span,.quick-description,.field-hint,.form-save-note,.profile-footnote,.measure-caption>small{color:#96816F}
.field-label,.measurement-inputs label>span{color:#7B6858}.text-button.muted{color:#8E7A67}.pet-profile-head p,.pet-profile-head small,.chart-last-date{color:#9E8772}.pet-label{font-weight:550}
@container app (min-width:761px){.roster-detail small{font-size:10px}.roster-all small{font-size:10px}.roster-detail .status{font-size:10px}.workspace-header p{font-size:12px}.welcome-banner p{font-size:12px}.section-note{font-size:11px}.task-main strong{font-size:13px}.task-main>small{font-size:10px}.pet-label{font-size:10px}.due-badge{font-size:11px}.done-button{font-size:10px;padding:7px 10px}.family-card>p,.family-pet-name>span,.mini-measures{font-size:10px}.family-stats .status{font-size:10px}.text-button{font-size:11px}.field-label,.measurement-inputs label>span{font-size:12px}.quick-description,.form-save-note{font-size:11px}.field-hint{font-size:10px}.quick-tabs button{font-size:12px}input,select,textarea{font-size:13px}.chart-foot>span{font-size:10px}.profile-footnote{font-size:10px}.chart-last-date{font-size:10px}.upcoming-item strong{font-size:11px}.upcoming-item>span:nth-child(2)>small{font-size:10px}.backup-actions button{font-size:11px}.local-state{font-size:11px}}
@container app (max-width:760px){.task-main strong{font-size:11px}.task-main>small{font-size:9px}.pet-label{font-size:9px}.due-badge,.done-button{font-size:9px}.section-note{font-size:10px}.text-button{font-size:10px}.family-pet-name>span,.family-card>p,.mini-measures{font-size:9px}.family-stats .status{font-size:8px}.chart-summary>div>span,.chart-last-date{font-size:9px}.chart-foot>span,.chart-foot .text-button{font-size:9px}.mobile-task-more{font-size:9px}.mobile-nav .nav-item{font-size:10px}.measure-caption,.pet-profile-head p,.pet-profile-head small{font-size:10px}.size-grid>div>span{font-size:9px}.profile-footnote{font-size:9px}.trend-chart text{font-size:14px}.chart-controls{margin-top:10px}.card{padding-top:13px;padding-bottom:13px}.chart-card{padding-top:13px;padding-bottom:9px}}
