:root { --icon-purple: #443295; }
:root{--background:#faf9f5;--surface:#fff;--brand-primary:#6f3de8;--brand-accent:#d9ff55;--lilac:#b993f3;--mist:#f4eeff;--text-primary:#17171b;--text-secondary:#62616b;--border:#e7e3ed;--success:#256644;--warning:#805414;--error:#a52f48;--bg:var(--background);--ink:var(--text-primary);--muted:var(--text-secondary);--green:var(--brand-primary);--pale:var(--mist);--purple:var(--mist);--line:var(--border);--peach:#f4eeff}
body{background:#f0edf5;font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums}button,input,select,textarea{font:inherit}button{min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--brand-primary);outline-offset:3px}button:disabled{opacity:.55;cursor:wait}button:hover{filter:brightness(.97)}::selection{background:var(--brand-accent);color:var(--ink)}input,textarea{caret-color:var(--brand-primary)}::-webkit-scrollbar-thumb{background:#bdb2d1}h1{font-size:32px;font-weight:750;letter-spacing:-.03em}h2{font-size:21px;line-height:1.3;font-weight:700}h3{font-size:18px}.sidebar{background:#f4effa;border:0;width:218px}.brand{font-size:35px;font-weight:800;letter-spacing:-.04em;gap:8px}.brand-dot{color:var(--brand-primary);margin-left:-8px}.brand svg{width:30px;height:30px}.sidebar nav button{color:#54505f;min-height:52px}.sidebar nav button.active{background:var(--brand-accent);color:var(--ink)}.sidefoot{font-size:14px;line-height:1.6}.sidefoot p{margin-top:16px}main{padding:28px 32px 64px}.top{margin-bottom:24px;gap:12px}.petswitch{font-size:16px;gap:8px}.petswitch .icon:last-child{width:14px;transform:rotate(90deg)}.topright{gap:8px}.topright button{background:#fff}.page{overflow-wrap:anywhere}.primary{background:var(--brand-primary);border-radius:14px;padding:12px 18px;color:#fff;font-weight:650}.primary:hover{background:#5c2cc8}.primary.small,.secondary.small{font-size:14px;padding:10px 13px;white-space:normal;line-height:1.3}.secondary{border-color:#c8b9e7;color:#5424af;border-radius:14px;font-weight:600}.textbutton{font-size:14px;font-weight:600;min-height:44px}.t-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.t-heading .muted{font-size:14px}.t-heading>.textbutton{max-width:135px;text-align:right;line-height:1.3}.t-scope{display:flex;gap:8px;overflow:auto;scrollbar-width:thin;margin:20px 0;max-width:100%;padding:2px 0 6px}.t-scope button{padding:10px 16px;border-radius:99px;white-space:nowrap;background:#eeebf2;color:#57505f;font-size:14px;font-weight:600}.t-scope button.active{background:var(--brand-accent);color:var(--ink)}.t-next{padding:20px;background:var(--mist);border-radius:24px;margin-top:12px}.t-next-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.t-next-title h2{font-size:20px}.t-count{background:#e5d6fa;border-radius:99px;padding:5px 10px;font-size:13px;font-weight:700;white-space:nowrap}.t-next>.t-task{border:0;padding-bottom:0}.t-avatar{width:44px;height:44px;border-radius:16px;object-fit:cover;flex-shrink:0}.no-photo{display:grid;place-items:center;background:#e7dbf8;color:#6736a9}.no-photo .icon{width:24px;height:24px}.t-task{align-items:center;gap:12px;padding:18px 0}.tasktitle{font-size:16px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.dose{font-size:14px;color:#5e5868;line-height:1.5}.status{font-size:13px;line-height:1.5}.status.given{color:var(--success)}.status.skipped{color:#695279}.status.unconfirmed{color:var(--warning)}.status.scheduled{color:#625a71}.t-log-time{font-size:12px;color:var(--muted)}.card-pet-name{font-size:13px;font-weight:600;color:#675d77}.t-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0 8px}.t-quick button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:12px 4px;font-size:13px;font-weight:600;background:#fff;border-radius:16px}.t-quick .icon{color:var(--icon-purple);width:23px;height:23px}.sectionhead{margin-top:28px;margin-bottom:12px}.rows{padding:0 16px;border-radius:20px}.desktopgrid{gap:24px}.t-brand-panel{background:linear-gradient(125deg,#e7dbff,#dce8fd);border-radius:24px;padding:24px;display:flex;gap:8px;justify-content:space-between;position:relative;overflow:hidden;min-height:160px}.t-brand-panel h2{font-size:23px;letter-spacing:-.02em}.t-brand-panel p{font-size:14px;margin-top:12px;color:#4e4363}.t-mascot-image{width:104px;height:120px;object-fit:contain;align-self:center;flex-shrink:0}.t-onboarding .t-mascot-image{width:180px;height:180px;display:block;margin:16px auto}.t-event{display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;text-align:left;border-bottom:1px solid var(--line)}.t-event>span:nth-child(2){flex:1;min-width:0}.t-event small,.t-event strong,.t-event span span{display:block}.t-event small{font-size:12px;color:var(--muted);line-height:1.5}.t-event strong{font-size:16px;margin:3px 0}.t-event span span{font-size:14px;color:var(--muted)}.t-local-note{font-size:13px;line-height:1.6;color:var(--muted);margin:20px 0}.t-notice{background:#eee7f7;color:#4f3e68;padding:12px 16px;border-radius:14px;font-size:14px;line-height:1.6;margin-bottom:16px}.t-error{padding:16px;background:#fff0f1;color:var(--error);border-radius:14px;margin-bottom:20px}.t-error button{font-weight:700;text-decoration:underline}.t-activity{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.t-activity strong{font-size:14px}.t-activity p,.t-activity small{font-size:13px;color:var(--muted)}.initial{background:#e9def8;color:#593786;flex-shrink:0}.t-empty{text-align:center;padding:28px 16px}.empty-paw{display:flex;justify-content:center;color:#8252c6;margin-bottom:12px}.empty-paw .icon{width:32px;height:32px}.t-empty p{color:var(--muted);font-size:14px;margin:8px 0 16px}.t-calendar-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.t-calendar-tools .tabs{margin:0}.tabs{background:#eeebf3;border-radius:99px;padding:4px;display:flex;gap:4px}.tabs button{border-radius:99px;padding:8px 16px;font-size:14px;flex:1}.tabs button.active{background:var(--brand-primary);color:white}.calendar{background:#fff;border:0;padding:16px;border-radius:20px}.monthtitle{display:flex;justify-content:space-between;align-items:center;gap:8px;text-transform:capitalize}.t-arrows{display:flex;gap:4px}.t-days button{height:60px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-radius:14px;font-size:16px}.t-days button small{height:10px;font-size:13px;line-height:10px;color:var(--brand-primary)}.t-days button.selected{background:var(--brand-primary);color:#fff}.t-days button.selected small{color:var(--brand-accent)}.t-days .is-today:not(.selected){box-shadow:inset 0 0 0 1px #ad8bdf}.week span{font-size:12px}.t-health-links{display:flex;flex-direction:column}.t-health-links button{display:flex;align-items:center;text-align:left;gap:16px;border-bottom:1px solid var(--line);padding:20px 4px}.t-health-links button>.icon:first-child{color:var(--icon-purple);width:26px;height:26px}.t-health-links button>span{flex:1}.t-health-links strong,.t-health-links small{display:block}.t-health-links small{font-size:14px;color:var(--muted);margin-top:4px}.t-symptom,.t-med{display:flex;text-align:left;width:100%;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}.t-symptom>span:nth-child(2),.t-med>span:nth-child(2){flex:1;min-width:0}.t-symptom>span:first-child,.t-med>span:first-child{width:44px;height:44px;border-radius:16px;background:var(--mist);display:grid;place-items:center;color:var(--brand-primary);flex-shrink:0}.t-symptom strong,.t-symptom small,.t-med strong,.t-med small{display:block}.t-symptom small,.t-med small{font-size:13px;color:var(--muted);margin-top:4px;line-height:1.5}.t-symptom p{font-size:14px;margin-top:6px;white-space:pre-wrap;max-height:4.5em;overflow:hidden}.t-journal-row{padding:16px 0;border-bottom:1px solid var(--line)}.t-journal-row p{white-space:pre-wrap}.t-journal-row small{color:var(--muted);font-size:13px}.t-pet-list{display:flex;gap:12px;overflow:auto;margin:24px 0}.t-pet-list button{display:flex;gap:8px;align-items:center;border-radius:16px;padding:8px 12px;background:#eeebf3}.t-pet-list button.active{background:var(--brand-accent)}.t-pet-profile{display:flex;align-items:center;gap:20px;margin:24px 0}.t-profile-photo{width:108px;height:108px;object-fit:cover;border-radius:28px;flex-shrink:0}.t-profile-photo.no-photo .icon{width:50px;height:50px}.t-pet-profile .textbutton{padding-left:0}.t-facts{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:12px;margin-bottom:24px}.t-facts small,.t-facts strong{display:block;font-size:14px}.t-facts small{color:var(--muted);margin-bottom:4px}.t-team-actions{display:flex;gap:12px;align-items:center;margin-top:16px;flex-wrap:wrap}.t-settings{display:flex;flex-direction:column;margin-bottom:16px}.t-settings button{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;text-align:left;border-bottom:1px solid var(--line)}.t-settings strong{font-size:14px;font-weight:600}.t-add-list{display:flex;flex-direction:column;margin-top:16px}.t-add-list button{display:flex;gap:16px;align-items:center;padding:16px 4px;border-bottom:1px solid var(--line);text-align:left}.t-add-list .icon{color:var(--icon-purple)}.t-picker-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 0;border-bottom:1px solid var(--line)}.t-onboarding{text-align:center}.t-onboarding .t-mascot{margin:30px auto}.t-onboarding h3{margin:20px 0 12px}.t-welcome{padding:40px 0;max-width:440px}.t-welcome h1{font-size:36px;margin:32px 0 16px}.t-welcome .primary{margin-top:24px}.t-observation-note{white-space:pre-wrap;margin:24px 0}.t-audit{margin-top:24px}.t-audit summary{cursor:pointer;min-height:44px;padding:12px 0}.t-audit small{display:block}.detailitem small{font-size:14px;line-height:1.5}.formfield{font-size:14px;color:var(--ink);margin-bottom:18px}.formfield input,.formfield textarea,.formfield select{background:#fff;border:1px solid #cfc8d9;border-radius:14px;padding:13px;font-size:16px;min-width:0;color:var(--ink)}.formfield textarea{line-height:1.5}.formfield input::placeholder,.formfield textarea::placeholder{color:#746a80}.note{background:var(--mist);color:#4d3c64;font-size:14px;line-height:1.6;padding:16px;border-radius:16px;margin:16px 0}.muted{color:var(--muted)}.modalactions{gap:12px;align-items:stretch}.modalactions button{flex:1}.modalhead h2{font-size:22px}.modalhead{gap:12px}.modalhead .iconbutton{flex-shrink:0}dialog{border-radius:24px;padding:24px;max-height:calc(100dvh - 32px);overflow:auto;width:min(520px,calc(100% - 24px));color:var(--ink);background:var(--bg);border:0}dialog::backdrop{background:#23163366;backdrop-filter:blur(4px)}.form-error{color:var(--error);font-size:14px;line-height:1.5}.form-error:empty{display:none}.bottom{grid-template-columns:repeat(4,minmax(0,1fr));background:#faf9f5f5;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding-bottom:max(8px,env(safe-area-inset-bottom))}.bottom button{font-size:12px;gap:5px}.bottom button.active{color:#5c2ac1}.bottom button .icon{width:22px;height:22px}.infobar{background:#fff}.archived-pets{margin-top:16px}.archived-pets summary{min-height:44px;padding:12px 0}
@media(min-width:1000px){.desktopgrid{grid-template-columns:1.15fr 1fr}.t-brand-panel{margin-top:28px}.t-quick{max-width:520px}}
@media(max-width:760px){main{margin-left:0;padding:20px 20px 110px}.top{margin-bottom:20px}.sidebar{display:none}.bottom{display:grid}.t-brand-panel{margin-top:24px;min-height:148px}.t-heading h1{font-size:30px}.t-next{padding:16px}.t-task{gap:10px}.t-task .t-avatar{width:38px;height:38px;border-radius:13px}.t-task .primary.small,.t-task .secondary.small{max-width:104px;padding:10px;font-size:13px}.desktopgrid{display:block}.t-scope{margin:16px 0}.t-next-title h2{font-size:19px}.t-calendar-tools{gap:8px}.t-facts{grid-template-columns:1fr 1fr}.t-facts>div:first-child{grid-column:1/-1}.t-settings button{flex-wrap:wrap}.formgrid{grid-template-columns:1fr 1fr}.t-quick button{font-size:12px}.t-next .status{font-size:12px}}
@media(max-width:350px){main{padding-left:16px;padding-right:16px}.t-quick{gap:6px}.t-next .t-avatar{display:none}.t-task .t-avatar{width:32px;height:32px}.t-task .primary.small,.t-task .secondary.small{max-width:90px;font-size:12px}.t-heading{align-items:flex-start}.t-heading>.textbutton{max-width:102px;font-size:12px}.t-heading .muted{font-size:13px}.t-next-title h2{font-size:18px}.formgrid{grid-template-columns:1fr}.modalactions{flex-direction:column}.t-calendar-tools .tabs button{padding:8px 10px}.calendar{padding:12px}.t-days button{height:54px}.topright{gap:4px}.language-button{padding:8px}.t-profile-photo{width:84px;height:84px}.t-pet-profile{gap:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.t-optional-summary{cursor:pointer;padding:12px 0 20px;color:var(--brand-primary);min-height:44px;font-size:14px}.t-symptom-photo{width:100%;max-height:320px;object-fit:contain;border-radius:16px;margin-bottom:20px}
.t-schedule-zone{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:3px}.t-timeline-title{display:block;margin:6px 0}.t-brand-panel:after{content:'';position:absolute;inset:0;background:url('taily-grain.png');opacity:.015;pointer-events:none}.t-onboarding .t-mascot-image{margin-left:auto;margin-right:auto}
/* Reference direction approved 21 Oct: Helvetica, bold lime/lilac, tactile controls. */
body{font-family:Helvetica,'Helvetica Neue',Arial,sans-serif;background:#e9dcfb}button,input,textarea,select{font-family:inherit}#app{background:#faf9f5}.sidebar{background:#d9ff55}.sidebar nav button{color:#323223}.sidebar nav button.active{background:#17171b;color:#fff}.sidefoot{color:#40422d}.brand svg{color:#17171b}.brand-dot{color:#6f3de8}.t-next{background:#b993f3;position:relative}.t-next-title h2{color:#241535;font-weight:750}.t-next .t-count{background:#d9ff55;color:#17171b}.t-next .card-pet-name,.t-next .dose,.t-next .t-schedule-zone{color:#3e2857}.t-next .status.unconfirmed{color:#533416}.t-next .status.scheduled{color:#3e2857}.t-next .primary{background:#17171b;color:#fff}.t-next .t-task{background:#fbf8ff;border-radius:18px;padding:14px;margin-top:12px}.t-next>.t-task .dose,.t-next>.t-task .t-schedule-zone{color:#62596c}.t-scope button.active{background:#d9ff55;box-shadow:inset 0 2px 3px #ffffffb3,0 3px 8px #63712114}.t-quick{padding:8px;background:#b993f3;border-radius:26px;gap:7px}.t-quick button{border-radius:20px;background:linear-gradient(145deg,#f4edff,#decaf7);box-shadow:inset 2px 3px 6px #ffffffa6,0 4px 9px #50217c15;min-height:86px;color:#352343}.t-quick button:nth-child(2){background:linear-gradient(145deg,#ebffad,#c9ef50);color:#293310}.t-quick button:nth-child(3){background:linear-gradient(145deg,#dfc5ff,#bf92ed)}.t-quick button .icon{color:currentColor;width:25px;height:25px}.t-brand-panel{background:linear-gradient(125deg,#b993f3 0%,#cfb6fa 50%,#e8e0ff 100%);min-height:176px}.t-brand-panel h2{font-size:26px;letter-spacing:-.035em}.t-brand-panel p{color:#483361}.t-mascot-image{width:120px;height:140px}.t-pet-profile{padding:24px;background:#d9ff55;border-radius:28px;align-items:center}.t-profile-photo{width:128px;height:154px;border-radius:20px;transform:rotate(-3deg)}.t-pet-profile h2{font-size:30px;letter-spacing:-.025em}.t-pet-profile p{font-size:14px;margin-top:4px}.t-pet-profile .textbutton{color:#432483}.t-pet-list button.active{background:#b993f3;color:#29143e}.t-facts{padding:20px;background:#f0e5ff;border-radius:22px}.t-health-links button>.icon:first-child{width:48px;height:48px;padding:11px;background:#e9dafb;border-radius:16px}.t-health-links button:nth-child(2)>.icon:first-child{background:#d9ff55;color:#35421b}.t-health-links button:nth-child(3)>.icon:first-child{background:#b993f3;color:var(--icon-purple)}.t-health-links button:nth-child(4)>.icon:first-child{background:#e3e8fc}.t-health-links strong{font-size:18px}.calendar{background:#f0e5ff}.t-days button.selected{background:#17171b;color:#d9ff55}.t-days .is-today:not(.selected){background:#d9ff55;box-shadow:none}.tabs{background:#e8dbf8}.tabs button.active{background:#17171b}.primary{background:#6f3de8;box-shadow:inset 0 2px 2px #ffffff26}.bottom{background:#17171bf5;border:0;backdrop-filter:blur(12px);color:#fff;border-radius:24px 24px 0 0}.bottom button{color:#ddd8e6}.bottom button.active{color:#d9ff55}.bottom button.active .icon{background:#d9ff55;color:#17171b;width:42px;height:30px;padding:4px 10px;border-radius:99px}.bottom button .icon{height:30px;padding:4px 0}.t-welcome{background:linear-gradient(145deg,#d9ff55,#eaffaf);padding:28px;border-radius:28px}.t-welcome h1{font-size:34px}.t-onboarding{background:linear-gradient(160deg,#f4eeff,#dbc6ff);padding:20px;border-radius:22px}.t-onboarding .primary{background:#17171b}.t-notice{background:#ece3f6}.t-next-title .t-count{font-size:14px}
@media(max-width:760px){.bottom{left:12px;right:12px;bottom:10px;width:calc(100% - 24px);border-radius:24px;padding:8px 4px max(8px,env(safe-area-inset-bottom))}.bottom button{font-size:11px;min-height:54px}.t-pet-profile{padding:20px}.t-profile-photo{width:104px;height:128px}.t-brand-panel h2{font-size:25px}.t-next{padding:16px}.t-next .t-task{padding:12px}.t-quick button{font-size:12px;min-height:80px}.t-quick{padding:7px}.t-next .t-task .primary{max-width:96px}.t-mascot-image{width:104px;height:128px}}
@media(max-width:350px){.t-next .t-task{gap:8px}.t-next-title h2{font-size:18px}.t-quick{gap:5px;padding:6px}.t-quick button{font-size:11px;border-radius:17px}.t-pet-profile h2{font-size:26px}.t-profile-photo{width:84px;height:110px}.bottom{left:8px;right:8px;width:calc(100% - 16px)}.t-brand-panel h2{font-size:23px}.t-mascot-image{width:90px;height:110px}}
.language-button,.iconbutton{min-width:44px;min-height:44px}.bottom button{font-size:12px}.t-schedule-zone{font-size:12px}.t-profile-detail{white-space:pre-wrap;font-size:14px;margin-bottom:16px;color:var(--text-secondary)}
/* Approved compact care architecture and profile tools. */
.t-scope button.active,.t-pet-list button.active{border:1px solid #17171b}
.care-dose-list{display:grid;gap:12px}.care-dose-card{display:flex;align-items:center;gap:14px;width:100%;padding:16px;text-align:left;background:#fff;border:1px solid var(--border);border-radius:22px;min-height:112px}.care-dose-photo{width:68px;height:76px;border-radius:18px;object-fit:cover;flex-shrink:0}.care-dose-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.care-dose-content>strong{font-size:17px;line-height:1.3;overflow-wrap:anywhere}.care-dose-content>span{font-size:14px;line-height:1.4;color:var(--text-secondary)}.care-dose-content>small{font-size:13px;color:var(--text-secondary)}.care-dose-status{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:90px;flex-shrink:0;text-align:center;color:var(--text-secondary)}.care-dose-status small{font-size:12px;line-height:1.3}.care-dose-status>.icon{width:24px;height:24px;border:1.7px solid currentColor;border-radius:50%;padding:2px}.care-dose-status.given{color:var(--success)}.care-dose-status.skipped{color:#76537f}.care-dose-status.unconfirmed{color:#805414}.care-status-ring{height:23px;width:23px;border:1.7px solid currentColor;border-radius:50%}.care-dose-scheduled .care-status-ring{border-style:dashed}.care-pet-banner{display:flex;align-items:center;gap:24px;background:#b993f3;border-radius:26px;padding:20px 24px;margin:16px 0 0;overflow:hidden}.care-banner-photo{width:102px;height:108px;object-fit:cover;border-radius:22px;flex-shrink:0;transform:rotate(-3deg)}.care-pet-banner h2{font-size:25px;letter-spacing:-.025em;line-height:1.16;color:#241535}.care-pet-banner div>span{display:block;font-size:14px;color:#412e56;margin-top:8px}.care-pet-banner .no-photo{background:#e8d5ff}.care-tip{margin-top:28px;padding:20px 24px;border-radius:22px;background:#f0e6ff}.care-tip h2{font-size:20px}.care-tip small{font-size:12px;color:#695674}.care-tip p{font-size:15px;line-height:1.6;margin:12px 0}.care-tip a{font-size:13px;min-height:44px;display:inline-flex;align-items:center;color:#5424af}.care-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.care-health-card{background:#f1e7ff;border-radius:24px;position:relative;min-width:0}.care-health-open{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;width:100%;min-height:174px;padding:22px 20px}.care-health-open>.icon{width:48px;height:48px;padding:11px;border-radius:16px;background:#dfc6ff;color:var(--icon-purple);margin-bottom:6px}.care-health-open strong{font-size:20px;line-height:1.3}.care-health-open small{font-size:14px;line-height:1.4;color:#62516f}.care-health-medications{background:#b993f3}.care-health-medications .icon{background:#f4eeff}.care-health-vaccinations{background:#effbc6}.care-health-vaccinations .icon{background:#d9ff55;color:#293310;border:1px solid #17171b}.care-health-symptoms{background:#efe4ff}.care-health-vethub{background:#e6eafb}.care-pin{position:absolute;right:8px;top:8px;width:44px;height:44px;border-radius:50%;font-size:24px;line-height:1;color:#49345e;background:#ffffffb8}.care-pin.is-pinned{background:#d9ff55;border:1px solid #17171b;color:#17171b}.care-pdf-button{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:28px;min-height:54px}.care-profile-menu{margin-top:24px}.care-profile-row{display:flex;width:100%;align-items:center;gap:14px;padding:18px 0;text-align:left;border-bottom:1px solid var(--border)}.care-profile-row>span{flex:1;min-width:0}.care-profile-row>span strong,.care-profile-row>span small{display:block}.care-profile-row>span small{font-size:14px;color:var(--text-secondary);margin-top:5px;line-height:1.5}.care-profile-row>.icon:first-child{width:44px;height:44px;background:var(--mist);color:var(--icon-purple);padding:10px;border-radius:15px}.care-profile-row>.icon:last-child{width:18px}.care-owner-row{display:flex;width:100%;align-items:center;gap:14px;text-align:left;padding:16px 0}.care-owner-row>span:nth-child(2){flex:1}.care-owner-row strong,.care-owner-row small{display:block}.care-owner-row small{font-size:13px;color:var(--text-secondary);margin-top:4px}.care-owner-row>.icon{color:var(--icon-purple)}.care-passport-head{display:flex;align-items:center;gap:20px;padding:20px;background:#d9ff55;border-radius:22px;margin-bottom:24px}.care-passport-head h3{font-size:26px;overflow-wrap:anywhere}.care-passport-head p{font-size:13px;margin-top:4px}.care-passport-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 28px}.care-passport-facts div{min-width:0}.care-passport-facts dt{font-size:13px;color:var(--text-secondary);margin-bottom:3px}.care-passport-facts dd{margin:0;font-size:16px;overflow-wrap:anywhere}.care-preserve-lines{white-space:pre-wrap;font-size:15px;margin:12px 0}.care-emergency{padding:16px;border-radius:18px;background:#f0e5ff;display:flex;justify-content:space-between;align-items:center;gap:12px}.care-emergency strong{font-size:15px}.care-emergency p{font-size:14px;margin-top:6px}.care-phone{display:inline-flex;align-items:center;min-height:44px;font-size:17px;font-weight:700;color:#5424af}.care-check{display:flex;align-items:center;gap:12px;min-height:48px;font-size:15px;padding:8px 0}.care-check input,.care-pin-option input{width:22px;height:22px;min-height:22px;accent-color:#6f3de8;flex-shrink:0}.care-pin-option{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--border)}.care-pin-option>span{display:flex;align-items:center;gap:12px}.care-pin-option .icon{color:var(--icon-purple)}.care-pinned-grid{display:grid;gap:12px;grid-template-columns:1fr 1fr}.care-pinned-link{display:flex;align-items:center;gap:12px;text-align:left;padding:16px;background:var(--mist);border-radius:18px}.care-pinned-link>span{flex:1}.care-pinned-link strong,.care-pinned-link small{display:block}.care-pinned-link small{font-size:12px;color:var(--text-secondary);margin-bottom:3px}.care-pinned-link strong{font-size:15px}.care-pinned-link>.icon:first-child{color:var(--icon-purple)}.care-pinned-link>.icon:last-child{width:16px}.care-pinned-grid .care-emergency{grid-column:1/-1}.care-calendar-scope{margin:16px 0 20px}.care-calendar-scope button{font-size:15px;white-space:nowrap}.care-calendar-tools{justify-content:flex-start;margin:16px 0}.care-calendar-tools>.tabs{width:210px;max-width:100%;display:grid;grid-template-columns:1fr 1fr;padding:4px}.care-calendar-tools>.tabs button{min-width:0;font-size:14px;white-space:nowrap;padding:8px 10px;overflow:visible}.care-event-filters{display:flex;gap:8px;overflow:auto;max-width:100%;padding:2px 0 8px;margin-bottom:12px}.care-event-filters button{padding:8px 13px;border-radius:99px;white-space:nowrap;font-size:13px;flex-shrink:0;border:1px solid transparent;background:#eeebf2}.care-event-filters .care-filter-vet{background:#d9ff55;border-color:#17171b}.care-event-filters .care-filter-medication{background:#b993f3;color:#271637}.care-event-filters .care-filter-walk{background:#f0e5ff;color:#4b365c}.care-event-filters button.active{box-shadow:inset 0 0 0 1px #17171b;border-color:#17171b;font-weight:700}.care-month-jump{font-size:16px;font-weight:700;text-transform:capitalize;text-align:left;padding:0;min-width:0}.care-event{margin-bottom:12px;border:0;border-radius:20px;padding:16px;background:#efedf2}.care-event-vet{background:#d9ff55}.care-event-walk{background:#efe5ff}.care-event span span,.care-event small{color:#51435b}.care-event-vet span span,.care-event-vet small{color:#3f481f}.care-event>.icon{flex-shrink:0}.care-calendar-medications{background:#d8c0f5;padding:16px;border-radius:22px}.care-calendar-medications>h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:17px}.care-calendar-medications>.care-dose-card{margin-bottom:10px}.care-calendar-medications>.care-dose-card:last-child{margin-bottom:0}.care-personal-empty{padding:32px 20px;text-align:center;background:var(--mist);border-radius:24px}.care-personal-empty>.icon{width:40px;height:40px;color:var(--icon-purple);margin-bottom:16px}.care-personal-empty p{font-size:15px;line-height:1.6;margin:14px 0 20px}.care-pdf-categories{border:0;padding:0;margin:12px 0 20px}.care-pdf-categories legend{font-size:16px;font-weight:700;margin-bottom:8px}.care-wish-tabs{margin:24px 0}.care-wish-tabs button{font-size:14px;white-space:nowrap;padding:8px 12px}.care-wish-item{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--border)}.care-wish-item>img,.care-wish-placeholder{width:80px;height:94px;border-radius:20px;object-fit:cover;flex-shrink:0}.care-wish-placeholder{background:var(--mist);color:var(--brand-primary);display:grid;place-items:center}.care-wish-placeholder .icon{width:30px;height:30px}.care-wish-main{flex:1;min-width:0}.care-wish-main>strong{font-size:18px;display:block;overflow-wrap:anywhere}.care-wish-main>span{font-size:15px;display:block;margin-top:5px}.care-wish-main p{font-size:14px;color:var(--text-secondary);margin:8px 0;white-space:pre-wrap}.care-wish-main>a{font-size:14px;display:inline-flex;align-items:center;min-height:44px}.care-wish-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.care-wish-actions button{display:flex;align-items:center;gap:8px}.care-wish-actions .icon{width:17px}.care-wishlist .t-empty{text-align:left;padding:24px 0}.formfield input,.formfield textarea{user-select:text;-webkit-user-select:text;pointer-events:auto}
@media(max-width:760px){.care-pet-banner{gap:18px;padding:16px 20px}.care-banner-photo{width:84px;height:92px}.care-pet-banner h2{font-size:22px}.care-dose-card{padding:14px;gap:12px}.care-dose-photo{width:58px;height:68px}.care-dose-content>strong{font-size:16px}.care-dose-status{width:78px}.care-health-grid{gap:12px}.care-health-open{padding:18px 16px;min-height:174px}.care-health-open strong{font-size:18px}.care-health-open small{font-size:13px}.care-health-open>.icon{width:44px;height:44px;margin-bottom:6px}.care-pin{right:4px;top:4px;width:40px;min-width:40px;min-height:44px;background:transparent}.care-tip{padding:20px}.care-pinned-grid{grid-template-columns:1fr}.care-calendar-medications{padding:12px}.care-passport-head{padding:16px;gap:16px}.care-passport-head .t-profile-photo{width:84px;height:100px}.care-passport-head h3{font-size:24px}}
@media(max-width:350px){.care-pet-banner{padding:14px;gap:14px}.care-pet-banner h2{font-size:20px}.care-banner-photo{width:72px;height:82px}.care-dose-card{padding:12px;gap:10px;border-radius:19px}.care-dose-photo{width:48px;height:58px;border-radius:14px}.care-dose-content>strong{font-size:15px}.care-dose-content>span{font-size:13px}.care-dose-content>small{font-size:12px}.care-dose-status{width:70px}.care-dose-status small{font-size:11px}.care-health-open{padding:18px 13px;min-height:172px}.care-health-open strong{font-size:16px}.care-health-open small{font-size:12px}.care-health-grid{gap:10px}.care-health-open>.icon{width:40px;height:40px;padding:9px}.care-calendar-medications .care-dose-photo{display:none}.care-wish-item{gap:12px}.care-wish-item>img,.care-wish-placeholder{width:62px;height:76px}.care-wish-main>strong{font-size:16px}.care-wish-tabs button{padding:8px;font-size:13px}.care-passport-facts{grid-template-columns:1fr}.care-passport-head .t-profile-photo{width:70px;height:90px}}
:root{--event-vet:var(--brand-accent);--event-medication:var(--lilac);--event-walk:#efe5ff}
.care-event-vet,.care-event-filters .care-filter-vet{background:var(--event-vet)}.care-calendar-medications,.care-event-filters .care-filter-medication{background:var(--event-medication)}.care-event-walk,.care-event-filters .care-filter-walk{background:var(--event-walk)}
.care-event-vet{border:1px solid #17171b}
/* Iteration 3: one status language and quieter controls. */
.language-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:76px;min-height:44px;padding:10px 12px;line-height:1}.language-button .icon{width:19px;height:19px;flex:none}.language-button span{line-height:1}.care-pet-banner h2{font-size:clamp(21px,4vw,29px);line-height:1.15}.care-dose-list{background:#d8c0f5;border-radius:24px;padding:12px}.care-dose-wrap{position:relative;margin-bottom:10px}.care-dose-wrap:last-child{margin-bottom:0}.care-dose-card{border:0!important;background:#fff;width:100%;margin:0;box-shadow:0 2px 10px #47257706}.care-dose-wrap:has(.care-dose-cancel) .care-dose-status{padding-top:18px}.care-dose-cancel{position:absolute;right:1px;top:0;width:44px;height:44px;min-height:44px;display:grid;place-items:center;background:transparent;color:#75657f;border-radius:50%}.care-dose-cancel .icon{width:14px;height:14px}.care-dose-status{display:flex;flex:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:78px;color:#75657f}.care-dose-status>.icon{width:27px;height:27px}.care-dose-status.given{color:#237a49}.care-dose-status small{font-size:12px;line-height:1.3;text-align:center}.care-event .care-dose-status{margin-left:auto}.care-dialog-status{display:flex;align-items:center;justify-content:space-between;margin:16px 0;padding:12px;background:#f3edf9;border-radius:16px}.care-dialog-status>span:last-child{font-size:13px}.care-secondary-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.care-secondary-actions button{min-height:44px;padding:10px 12px;font-size:14px}.care-calendar-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:20px 0 12px}.care-calendar-bar label{display:grid;gap:5px;font-size:12px;color:#6b6175;min-width:0}.care-calendar-bar select{min-height:44px;max-width:170px;padding:8px 24px 8px 10px;border:0;border-radius:12px;background:#f1edf6;color:#30253e;font:inherit;font-size:14px}.care-view-switch{display:flex;background:#f1edf6;padding:3px;border-radius:14px;flex:none}.care-view-switch button{min-height:44px;min-width:62px;padding:8px;font-size:13px;white-space:nowrap}.care-view-switch button.active{background:#fff;color:#30253e;box-shadow:0 1px 5px #30253e12}.care-event-vaccination{background:#effbc6}.care-team-details{margin:8px 0}.care-team-details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:14px}.care-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.care-shop-card{min-width:0;background:#f0e5ff;border-radius:24px;overflow:hidden;display:flex;flex-direction:column}.care-shop-card:nth-child(3n+2){background:#e9f8bd}.care-shop-card:nth-child(3n){background:#f6e3eb}.care-shop-image{aspect-ratio:1/1;position:relative;background:linear-gradient(145deg,#d8b8fc,#e6dbf8)}.care-shop-card:nth-child(3n+2) .care-shop-image{background:linear-gradient(140deg,#d9ff55,#edf7c8)}.care-shop-image>img{width:100%;height:100%;object-fit:cover}.care-shop-heart{position:absolute;right:8px;top:8px;width:44px;height:44px;min-height:44px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#6f3de8}.care-shop-heart[aria-pressed=true] .icon{fill:#d9ff55;stroke:#17171b}.care-shop-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#6f3de8}.care-shop-placeholder>.icon{width:64px;height:64px;transform:rotate(-12deg)}.care-shop-placeholder span{font-size:12px}.care-shop-body{padding:16px;display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:8px}.care-shop-body>strong{font-size:18px;line-height:1.25;overflow-wrap:anywhere}.care-shop-price{font-size:17px;font-weight:700}.care-shop-body>p{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.care-shop-body>a{min-height:44px;display:flex;align-items:center;font-size:14px}.care-shop-body>.textbutton{font-size:13px;min-height:44px;padding:4px 0}.care-shop-buy{min-height:44px;width:100%;margin-top:auto;background:#fff;border:0;color:#4b3a5d;font-size:14px;padding:10px}.care-shop-complete{display:flex;width:100%;align-items:center;flex-wrap:wrap;justify-content:flex-end;margin-top:auto}.care-shop-complete .care-dose-status{margin-left:auto}.care-shop-complete>.textbutton{min-height:44px;font-size:13px}.care-shop-grid>.t-empty{grid-column:1/-1}
@media(max-width:350px){.care-calendar-bar{gap:6px}.care-calendar-bar select{max-width:132px;font-size:12px}.care-view-switch button{min-width:58px;font-size:12px;padding:7px}.care-shop-grid{gap:10px}.care-shop-body{padding:12px;gap:6px}.care-shop-body>strong{font-size:15px}.care-shop-price{font-size:14px}.care-shop-buy{font-size:12px;padding:8px}.care-shop-placeholder span{font-size:10px}}
.care-event-complete{display:flex;justify-content:flex-end;margin:12px 0}.care-calendar-medications>.care-dose-wrap{margin-bottom:10px}.care-calendar-medications>.care-dose-wrap:last-child{margin-bottom:0}
.pageheading{gap:12px;flex-wrap:wrap}.pageheading>.primary.small{display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;width:auto;height:auto;min-height:44px;padding:10px 14px;border-radius:14px;line-height:1.3;font-size:14px;white-space:normal}
/* Interactive checklist: primary surface completes; corner controls have separate 44px targets. */
.check-list{display:flex;flex-direction:column;gap:10px}.check-list>.check-card{margin:0}.check-card{position:relative;min-width:0;isolation:isolate;transition:box-shadow .17s ease,opacity .17s ease}.check-card .care-dose-card,.check-event-main{min-height:150px;padding-top:28px;padding-bottom:28px}.check-card .care-dose-status{padding-top:0!important}.check-card .care-dose-status.given>.icon{background:#d9ff55;border:1px solid #17171b;border-radius:9px;color:#17171b;padding:4px;width:29px;height:29px}.check-remove,.check-details{position:absolute;right:1px;width:44px;height:44px;min-width:44px;min-height:44px;display:grid;place-items:center;color:#695d75;background:transparent;border-radius:13px;z-index:2}.check-remove{top:0}.check-details{bottom:0}.check-remove .icon{width:14px;height:14px}.check-details .icon{width:19px;height:19px}.check-event{border-radius:20px;overflow:hidden}.check-event-main{width:100%;margin:0;background:transparent!important;border:0!important}.check-event-main>span:first-of-type{min-width:0;flex:1}.check-event-main strong{overflow-wrap:anywhere}.check-event-main .care-dose-status{margin-left:auto;flex:none}.check-event.check-done{box-shadow:inset 0 0 0 1px #87995120}.check-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:20px 0 8px}.check-detail-actions button{min-height:44px;font-size:14px}.check-order-actions{margin-top:18px;border-top:1px solid #eee7f4;padding-top:14px}.check-order-actions>small{display:block;color:#75657f}.check-order-actions>div{display:flex;gap:8px;flex-wrap:wrap}.check-order-actions button{min-height:44px;padding:8px 12px;font-size:14px}.check-order-actions button:disabled{opacity:.35}.check-drag-source{opacity:.25;outline:1px dashed #9774c8;outline-offset:3px}.check-drag-ghost{z-index:1000;pointer-events:none;box-shadow:0 12px 35px #37204730;border-radius:20px;opacity:.97;background:#fff;transition:none;will-change:transform}.check-dragging,.check-dragging *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}.check-card button{-webkit-touch-callout:none}.care-shop-complete{justify-content:center}.care-shop-again{width:100%;min-height:44px;background:white;border:0;margin-top:8px;font-size:14px}.care-pinned-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.care-pinned-link{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;background:#eee4fa;padding:18px;min-height:152px;border:0}.care-pinned-link:nth-child(2n){background:#edf6d2}.care-pinned-link>.icon:first-child{background:white;border-radius:14px;padding:10px;width:44px;height:44px}.care-pinned-link>span{flex:1;min-width:0}.care-pinned-link strong{font-size:16px;line-height:1.3;overflow-wrap:anywhere}.care-pinned-link>.icon:last-child{position:absolute;right:12px;bottom:16px;width:16px}.care-pinned-link{position:relative;padding-right:24px}.care-emergency{border:0;background:#f0e5ff;gap:12px}.care-emergency>div{flex:1;min-width:0}.care-emergency-icon{width:44px;height:44px;padding:10px;background:white;display:grid;place-items:center;border-radius:14px;color:var(--icon-purple);flex:none}.care-emergency-icon>.icon{width:24px;height:24px}.care-emergency strong{overflow-wrap:anywhere}.care-calendar-medications .check-list{gap:10px}#toast .textbutton{min-height:44px;color:inherit;text-decoration:underline}
@media(max-width:350px){.check-card .care-dose-card,.check-event-main{min-height:150px}.care-pinned-link{padding:14px 22px 14px 14px;min-height:150px}.care-pinned-link strong{font-size:14px}.care-emergency{flex-wrap:wrap}.care-emergency .textbutton{margin-left:auto}.check-event-main .care-dose-status{width:64px}.care-shop-again{font-size:12px;padding:8px}}
@media(prefers-reduced-motion:reduce){.check-card,.check-drag-ghost{transition:none!important;animation:none!important}}
.secondary,.secondary.small,.secondary.wide,.textbutton{min-height:44px;padding:10px 14px;font-size:14px;line-height:1.3;border-radius:14px}.textbutton{padding:8px 10px}.care-health-open{width:100%}.care-health-open>.icon{margin-right:0}
.care-status-ring{display:inline-block;width:29px;height:29px;border:1.7px solid #8a7c98;border-radius:50%;flex:none}.care-dose-status.given>.icon,.check-card .care-dose-status.given>.icon{width:29px;height:29px;border:1.7px solid #17171b;border-radius:50%;padding:4px;background:#d9ff55;color:#17171b}
.check-details{top:0;bottom:auto;right:44px}.check-card .care-dose-card,.check-event-main{min-height:112px;padding-top:12px;padding-bottom:12px}.check-card .care-dose-status{padding-top:30px!important}.check-card .care-dose-photo{height:62px}.check-event-main>.t-avatar{width:48px;height:54px;border-radius:15px}
@media(max-width:350px){.check-card .care-dose-card,.check-event-main{min-height:112px}.check-card .care-dose-photo{height:54px}.check-event-main>.t-avatar{width:40px;height:48px}.check-event-main .care-dose-status{width:74px}}
.care-calendar-bar{align-items:center;margin-top:36px}.care-calendar-bar label{position:relative;gap:0}.care-filter-label{position:absolute;left:12px;top:-22px;white-space:nowrap;font-size:12px}.care-calendar-bar select{height:50px;min-height:50px;border-radius:999px;padding-left:15px}.care-view-switch{border-radius:999px;padding:3px}.care-view-switch button,.care-view-switch button.active{border-radius:999px;min-height:44px}
.check-event-main>.t-avatar{flex:0 0 48px;display:grid;place-items:center}.check-event-main>.t-avatar img{object-fit:cover}.check-event-main>.t-avatar.no-photo .icon{width:25px;height:25px}.check-card img{-webkit-user-drag:none;user-select:none}
@media(max-width:350px){.check-event-main>.t-avatar{flex-basis:40px}}
/* Iteration 5: open greeting, seven-day ribbon and a three-item shell. */
.bottom{justify-content:space-around}.bottom button{flex:1}.v5-strip-wrap{margin:0 0 26px}.v5-strip-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.v5-strip-heading>strong{font-size:16px;font-weight:500}.v5-date-strip{display:grid;grid-auto-flow:column;grid-auto-columns:calc(100% / 7);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:0 0 3px}.v5-date-strip::-webkit-scrollbar{display:none}.v5-date-strip button{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;min-height:80px;padding:3px 1px;scroll-snap-align:center}.v5-date-strip small{font-size:11px;font-weight:400;text-transform:uppercase;color:#756b7f}.v5-date-strip button>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;font-size:17px}.v5-date-strip i{height:9px;line-height:8px;color:#6f3de8;font-style:normal;font-size:15px}.v5-date-strip .v5-today>span{background:#dfccfa;font-weight:700}.v5-date-strip .v5-today small{color:#5c2db0;font-weight:700}.v5-date-strip .v5-selected>span{background:#6f3de8;color:#fff;box-shadow:0 0 0 3px var(--bg)}.v5-greeting{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:14px;margin:16px 0 28px;min-height:148px;background:none}.v5-greeting h1{font-size:clamp(32px,4vw,48px);line-height:1.05;letter-spacing:-1.5px;margin:0;overflow-wrap:anywhere}.v5-photo-stack{width:160px;height:148px;position:relative;flex:none}.v5-photo-stack img{width:102px;height:126px;object-fit:cover;border:5px solid white;border-radius:20px;box-shadow:0 3px 12px #39294a15;position:absolute;top:8px}.v5-photo-stack .v5-photo-0{left:0;transform:rotate(-9deg)}.v5-photo-stack .v5-photo-1{right:0;transform:rotate(9deg);top:18px}.v5-photo-stack img:only-child{left:30px;transform:rotate(7deg)}.v5-photo-fallback{display:grid;place-items:center;position:absolute;width:104px;height:120px;left:24px;top:10px;background:#e6d6fa;border-radius:24px;transform:rotate(7deg)}.v5-photo-fallback>.icon{width:46px;height:46px;color:var(--icon-purple)}.v5-quick{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:30px}.v5-quick button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:10px;padding:12px 6px;background:none;min-width:0}.v5-quick button>.icon{width:48px;height:48px;padding:12px;border-radius:50%;background:#ece1fb;color:var(--icon-purple)}.v5-quick button:nth-child(2)>.icon{background:#d9ff55;border:1px solid #17171b;color:#17171b}.v5-quick button>span{font-size:14px;line-height:1.35;font-weight:500}.v5-day-tasks>.care-dose-list{margin-bottom:12px}.v5-day-tasks>.check-list{margin-bottom:12px}.v5-quiet{padding:8px 0 16px}.v5-tip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:28px 0}.v5-tip-preview{position:relative;text-align:left;padding:18px;border-radius:24px;min-height:210px;background:#e8daf9;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.v5-tip-preview.v5-tip-1{background:#eaf4cf}.v5-tip-preview>span>.icon{width:26px;height:26px;color:var(--icon-purple)}.v5-tip-preview>small{font-size:11px;color:#6b5c76}.v5-tip-preview h3{font-size:20px;line-height:1.12;letter-spacing:-.4px}.v5-tip-preview p{font-size:13px;line-height:1.5;font-weight:400}.v5-tip-preview>.icon{width:15px;height:15px;align-self:flex-end;margin-top:auto}.v5-article{max-width:650px;padding:22px 0}.v5-article-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:24px;background:#e9dafb;margin-bottom:24px;color:var(--icon-purple)}.v5-article-icon>.icon{width:36px;height:36px}.v5-article h1{font-size:38px;line-height:1.1;margin-bottom:28px}.v5-article p{font-size:18px;font-weight:400;line-height:1.7;margin:20px 0}.v5-article a{display:inline-flex;min-height:44px;align-items:center;font-size:14px}.v5-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 24px}.v5-gallery button{min-width:0;text-align:left;padding:0}.v5-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:18px}.v5-gallery [aria-pressed=true] img{outline:2px solid #6f3de8;outline-offset:3px}.v5-gallery small{display:block;font-size:12px;padding:8px 0;line-height:1.3}.v5-calendar{padding:14px;margin:18px 0}.v5-calendar .monthtitle{margin-bottom:8px}.v5-calendar .monthtitle>strong{text-transform:capitalize;font-size:16px}.v5-calendar .week{font-size:11px;margin-bottom:4px}.v5-calendar .days{gap:2px}.v5-calendar .days button{height:34px;min-height:34px;padding:1px;font-size:13px;display:flex;flex-direction:column;gap:0;align-items:center;justify-content:center}.v5-calendar .days button small{font-size:11px;line-height:7px;min-height:7px}.v5-calendar-agenda{min-height:40vh;padding-bottom:18px}.v5-calendar-agenda>.check-list{margin:12px 0}.v5-calendar-agenda>.care-calendar-medications{margin-top:12px}.v5-calendar-agenda .sectionhead h2{font-size:20px}.v5-course{border-radius:20px;background:#eee4fb;margin:12px 0}.v5-course-main{margin:0;width:100%;padding:18px 44px 18px 16px;min-height:106px;display:flex;align-items:center;gap:14px;text-align:left;background:transparent}.v5-course-main>span{min-width:0;flex:1}.v5-course-main>span strong,.v5-course-main>span small{display:block;overflow-wrap:anywhere}.v5-course-main>span small{font-size:13px;line-height:1.5;margin-top:4px;font-weight:400}.v5-course-main>.icon{width:32px;height:32px;flex:none;color:var(--icon-purple)}.v5-date-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.v5-date-fields label{min-width:0;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;font-size:13px}.v5-date-fields input{height:48px;min-height:48px;max-width:100%;padding:10px;box-sizing:border-box}.formfield select{appearance:none;-webkit-appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 3 5 5 5-5' fill='none' stroke='%236d5d7c' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.v5-reminders{padding:16px;background:#f2edf8;border-radius:18px;margin:18px 0}.v5-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;font-weight:500}.v5-switch input{width:42px;height:24px;min-height:24px;accent-color:#6f3de8}.v5-reminders>.muted{font-size:13px;line-height:1.5;margin-top:12px}.v5-reminders input[type=time]{max-width:100%}#v5-reminder-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}.v5-note{border-radius:20px;background:#f0e8fa;margin:12px 0;overflow:hidden}.v5-note summary{list-style:none;display:flex;align-items:flex-start;gap:12px;cursor:pointer;padding:18px;min-height:64px}.v5-note summary::-webkit-details-marker{display:none}.v5-note summary>span{min-width:0;flex:1}.v5-note summary strong{font-size:18px;font-weight:700;display:block}.v5-note summary small{display:block;font-size:12px;color:#74687d;margin:5px 0}.v5-note summary p{font-size:14px;line-height:1.5;font-weight:400;overflow-wrap:anywhere}.v5-note summary>.icon{width:16px;height:16px;transform:rotate(90deg);flex:none;margin-top:5px}.v5-note[open] summary>.icon{transform:rotate(-90deg)}.v5-note[open] summary p{display:none}.v5-note>div{padding:0 18px 18px}.v5-note>div>img{width:100%;height:auto;max-height:420px;object-fit:contain;margin:12px 0;border-radius:16px}.v5-document-type{display:flex;align-items:center;gap:8px;font-size:12px;text-transform:none!important;color:#6e617b}.v5-document-type>.icon{width:21px;height:21px}.v5-documents .document-tile strong{font-weight:700;font-size:18px;display:block}.v5-documents .document-tile p,.v5-document-text{font-weight:400;font-size:14px;line-height:1.6}.v5-documents .document-tile small{font-weight:400;font-size:12px}.v5-file-preview{margin:20px 0;padding:0;background:#f1edf5;border-radius:18px;overflow:hidden}.v5-file-preview img{width:100%;height:auto;max-height:600px;object-fit:contain}.v5-file-preview iframe{width:100%;height:450px;border:0;background:#fff}.v5-file-preview>a{padding:12px;display:flex;align-items:center;min-height:44px}
@media(max-width:760px){.v5-greeting{grid-template-columns:minmax(0,1fr) 136px;gap:10px;min-height:132px;margin:10px 0 18px}.v5-greeting h1{font-size:36px;letter-spacing:-1.2px}.v5-photo-stack{width:136px;height:130px}.v5-photo-stack img{width:85px;height:108px;border-width:4px;border-radius:17px}.v5-photo-stack img:only-child{left:24px}.v5-photo-fallback{width:90px;height:105px;left:23px}.v5-strip-wrap{margin-bottom:12px}.v5-quick{margin-bottom:18px}.v5-tip-preview{padding:16px;min-height:220px}.v5-tip-preview h3{font-size:19px}.v5-article h1{font-size:32px}.v5-article p{font-size:17px}.v5-gallery{gap:10px}.v5-gallery small{font-size:11px}}
@media(max-width:350px){.v5-greeting{grid-template-columns:minmax(0,1fr) 116px}.v5-greeting h1{font-size:30px}.v5-photo-stack{width:116px}.v5-photo-stack img{width:76px;height:99px}.v5-photo-stack img:only-child{left:18px}.v5-photo-fallback{width:80px;height:100px;left:19px}.v5-quick button>span{font-size:12px}.v5-quick button>.icon{width:44px;height:44px;padding:11px}.v5-tip-preview{padding:14px;min-height:210px}.v5-tip-preview h3{font-size:17px}.v5-tip-preview p{font-size:12px}.v5-date-fields{gap:8px!important}.v5-date-fields label{font-size:12px}.v5-date-fields input{padding:8px;font-size:13px}.v5-course-main{gap:10px;padding-left:12px}.v5-course-main>span strong{font-size:16px}.v5-course-main>span small{font-size:12px}}
.v5-pdf-tools{display:flex;align-items:center;justify-content:space-between;padding:4px 8px;background:#eee6fa}.v5-pdf-tools button:disabled{opacity:.3}.v5-file-preview canvas{display:block;background:#fff}.v5-quick.t-quick{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;backdrop-filter:none!important}.v5-quick.t-quick>button{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}.v5-quick.t-quick>button>.icon{box-shadow:none!important}
.v5-document-text,.v5-documents .document-tile p,.v5-note summary p,.v5-note>div>.care-preserve-lines{font-weight:300}.v5-day-tasks .check-list{gap:12px}
.v5-calendar .days button{height:36px;min-height:36px}.v5-calendar .days button>span{width:26px;height:26px;border-radius:50%;display:grid;place-items:center}.v5-calendar .days button.selected{background:none;color:inherit;box-shadow:none}.v5-calendar .days button.selected>span{background:#6f3de8;color:white}.v5-calendar .days button.is-today:not(.selected)>span{box-shadow:inset 0 0 0 1px #6f3de8;color:#6f3de8}
.v5-quick-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ece1fb;color:var(--icon-purple);flex:none}.v5-quick-icon>.icon{display:block;width:24px;height:24px;padding:0;border:0;background:none;border-radius:0;overflow:visible}.v5-quick button:nth-child(2) .v5-quick-icon{background:#d9ff55;border:1px solid #17171b;color:#17171b}

/* Category surfaces stay consistent across Today, Calendar and completed cards.
   Lime is reserved for high-contrast controls and completed status, never pale surfaces. */
:root{--care-medication:#b993f3;--care-vet:#d6e8fb;--care-vaccination:#e5e7eb;--care-walk:#efe5ff;--care-other:#e5e7eb}
.check-card.care-dose-wrap .care-dose-card{background:var(--care-medication);color:#29183c}
.check-card.care-event-vet{background:var(--care-vet)}
.check-card.care-event-vaccination{background:var(--care-vaccination)}
.check-card.care-event-walk{background:var(--care-walk)}
.check-card.care-event-other{background:var(--care-other)}
.check-card .care-dose-content>span,.check-card .care-dose-content>small,.check-card .care-dose-status,.check-card .check-event-main span span{color:#51435b}
.care-health-vaccinations{background:var(--care-vaccination)}
.care-pinned-link:nth-child(2n),.v5-tip-preview.v5-tip-1,.care-shop-card:nth-child(3n+2){background:var(--care-vet)}
.care-shop-card:nth-child(3n+2) .care-shop-image{background:linear-gradient(140deg,#b6d5f5,#e2edfa)}
.care-passport-head{background:var(--care-walk)}
/* Calendar selection belongs to the date circle, never the cell. */
.v5-calendar .days button,.v5-calendar .days button.selected,.v5-calendar .days button.is-today:not(.selected){background:transparent;box-shadow:none;border:0;border-radius:0}
.v5-calendar .days button{height:40px;min-height:40px;max-width:none;padding:0;gap:3px}
.v5-calendar .days button>span{height:28px;width:28px;min-height:28px;max-width:28px;margin:0;border-radius:50%;font-size:13px;line-height:1}
.v5-calendar .days button.is-today:not(.selected)>span{background:#d9ff55;box-shadow:inset 0 0 0 1px #6f3de8;color:#5424ae}
.v5-calendar .days button.selected>span{background:#6f3de8;color:white;box-shadow:none}
.v5-calendar .days button:hover{box-shadow:none}
.v5-calendar .days button:hover>span{outline:1px solid #6f3de8;outline-offset:2px}
.v5-calendar .monthtitle{margin:0 0 12px;min-height:44px}
.v5-calendar .t-arrows{gap:0;align-items:center}
.v5-calendar .t-arrows .iconbutton{width:44px;height:44px;min-height:44px;padding:0;background:none}
.v5-calendar .t-arrows .icon{height:17px;width:17px}
.v5-calendar{padding:14px}
.bottom{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:0;justify-items:stretch}
.bottom button{width:100%;min-width:0;margin:0;justify-content:center;align-items:center;text-align:center}
/* Shared avatar geometry: identity portraits are circular throughout Taily. */
.t-avatar,.avatar,.initial,.care-dose-photo,.t-profile-photo,.care-banner-photo,.owner-avatar-preview,.owner-avatar-preview img,.care-owner-row>img,.care-owner-row>.initial,.check-event-main>.t-avatar,.check-card .care-dose-photo,.v5-photo-stack img,.v5-photo-fallback{border-radius:50%!important;aspect-ratio:1;object-fit:cover;overflow:hidden}
.check-card .care-dose-photo,.check-event-main>.t-avatar{width:52px!important;height:52px!important;min-width:52px;flex:0 0 52px!important}
.check-event-main>span:not(.t-avatar):not(.care-dose-status){flex:1;min-width:0}
.v5-photo-stack img{width:112px;height:112px}.v5-photo-fallback{width:112px;height:112px}
.v5-strip-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:44px}
.v5-strip-heading>strong{grid-column:2;text-align:center}.v5-strip-heading>.iconbutton{grid-column:3}
.v5-greeting{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;margin:24px 0;min-height:0}
.v5-greeting h1{max-width:100%;text-align:center;font-size:clamp(30px,4vw,44px)}
.v5-greeting .v5-photo-stack{height:144px;width:180px}.v5-photo-stack .v5-photo-0{left:0}.v5-photo-stack .v5-photo-1{right:0;top:20px}
.top>.t-scope{margin:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto;padding:3px 0;gap:6px}.top .t-scope button,.t-scope button{font-size:13px;min-height:36px;padding:8px 13px;white-space:nowrap;border-radius:999px}
.pageheading>.textbutton,.back{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:6px;line-height:1;margin:0;min-height:44px}
.pageheading>.textbutton>.icon,.back>.icon{width:18px;height:18px;margin:0;display:block}
.v5-tips>h2{text-align:left;margin-top:28px}.v5-tips .v5-tip-grid{margin-top:14px}
.check-card strong,.care-shop-body>strong,.detailitem>strong{font-weight:700}.care-dose-content>span,.care-dose-content>small,.check-event-main>span>span{font-weight:300}
.v5-owner-upload{display:block;position:relative;width:88px;height:88px;margin:0 auto 16px;cursor:pointer}.v5-owner-upload>img{width:88px;height:88px;border-radius:50%;object-fit:cover}.v5-owner-upload>span{position:absolute;bottom:0;right:0;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#d9ff55;border:1px solid #17171b;color:#17171b}.v5-owner-upload>span>.icon{width:16px;height:16px}.v5-owner-upload input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.v5-owner-presets{display:flex;justify-content:center;gap:14px;margin-bottom:22px}.v5-owner-presets button{width:52px;height:52px;padding:2px;border-radius:50%;border:2px solid transparent}.v5-owner-presets button[aria-pressed=true]{border-color:#6f3de8}.v5-owner-presets img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.care-owner-row{position:relative;padding-right:0}.care-owner-row>.icon:last-child{position:absolute;left:27px;top:35px;width:24px;height:24px;padding:5px;border-radius:50%;background:#d9ff55;color:#17171b;border:1px solid #17171b}.care-owner-row>img{width:44px;height:44px;flex:none}
/* White foreground is mandatory on the saturated brand-purple surface. */
.care-calendar-medications{background:#b993f3;color:#fff}
.check-card.care-dose-wrap .care-dose-card,.care-health-medications,.care-pet-banner{color:#fff}
.care-calendar-medications h3,.care-calendar-medications h3 .icon,.check-card.care-dose-wrap .care-dose-content>span,.check-card.care-dose-wrap .care-dose-content>small,.check-card.care-dose-wrap .care-dose-status,.check-card.care-dose-wrap .check-remove,.check-card.care-dose-wrap .check-details,.care-health-medications .care-health-open small,.care-pet-banner h2,.care-pet-banner div>span{color:#fff}
.check-card.care-dose-wrap .care-status-ring{border-color:#fff}
.check-card.care-dose-wrap .care-dose-status.given>.icon{color:#17171b}
.t-profile-photo{width:128px!important;height:128px!important;flex:0 0 128px}.care-banner-photo{width:88px;height:88px}.owner-avatar-preview{width:88px;height:88px}.owner-avatar-preview img{width:88px;height:88px}
/* Matching semantics on the ribbon and month: today is always lime. */
.v5-date-strip .v5-today>span,.v5-date-strip .v5-today.v5-selected>span,.v5-calendar .days button.is-today>span,.v5-calendar .days button.is-today.selected>span{background:#d9ff55;color:#6f3de8;box-shadow:inset 0 0 0 1px #6f3de8;border-radius:50%}
.v5-date-strip .v5-selected:not(.v5-today)>span{background:#6f3de8;color:#fff;box-shadow:none}
.v6-photo-rail{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding:12px 0 18px;scrollbar-width:thin;overscroll-behavior-x:contain}
.v6-photo-track{display:flex;align-items:center;width:max-content;margin:0 auto;padding:0 8px}
.v6-pet-photo{flex:0 0 112px;width:112px;height:112px;min-height:112px;padding:0;margin-left:-20px;border:5px solid #fff;border-radius:50%;background:#e8d9fa;box-shadow:0 4px 12px #39294a14;position:relative}
.v6-pet-photo:first-child{margin-left:0}.v6-pet-photo:nth-child(even){transform:translateY(10px)}
.v6-pet-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.v5-greeting .v6-photo-rail{margin-top:0}.top{min-width:0}.top>.t-scope{width:100%;min-width:0;flex-shrink:1;display:flex;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain}.top>.t-scope button{flex:none}
.v6-avatar-picker{padding:0;border:0;margin:0 0 22px;min-width:0}.v6-avatar-picker legend{font-size:14px;font-weight:500;margin-bottom:12px}.v6-avatar-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v6-avatar-picker button{justify-self:center;max-width:100%;width:72px;height:72px;border:2px solid transparent;border-radius:50%;padding:3px}.v6-avatar-picker button[aria-pressed=true]{border-color:#6f3de8;background:#d9ff55}.v6-avatar-picker img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
/* Pointer drag on desktop; native horizontal touch swipe on phones. */
.v5-date-strip{cursor:grab;touch-action:pan-x pan-y;user-select:none;-webkit-user-select:none}
.v5-date-strip button{cursor:grab;-webkit-user-drag:none}.v5-date-strip.v7-date-dragging,.v5-date-strip.v7-date-dragging button{cursor:grabbing;scroll-snap-type:none}
.v7-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin:18px 0}.v7-tabs button{min-width:0;font-size:14px;line-height:1.3;padding:10px 8px;white-space:normal}.v7-empty{padding:16px 0}
.v7-health-symbol{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:15px;background:#dfc6ff;color:var(--icon-purple);margin-bottom:6px}
.care-health-medications .v7-health-symbol{background:#f4eeff}.care-health-vaccinations .v7-health-symbol{background:#d9ff55;color:#293310;border:1px solid #17171b}
.care-health-open .v7-health-symbol>.icon{width:24px;height:24px;padding:0;margin:0;border:0;border-radius:0;background:transparent;overflow:visible}
.v5-tip-preview{overflow:hidden;padding-bottom:0}.v5-tip-preview>.v7-tip-art{display:block;width:100%;height:130px;object-fit:contain;object-position:center bottom;mix-blend-mode:multiply;margin-top:auto;pointer-events:none}.v5-tip-preview>.icon{margin-top:0}.v5-tip-preview p{margin-bottom:6px}
@media(prefers-reduced-motion:reduce){.v5-date-strip{scroll-behavior:auto}}
/* Pet profile selector never compresses a name into a vertical stack. */
.t-pet-list{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto;max-width:100%;min-width:0;align-items:stretch;padding:3px 2px 10px;scrollbar-width:thin;overscroll-behavior-x:contain}
.t-pet-list>button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;flex:0 0 124px;width:124px;min-width:124px;max-width:124px;min-height:128px;height:auto;padding:14px 10px;border-radius:22px;text-align:center}
.t-pet-list>button>.t-avatar{width:48px;height:48px;min-width:48px;flex:0 0 48px}.t-pet-list>button>strong{width:100%;min-width:0;font-size:14px;line-height:1.3;font-weight:700;word-break:normal;overflow-wrap:anywhere}
.t-pet-list>button.active{color:#fff;background:#b993f3}.t-pet-profile{min-width:0;gap:18px}.t-pet-profile>div{min-width:0}.t-pet-profile h2{overflow-wrap:anywhere}
@media(max-width:350px){.t-pet-profile .t-profile-photo{width:88px!important;height:88px!important;flex-basis:88px!important}.t-pet-profile{padding:16px;gap:12px}.t-pet-profile h2{font-size:25px}}
/* Scroll the content itself; no horizontal scrollbar in the product UI. */
.v5-date-strip,.top>.t-scope,.v6-photo-rail,.t-pet-list{scrollbar-width:none;-ms-overflow-style:none;cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-x pan-y}
.v5-date-strip::-webkit-scrollbar,.top>.t-scope::-webkit-scrollbar,.v6-photo-rail::-webkit-scrollbar,.t-pet-list::-webkit-scrollbar{display:none;width:0;height:0}
.v7-date-dragging,.v7-date-dragging button{cursor:grabbing!important;scroll-snap-type:none!important}
#calendar-tab-picker .taily-event-days{touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}
#t-pet-form .formgrid{align-items:end}#t-pet-form .formgrid>.formfield{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;min-width:0}#t-pet-form [name=sex],#t-pet-form [name=weight]{height:48px;min-height:48px;padding:10px 14px;box-sizing:border-box}
.v5-tip-preview>.v7-tip-art{mix-blend-mode:normal}
.t-pet-list>button{min-height:108px;padding:12px 10px;gap:8px}.t-pet-list{margin-bottom:12px;padding-bottom:2px}
.check-card{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}.check-card .check-event-main,.check-card .care-dose-card{cursor:grab}.check-dragging .check-card{touch-action:none}
.v5-date-strip{scroll-snap-type:none;scroll-behavior:auto}.v5-strip-heading>.v7-date-reset{grid-column:2;text-align:center;min-height:44px;padding:0;font-size:16px;font-weight:500;background:transparent;border-radius:12px}
.seed-mode-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #6f3de8;border-radius:16px;padding:6px 12px;margin:0 0 16px;background:#eee4fb;font-size:13px}.t-welcome>[data-seed-settings]{margin-top:16px}
/* Iteration 6 — one grid for care actions, one quiet menu, a centred status. */
.top{gap:0;align-items:center}.top:has(.v8-top-calendar){display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}.top>.t-scope{mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 22px),transparent);padding-right:22px}.v8-top-calendar{position:relative;flex:none;background:#fff}.v5-strip-wrap{margin:0 0 14px}.v5-greeting{gap:8px;margin:20px 0 22px}.v8-greeting-date{font-size:16px;font-weight:400;min-height:44px;padding:4px 12px;color:var(--ink);background:none}.v8-portraits{display:grid;grid-template-columns:repeat(var(--pet-columns),minmax(0,1fr));gap:12px;max-width:460px;width:100%;margin:10px auto 0;justify-content:center}.v8-portraits>button{min-width:0;width:100%;padding:0;display:flex;align-items:center;flex-direction:column;gap:7px;justify-content:start}.v8-portraits img{display:block;width:min(100%,100px);aspect-ratio:1;height:auto;object-fit:cover;border-radius:50%;border:3px solid #fff}.v8-portraits span{font-size:12px;font-weight:500;line-height:1.3;overflow-wrap:anywhere}.v8-portraits:not(.v8-portraits-many):has(>button:only-child){max-width:126px}.v8-portraits-many{max-width:390px;column-gap:12px;row-gap:14px}.v8-portraits-many img{width:min(100%,76px)}
.v8-care-tabs{display:flex;flex-wrap:nowrap;gap:6px;overflow:auto;margin:0 0 14px;scrollbar-width:none;touch-action:pan-x pan-y}.v8-care-tabs::-webkit-scrollbar{display:none}.v8-care-tabs button{flex:none;font-size:12px;padding:8px 12px;min-height:36px}.v8-agenda>.check-list{gap:10px}.v5-day-tasks .sectionhead{margin-bottom:12px}
.action-card{border-radius:20px;overflow:hidden;background:#ede3fb;box-shadow:none;min-width:0}.action-card.care-dose-wrap{background:#b993f3}.action-card.care-event-vaccination{background:#e5e7eb}.action-card.care-event-vet{background:#d7e8fc}.action-card.care-event-walk{background:#eee3fd}.action-card.care-event-other{background:#dbeaf5}
.action-card .action-card-main,.action-card .v5-course-main{position:relative;width:100%;display:grid!important;grid-template-columns:52px 36px minmax(0,1fr) 32px!important;align-items:center;gap:10px;margin:0!important;padding:22px 14px!important;min-height:104px!important;border:0!important;border-radius:20px;background:transparent!important;text-align:left;color:#17171b;box-shadow:none;cursor:grab}
.action-card.care-dose-wrap .action-card-main{color:#fff}.action-card .action-time{display:flex;flex-direction:column;justify-content:center;font-size:18px;font-weight:600;line-height:1.25;font-variant-numeric:tabular-nums;min-width:0;align-self:center;color:inherit}.action-card .t-avatar{display:block;width:36px!important;height:36px!important;min-width:36px;flex-basis:36px!important;border-radius:50%;object-fit:cover;margin:0}
.action-card .action-copy{display:flex!important;flex-direction:column;gap:5px;min-width:0;padding:0!important;color:inherit}.action-copy>strong{font-size:16px;line-height:1.25;font-weight:700;overflow-wrap:anywhere;display:block}.action-copy>span,.action-copy>small{display:block;font-size:13px;line-height:1.35;font-weight:300;overflow-wrap:anywhere;color:inherit!important;opacity:.95}.action-completion{align-self:center;justify-self:center;display:grid;place-items:center;width:28px;height:28px;min-width:28px;border:1.5px solid currentColor;border-radius:50%;color:#81738e;background:transparent}.care-dose-wrap .action-completion{color:#fff}.action-completion.is-done{background:#d9ff55;border-color:#17171b;color:#17171b}.action-completion>.icon{display:block;width:20px;height:20px;stroke:#17171b;fill:none;padding:0!important;border:0!important;background:none!important;border-radius:0!important}.action-card .check-details{top:0;right:0;bottom:auto;width:44px;height:44px;min-height:44px;min-width:44px;background:none!important;box-shadow:none;border:0;outline-offset:-5px;color:inherit}.action-card .check-details>.icon{stroke:none!important;fill:currentColor!important;width:20px;height:20px}.action-card.care-dose-wrap>.check-details{color:#fff}.action-card .check-details circle{stroke:none;fill:currentColor}.action-card .action-completion{transform:translateY(4px)}
.action-card .v5-course-main{grid-template-columns:52px 36px minmax(0,1fr)!important;padding-right:34px!important}.v8-course-icon{display:grid;place-items:center;width:36px;height:36px;color:var(--icon-purple)}.v8-course-icon>.icon{width:26px!important;height:26px!important;display:block;padding:0!important;margin:0!important;border:0!important;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.v5-course{background:#eee4fb}.v5-course .action-time{font-size:15px;gap:5px}.care-calendar-medications{background:#ede0ff;color:#442366}.care-calendar-medications h3{color:#442366}.care-calendar-medications h3>.icon{color:var(--icon-purple)}.care-calendar-medications .check-card{background:#b993f3}.care-calendar-medications h3>.icon{padding:0;overflow:visible;flex:none}
.v8-back{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:6px;min-height:44px;height:44px;padding:0 8px 0 0!important;font-size:15px!important;font-weight:500;line-height:1!important;color:#6f3de8;background:none;margin:0 0 12px!important;flex:none}.v8-back>.icon{display:block;width:18px!important;height:18px!important;flex:none;margin:0;padding:0}.page>.v8-back{align-self:start}.v8-health-pet{margin:22px 0 30px}.v8-health-pet>h2{display:flex;gap:10px;align-items:center;margin-bottom:14px}.v8-health-pet>h2>.t-avatar{width:36px;height:36px}.v8-pet-overview{display:grid;gap:24px}.v8-pet-overview .t-pet-profile{width:100%;text-align:left;margin:0;display:flex}.v8-pet-overview .t-pet-profile>span{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.v8-pet-overview .t-pet-profile strong{font-size:26px;overflow-wrap:anywhere}.v8-pet-overview .t-pet-profile>span>span{font-size:14px;font-weight:300}.v8-pet-overview .t-facts{margin-top:12px}.t-pet-profile+.t-facts{margin-top:14px;margin-bottom:16px}.v5-gallery-row{margin-top:0}.v8-heading-actions{display:flex;gap:4px;flex:none}
.v8-folders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.v8-folder{display:flex;flex-direction:column;align-items:center;justify-content:start;padding:4px;gap:8px;min-width:0;text-align:center;border-radius:16px}.v8-folder-preview{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;background:#e6d9fa;padding:10px;width:100%;max-width:92px;aspect-ratio:1;border-radius:20px;transition:transform .17s ease,background .17s ease}.v8-folder-preview i{display:block;border-radius:5px;background:#d9c6f1;min-width:0}.v8-folder-preview .has-note{background:#fff}.v8-folder strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere;max-width:100%}.v8-folder small{font-size:12px;font-weight:400;color:#685a75}.v8-folder-drop .v8-folder-preview{background:#d9ff55;transform:scale(1.06)}.v8-note-card{background:#eee5f8}.v8-note-card .action-card-main{grid-template-columns:52px minmax(0,1fr)!important;padding-right:34px!important;min-height:112px!important}.v8-note-card .action-copy>span{font-size:14px;line-height:1.4}.v8-note-image{width:100%;max-height:340px;object-fit:contain;border-radius:16px;margin:12px 0}.v8-notes-list .check-list{gap:10px}
@media(max-width:350px){.action-card .action-card-main{grid-template-columns:46px 28px minmax(0,1fr) 28px!important;gap:7px;padding:22px 10px!important}.action-card .t-avatar{width:28px!important;height:28px!important;min-width:28px}.action-card .action-time{font-size:16px}.action-copy>strong{font-size:14px}.action-copy>span,.action-copy>small{font-size:12px}.v8-portraits{gap:8px}.v8-portraits span{font-size:11px}.v8-note-card .action-card-main{grid-template-columns:46px minmax(0,1fr)!important;padding-right:34px!important}.action-card .v5-course-main{grid-template-columns:46px 28px minmax(0,1fr)!important}.v8-course-icon{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){.v8-folder-preview{transition:none}.action-card{transition:none}}

.v8-portraits{display:flex;flex-wrap:wrap;justify-content:center}.v8-portraits>button{flex:0 0 calc((100% - (var(--pet-columns) - 1)*12px)/var(--pet-columns));width:calc((100% - (var(--pet-columns) - 1)*12px)/var(--pet-columns))}.action-card .action-completion{transform:none}.action-card .action-card-main{min-height:116px!important}.v5-quick{width:100%;max-width:none}
@media(max-width:350px){.v8-portraits>button{flex-basis:calc((100% - (var(--pet-columns) - 1)*8px)/var(--pet-columns));width:calc((100% - (var(--pet-columns) - 1)*8px)/var(--pet-columns))}}
/* Timeline: a connected completion rail, generous portraits and actual time at the right. */
.timeline-card.action-card,.timeline-card.action-card.care-dose-wrap{--timeline-bg:#eee3fd;padding-left:40px;background:transparent;overflow:visible;isolation:auto}.timeline-card.care-event-medication{--timeline-bg:#b993f3}.timeline-card.care-event-vaccination{--timeline-bg:#e5e7eb}.timeline-card.care-event-vet{--timeline-bg:#d7e8fc}.timeline-card.care-event-other{--timeline-bg:#dbeaf5}
.timeline-card.action-card .action-card-main{grid-template-columns:52px minmax(0,1fr) 48px!important;gap:10px;padding:18px 12px!important;min-height:108px!important;background:var(--timeline-bg)!important;border-radius:20px}.timeline-card.action-card .t-avatar{width:52px!important;height:52px!important;min-width:52px;flex-basis:52px!important}.timeline-card .action-copy>strong{font-size:16px}.timeline-card .action-time{font-size:15px;font-weight:400;justify-self:end;padding:0;text-align:right;white-space:nowrap;align-items:flex-end}.timeline-toggle{position:absolute;left:0;top:50%;transform:translateY(-50%);width:40px;min-width:40px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;background:none;border:0;z-index:2;touch-action:manipulation}.timeline-toggle .action-completion{width:27px;height:27px;background:#faf9f5;color:#8a7c98;border:1.4px solid #8a7c98}.timeline-toggle .action-completion.is-done{background:#d9ff55;border-color:#17171b;color:#17171b}.timeline-card .check-details{opacity:.3;color:#17171b}.timeline-card.care-dose-wrap .check-details{color:#fff}.timeline-card .check-details:focus-visible,.timeline-card .check-details:hover{opacity:1}.check-list:has(>.timeline-card){position:relative}.check-list:has(>.timeline-card)::before{content:"";position:absolute;left:19px;top:54px;bottom:54px;border-left:1px dashed #c6bcd2;z-index:0;pointer-events:none}.v9-disconnected .check-list::before{display:none}.v9-timeline-switch{color:#6f3de8;background:transparent;flex:none}.v9-timeline-switch[aria-pressed=false]{color:#8a7c98}.v9-timeline-switch>.icon{stroke-width:1.5;fill:none}.v5-day-tasks .sectionhead{align-items:center}.care-calendar-medications .timeline-toggle .action-completion:not(.is-done){background:#ede0ff}.check-drag-ghost.timeline-card{background:transparent!important}
.v8-portraits.v9-single-portrait{max-width:164px}.v8-portraits.v9-single-portrait img{width:156px;max-width:100%;border-width:4px}.v8-portraits.v9-single-portrait>button{width:164px;flex-basis:164px}.v8-portraits.v9-single-portrait span{font-size:14px}
.v5-date-strip .v5-today>span,.v5-date-strip .v5-today.v5-selected>span,.v5-calendar .days button.is-today>span,.v5-calendar .days button.is-today.selected>span{color:#17171b!important}.top>.t-scope{-webkit-mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 82px),transparent calc(100% - 12px));mask-image:linear-gradient(to right,#000 0%,#000 calc(100% - 82px),transparent calc(100% - 12px));padding-right:30px}
.v9-folder-tile{position:relative;min-width:0}.v9-folder-tile>.v8-folder{width:100%}.v9-folder-edit{position:absolute;right:0;top:0;width:40px;height:40px;min-height:40px;display:grid;place-items:center;border-radius:50%;padding:10px;color:#6f3de8;background:#faf9f5}.v9-folder-edit>.icon{width:16px;height:16px}.v8-folder-drop .v8-folder-preview{background:#d9ff55;transform:scale(1.06)}.v8-note-card.action-card .action-card-main{grid-template-columns:48px minmax(0,1fr) 44px!important;gap:10px;padding:22px 12px!important}.v8-note-card .t-avatar{width:48px!important;height:48px!important;min-width:48px}.v8-note-card .action-time{font-size:14px;font-weight:400;white-space:nowrap;justify-self:end}.v9-note-select{display:none;position:absolute;left:0;top:50%;transform:translateY(-50%);width:40px;height:44px;min-height:44px;padding:9px;z-index:2;background:transparent;color:#17171b}.v9-note-select::before{content:"";position:absolute;inset:11px 9px;border:1.5px solid #8a7c98;border-radius:50%}.v9-note-select[aria-pressed=true]::before{background:#d9ff55;border-color:#17171b}.v9-note-select>.icon{position:relative;width:20px;height:20px;z-index:1}.v9-selecting .v8-note-card{padding-left:40px}.v9-selecting .v9-note-select{display:grid;place-items:center}.v9-note-selected .action-card-main{outline:2px solid #6f3de8;outline-offset:-2px}.v9-drag-count{position:absolute;right:-8px;top:-8px;min-width:29px;height:29px;display:grid;place-items:center;background:#6f3de8;color:white;border-radius:50%;font-size:13px;font-weight:700;z-index:4}.v9-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px;font-size:14px}.v9-remove-pet{display:flex;margin:24px 0 8px;color:#7b4162}.v8-note-card,.v8-note-card *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.v8-note-card img{pointer-events:none;touch-action:pan-y}
/* Safari date/time controls must not impose their own intrinsic column widths. */
#t-med-schedule .formgrid,#event-form .formgrid,#event-edit-form .formgrid,#v5-vaccine .formgrid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:end;gap:12px!important;min-width:0;width:100%}#t-med-schedule .formgrid>label,#event-form .formgrid>label,#event-edit-form .formgrid>label,#v5-vaccine .formgrid>label{display:flex;flex-direction:column;gap:7px;min-width:0;max-width:100%;font-size:13px;line-height:1.3}input[type=date],input[type=time]{box-sizing:border-box;min-width:0!important;max-width:100%;width:100%;height:48px;min-height:48px;padding:8px 10px;font-size:14px;line-height:1.2}input[type=date]::-webkit-date-and-time-value,input[type=time]::-webkit-date-and-time-value{text-align:left;min-width:0}input[type=date]::-webkit-datetime-edit,input[type=time]::-webkit-datetime-edit{padding:0;min-width:0}input::-webkit-calendar-picker-indicator{width:16px;height:16px;padding:0;margin-left:2px;flex:none}
@media(max-width:350px){.timeline-card.action-card .action-card-main{grid-template-columns:44px minmax(0,1fr) 40px!important;gap:7px;padding:18px 10px!important}.timeline-card.action-card .t-avatar{width:44px!important;height:44px!important;min-width:44px}.timeline-card .action-copy>strong{font-size:14px}.timeline-card .action-time{font-size:13px}.v8-note-card.action-card .action-card-main{grid-template-columns:38px minmax(0,1fr) 38px!important;gap:7px;padding:22px 10px!important}.v8-note-card .t-avatar{width:38px!important;height:38px!important;min-width:38px}.v9-selecting .v8-note-card.action-card .action-card-main{grid-template-columns:minmax(0,1fr) 36px!important}.v9-selecting .v8-note-card .t-avatar{display:none}.v9-selecting .v8-note-card .action-copy{grid-column:1}input[type=date],input[type=time]{font-size:13px;padding:8px}}
.v8-portraits.v9-pair-portraits{max-width:300px;gap:12px}.v8-portraits.v9-pair-portraits img{width:min(100%,140px);border-width:4px}.v8-portraits.v9-pair-portraits span{font-size:14px}.v9-reminder-banner{position:fixed;z-index:1100;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:calc(100% - 24px);max-width:480px;display:flex;align-items:center;gap:12px;padding:14px 12px 14px 16px;border-radius:18px;background:#d9ff55;color:#17171b;box-shadow:0 8px 24px #17171b26}.v9-reminder-banner>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.v9-reminder-banner strong{font-size:16px}.v9-reminder-banner span{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.v9-reminder-banner>.icon{width:24px;height:24px;flex:none}.v9-reminder-banner button{background:transparent;color:inherit}

/* Pale lavender uses dark ink. The rail is outside the card surface. */
.timeline-card.action-card,.timeline-card.action-card.check-done{border:0!important;box-shadow:none!important;outline:none;background:transparent!important}
.timeline-card.care-event-medication{--timeline-bg:#E9DCF7}
.timeline-card.action-card .action-card-main,.timeline-card.care-dose-wrap .action-copy,.timeline-card.care-dose-wrap .action-time{color:#17171b!important}
.timeline-card.action-card>.check-details{color:#17171b!important;top:7px;right:0;opacity:.25}
.timeline-card.action-card .action-copy{padding-right:18px!important}
.timeline-card.action-card.check-done .action-card-main{box-shadow:inset 0 0 0 1px #17171b18}
.timeline-card.action-card .action-card-main:focus-visible{outline:2px solid #6f3de8!important;outline-offset:2px}

.v9-course.action-card{background:#E9DCF7;border:0!important;box-shadow:none!important;color:#17171b}
.v9-course.action-card .v5-course-main{grid-template-columns:52px minmax(0,1fr) 48px!important;padding:18px 12px!important;min-height:108px!important;color:#17171b!important}
.v9-course .t-avatar{width:52px!important;height:52px!important;min-width:52px}.v9-course .action-time{display:flex;flex-direction:column;gap:5px;align-items:flex-end;justify-self:end;font-size:15px;font-weight:400;color:#17171b}.v9-course .action-copy{padding-right:16px!important}.v9-course .check-details{color:#17171b!important;opacity:.25}.v9-course .check-details:hover,.v9-course .check-details:focus-visible{opacity:1}
@media(max-width:350px){.v9-course.action-card .v5-course-main{grid-template-columns:44px minmax(0,1fr) 40px!important;gap:7px;padding:18px 10px!important}.v9-course .t-avatar{width:44px!important;height:44px!important;min-width:44px}.v9-course .action-time{font-size:13px}}
.timeline-card.action-card.care-event-medication{--timeline-bg:#E9DCF7}
/* Mobile iteration 8: restrained controls, persistent dates, safe sheets. */
:root{--field-size:16px;--field-weight:300}
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:var(--field-size)!important;font-weight:var(--field-weight)!important;line-height:1.4;min-width:0;max-width:100%;box-sizing:border-box}
input::placeholder,textarea::placeholder{font-size:inherit;font-weight:300;color:#746b7e;opacity:1}
input[type=date],input[type=time],input[type=datetime-local]{appearance:none;-webkit-appearance:none;min-width:0!important;width:100%;height:48px!important;min-height:48px!important;display:block;text-align:left}
input::-webkit-date-and-time-value{font:inherit;text-align:left;min-height:1.4em}
input::-webkit-datetime-edit,input::-webkit-datetime-edit-fields-wrapper,input::-webkit-datetime-edit-text,input::-webkit-datetime-edit-month-field,input::-webkit-datetime-edit-day-field,input::-webkit-datetime-edit-year-field{font:inherit;padding:0}
input[type=file]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}
input[type=file]::file-selector-button{font-size:13px;font-weight:300;max-width:45%;margin-right:8px;padding:6px 8px;border:0;border-radius:8px}
#modal{width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:24px;box-sizing:border-box}
#modal>*,#modal form,#modal [data-native-language],#modal .formfield,#modal .formgrid{min-width:0;max-width:100%;box-sizing:border-box}
#modal h2,#modal h3,#modal p,#modal a,#modal strong{overflow-wrap:anywhere}
#modal .modalhead{align-items:flex-start;gap:12px}#modal .modalhead h2{min-width:0}#modal .modalhead .iconbutton{flex:none}
#modal .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}#modal .formfield{width:100%}
#modal textarea{resize:vertical}#modal .check-detail-actions,#modal .care-secondary-actions,#modal .modalactions{flex-wrap:wrap;gap:10px}#modal .check-detail-actions>*{min-width:0;max-width:100%;white-space:normal}
#modal img,#modal iframe,#modal canvas{max-width:100%}#modal fieldset{min-width:0}#modal .v5-file-preview iframe{display:block}
body:has(#modal[open]) .bottom{visibility:hidden;pointer-events:none}
.v10-home-header{position:sticky;top:0;z-index:6;background:#faf9f6;padding:6px 0 0;overflow-anchor:none;isolation:isolate}
.v10-home-header .top{margin:0;padding:4px 0 12px;opacity:1;transition:transform .32s cubic-bezier(.16,1,.3,1),opacity .18s ease}
.v10-home-header .top>.t-scope{margin:0;min-height:44px}
.v10-home-header .v5-strip-wrap{margin:0;padding:4px 0 0;background:#faf9f6}
.v10-scope-slot{display:grid;grid-template-rows:1fr;transition:grid-template-rows .32s cubic-bezier(.16,1,.3,1);overflow:hidden}.v10-scope-inner{min-height:0}.v10-home-header.v10-compact .v10-scope-slot{grid-template-rows:0fr}.v10-home-header.v10-compact .top{opacity:0;transform:translateY(-12px);pointer-events:none}
.v10-date-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:0 4px 4px;font-size:13px;color:#5f526b}
.v10-date-tools>.textbutton{min-height:36px;padding:6px 10px;font-size:13px;color:#6f3de8}
.v10-pet-carousel{display:flex;gap:16px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;max-width:100%;width:100%;margin:18px auto 0;padding:4px 3px 8px;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;cursor:grab}
.v10-pet-carousel::-webkit-scrollbar{display:none}.v10-pet-carousel>button{flex:0 0 164px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0;scroll-snap-align:center;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.v10-pet-carousel img{width:164px;height:164px;object-fit:cover;border:4px solid white;border-radius:50%;pointer-events:none;-webkit-user-drag:none}
.v10-pet-carousel span{font-size:14px;font-weight:400;line-height:1.3;overflow-wrap:anywhere;max-width:100%}
.v10-pet-carousel.v10-single,.v10-pet-carousel.v10-pair{justify-content:center}.v10-pet-carousel.v10-single>button{flex-basis:180px}.v10-single img{width:180px;height:180px}.v10-pet-carousel.v10-pair>button{flex:0 1 150px}.v10-pair img{width:100%;height:auto;aspect-ratio:1}
.timeline-card.action-card>.check-details,.v9-course.action-card>.check-details,.v8-note-card.action-card>.check-details{top:4px!important;right:4px!important;bottom:auto;opacity:.35}
.timeline-card.check-done .action-card-main{background:color-mix(in srgb,var(--timeline-bg) 45%,#faf9f6)!important;box-shadow:none!important}
.timeline-card.check-done .action-copy,.timeline-card.check-done .action-time{opacity:.65}.timeline-card.check-done .t-avatar{opacity:.65}
.timeline-card .action-card-main{transition:background-color .2s ease,transform .25s cubic-bezier(.16,1,.3,1),opacity .2s ease;transform:translateX(var(--swipe-x,0px))}.timeline-card>.check-details{transform:translateX(var(--swipe-x,0px));transition:transform .25s cubic-bezier(.16,1,.3,1)}
.timeline-card.v10-swiping .action-card-main,.timeline-card.v10-swiping>.check-details{transition:none}.timeline-card.v10-swiping::after{content:"";position:absolute;right:16px;top:50%;width:18px;height:20px;transform:translateY(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b4162' stroke-width='1.7'%3E%3Cpath d='M3 6h18M9 6V3h6v3M5 6l1 15h12l1-15M10 10v7m4-7v7'/%3E%3C/svg%3E") center/contain no-repeat;z-index:-1}
.timeline-card.v10-removing .action-card-main{opacity:0;transform:translateX(-100%)}
.v10-vet-hub .care-health-grid{gap:14px;margin:18px 0 24px}.v10-vet-hub .care-health-open{min-height:144px;padding:20px;gap:12px;justify-content:flex-start}.v10-vet-hub .care-health-open strong{font-size:20px;line-height:1.25}.v10-vet-hub>.wide{width:100%;margin-top:0;min-height:48px}
@media(max-width:760px){
 html,body{width:100%;max-width:100%;overflow-x:clip}main{padding-bottom:calc(112px + env(safe-area-inset-bottom))!important;min-width:0;overflow:visible}
 .bottom{position:fixed!important;left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;min-height:74px;padding:8px 4px calc(8px + env(safe-area-inset-bottom))!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;z-index:20;border-radius:24px;transform:none;backdrop-filter:none;background:#202024}
 .bottom button{height:54px;min-height:54px;font-size:12px;line-height:1.2;gap:4px}.bottom .icon{flex:none}.v10-keyboard .bottom{visibility:hidden;pointer-events:none}
 .v10-home-header{margin:-12px 0 0;padding-top:max(8px,env(safe-area-inset-top));top:0}.v10-home-header .v5-date-strip{margin:0}
 .v10-vet-hub .care-health-open{min-height:142px;padding:18px 14px}.v10-vet-hub .care-health-open strong{font-size:18px}.v10-vet-hub .care-health-open>.icon{margin-bottom:0}
 #modal{padding:20px 16px;scrollbar-gutter:auto}#modal .modalactions{flex-direction:row}#modal .modalactions>*{flex:1 1 100px}
}
@media(max-width:350px){.v10-pet-carousel>button{flex-basis:148px}.v10-pet-carousel img{width:148px;height:148px}.v10-pet-carousel.v10-single img{width:176px;height:176px}.v10-pet-carousel.v10-pair{gap:12px}.v10-pet-carousel.v10-pair>button{flex-basis:calc(50% - 6px)}.v10-pair img{width:100%;height:auto}#modal .formgrid{gap:10px}.v10-vet-hub .care-health-open strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.v10-home-header .top,.v10-scope-slot,.timeline-card .action-card-main,.timeline-card>.check-details{transition:none!important}}
.v5-date-strip{scroll-snap-type:none!important}
.timeline-card{touch-action:pan-y}
#toast{z-index:80;bottom:calc(104px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);pointer-events:auto}
@media(max-width:760px){html,body,main{overflow-anchor:none}}
/* Values share the same vertical centre, including Safari's internal date/time boxes. */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]),select{height:48px!important;min-height:48px!important;padding-top:0!important;padding-bottom:0!important;line-height:normal;vertical-align:middle}
input::-webkit-date-and-time-value{display:flex;align-items:center;height:100%;min-height:100%;margin:0;padding:0;line-height:normal}
input::-webkit-datetime-edit{display:inline-flex;align-items:center;height:100%;min-height:100%;padding:0;line-height:normal}
input::-webkit-datetime-edit-fields-wrapper{padding:0;line-height:normal}
.care-health-grid>.care-health-card{background:#efe4ff!important;color:#17171b!important}
.care-health-grid .care-health-open strong{color:#17171b!important}.care-health-grid .care-health-open small{color:#62516f!important}
.care-health-grid .v7-health-symbol{background:#dfc6ff!important;color:var(--icon-purple)!important;border:0!important}
.care-profile-row>.icon:first-child{overflow:visible;stroke-width:1.7;flex:none;display:block}.care-profile-row .icon{overflow:visible}
[data-ui-removing]{overflow:hidden!important;pointer-events:none!important}
.v11-swipe-record{transform:translateX(var(--swipe-x,0px));transition:transform .2s cubic-bezier(.16,1,.3,1);touch-action:pan-y}
.v11-swipe-record.v10-swiping{transition:none}
.v11-swipe-record .action-card-main,.v11-swipe-record>.check-details{transform:none!important;transition:background-color .2s ease,opacity .2s ease}
@media(prefers-reduced-motion:reduce){.v11-swipe-record{transition:none}}
#modal:has(.care-passport-head) .modalactions>button{height:48px;min-height:48px;display:flex;align-items:center;justify-content:center;padding:6px 10px;font-size:14px;line-height:18px;text-align:center}
/* Only explicit rails may scroll sideways; content surfaces keep the viewport width. */
html,body{max-width:100%;overflow-x:clip}#app,main,.page,.check-list,.check-card,.document-grid,.care-shop-grid,.care-health-grid,.v8-pet-overview{min-width:0;max-width:100%;box-sizing:border-box}
.page{overflow-x:clip}.check-card,.care-shop-card,.document-tile{min-width:0;max-width:100%;overflow-wrap:anywhere}
.formgrid,.formfield,.care-profile-row,.t-settings,.detailitem{min-width:0;max-width:100%}.care-profile-row>span,.t-settings button>span{min-width:0;overflow-wrap:anywhere}

/* A single pet identity card: portrait and name above a quiet facts row. */
.v11-pet-card{background:#e9dcf7;color:#17171b;border-radius:24px;padding:20px;margin:0 0 20px;min-width:0;max-width:100%;box-sizing:border-box}
.v11-pet-card .t-pet-profile{background:none;border:0;border-radius:0;padding:0;margin:0;width:100%;min-height:0;gap:16px;text-align:left;box-shadow:none}
.v11-pet-card .t-profile-photo{width:96px!important;height:96px!important;flex:0 0 96px!important;object-fit:cover;border-radius:50%}
.v11-pet-card .t-pet-profile>div,.v11-pet-card .t-pet-profile>span{min-width:0;flex:1}
.v11-pet-card .t-pet-profile h2,.v11-pet-card .t-pet-profile strong{color:#17171b;font-size:26px;line-height:1.15;overflow-wrap:anywhere}
.v11-pet-card .t-pet-profile p,.v11-pet-card .t-pet-profile>span>span{font-size:14px;line-height:1.45;color:#51465c;margin:6px 0 0}
.v11-pet-card .t-pet-profile .textbutton{margin-top:6px;padding:0;min-height:36px;text-align:left}
.v11-pet-card .t-facts{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:12px;background:none;border-radius:0;border:0;border-top:1px solid #17171b1a;padding:16px 0 0;margin:16px 0 0}
.v11-pet-card .t-facts>div{grid-column:auto!important;min-width:0;padding:0;border:0;background:none}
.v11-pet-card .t-facts small{display:block;font-size:12px;line-height:1.4;color:#62546e;margin:0 0 4px}
.v11-pet-card .t-facts strong{display:block;color:#17171b;font-size:14px;line-height:1.45;font-weight:500;overflow-wrap:anywhere}
@media(max-width:360px){.v11-pet-card{padding:16px}.v11-pet-card .t-profile-photo{width:80px!important;height:80px!important;flex-basis:80px!important}.v11-pet-card .t-pet-profile h2,.v11-pet-card .t-pet-profile strong{font-size:23px}}
/* Selected portrait always sits on the viewport centre; neighbours overlap behind it. */
.v10-pet-carousel.v12-portrait-deck{position:relative;box-sizing:border-box;display:flex;justify-content:flex-start;gap:0;isolation:isolate;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding:0;width:100%;max-width:100%;padding:20px max(0px,calc(50% - 90px)) 12px;margin:12px auto 0;min-height:234px}
.v12-portrait-deck>button{position:relative;flex:0 0 180px!important;min-width:180px;gap:10px;scroll-snap-align:center;scroll-snap-stop:always;transform:scale(.8);opacity:.8;transition:transform 280ms cubic-bezier(.16,1,.3,1),opacity 220ms ease;transform-origin:center 90px}
.v12-portrait-deck>button+button{margin-left:-58px}.v12-portrait-deck>button.is-front{transform:scale(1);opacity:1}
.v12-portrait-deck>button img{width:180px!important;height:180px!important;aspect-ratio:1;max-width:none;box-sizing:border-box;border:4px solid #fff;box-shadow:0 8px 22px #36204c14}
.v12-portrait-deck>button span{color:#17171b;font-size:14px;line-height:20px;max-width:170px}.v12-portrait-deck.v12-single{overflow-x:hidden}
.care-pin-option:last-of-type{border-bottom:0}.care-pin-option>span{min-width:0}.care-pin-option .icon{width:24px;height:24px;flex:0 0 24px;overflow:visible}.care-pin-option input{flex-shrink:0}
@media(prefers-reduced-motion:reduce){.v12-portrait-deck>button{transition:none}}

#calendar-tab-picker{margin-bottom:27px}
