/* Taily / weightless lilac glass. Brand decisions are declared once here. */
:root {
  --button-label-size: 16px;
  --button-label-line: 20px;
  --button-label-weight: 600;
  --tab-indicator-duration: 330ms;
  --tab-indicator-slide: cubic-bezier(.2, .72, .36, 1.13);
}
:root{--bg:#f5f1ff;--ink:#282034;--text-primary:#282034;--text-secondary:#63556f;--muted:#63556f;--line:#75638c24;--border:#a18ab54d;--button-purple:#857DEA;--primary-action-bg:#7254F9;--brand-primary:#9991FC;--brand-accent:#9991FC;--mist:#f4efffd9;--glass:#ffffff8c;--edge:#ffffffcf;--elevation:0 8px 28px #67508809;--field-size:16px;--field-weight:300}
html{background:#ece7ff}body{position:relative;isolation:isolate;background:transparent;color:var(--ink)}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url('/taily-background.png?v=3cb2fc44') center / 100% 100% no-repeat}
#app,main,.page{background:transparent}h1,h2,h3{color:var(--ink)}.muted,.subtitle,.t-local-note{color:var(--muted)}
.sidebar{background:#ffffff59;border-right:1px solid var(--edge);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.sidebar .brand{color:var(--ink)}.sidebar nav button{color:#5f536d}.sidebar nav button.active{background:#c8df0c;color:#27320a}.sidefoot{color:#63556f}
.iconbutton{display:inline-flex;align-items:center;justify-content:center;background:#ffffff9c;color:var(--icon-purple);border:1px solid #ffffffda;box-shadow:none;padding:10px}.iconbutton>.icon{display:block;margin:0;width:24px;height:24px;flex:none;overflow:visible}
.t-scope,.care-event-filters{align-items:center}.t-scope button,.care-event-filters button{display:inline-flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box;min-height:44px;line-height:1.2;font-weight:300!important;white-space:nowrap;background:#ffffffa6;color:#594a69;border:1px solid #ffffffda;box-shadow:none!important;outline:none}
.t-scope button.active,.care-event-filters button.active{background:var(--button-purple)!important;color:white!important;border-color:var(--button-purple)!important;box-shadow:none!important;font-weight:300!important}
.v8-care-tabs button:not(.active){background:#ffffffa6!important;color:#594a69!important;border-color:#ffffffda!important}.v8-care-tabs button{outline:none!important}
.top>.t-scope{-webkit-mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 82px),transparent);mask-image:linear-gradient(to right,#000 0,#000 calc(100% - 82px),transparent)}.top>.t-scope::after,.top::after{background:none!important}
/* The pet selector and dates form one continuous, gently frosted sticky header. */
.v10-home-header{background:#f1ebffb3;border-bottom:1px solid #ffffff80;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);top:0;z-index:8}.v10-home-header .top,.v10-home-header .v5-strip-wrap{background:transparent}.v10-home-header .v10-scope-slot,.v10-home-header.v10-compact .v10-scope-slot{grid-template-rows:1fr}.v10-home-header.v10-compact .top{opacity:1;transform:none;pointer-events:auto}
.v5-date-strip small{color:#73657e;font-weight:300}.v5-date-strip button>span{color:#382846}.v5-date-strip .v5-today small{color:#7040ca}.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:var(--button-purple)!important;color:#fff!important;border-color:var(--button-purple)!important;box-shadow:none!important}
.v5-date-strip .v5-selected:not(.v5-today)>span,.v5-calendar .days button.selected:not(.is-today)>span{background:#eee4ff;color:#6734b2;box-shadow:inset 0 0 0 1px var(--button-purple)}.v5-date-strip i{color:var(--button-purple)}.v5-greeting h1{color:#282034}.v8-greeting-date{color:#63556f}
/* Three complete circles fit inside the rail, including their outer edges. */
.v10-pet-carousel.v12-portrait-deck{--portrait-size:min(180px,40vw);position:relative;padding:20px max(0px,calc(50% - var(--portrait-size)/2)) 12px!important;min-height:0;overflow-x:auto;overflow-y:hidden;gap:0;box-sizing:border-box}
.v12-portrait-deck>button{flex:0 0 var(--portrait-size)!important;width:var(--portrait-size);min-width:var(--portrait-size)!important;transform-origin:center calc(var(--portrait-size)/2);visibility:hidden}
.v12-portrait-deck>button.is-front,.v12-portrait-deck>button.is-neighbour{visibility:visible}.v12-portrait-deck>button+button{margin-left:calc(var(--portrait-size)*-.45)}
.v12-portrait-deck>button img,.v12-portrait-deck>button>.no-photo{width:var(--portrait-size)!important;height:var(--portrait-size)!important;min-width:var(--portrait-size)!important;box-sizing:border-box;border:3px solid #ffffffeb;border-radius:50%;object-fit:cover;box-shadow:0 8px 24px #6850800d}
.v12-portrait-deck>button>.no-photo{display:grid;place-items:center;background:#e7dcff;color:var(--button-purple)}.v12-portrait-deck>button>.no-photo>.icon{width:48px;height:48px}.v12-portrait-deck>button span{color:#594a69;font-weight:300}.v12-portrait-deck.v12-single{--portrait-size:180px}
.v5-quick .v5-quick-icon{display:flex;align-items:center;justify-content:center;background:#ffffff9c!important;border:1px solid #ffffffda!important;color:var(--icon-purple)!important;box-shadow:none!important}.v5-quick .v5-quick-icon>.icon{display:block;width:24px;height:24px;margin:0;padding:0;stroke-width:1.7;overflow:visible}.v5-quick button:nth-child(2) .v5-quick-icon{background:var(--button-purple)!important;color:white!important;border-color:#a47aff!important}.v5-quick button>span:last-child{color:#594a69;font-weight:300}
/* Shared glass material, with tint carrying event category rather than opaque blocks. */
.care-health-grid>.care-health-card,.v11-pet-card,.document-tile,.care-shop-card,.v8-note-card.action-card,.v9-folder-tile,.v9-course.action-card,.care-calendar-medications,.care-personal-empty,.care-emergency,.care-pinned-link,.calendar,.t-next,.t-brand-panel{background:var(--glass)!important;color:var(--ink);border:1px solid var(--edge)!important;box-shadow:var(--elevation)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.care-health-grid>.care-health-card{color:#282034!important}.care-health-grid .care-health-open strong{color:#282034!important}.care-health-grid .care-health-open small{color:#63556f!important}
.care-health-grid .v7-health-symbol{display:grid;place-items:center;background:#9991FC!important;color:white!important;border:1px solid #a67bff!important;border-radius:16px;padding:10px}.care-health-grid .v7-health-symbol>.icon{display:block;width:25px;height:25px;padding:0;margin:0;color:white;stroke:currentColor;stroke-width:1.65;overflow:visible}
.timeline-card.action-card .action-card-main{background:linear-gradient(125deg,#ffffffb8,#eee6ff9c)!important;color:#282034!important;border:1px solid #ffffffd9!important;box-shadow:0 5px 20px #68508006!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.timeline-card.care-event-medication .action-card-main{background:linear-gradient(125deg,#ffffffc4,#dfccffad)!important}.timeline-card.care-event-vaccination .action-card-main{background:linear-gradient(125deg,#ffffffc4,#cde0ffad)!important}.timeline-card.care-event-vet .action-card-main{background:linear-gradient(125deg,#ffffffc4,#ffdceaad)!important}.timeline-card.care-event-walk .action-card-main{background:linear-gradient(125deg,#ffffffc4,#d6eddfad)!important}.timeline-card.care-event-other .action-card-main{background:linear-gradient(125deg,#ffffffc4,#ffedc7ad)!important}
.timeline-card.action-card.check-done .action-card-main{background:linear-gradient(125deg,#ffffffb3,#f3edfba3)!important;border-color:#ffffffad!important;box-shadow:none!important}.timeline-card.check-done .action-copy,.timeline-card.check-done .action-time{opacity:.72}.timeline-card.check-done .t-avatar{opacity:.72}
.timeline-toggle .action-completion{background:#ffffffb3;border-color:#a18ab5;color:#776282}.timeline-toggle .action-completion.is-done{background:var(--button-purple);border-color:var(--button-purple);color:white}.action-completion.is-done>.icon{stroke:white!important}.check-list:has(>.timeline-card)::before{border-color:#aa94c54d}.action-card .action-copy,.action-card .action-time{color:#282034!important}.action-card .action-copy>span,.action-card .action-copy small{color:#63556f!important}.action-card .check-details{color:#6d557f!important;opacity:.35}.v9-timeline-switch{color:#9991FC}.v9-timeline-switch[aria-pressed=false]{color:#9d8aab}
.v11-pet-card .t-pet-profile h2,.v11-pet-card .t-pet-profile strong,.v11-pet-card .t-facts strong{color:#282034}.v11-pet-card .t-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-color:#9a83ac26}.v11-pet-card .t-facts>div{grid-column:auto!important;min-width:0}.v11-pet-card .t-facts small{font-size:11px;line-height:1.4;color:#73627f}.v11-pet-card .t-facts strong{font-size:13px;line-height:1.5;overflow-wrap:normal}.v11-pet-card .t-pet-profile p{color:#63556f}
.care-profile-row,.care-owner-row,.t-settings>button{border-color:#8b74a124;color:#382846}.care-profile-row>span small,.care-owner-row small{color:#73627f}.care-profile-row>.icon:first-child{background:#ffffff9c;color:var(--icon-purple);border:1px solid #ffffffda}.care-profile-row>.icon:last-child,.care-owner-row>.icon{color:var(--icon-purple)}
.v5-tip-preview,.v5-tip-preview.v5-tip-1{background:#ffffff91;color:#282034;border:1px solid #ffffffd9;box-shadow:var(--elevation)}.v5-tip-preview h3{color:#382846}.v5-tip-preview p{color:#63556f}.v5-tip-preview>span>.icon,.v5-tip-preview>.icon,.v5-article-icon{color:var(--icon-purple)}.v5-article-icon{background:#ffffff9c;border:1px solid #ffffffda}.v5-article p{color:#594a69}
.tabs{background:#ffffff80;border:1px solid #ffffffd9;padding:4px}.tabs button{display:flex;align-items:center;justify-content:center;text-align:center;color:#63556f;font-weight:300;line-height:1.3}.tabs button.active{background:var(--button-purple);color:white;box-shadow:none}
.primary{background:var(--primary-action-bg);color:#fff;border:1px solid var(--primary-action-bg);box-shadow:inset 0 1px 0 #ffffff30;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.3}.primary:hover{background:var(--primary-action-bg)}.secondary{background:#ffffffa6;border:1px solid #ffffffdf;color:#7040bf;display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1.3}.textbutton,.v8-back,.care-phone{color:#7040bf}.v9-remove-pet{color:#93456a}
/* White entry values share one light type scale and one modest focus treatment. */
input:not([type=checkbox]):not([type=radio]),select,textarea{font-family:Helvetica,Arial,sans-serif;font-size:16px!important;font-weight:300!important;color:#382846;accent-color:#9991FC}
.formfield input:not([type=checkbox]):not([type=radio]),.formfield select,.formfield textarea,.v5-date-fields input{background-color:#ffffffc9;border:1px solid #a18ab54d;box-shadow:none}input::placeholder,textarea::placeholder{color:#82718e;font-weight:300}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:1.5px solid var(--button-purple)!important;outline-offset:2px!important}
#modal .modalhead .iconbutton{outline:none!important}.v13-keyboard #modal .modalhead .iconbutton:focus-visible{outline:1.5px solid var(--button-purple)!important}
/* Compact matte sheets and a full-width action stack. */
#modal{background:#fbf9ffed;color:#282034;border:1px solid #ffffffe6;border-radius:26px;box-shadow:0 20px 60px #4935641f;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);padding:22px;width:min(520px,calc(100vw - 24px));scrollbar-gutter:auto}
#modal::backdrop{background:#4a35582b;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}#modal h2{font-size:22px;line-height:1.25;margin:0}#modal h3{font-size:17px;line-height:1.35}#modal .modalhead{align-items:center;margin-bottom:18px}#modal .modalhead .iconbutton{width:40px;height:40px;min-height:40px;padding:9px}
#modal .formfield,#modal .v5-date-fields label{font-size:14px;font-weight:600;line-height:1.4;gap:7px;margin-bottom:16px}#modal .formgrid .formfield{margin-bottom:0}#modal .formgrid{gap:12px;margin-bottom:16px}#modal .formfield>small{font-size:12px;font-weight:300}#modal .form-error:empty{display:none}
#modal .modalactions,#modal .care-secondary-actions,#modal .check-detail-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;gap:10px;margin-top:18px}#modal .modalactions>button,#modal .care-secondary-actions>button,#modal .check-detail-actions>button{width:100%;min-height:48px;margin:0;display:flex;align-items:center;justify-content:center;text-align:center}
#modal form>button.primary{width:100%;min-height:48px}#modal.v13-confirm{width:min(340px,calc(100vw - 32px));padding:24px}#modal.v13-confirm .modalhead{justify-content:center;margin-bottom:16px}#modal.v13-confirm .modalhead h2{text-align:center;font-size:20px;line-height:1.35;width:100%}#modal.v13-confirm .modalhead .iconbutton{display:none}#modal.v13-confirm h3,#modal.v13-confirm p{text-align:center}
#modal .care-passport-head{background:#eee3ff9c;display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:14px;padding:16px;border-radius:18px}#modal .care-passport-head .t-profile-photo{width:72px!important;height:72px!important;flex-basis:72px!important}#modal .care-passport-head h3{font-size:24px;line-height:1.2;overflow-wrap:anywhere}#modal .care-passport-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}#modal .care-passport-facts>div{min-width:0}#modal .care-passport-facts dd{margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}#modal .care-passport-facts dt{font-size:12px;color:#73627f;margin-bottom:4px}
.v5-reminders,.t-notice{background:#ede4ff9c;color:#63556f;border:1px solid #ffffffbf}.care-pin-option{border-color:#9a83ac26}.care-pin-option .icon{color:var(--icon-purple)}.care-pin-option:last-of-type{border-bottom:0}
/* Complete preview lines plus word-boundary ellipsis, with metadata below them. */
.document-tile{aspect-ratio:auto;min-height:222px;display:flex;flex-direction:column;gap:10px;padding:18px}.document-tile>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35;max-height:2.7em;font-size:16px;flex:none;word-break:normal}.document-tile>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;font-size:14px;max-height:4.5em;flex:none;margin:0;color:#63556f;text-overflow:ellipsis;word-break:normal;overflow-wrap:normal}.document-tile>small{display:block;margin-top:auto;flex:none;line-height:1.4;font-size:12px;color:#73627f}
.care-pinned-link{position:relative;cursor:pointer;touch-action:pan-y}.care-pinned-link>.icon:last-child{display:none}.care-pinned-link:active{background:#eee4ffb3!important}.care-pinned-link strong{color:#382846}.care-pinned-link small{color:#73627f}.care-emergency .care-phone{color:#7040bf}
.v8-folder-preview{background:#e5d7ff}.v8-folder-preview i{background:#d2bcf8}.v8-folder small{color:#73627f}.v9-folder-edit{background:#ffffffb3;color:#9991FC}.v8-folder-drop .v8-folder-preview{background:#b394fb}.v9-note-select[aria-pressed=true]::before{background:#9991FC;border-color:#9991FC}.v9-note-select[aria-pressed=true]>.icon{stroke:white}.v9-note-selected .action-card-main{outline:1.5px solid #9991FC;outline-offset:-2px}.v9-drag-count{background:#9991FC}
#toast{background:#fbf9fff2;color:#59416f;border:1px solid #ffffffd9;border-radius:18px;box-shadow:0 8px 24px #49356417;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}#toast .textbutton{color:#7040bf;display:inline-flex;justify-content:center;align-items:center;min-height:36px;text-decoration:none}
.bottom{background:#ffffffba!important;border:1px solid #ffffffe0!important;box-shadow:0 8px 30px #6750880c;backdrop-filter:blur(24px)!important;-webkit-backdrop-filter:blur(24px)!important}.bottom button{color:#73627f;font-weight:300}.bottom button .icon{color:var(--icon-purple);display:block}.bottom button.active{color:#3d4820}.bottom button.active .icon{background:#c8df0c!important;color:#2c3712;border:1px solid #ddea65;box-shadow:none}
::selection{background:#d9c7ff;color:#382846}::-webkit-scrollbar-thumb{background:#bba8d1;border:2px solid transparent;background-clip:padding-box;border-radius:8px}
@media(max-width:760px){.v10-home-header{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.bottom{border-radius:26px!important}#modal{padding:20px 18px}#modal .modalactions{flex-direction:column}#modal .formfield{margin-bottom:14px}.care-health-open{padding:20px 16px}.care-health-open strong{font-size:19px}.v11-pet-card .t-facts{gap:12px}}
@media(max-width:350px){.v11-pet-card .t-facts{gap:8px}.v11-pet-card .t-facts strong{font-size:12px}.v11-pet-card .t-facts small{font-size:10px}.document-tile{padding:14px;min-height:224px}}
@media(prefers-reduced-motion:reduce){.v12-portrait-deck>button,.v10-home-header .top,.v10-scope-slot{transition:none!important}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#modal,.bottom,.v10-home-header{background:#f2edfc!important}.timeline-card.action-card .action-card-main,.care-health-grid>.care-health-card{background:#f6f1ff!important}}

/* Match the calendar hit area exactly to the adjacent filter pills. */
.v10-home-header .top{align-items:center}.v10-home-header .top>.t-scope{padding-block:0;min-height:44px}.v10-home-header .top .t-scope button{height:44px;min-height:44px;padding:0 14px;line-height:20px}.v10-home-header .v8-top-calendar{box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:9px;align-self:center}

.v12-portrait-deck>button:not(.is-front){transform:scale(.64)}
#modal.v13-confirm .care-secondary-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#modal [hidden]{display:none!important}

/* Compact corrections shared by every deletion notice and folder surface. */
#toast{display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left;padding:10px 18px;white-space:nowrap;width:max-content;max-width:calc(100vw - 32px)}#toast .textbutton{flex:none;margin:0;padding:0;min-height:36px;font-size:14px}
.v11-pet-card .t-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v11-pet-card .t-facts>div{width:100%}
.v9-folder-tile,.v14-folder-tile{position:relative;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.v14-folder-tile>.v8-folder{width:100%}.v8-folder{border:0!important;box-shadow:none!important;background:transparent!important}
.v14-document-tools{display:flex;align-items:center;gap:10px;margin:12px 0}.v14-document-tools>span{flex:1}.v14-document-tools h2{font-size:18px;flex:1}.v14-document-tools .textbutton{display:flex;align-items:center;gap:4px;font-size:13px}.v14-document-tools .iconbutton{margin-left:auto}
.timeline-card.care-event-vet .action-card-main{background:linear-gradient(125deg,#ffffffc4,#dcceffad)!important}.timeline-card.care-event-walk .action-card-main{background:linear-gradient(125deg,#ffffffc4,#e6efa3ad)!important}.timeline-card.care-event-other .action-card-main{background:linear-gradient(125deg,#ffffffc4,#d5e9ffad)!important}

/* One horizontal date row on WebKit too: no implicit grid rows after scope changes. */
.v5-strip-wrap{min-width:0;max-width:100%}.v5-date-strip{display:flex;flex-flow:row nowrap;align-items:stretch;overflow-x:auto;overflow-y:hidden;min-width:0;max-width:100%;height:83px;box-sizing:border-box}.v5-date-strip>button{flex:0 0 calc(100% / 7);width:calc(100% / 7);box-sizing:border-box}.v5-date-strip small{text-transform:none}
/* User artwork forms the lower card background, feathering into the light surface. */
.v5-tip-preview{min-height:370px;padding-bottom:200px;isolation:isolate}.v5-tip-preview>.v7-tip-art{position:absolute;z-index:-1;left:0;bottom:0;width:100%;height:230px;margin:0;object-fit:cover;object-position:center 66%;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 42%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,#000 42%,#000 100%)}.v5-tip-preview>.icon{position:absolute;right:16px;bottom:190px}.v5-tip-preview.v5-tip-1>.v7-tip-art{object-position:center 62%}
/* Shared line boxes with a one-pixel optical correction for Helvetica's ascenders. */
.t-scope button,.care-event-filters button,.v8-care-tabs button,.tabs button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:20px;text-align:center;padding:11px 14px 9px;min-height:44px}.v10-home-header .top .t-scope button{padding:2px 14px 0;line-height:20px}
.primary,.secondary{align-items:center;justify-content:center;box-sizing:border-box;line-height:20px;text-align:center;padding-top:13px;padding-bottom:11px}.textbutton:not(.v8-back){line-height:20px}
/* Violet editorial cards: white copy above user-supplied grain illustrations. */
.v5-tip-preview,.v5-tip-preview.v5-tip-1{background:linear-gradient(155deg,#9991FC 0%,#7b46eb 48%,#6037c4 100%);color:#fff;border-color:#b997ff}.v5-tip-preview h3,.v5-tip-preview p,.v5-tip-preview>small,.v5-tip-preview>span>.icon,.v5-tip-preview>.icon{color:#fff}.v5-tip-preview p{font-weight:300}
/* Profile editing lives in its corner; fact columns follow the requested spacing. */
.v11-pet-card{position:relative}.v15-profile-edit{position:absolute;right:14px;top:14px;width:36px;height:36px;min-height:36px;padding:9px;color:#9991FC;z-index:2}.v15-profile-edit>.icon{width:18px;height:18px}.v11-pet-card .t-pet-profile{padding-right:24px}.v11-pet-card .t-facts{grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:20px}.v11-pet-card .t-facts small{white-space:nowrap}
.care-profile-row.v15-passport-row{min-height:86px;padding-top:16px;padding-bottom:16px;margin:0}.care-profile-row{min-height:86px;padding-block:16px;margin:0;box-sizing:border-box}
.v5-quick .v5-quick-icon{background:#9991FC!important;border-color:#a47aff!important;color:#fff!important}
.v15-wish-edit{position:absolute;top:10px;left:10px;width:40px;height:40px;min-height:40px;padding:10px;z-index:2}.v15-wish-edit>.icon{width:20px;height:20px}
/* The date preview owns a single clipped paint surface, avoiding sticky blur repaint artifacts. */
.v10-home-header{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#e6dff9f5;isolation:isolate}.v10-home-header .v5-strip-wrap{height:87px;min-height:87px;max-height:87px;overflow:hidden;contain:layout paint}.v10-home-header .v5-date-strip{height:83px;max-height:83px;flex-wrap:nowrap!important;display:flex!important}
/* Forms share one vertical rhythm while keeping their own fields and behaviour. */
#modal form{display:flex;flex-direction:column;align-items:stretch;gap:16px}#modal form>.formfield,#modal form>.formgrid,#modal form>.v5-date-fields{margin:0!important;width:100%;min-width:0}#modal .formfield{gap:8px;line-height:20px;font-size:14px;font-weight:600}#modal .formgrid{align-items:start;gap:12px}#modal .formgrid .formfield{margin:0!important;min-width:0}#modal .formfield input:not([type=checkbox]):not([type=radio]):not([type=file]),#modal .formfield select,#modal .v5-date-fields input{height:48px;min-height:48px;width:100%;box-sizing:border-box;line-height:24px;padding:11px 12px}#modal .formfield textarea{min-height:88px;line-height:24px;padding:11px 12px;width:100%;box-sizing:border-box}#modal form>button.primary,#modal form>.modalactions,#modal form>.care-secondary-actions{margin-top:0!important}#modal .v5-date-fields label{justify-content:start;gap:8px;font-size:14px;line-height:20px}
.v15-folder-colors{margin:0;padding:0;border:0;display:flex;gap:12px;flex-wrap:wrap}.v15-folder-colors legend{font-size:14px;font-weight:600;margin-bottom:10px}.v15-folder-colors label{position:relative;display:grid;place-items:center;width:44px;height:44px;cursor:pointer}.v15-folder-colors input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}.v15-folder-colors span{width:32px;height:32px;border-radius:50%;background:var(--folder-color);border:2px solid white;box-shadow:0 0 0 1px #b6a3cd}.v15-folder-colors input:checked+span{box-shadow:0 0 0 2px #62458c}.v15-folder-colors input:focus-visible+span{outline:1.5px solid #9991FC;outline-offset:4px}.v9-folder-tile .v8-folder-preview,.v14-folder-tile .v8-folder-preview{background:color-mix(in srgb,var(--folder-color,#9991FC) 25%,white)}.v9-folder-tile .v8-folder-preview i.has-note,.v14-folder-tile .v8-folder-preview i.has-note{background:color-mix(in srgb,var(--folder-color,#9991FC) 55%,white)}
.check-drag-ghost{box-sizing:border-box;min-height:var(--drag-height)!important;height:var(--drag-height)!important;max-height:none!important;overflow:visible;display:block!important}.check-drag-source{min-height:var(--drag-height)!important;height:var(--drag-height)!important;box-sizing:border-box}.check-drag-source[data-ui-removing]{height:var(--drag-height)!important;opacity:.25}
@media(max-width:350px){.v11-pet-card .t-facts{gap:12px}.v11-pet-card .t-facts small{font-size:10px}}
#modal form .formgrid>.formfield,#modal form .v5-date-fields>label{font-size:14px;line-height:20px;gap:8px;justify-content:flex-start}#modal form .formgrid{align-items:start!important}
.v15-profile-edit{border-radius:50%!important;aspect-ratio:1;flex:none}.care-profile-menu>.care-profile-row{margin:0!important;min-height:86px;padding:16px 0;box-sizing:border-box}
/* One health visual language on Home, in compact horizontal rows. */
.care-pinned-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.care-pinned-link{display:flex!important;flex-direction:row!important;align-items:center!important;gap:16px!important;min-height:96px!important;padding:20px!important;text-align:left;border-radius:24px!important}.v18-pin-symbol{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:15px;background:#9991FC!important;color:white!important}.v18-pin-symbol>.icon{display:block;width:25px;height:25px;color:white!important;stroke:currentColor}.care-pinned-link>span:last-child{display:flex;flex-direction:column;gap:6px;flex:1}.care-pinned-link strong{font-size:18px;line-height:1.3}.care-pinned-link small{font-size:14px;line-height:1.4;color:#63556f}
/* Keep every folder's occupied record cells white. */
.v9-folder-tile .v8-folder-preview i.has-note,.v14-folder-tile .v8-folder-preview i.has-note{background:#fff!important}
.care-shop-image .v15-wish-edit,.care-shop-image [data-v9-wish-delete],.care-shop-image .care-shop-heart{width:44px!important;height:44px!important;min-height:44px!important;display:grid!important;place-items:center!important;padding:11px!important;border:0!important;border-radius:50%!important;background:#fff!important;color:#9991FC!important;top:8px!important}.care-shop-image .v15-wish-edit{left:8px!important}.care-shop-image .v15-wish-edit>.icon,.care-shop-image .care-shop-heart>.icon{width:22px!important;height:22px!important}
#modal form button.primary,#modal form button.secondary,#modal form>button.textbutton,#modal .care-secondary-actions button{font-size:var(--button-label-size)!important;line-height:var(--button-label-line)!important;font-weight:var(--button-label-weight)!important;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px}
#modal [data-v8-owner-remove]{width:100%;background:#e8dcff!important;border:1px solid #d8c5fc!important;color:#7040bf!important;border-radius:14px;padding:12px!important;margin-top:0!important}.v18-modal-heading{display:flex;flex-direction:column;gap:8px;min-width:0}.v18-step{font-size:14px!important;line-height:20px!important;font-weight:300!important;color:#807588!important;background:none!important;margin:0!important}.modalhead:has(.v18-modal-heading){align-items:flex-start;gap:14px}.v18-share-pet{font-size:18px;font-weight:600;margin-bottom:12px}.v18-invite-note{font-size:13px;color:#73657e;line-height:1.5}.v5-owner-upload>span{background:#e8dcff!important;color:#9991FC!important;border:1px solid white!important}
/* A tighter, even rhythm between the date, portrait and quick actions. */
.v5-greeting{gap:0!important;margin:16px 0 24px!important}.v8-greeting-date{margin:8px 0 0!important;min-height:0!important;padding:0!important;line-height:24px}.v10-pet-carousel.v12-portrait-deck{margin:20px auto 0!important;padding-top:0!important;padding-bottom:0!important}.v5-quick{margin-top:20px!important;margin-bottom:0!important}.v5-greeting .v5-quick{padding-top:0!important}
.v5-owner-upload>span{display:grid!important;place-items:center!important;padding:6px!important;width:32px!important;height:32px!important;box-sizing:border-box}.v5-owner-upload>span>.icon{width:18px!important;height:18px!important;margin:0!important;padding:0!important}
#modal{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
/* At-hand cards reuse Health's two-column, left-aligned card geometry. */
.care-pinned-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.care-pinned-link{flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;min-height:174px!important;padding:20px 16px!important;gap:14px!important}.care-pinned-link>span:last-child{flex:none}.care-pinned-link strong{font-size:19px;line-height:1.3}.care-pinned-link small{font-size:13px;line-height:1.4}.v25-pins-edit{display:grid;place-items:center;width:44px;height:44px;min-height:44px;border-radius:50%;padding:10px;background:#ffffffb8!important;border:1px solid #fff!important;color:#9991FC!important}.v25-pins-edit>.icon{width:22px;height:22px}
@media(max-width:760px){main:has(.v10-home-header){padding-top:0!important}.page:has(.v10-home-header){padding-top:0!important}.v10-home-header{margin-top:0!important;padding-top:env(safe-area-inset-top,0px)!important;top:0!important}}
/* Shared icon geometry, selected date and capsule feedback. */
.care-pinned-link>.v18-pin-symbol,.care-health-grid .v7-health-symbol{box-sizing:border-box!important;width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important;padding:10px!important;border:1px solid #a67bff!important;border-radius:16px!important;margin:0 0 6px!important;background:#9991FC!important;color:#fff!important}
.care-pinned-link>.v18-pin-symbol>.icon,.care-health-grid .v7-health-symbol>.icon{width:25px;height:25px;stroke-width:1.65;padding:0;margin:0;overflow:visible}
.v5-date-strip .v5-today:not(.v5-selected)>span,.v5-calendar .days button.is-today:not(.selected)>span{background:transparent!important;color:#382846!important;border-color:transparent!important;box-shadow:none!important}
.v5-date-strip .v5-selected>span,.v5-date-strip .v5-selected:not(.v5-today)>span,.v5-calendar .days button.selected>span,.v5-calendar .days button.selected:not(.is-today)>span{background:var(--button-purple)!important;color:#fff!important;border-color:var(--button-purple)!important;box-shadow:none!important}
.v5-date-strip .v5-today:not(.v5-selected) small{color:#73657e;font-weight:300}
#toast{border-radius:999px!important}
.v26-card-menu{position:fixed;z-index:90;min-width:142px;padding:6px;background:#fcfafff5;border:1px solid #fff;border-radius:16px;box-shadow:0 8px 28px #49356420;backdrop-filter:blur(18px)}
.v26-card-menu button{display:flex;align-items:center;width:100%;min-height:42px;padding:10px 14px;text-align:left;font-size:14px;color:#7540d5;border-radius:10px}
.v26-card-menu button+button{border-top:1px solid #857DEA14}
.v26-card-menu button:hover{background:#857DEA0c}
#t-med-schedule>.note,.v5-reminders>.muted{display:none!important}
#t-med-schedule [data-t-action="med-back"]{background:#9991FC!important;color:#fff!important;border-color:#9991FC!important}
.v5-reminders{display:grid;gap:16px;padding:18px!important;margin:20px 0!important;border-radius:20px}
.v5-reminders label{font-size:14px!important;line-height:1.4;font-weight:400}
.v5-reminders .v5-switch{gap:14px;min-height:32px}
.v5-reminders input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:none;accent-color:#9991FC;margin:0}
#v5-reminder-times{margin:0!important;gap:12px!important}
#v5-reminder-times label{display:flex;flex-direction:column;gap:8px;font-weight:600}
#v5-reminder-times input{height:48px;min-height:48px;font-size:16px;font-weight:300;padding:10px 12px}
.v5-reminders button{justify-self:start;margin:0;font-size:16px!important;font-weight:600!important;min-height:48px}
.v28-document-card{position:relative;min-width:0}.v28-document-card>.document-tile{width:100%;height:100%;padding-top:32px}.v28-document-card>.check-details{top:8px;right:8px}
.check-card[hidden]{display:none!important}.v28-folders{margin:20px 0;gap:16px}.v28-folder-tile{position:relative;min-width:0}.v28-folder-tile .v8-folder-preview{background:var(--folder-color,#9991FC)}.v28-folder-tile .has-note{background:white!important}.v28-folder-records{border:0;padding:0;margin:20px 0;display:grid;gap:12px}.v28-folder-records legend{font-size:14px;font-weight:600;margin-bottom:12px}.v28-folder-records label{display:flex;align-items:center;gap:12px;min-height:44px;font-size:15px}.v28-folder-records input{width:20px;height:20px;min-height:20px;accent-color:#9991FC}.v28-folder-records small{display:block;font-size:12px;color:#73657e}.v28-folders .v8-folder{background:none;border:0}.v28-folder-tile .v9-folder-edit{position:absolute;top:0;right:0}
#v5-reminder-options:not([hidden]){display:grid;gap:16px}
#v5-reminder-options>.care-check{margin:0;gap:12px;align-items:center;font-size:14px}
.v15-profile-edit,.v9-folder-edit,.v5-owner-upload>span,.v25-pins-edit{box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important;padding:11px!important;border-radius:50%!important;background:#ffffffdc!important;color:#9991FC!important;display:grid!important;place-items:center!important;line-height:1!important}
.v15-profile-edit>.icon,.v9-folder-edit>.icon,.v5-owner-upload>span>.icon,.v25-pins-edit>.icon{width:22px!important;height:22px!important;padding:0!important}
.v29-wish-menu{position:absolute;top:8px;right:8px;width:44px;height:44px;min-height:44px;padding:11px;background:#ffffffdc!important;color:#9991FC!important;border-radius:50%!important;z-index:2}
.v29-wish-menu svg{width:22px;height:22px}.v11-pet-card[data-v29-pet]{cursor:pointer}
/* Pet scopes share Home geometry in the calendar and every other view. */
.t-scope button,.v10-home-header .top .t-scope button,#modal .t-scope button{height:44px!important;min-height:44px!important;padding:2px 14px 0!important;line-height:20px!important;font-size:14px!important;border-radius:999px!important;box-sizing:border-box}
/* Medication scheduling: quiet reminder control and primary-first actions. */
#t-med-schedule>.formfield:has(input[name="timezone"]){display:none}
#t-med-schedule .modalactions{display:flex;flex-direction:column-reverse;gap:10px}
#t-med-schedule .modalactions>button{width:100%;min-height:48px;font-size:16px;line-height:20px}
#t-med-schedule [data-t-action="med-back"]{background:#ffffffc9!important;color:#7540d5!important;border:1px solid white!important}
#t-med-schedule .v5-reminders{background:none!important;border:0!important;padding:0!important;margin:20px 0!important;gap:16px}
#t-med-schedule .v5-reminders>.v5-switch{min-height:48px;padding:12px;border:1px solid #e2d8ee;border-radius:16px;background:#ffffffb8;font-size:14px!important;box-sizing:border-box}
.v28-folder-tile>.v8-folder{display:flex!important;flex-direction:column;align-items:center;gap:8px;padding:4px;min-width:0;width:100%}
.v28-folder-tile .v8-folder-preview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:10px;width:92px!important;height:92px!important;max-width:100%;min-height:0;aspect-ratio:1;border-radius:20px!important;background:color-mix(in srgb,var(--folder-color,#9991FC) 25%,white)!important;box-sizing:border-box}
.v28-folder-tile .v8-folder-preview i{display:block;min-width:0;border-radius:5px;background:color-mix(in srgb,var(--folder-color,#9991FC) 55%,white)}
.v28-folder-tile .v8-folder-preview i.has-note{background:white!important}
.v28-folder-tile.v8-folder-drop .v8-folder-preview{outline:2px solid #9991FC;outline-offset:3px}
#modal :is(.modalactions,.care-secondary-actions,.check-detail-actions){display:flex;flex-direction:column;gap:10px}
#modal :is(.modalactions,.care-secondary-actions,.check-detail-actions)>.primary{order:-1}
#t-med-schedule .modalactions{flex-direction:column}
.t-settings>[data-t-action="timezone"]{display:none!important}
.v45-share-description{margin:12px 0 24px;line-height:1.5}
#v18-invite-draft{display:flex;flex-direction:column;gap:20px}
#v18-invite-draft .formfield{margin:0}
@media(max-width:760px){
.bottom{position:fixed!important;left:8px!important;right:auto!important;width:calc(100% - 16px)!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;justify-items:stretch!important;transform:none!important}
.bottom button,.bottom button.active{width:100%!important;min-width:0!important;max-width:none!important;height:54px!important;min-height:54px!important;box-sizing:border-box;flex:1 1 0}
.bottom button .icon,.bottom button.active .icon{width:42px!important;height:30px!important;padding:4px 10px!important;box-sizing:border-box!important;border:1px solid transparent;border-radius:999px}
}
.v9-folder-tile .v8-folder-preview,.v14-folder-tile .v8-folder-preview,.v28-folder-tile .v8-folder-preview{background:var(--folder-color,#9991FC)!important}
.v9-folder-tile .v8-folder-preview i,.v14-folder-tile .v8-folder-preview i,.v28-folder-tile .v8-folder-preview i{background:#ffffff40}
.v8-folder-preview i.has-note{background:white!important}
@media(max-width:760px){.bottom{width:calc(100vw - 16px)!important}}

/* Secondary controls: compact visual frame, consistent circular geometry. */
:root{--secondary-icon-size:32px;--secondary-glyph-size:16px}
.v9-folder-edit{width:var(--secondary-icon-size)!important;height:var(--secondary-icon-size)!important;min-width:var(--secondary-icon-size)!important;max-width:var(--secondary-icon-size)!important;min-height:var(--secondary-icon-size)!important;max-height:var(--secondary-icon-size)!important;flex-basis:var(--secondary-icon-size)!important;padding:8px!important}
.v9-folder-edit>.icon{width:var(--secondary-glyph-size)!important;height:var(--secondary-glyph-size)!important}
.care-shop-grid{align-items:stretch}
.care-shop-grid>.care-shop-card{height:100%;min-width:0}
.care-shop-grid .care-shop-body{display:flex;flex-direction:column;gap:10px;flex:1}
.care-shop-grid .care-shop-body>strong{line-height:1.25;min-height:2.5em;max-height:2.5em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.care-shop-grid .care-shop-body>p{line-height:1.4;height:2.8em;min-height:2.8em;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.care-shop-grid .care-shop-body>.care-shop-buy,.care-shop-grid .care-shop-body>.care-shop-again{margin-top:auto}

.care-shop-grid{grid-auto-rows:1fr}

.formfield[hidden]{display:none!important}
.document-trash{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.document-trash>summary{grid-column:1/-1}
.document-trash:not([open])>.v46-trash-card{display:none!important}
.v46-trash-card{display:flex!important;flex-direction:column;gap:12px;min-height:220px;text-align:left;padding:18px!important;box-sizing:border-box;min-width:0}
.v46-trash-card>strong{font-size:18px;line-height:1.25}
.v46-trash-card>p{font-size:14px;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.v46-trash-card>button{margin-top:auto;min-height:44px}

.v11-pet-card .t-facts{grid-template-columns:minmax(130px,1.5fr) minmax(65px,1fr) minmax(45px,.8fr)!important;gap:12px!important}.v11-pet-card .t-facts>div:first-child{white-space:nowrap}

.v9-remove-pet{display:none!important}

[data-v9-remove-pet],.page>[data-action="remove-pet"]{display:none!important}

[data-v5-reminder-settings]{display:none!important}

.v46-trash-card>button{white-space:nowrap;word-break:normal;overflow-wrap:normal;padding-inline:12px!important}

#v9-folder-form [data-v9-folder-delete],#v14-folder-form [data-v14-folder-delete],#v28-folder-form [data-v28-folder-delete],#v8-folder-form [data-v8-folder-delete]{display:none!important}
