:root{--bg: #f3f6f5;--paper: #ffffff;--ink: #17302d;--muted: #5d716e;--line: #dfe7e5;--green: #0f766e;--green-d: #0b5a54;--green-l: #d7f0ec;--amber: #b45309;--amber-l: #fff4dc;--red: #b42318;--red-l: #fde7e5;--blue-l: #e3effa;--radius: 16px;--shadow: 0 1px 2px rgba(16, 40, 36, .06), 0 4px 14px rgba(16, 40, 36, .06);color-scheme:light}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.4 Nunito,system-ui,sans-serif;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3{font-family:"Baloo 2",Nunito,sans-serif;line-height:1.15;margin:0}h3{font-size:18px}a{color:var(--green)}.muted{color:var(--muted)}.small{font-size:14px}.center{text-align:center}.app{max-width:520px;margin:0 auto;min-height:100dvh;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.app.standalone{padding-bottom:24px}.page{padding:14px 16px 20px;display:flex;flex-direction:column;gap:12px}.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:6px;padding:calc(10px + env(safe-area-inset-top)) 10px 10px;background:var(--green);color:#fff}.top h1{flex:1;font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top .logo{font-size:24px;padding:0 6px}.icon-btn{position:relative;border:0;background:transparent;color:inherit;font-size:21px;min-width:42px;height:42px;border-radius:12px}.top .icon-btn:active{background:#fff2}.bell b{position:absolute;top:3px;right:2px;min-width:18px;height:18px;border-radius:9px;background:#f59e0b;color:#111;font-size:11px;line-height:18px}.offline{position:sticky;top:62px;z-index:19;background:#3b3b3b;color:#fff;text-align:center;padding:8px 12px;font-size:14px;font-weight:700}.standalone .offline{top:0}.bottom{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:520px;display:grid;grid-template-columns:repeat(4,1fr);background:var(--paper);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);z-index:20}.bottom button{border:0;background:none;padding:8px 0 10px;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:700;color:var(--muted)}.bottom button span{font-size:22px;filter:grayscale(1);opacity:.6}.bottom button.on{color:var(--green)}.bottom button.on span{filter:none;opacity:1}.drawer-bg,.modal-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0b1f1d66}.drawer{position:absolute;top:0;right:0;bottom:0;width:min(300px,84vw);background:var(--paper);padding:calc(16px + env(safe-area-inset-top)) 10px 16px;display:flex;flex-direction:column;gap:2px;animation:slide .18s ease-out;overflow-y:auto}@keyframes slide{0%{transform:translate(100%)}}.drawer-head{display:flex;gap:10px;align-items:center;padding:6px 10px 14px;border-bottom:1px solid var(--line);margin-bottom:6px}.drawer-head .me{font-size:34px}.drawer-head small{display:block;color:var(--muted)}.drawer>button{display:flex;align-items:center;gap:10px;border:0;background:none;text-align:left;padding:12px 10px;border-radius:12px;font-weight:700}.drawer>button:active{background:var(--green-l)}.drawer>button em{margin-left:auto;font-style:normal;background:#f59e0b;border-radius:10px;padding:0 7px;font-size:12px}.drawer .logout{margin-top:auto;color:var(--red)}.card{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;display:flex;flex-direction:column;gap:10px}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.section-title{font-size:20px;margin-top:6px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1.5px solid var(--line);background:var(--paper);border-radius:12px;padding:10px 14px;font-weight:800;text-decoration:none;color:var(--ink);min-height:44px}.btn.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 3px 0 var(--green-d)}.btn.primary:active{transform:translateY(2px);box-shadow:0 1px 0 var(--green-d)}.btn.ghost{background:transparent}.btn.danger{color:var(--red);border-color:#f3c4bf}.btn.small{min-height:36px;padding:6px 12px;font-size:14px}.btn.wide{width:100%}.btn.google{background:#fff}.link{border:0;background:none;color:var(--green);font-weight:700;padding:6px;align-self:center}.actions{display:flex;flex-wrap:wrap;gap:8px}.tag{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:700;background:#eef2f1;color:var(--muted);margin:2px 4px 2px 0}.tag.ok{background:var(--green-l);color:var(--green-d)}.tag.warn{background:var(--amber-l);color:var(--amber)}.tag.late{background:var(--red-l);color:var(--red)}.warn-box{margin:0;background:var(--amber-l);color:#7a3e06;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:600}.ok-box{background:var(--green-l);padding:12px;border-radius:12px;margin:0}.empty{text-align:center;padding:30px 10px;color:var(--muted)}.empty span{font-size:44px}.avatar{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex:0 0 auto;box-shadow:inset 0 0 0 3px #fff9}.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.chip{flex:0 0 auto;border:1.5px solid var(--line);background:var(--paper);border-radius:999px;padding:7px 14px;font-weight:700;font-size:14px}.chip.on{background:var(--green);border-color:var(--green);color:#fff}.tabs,.seg{display:flex;background:#e6edeb;border-radius:14px;padding:4px;gap:4px;flex-wrap:wrap}.tabs button,.seg button{flex:1;border:0;background:none;border-radius:10px;padding:9px 6px;font-weight:800;font-size:14px;color:var(--muted);white-space:nowrap}.tabs button.on,.seg button.on{background:var(--paper);color:var(--green-d);box-shadow:var(--shadow)}.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.list li{display:flex;gap:10px;align-items:flex-start;padding:9px 0;border-top:1px solid var(--line)}.list li:first-child{border-top:0}.list li>span{font-size:22px;width:28px;text-align:center}.list li>div{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}.list small{color:var(--muted);font-size:13px}.list .tag{align-self:flex-start}.rows{margin:0;display:flex;flex-direction:column}.rows>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}.rows>div:first-child{border-top:0}.rows dt{color:var(--muted)}.rows dd{margin:0;text-align:right;font-weight:700}.form{display:flex;flex-direction:column;gap:12px}.form label,.row-label{display:flex;flex-direction:column;gap:4px;font-weight:700;font-size:14px}input:not([type=checkbox]),select{border:1.5px solid var(--line);border-radius:12px;padding:11px 12px;background:#fff;width:100%;font-weight:600}input:focus,select:focus{outline:2px solid var(--green);outline-offset:1px}.form label.check,label.check{flex-direction:row;align-items:center;gap:8px;font-weight:600}input[type=checkbox]{width:20px;height:20px;accent-color:var(--green)}fieldset{border:1.5px solid var(--line);border-radius:12px;padding:8px 12px 12px;display:flex;flex-direction:column;gap:8px;margin:0}legend{font-weight:800;font-size:14px;padding:0 4px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.switch{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;font-weight:600}.modal-bg{display:flex;align-items:flex-end;justify-content:center}.modal{background:var(--paper);width:100%;max-width:520px;max-height:92dvh;overflow-y:auto;border-radius:22px 22px 0 0;padding:16px 16px calc(20px + env(safe-area-inset-bottom));animation:up .2s ease-out}@keyframes up{0%{transform:translateY(40%);opacity:.3}}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.login{display:flex;flex-direction:column;gap:16px;padding-top:24px}.brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.brand h1{font-size:30px;color:var(--green-d)}.brand p{margin:0;color:var(--muted)}.or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px}.or:before,.or:after{content:"";flex:1;height:1px;background:var(--line)}.alerts{display:flex;flex-direction:column;gap:8px}.alert{display:flex;align-items:center;gap:10px;border:0;text-align:left;border-radius:14px;padding:10px 12px;font-weight:700;font-size:14px}.alert p{margin:0;flex:1}.alert span{font-size:22px}.alert.warn{background:var(--amber-l);color:#7a3e06}.alert.info{background:var(--blue-l);color:#1d4a72}.today{flex-direction:row;align-items:center;border:0;text-align:left}.today>span{font-size:28px}.today div{flex:1;display:flex;flex-direction:column}.today small{color:var(--muted)}.today i,.alert i{font-style:normal;font-size:22px;opacity:.5}.pets{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pet-card{border:0;background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.pet-card b{font-size:18px;margin-top:4px}.pet-card small{font-size:13px}.pet-card.add{border:2px dashed #b7cbc7;background:transparent;box-shadow:none;color:var(--green-d);justify-content:center}.plus{font-size:36px;line-height:1}.upsell{border:0;border-radius:14px;padding:12px;background:linear-gradient(90deg,#fff1c7,#ffe3a3);color:#6b4300;font-weight:800}.photo-pick{align-self:center;width:96px;height:96px;border-radius:50%;border:2px dashed #b7cbc7;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:30px}.photo-pick small{font-size:11px;color:var(--muted)}.pet-hero{display:flex;gap:14px;align-items:center;border-radius:var(--radius);padding:16px}.pet-hero h2{font-size:28px}.pet-hero p{margin:2px 0 0;font-weight:600}.pet-row{display:flex;gap:10px;align-items:center}.weight-now{display:flex;flex-direction:column}.weight-now b{font-family:"Baloo 2";font-size:34px;color:var(--green-d);line-height:1}.weight-now small{color:var(--muted)}.chart{width:100%;height:auto}.chart .axis{stroke:var(--line);stroke-width:1.5}.chart .line{fill:none;stroke:var(--green);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.chart .area{fill:var(--green-l);opacity:.7}.chart .dot{fill:#fff;stroke:var(--green);stroke-width:2.5}.chart .val{font-size:11px;font-weight:800;fill:var(--ink)}.chart .lbl{font-size:10px;fill:var(--muted)}.file-btn{cursor:pointer}.timeline{display:flex;flex-direction:column;gap:10px}.moment{display:flex;gap:12px;align-items:center;background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow);padding:10px}.moment>div:last-child{display:flex;flex-direction:column}.moment small{color:var(--muted)}.thumb{position:relative;width:84px;height:84px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:40px;flex:0 0 auto}.thumb em{position:absolute;bottom:5px;right:5px;background:#000a;color:#fff;font-style:normal;font-size:11px;font-weight:800;padding:1px 6px;border-radius:6px}.bar{height:10px;background:#e8eeec;border-radius:6px;overflow:hidden}.bar i{display:block;height:100%;background:var(--green);border-radius:6px}.bar.warn i{background:#e58a14}.bar.info i{background:#3b82c4}.mini{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0}.mini dt{font-size:12px;color:var(--muted)}.mini dd{margin:0;font-weight:800;font-size:14px}.days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.days button{border:0;background:var(--paper);border-radius:12px;padding:6px 0;display:flex;flex-direction:column;align-items:center;box-shadow:var(--shadow)}.days small{font-size:11px;color:var(--muted);text-transform:capitalize}.days b{font-size:18px}.days button.on{background:var(--green);color:#fff}.days button.on small{color:#d7f0ec}.shifts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.shifts li{display:flex;align-items:center;gap:10px;background:var(--paper);border-radius:14px;box-shadow:var(--shadow);padding:10px 12px;border-left:4px solid #cbd8d5}.card .shifts li{box-shadow:none;background:#f7faf9}.shifts time{font-weight:800;font-size:14px;width:44px;color:var(--muted)}.shifts .ic{font-size:24px}.shifts li>div{flex:1;display:flex;flex-direction:column;min-width:0}.shifts small{color:var(--muted);font-size:13px}.shifts li.done{border-left-color:var(--green);opacity:.75}.shifts li.done b{text-decoration:line-through;text-decoration-color:#0f766e88}.shifts li.late{border-left-color:#e58a14}.access.off{opacity:.6}.perm-tags{display:flex;flex-wrap:wrap}.collar{flex-direction:row;align-items:center}.collar>div{display:flex;flex-direction:column;gap:4px}.collar p{margin:0}.qr{border-radius:12px;background:#fff;border:1px solid var(--line);flex:0 0 auto}.qr-box{display:flex;flex-direction:column;align-items:center;gap:10px}.carer{display:flex;flex-direction:column;gap:12px}.carer-head{display:flex;gap:12px;align-items:center;background:var(--green);color:#fff;border-radius:var(--radius);padding:14px}.carer-head span{font-size:32px}.carer-head small{display:block;opacity:.85}.members select{width:auto;padding:6px 8px;font-size:14px}.members li{align-items:center}.roles{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}.notices{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.notices button{width:100%;display:flex;gap:10px;align-items:flex-start;border:0;text-align:left;background:var(--paper);border-radius:14px;padding:12px;box-shadow:var(--shadow)}.notices span{font-size:22px}.notices p{margin:0;font-weight:600}.notices small{color:var(--muted)}.notices .unread button{background:#eefaf7;box-shadow:inset 4px 0 0 var(--green),var(--shadow)}.notices .unread p{font-weight:800}.plans{display:flex;flex-direction:column;gap:12px}.plan ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.plan .price{font-family:"Baloo 2";font-size:26px;margin:0;color:var(--green-d)}.plan.premium{background:linear-gradient(160deg,#fffaf0,#fff1c7)}.plan.current{outline:2.5px solid var(--green)}.demo{border:2px dashed #d9c58a}.help{display:flex;flex-direction:column;gap:10px}.help-item p{margin:0;line-height:1.5}.toast{position:fixed;left:50%;bottom:calc(90px + env(safe-area-inset-bottom));transform:translate(-50%);z-index:60;background:#17302d;color:#fff;padding:10px 16px;border-radius:12px;font-weight:700;font-size:14px;max-width:calc(100% - 32px);text-align:center;box-shadow:0 6px 18px #0004}.standalone .toast{bottom:24px}.update-toast{position:fixed;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom));max-width:496px;margin:0 auto;z-index:50;display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 16px;border:0;border-radius:16px;background:#f59e0b;color:#1f1300;box-shadow:0 4px #b45309,0 6px 16px #00000040}.update-toast span{font-size:14px;opacity:.9}.print-only{display:none}@media print{.top,.bottom,.no-print,.chips,.offline,.toast,.update-toast{display:none!important}.print-only{display:block}.app{padding:0;max-width:none}.card{box-shadow:none;border:1px solid #ccc;break-inside:avoid}body{background:#fff}}
