/* Approved pet-card composition: Figma proportions, Taily glass and 24px corners. */
.v76-pets .v72-pet-rail{gap:12px;padding:0 0 4px;scroll-snap-type:x proximity;align-items:stretch}
.v76-pets .v72-pet-choice.v76-pet-card{position:relative;display:block;flex:0 0 calc((100% - 12px)/2);width:calc((100% - 12px)/2);height:auto;min-height:0;aspect-ratio:339/405;padding:0!important;border:1.5px solid #fffffff0!important;border-radius:24px!important;overflow:hidden;isolation:isolate;text-align:left;background:var(--pet-bg)!important;color:var(--pet-ink)!important;box-shadow:inset 0 0 0 1px #ffffff38!important;scroll-snap-align:start;transition:box-shadow .2s ease}
.v76-pets .v72-pet-choice.v76-pet-card.is-selected{box-shadow:inset 0 0 0 1px #ffffff70!important}
.v76-pets .v76-single>.v76-pet-card{flex-basis:100%;width:100%;aspect-ratio:695/405}
.v76-pet-card .v76-pet-image{position:absolute;inset:auto -10% 0 auto;width:108%;height:104%;max-width:none;object-fit:contain;object-position:bottom right;pointer-events:none;transform:none;margin:0!important;border:0;border-radius:0}
.v76-pet-card.is-wide .v76-pet-image{width:68%;right:-3%;height:114%}
.v76-pet-card .v76-pet-image.is-original{width:100%;height:100%;right:0;object-fit:cover;opacity:.9}
.v76-pet-caption{position:absolute;left:16px;right:12px;bottom:16px;z-index:2;display:flex;align-items:flex-start;flex-direction:column;gap:5px;pointer-events:none}
.v76-pet-caption>strong{color:var(--pet-ink)!important;font-size:24px!important;line-height:1.03!important;letter-spacing:-.025em;font-weight:700;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 8px #ffffff25}
.v76-pet-card.is-wide .v76-pet-caption>strong{font-size:36px!important}
.v76-pet-caption>small{display:block;max-width:100%;padding:5px 9px;border-radius:100px;background:#21192c99;color:white!important;font-size:12px;line-height:17px;font-weight:300;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.v76-pet-check{position:absolute;left:16px;top:16px;z-index:3;box-sizing:border-box;display:grid;place-items:center;width:28px;height:28px;min-width:28px;border-radius:50%;border:1px solid #ffffffb0;background:#ffffff80;color:var(--pet-tick)}
.v76-pet-card[aria-checked=true]>.v76-pet-check{background:var(--pet-check);border-color:var(--pet-check)}
.v76-pet-check>.icon{display:block;width:20px;height:20px;stroke-width:2.6;margin:0;transform:none}
.v76-pet-card:focus-visible{outline:2px solid #6334cf!important;outline-offset:2px}
.v76-group-images{position:absolute;inset:0;overflow:hidden}
.v76-group-images>.v76-pet-image{height:90%;width:90%;right:-8%;bottom:0}
.v76-group-images>.v76-pet-image:nth-child(2){height:73%;width:75%;right:35%;bottom:3%;filter:drop-shadow(0 2px 6px #27203320)}
.v76-group-images>.v76-pet-image:nth-child(3){height:58%;width:65%;right:-15%;bottom:0}
.v76-all .v76-pet-caption>strong{font-size:22px!important;white-space:normal;max-width:145px}
.v76-sticky-calendar{position:sticky;top:0;z-index:8;margin:0 0 16px;padding:8px 0 0;background:transparent;border-radius:0}
.v76-sticky-calendar>.sectionhead{display:flex;align-items:center;gap:8px;margin:0 0 8px!important;min-width:0}
.v76-sticky-calendar>.sectionhead>h2{margin:0;font-size:23px;line-height:29px;white-space:nowrap;flex:none}
.v76-sticky-calendar .v72-calendar-open{margin-left:auto;width:32px;min-width:32px;padding:6px;display:grid;place-items:center}
.v76-mini-pets{display:flex;align-items:center;gap:6px;min-width:0;max-width:0;opacity:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;pointer-events:none;transform:translateY(5px);transition:opacity .24s ease,transform .24s ease,max-width .24s ease;mask-image:linear-gradient(to right,#000 calc(100% - 10px),transparent)}
.v76-mini-pets::-webkit-scrollbar{display:none}
.is-stuck .v76-mini-pets{max-width:100%;opacity:1;pointer-events:auto;transform:none}
.v76-mini-pets>button{position:relative;box-sizing:border-box;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:0;border-radius:50%;display:grid;place-items:center;border:1.5px solid #ffffffc0;background:#e6ddf7;color:#685778}
.v76-mini-pets>button[aria-pressed=true]{border-color:var(--button-purple);background:#ded0ff}
.v76-mini-pets .t-avatar{width:26px!important;height:26px!important;min-width:26px;border-radius:50%;object-fit:cover;margin:0!important}
.v76-mini-pets .icon{width:19px;height:19px;margin:0}
.v72-home .v76-sticky-calendar .v5-date-strip>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;background:transparent!important;color:#30263e!important;border-radius:0!important;min-height:76px!important;padding:4px 0!important}
.v72-home .v76-sticky-calendar .v5-date-strip>button>span{display:grid;place-items:center;box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;border-radius:50%;padding:0!important;margin:0!important;line-height:36px!important;font-size:18px}
.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected>span{background:var(--button-purple)!important;color:#fff!important}
.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected>small{background:transparent!important;color:#7848da!important}
.v72-home .v76-sticky-calendar .v5-date-strip>button>i{background:transparent!important;color:var(--button-purple)!important}
.v76-photo-status{display:block;margin-top:8px;color:#71667e}
@media(min-width:761px){.v76-pets .v76-pet-card{max-width:230px}.v76-pets .v76-single>.v76-pet-card{max-width:none}.v76-pet-caption>strong{font-size:30px!important}.v76-pet-card.is-wide .v76-pet-caption>strong{font-size:48px!important}.v76-pet-caption>small{font-size:14px}.v76-pet-check{width:34px;height:34px}.v76-pet-check>.icon{width:24px;height:24px}}
@media(max-width:360px){.v76-pet-caption{left:12px;bottom:12px}.v76-pet-caption>strong{font-size:21px!important}.v76-pet-caption>small{font-size:11px;padding-inline:7px}.v76-sticky-calendar>.sectionhead>h2{font-size:21px}.v76-mini-pets>button{width:27px;height:27px;flex-basis:27px}}
@media(prefers-reduced-motion:reduce){.v76-mini-pets{transition:none}}

.v76-sticky-calendar.is-stuck{background:linear-gradient(180deg,#ded6f9f5 0%,#e7e0fbf5 88%,#eee8fc00 100%);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
/* Reference week: 84px high, day column selection, horizontal date scrolling retained. */
.v76-pets .sectionhead>h1{font-size:var(--section-heading-size,23px);line-height:var(--section-heading-line,29px);letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.v76-sticky-calendar:not(.is-stuck)>.sectionhead{max-height:0;min-height:0;overflow:hidden;opacity:0;margin:0!important;pointer-events:none}
.v76-sticky-calendar.is-stuck>.sectionhead{max-height:56px;min-height:44px;opacity:1;pointer-events:auto}
.v76-sticky-calendar>.sectionhead{transition:opacity .35s cubic-bezier(.16,1,.3,1),max-height .35s cubic-bezier(.16,1,.3,1)}
.v76-sticky-calendar>.sectionhead>h2{font-size:22px;line-height:28px}
.v76-sticky-calendar .v76-mini-pets{margin-left:auto;gap:0;min-height:44px}
.v76-mini-pets>button{flex-basis:44px;width:44px;height:44px;min-height:44px;border:0;background:transparent!important;box-shadow:none;padding:6px}
.v76-mini-pets>button::before{content:'';position:absolute;inset:5px;border-radius:50%;border:2px solid transparent}
.v76-mini-pets>button[aria-pressed=true]::before{border-color:var(--button-purple)}
.v76-mini-pets .t-avatar{width:30px!important;height:30px!important;min-width:30px}
.v76-mini-pets .icon{width:24px;height:24px}
.v72-home .v76-sticky-calendar .v5-date-strip>button{min-height:84px!important;height:84px!important;border-radius:22px!important;font-size:13px;gap:5px}
.v72-home .v76-sticky-calendar .v5-date-strip>button>span{font-size:22px!important;font-weight:700;width:auto;height:auto;min-width:0;min-height:0;line-height:28px!important;background:transparent!important;border-radius:0}
.v72-home .v76-sticky-calendar .v5-date-strip>button>small{font-size:13px!important;line-height:17px;color:#71667e}
.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected{background:var(--button-purple)!important;color:#fff!important}
.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected>span,.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected>small,.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected>i{color:#fff!important;background:transparent!important}
.v76-pet-card.is-wide .v76-pet-image{height:100%;width:65%;right:0}
.v76-day-complete{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:#d6e638;color:var(--icon-purple);margin-left:4px}
.v76-day-complete>.icon{width:17px;height:17px;stroke-width:2.3}
.v72-progress>div:first-child>strong{margin-left:auto}.v72-progress.is-complete i{background:#7442d9}
body>.bottom{display:flex!important;align-items:center!important;justify-content:space-around!important;gap:4px!important;box-sizing:border-box;min-height:80px!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;width:calc(100% - 16px)!important;max-width:720px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:8px!important;border-radius:28px!important;background:#ffffffdf!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.bottom>.v76-nav-item,.sidebar nav>.v76-nav-item{box-sizing:border-box;position:relative;display:grid!important;place-items:center!important;flex:none!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#f0eafa!important;color:#71627f!important}
.bottom>.v76-nav-item>.icon,.sidebar nav>.v76-nav-item>.icon{display:block;width:25px!important;height:25px!important;margin:0!important;transform:none!important;stroke-width:1.8}
.bottom>.v76-nav-item.active,.sidebar nav>.v76-nav-item.active{background:#e5d9ff!important;color:var(--icon-purple)!important}
.bottom>.v76-nav-create,.sidebar nav>.v76-nav-create{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;background:var(--primary-action-bg)!important;color:white!important;box-shadow:0 5px 14px #6334cf25!important}
.bottom>.v76-nav-create>.icon,.sidebar nav>.v76-nav-create>.icon{width:29px!important;height:29px!important}
.v76-nav-item:focus-visible,.v76-mini-pets>button:focus-visible{outline:2px solid #6334cf!important;outline-offset:3px!important}
.v76-pet-caption>small{background:#21192cb3!important;font-size:12px!important;line-height:18px!important}
@media(max-width:360px){.bottom>.v76-nav-item{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}.bottom>.v76-nav-create{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important}.v76-mini-pets>button{width:44px;height:44px;flex-basis:44px}.v76-pets .sectionhead>h1,.calendar-tab-heading>h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.v76-sticky-calendar>.sectionhead,.v76-mini-pets{transition:none!important}}
@media(prefers-reduced-transparency:reduce){.v76-sticky-calendar.is-stuck{background:#e8e1fa}.bottom{background:#faf7ff!important}}
@media(min-width:761px){body>.bottom{max-width:420px!important;left:calc(50% + 100px)!important}.sidebar nav{display:flex;flex-direction:column;align-items:flex-start;gap:12px}}
/* Explicitly override the retired three-column navigation's active-item rules. */
body>.bottom>button.v76-nav-item,body>.bottom>button.v76-nav-item.active{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;flex:0 0 48px!important;transition:background-color .28s ease,color .28s ease}
body>.bottom>button.v76-nav-create{width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;max-width:56px!important;flex-basis:56px!important}
body>.bottom>button.v76-nav-item>.icon,body>.bottom>button.v76-nav-item.active>.icon{width:25px!important;height:25px!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:inherit!important}
body>.bottom>button.v76-nav-create>.icon{width:29px!important;height:29px!important}
.v72-home .v76-sticky-calendar .v5-date-strip>button{min-width:44px!important;flex-basis:max(44px,calc(100% / 7))!important}
@media(max-width:360px){body>.bottom>button.v76-nav-item,body>.bottom>button.v76-nav-item.active{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;flex-basis:44px!important}body>.bottom>button.v76-nav-create{width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;max-width:52px!important;flex-basis:52px!important}}
@media(prefers-reduced-motion:reduce){body>.bottom>button.v76-nav-item{transition:none}}
/* 44px hit regions without enlarging approved visible secondary frames. */
:where(.pageheading,.modalhead,.monthtitle,.t-arrows) .iconbutton,:where(.t-scope,.v8-care-tabs,.tabs)>button{position:relative}
:where(.pageheading,.modalhead,.monthtitle,.t-arrows) .iconbutton::after,:where(.t-scope,.v8-care-tabs,.tabs)>button::after{content:'';position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%);background:transparent;border:0;pointer-events:auto}
.t-scope,.v8-care-tabs{padding-top:5px!important;padding-bottom:5px!important}
body>.bottom{position:fixed!important;z-index:40!important}
/* Contrast on the tinted home background; selected small type also clears 4.5:1. */
.v72-home .v76-sticky-calendar .v5-date-strip>button>small,.v72-home .v72-progress>div:first-child{color:#5e506e!important}
.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected{background:var(--button-purple)!important}
.v72-home .v76-sticky-calendar .v5-date-strip>button.v5-selected>small{color:#fff!important}

#modal.taily-dialog--fullscreen:has(.v76-create-picker, #event-form.taily-event-wizard):not(.v76-create-heading-past) > .modalhead h2 {
  visibility: hidden;
}

.v76-create-picker {
  padding-top: clamp(8px, 3dvh, 24px);
}

#modal .v76-create-picker > h3 {
  margin: 0 0 20px;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.15;
  text-align: center;
}
