
 html:root body #content.avCompactSession>.avRefinedSessionActions{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important}
 html:root body #content.avCompactSession>.avRefinedSessionActions>[data-action=save][hidden]{display:none!important}
 html:root body #content.avCompactSession>.avRefinedSessionActions>[data-action=finish]{flex:none!important;width:100%!important;max-width:440px!important;margin:0!important}
 html:root body #content.avCompactSession>.avRefinedSessionActions>[data-action=save]{flex:none!important;width:auto!important;min-height:44px!important;margin:0!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"title title" "progress clock";align-items:center!important;gap:6px 12px!important;position:relative;isolation:isolate;padding:12px 16px!important;margin:12px 0!important;min-height:0!important;background:var(--av-subtle-card)!important;border:1px solid rgba(194,255,69,.22)!important;border-radius:20px!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 10px 20px -14px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.045)!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead::before{content:'';position:absolute;inset:-1px;padding:1.4px;border-radius:inherit;pointer-events:none;background:conic-gradient(from var(--av-today-angle),transparent 0deg,transparent 215deg,rgba(194,255,69,.12) 255deg,#c2ff45 295deg,rgba(224,255,173,.9) 310deg,transparent 340deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:avTodayBorder 7s linear infinite}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avLiveTitle{grid-area:title!important;padding:0!important;min-width:0}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avLiveTitle>.avGoodBack{width:36px!important;height:44px!important;min-width:36px!important;min-height:44px!important;padding:8px!important;top:-7px!important;left:-8px!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avLiveTitle>.avGoodBack svg{width:20px!important;height:20px!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avLiveTitle>.eyebrow{padding-left:32px!important;min-height:30px!important;margin:0!important;font:600 12px/1.3 Inter,sans-serif!important;letter-spacing:.035em!important;color:#c2ff45!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead h2{font-size:22px!important;line-height:1.2!important;margin:3px 0 0!important;overflow-wrap:anywhere}
 html:root body #content.avCompactSession>.avRefinedSessionHead>#progress{grid-area:progress;font:400 12px/1.35 Inter,sans-serif!important;color:var(--av-subtle-muted,#bcc5be);margin:0!important;min-width:0}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avCompactClock{grid-area:clock!important;display:flex!important;flex-direction:row!important;gap:2px!important;align-items:center!important;align-self:center!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;min-width:0;width:auto!important;box-shadow:none!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avCompactClock>div{display:block!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead #avWorkoutClock{display:block;font:650 22px/1.2 Inter,sans-serif!important;letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-right:6px;color:#edf1ee}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avCompactClock>button{position:static!important;display:grid!important;place-items:center;flex:none;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:10px!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:12px!important;color:#c2ff45!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avCompactClock>button[data-compact=cancel]{color:#bcc5be!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avCompactClock>button:hover{background:rgba(255,255,255,.06)!important}
 html:root body #content.avCompactSession>.avRefinedSessionHead .avCompactClock>button svg{width:20px;height:20px}
 html:root body #content.avCompactSession .avRefinedExercise{padding:14px!important;background:var(--av-subtle-card)!important}
 html:root body #content.avCompactSession .avRefinedExercise .exerciseHeader{align-items:center!important;gap:8px!important}
 html:root body #content.avCompactSession .avRefinedExercise .exerciseHeader>div{flex:1;min-width:0}
 html:root body #content.avCompactSession .avRefinedExercise .exerciseHeader .exerciseTitle{width:100%;text-align:left;justify-content:flex-start!important}
 html:root body #content.avCompactSession .avRefinedExercise .exerciseHeader>.avRefinedFold{display:grid!important;place-items:center;flex:none;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0 -8px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#9ca8ad!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedFold svg,html:root body #content.avCompactSession .avCompactChevron svg{display:block!important;width:20px!important;height:20px!important;stroke-width:1.8!important;transform:rotate(-90deg)!important}
 html:root body #content.avCompactSession .avRefinedExercise.avRefinedCollapsed .avRefinedFold svg,html:root body #content.avCompactSession .avCompactBlock:not([open])>summary>.avCompactChevron svg{transform:rotate(90deg)!important}
 html:root body #content.avCompactSession .avCompactBlock>summary>.avCompactChevron{display:grid!important;place-items:center;flex:none;width:44px!important;height:44px!important;margin:0 -8px 0 auto!important;padding:0!important;transform:none!important;font-size:0!important;color:#9ca8ad!important}
 html:root body #content.avCompactSession .avRefinedExercise.avRefinedCollapsed>:not(.exerciseHeader){display:none!important}
 html:root body #content.avCompactSession .avRefinedExercise.avRefinedCollapsed .exerciseNumber{display:none!important}
 html:root body #content.avCompactSession .avRefinedExercise.avRefinedCollapsed .exerciseHeader{margin:0!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedFold:focus-visible{outline:2px solid #c2ff45;outline-offset:1px;border-radius:8px}
 html:root body #content.avCompactSession .avRefinedExercise .set{display:grid!important;grid-template-columns:24px minmax(44px,1fr) minmax(44px,1fr) 44px minmax(70px,92px)!important;gap:6px!important;align-items:center!important;margin:0!important;padding:0!important;min-width:0}
 html:root body #content.avCompactSession .avRefinedExercise .set.labels{margin:14px 0 4px!important;font:500 10px/1.3 Inter,sans-serif!important;letter-spacing:0!important;text-transform:uppercase;text-align:center}
 html:root body #content.avCompactSession .avRefinedExercise .set.labels>span{font-size:10px!important;min-width:0;overflow-wrap:anywhere}
 html:root body #content.avCompactSession .avRefinedExercise .set.labels>span:first-child{text-transform:none!important;white-space:nowrap}
 html:root body #content.avCompactSession .avRefinedExercise .seriesRow{padding:4px 0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html:root body #content.avCompactSession .avRefinedExercise .set>span{font-size:13px;text-align:center}
 html:root body #content.avCompactSession .avRefinedExercise .set input[type=number]{box-sizing:border-box;width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:0!important;text-align:center;font:500 16px/44px Inter,sans-serif!important;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}
 html:root body #content.avCompactSession .avRefinedExercise .set input[type=number]::-webkit-inner-spin-button,html:root body #content.avCompactSession .avRefinedExercise .set input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
 html:root body #content.avCompactSession .avRefinedExercise .set input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;margin:0!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:8px!important;background:linear-gradient(125deg,rgba(255,255,255,.035),transparent 65%),rgba(24,27,24,.75)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;cursor:pointer}
 html:root body #content.avCompactSession .avRefinedExercise .set input[type=checkbox]:checked{border-color:rgba(194,255,69,.6)!important;background:rgba(24,27,24,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4.5 4.5L19 7' fill='none' stroke='%23c2ff45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat!important}
 html:root body #content.avCompactSession .avRefinedExercise .set input[type=checkbox]:focus-visible{outline:2px solid #c2ff45;outline-offset:3px}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest{display:flex!important;align-items:center!important;gap:0!important;min-width:0!important;width:100%!important;min-height:44px!important;height:44px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestAction{display:flex!important;flex:1;min-width:0!important;width:100%;height:44px!important;min-height:44px!important;gap:4px!important;padding:4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#c2ff45!important;font:600 14px/1.2 Inter,sans-serif!important;font-variant-numeric:tabular-nums;text-decoration:none!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestAction{justify-content:center!important;align-items:center!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestAction svg{width:15px;height:15px;flex:none;color:#c2ff45}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestSeconds{white-space:nowrap}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestAction:disabled{color:#9aa39d!important;border-color:rgba(255,255,255,.12)!important;background:transparent!important;opacity:.6}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest[data-rest-state=paused] .avRestAction{opacity:.65;text-decoration:underline!important;text-underline-offset:4px}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestCancel{display:grid!important;place-items:center;flex:none;width:24px!important;min-width:24px!important;height:44px!important;min-height:44px!important;padding:3px!important;border:0!important;background:transparent!important;color:#bcc5be!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestCancel svg{width:14px;height:14px}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest .avRestCancel[hidden],html:root body #content.avCompactSession .avRefinedExercise .avRestActionText{display:none!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest:has(.avRestCancel:not([hidden])) .avRestAction svg{width:12px;height:12px}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedRest:has(.avRestCancel:not([hidden])) .avRestAction{gap:2px!important;padding:0!important;font-size:12px!important}
 html:root body #content.avCompactSession .avRefinedExercise .macroHint{display:none!important}
 html:root body #content.avCompactSession .avRefinedExercise .avWorkoutExerciseExtra{display:block!important;margin:12px 0 0!important;padding:6px 0 0!important;border-top:1px solid rgba(255,255,255,.1)!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedExerciseTools{display:grid;grid-template-columns:.9fr 1.2fr 1.1fr;align-items:center;gap:6px}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedExerciseTools>.avRefinedTool{display:flex!important;align-items:center;justify-content:center;gap:5px!important;min-width:0;min-height:44px!important;padding:4px 0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#edf1ee!important;font:500 12px/1.3 Inter,sans-serif!important;text-decoration:none!important;white-space:nowrap;text-align:center;width:100%}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedExerciseTools>.avRefinedTool:first-child{justify-content:flex-start}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedExerciseTools>.avRefinedTool:last-child{justify-content:flex-end}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedTool svg{width:16px;height:16px;flex:none;color:#c2ff45}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedTool[aria-expanded=true]{color:#c2ff45!important}
 html:root body #content.avCompactSession .avRefinedExercise .avWorkoutExerciseExtra>.avRefinedExtraPanel{margin:0!important;padding:0!important}
 html:root body #content.avCompactSession .avRefinedExercise .avWorkoutExerciseExtra>.avRefinedExtraPanel[open]{padding:6px 0 10px!important}
 html:root body #content.avCompactSession .avRefinedExercise .avWorkoutExerciseExtra>.avRefinedExtraPanel>summary{display:none!important}
 html:root body #content.avCompactSession .avRefinedExercise .avWorkoutExerciseExtra>.avRefinedMedia[open]{padding:0!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedMedia>input[hidden],html:root body #content.avCompactSession .avRefinedExercise .avRefinedMedia>button[hidden],html:root body #content.avCompactSession .avRefinedExercise .avRefinedMedia>progress[hidden],html:root body #content.avCompactSession .avRefinedExercise .avRefinedMedia>[data-upload-status]:empty,html:root body #content.avCompactSession .avRefinedExercise .avRefinedMedia>.avWorkoutFiles:empty{display:none!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedMedia>[data-upload-status]{font-size:12px;margin:4px 0!important}
 html:root body #content.avCompactSession .avRefinedExercise .avRefinedTool:disabled{opacity:.55;cursor:wait}
 @media(max-width:359px){html:root body #content.avCompactSession .avRefinedExercise .avRefinedExerciseTools{gap:3px}html:root body #content.avCompactSession .avRefinedExercise .avRefinedExerciseTools>.avRefinedTool{font-size:11px!important;gap:4px!important}html:root body #content.avCompactSession .avRefinedExercise .avRefinedTool svg{width:14px;height:14px}}
 @media(max-width:359px){html:root body #content.avCompactSession .avRefinedExercise{padding:10px!important}html:root body #content.avCompactSession .avRefinedExercise .set{gap:4px!important;grid-template-columns:20px minmax(40px,1fr) minmax(40px,1fr) 44px 70px!important}html:root body #content.avCompactSession>.avRefinedSessionHead{padding:12px!important;gap:6px!important}html:root body #content.avCompactSession>.avRefinedSessionHead #avWorkoutClock{font-size:20px!important;margin-right:0}html:root body #content.avCompactSession>.avRefinedSessionHead>#progress{font-size:11px!important}}
 @media(prefers-reduced-motion:reduce){html:root body #content.avCompactSession>.avRefinedSessionHead::before{animation:none!important}}
 

html:root body #content .intervalPanel{
 position:relative;isolation:isolate;
 border:1px solid rgba(255,255,255,.16);
 background:var(--av-subtle-card,linear-gradient(125deg,rgba(255,255,255,.045),transparent 65%),rgba(24,27,24,.60));
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
 box-shadow:0 10px 20px -14px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.045);
}
html:root body #content .intervalPanel:has(.intervalDial:not(.finished)){border-color:rgba(194,255,69,.22)}
html:root body #content .intervalPanel:has(.intervalDial:not(.finished))::before{
 content:'';position:absolute;inset:-1px;padding:1.4px;border-radius:inherit;pointer-events:none;
 background:conic-gradient(from var(--av-today-angle),transparent 0deg,transparent 215deg,rgba(194,255,69,.12) 255deg,#c2ff45 295deg,rgba(224,255,173,.9) 310deg,transparent 340deg);
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
 animation:avTodayBorder 7s linear infinite;
}
.intervalDial.work>strong,.intervalDial.amrap>strong,.intervalDial.work>span,.intervalDial.amrap>span,.dial[data-kind="work"] .clock,.dial[data-kind="amrap"] .clock,.dial[data-kind="work"] .phase,.dial[data-kind="amrap"] .phase{color:#c2ff45;opacity:1}
html:root body #content .intervalPanel .avIntervalHint{margin:2px 0 0;text-align:center}
@media(prefers-reduced-motion:reduce){html:root body #content .intervalPanel::before{animation:none!important}}
.intervalDial.rest>strong,.intervalDial.roundRest>strong,.intervalDial.rest>span,.intervalDial.roundRest>span,.dial[data-kind="rest"] .clock,.dial[data-kind="roundRest"] .clock,.dial[data-kind="rest"] .phase,.dial[data-kind="roundRest"] .phase{color:#ef767a;opacity:1}

/* Oct 26: compact schedule and tablet/desktop staff layout. */
.avEditorSchedule{margin-top:16px}
.avEditorSchedule>summary{display:flex;flex-direction:column;align-items:flex-start;gap:6px;list-style:none;cursor:pointer;font-weight:600}
.avEditorSchedule>summary::-webkit-details-marker{display:none}
.avScheduleToggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;box-sizing:border-box}
.avScheduleToggle svg{width:24px;height:24px}
.avEditorSchedule:not([open])>#avProgramSchedule{display:none}
.avEditorSchedule>#avProgramSchedule{max-width:420px;margin-top:12px}
#avBlockIntervalForm [hidden]{display:none!important}
.avDurationEstimate{font-variant-numeric:tabular-nums}
@media(min-width:701px){
 html:root body.athvCoach:not(.avStandaloneChat) #nav#nav{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:calc(100vw - 32px)!important;gap:4px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important}
 html:root body.athvCoach #nav#nav button{flex:0 1 96px!important;min-width:60px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
 html:root body.athvCoach #content #avCalendarHome .avCalendarAssigned{display:flex!important;flex-direction:column!important;align-items:center!important;width:100%!important}
 html:root body.athvCoach #content #avCalendarHome .avCalendarAssigned>.avCalendarCard{width:100%!important;max-width:680px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
}

.avScheduleAccess{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;font-weight:600;flex-shrink:0}
html:root body #content .avProgramScheduleIcon{width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
html:root body #content .avProgramScheduleIcon svg{width:24px!important;height:24px!important;flex:none!important}

/* Athlete day cards: one centered column on tablet/desktop only. */
@media(min-width:701px){
 html:root body.studentApp:not(.athvCoach) #content #avCalendarHome .avCalendarAssigned{display:flex!important;flex-direction:column!important;align-items:center!important;width:100%!important}
 html:root body.studentApp:not(.athvCoach) #content #avCalendarHome .avCalendarAssigned>.avCalendarCard{width:100%!important;max-width:680px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
}

/* History: permanent exercise progress, compact and searchable completed list. */
html:root body #content.avHistoryModern>.avHistoryProgress{padding:16px!important}
html:root body #content.avHistoryModern .avHistoryProgress>h2{display:flex;align-items:center;gap:10px;font:500 15px/1.4 Inter,sans-serif!important;margin:0 0 14px!important}
html:root body #content.avHistoryModern>.avHistorySessions{padding:8px 16px!important}
html:root body #content.avHistoryModern .avHistorySearch{display:block;margin:0 0 12px;font:400 12px/1.4 Inter,sans-serif}
html:root body #content.avHistoryModern .avHistorySearch>span{display:block;margin-bottom:6px}
html:root body #content.avHistoryModern #avHistorySearch{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;font:400 14px/1.4 Inter,sans-serif}
html:root body #content.avHistoryModern .avHistorySessions>.avHistorySession{padding:10px 12px!important;margin:0 0 8px!important}
html:root body #content.avHistoryModern .avHistorySession>summary{gap:3px!important}
html:root body #content.avHistoryModern .avHistorySession>summary h3{font-size:14px!important}
html:root body #content.avHistoryModern .avHistorySession .avHistoryCaption{font-size:12px!important;margin-top:0!important}
html:root body #content.avHistoryModern .avHistoryMore{display:block;margin:12px auto 4px;min-height:44px}
html:root body #content.avHistoryModern .avHistorySessions>[hidden]{display:none!important}
/* Dedicated block execution. All rules are scoped to the new interval page. */
body.avIntervalOpen{overflow:hidden!important}
body.avIntervalOpen #nav{visibility:hidden;pointer-events:none}
.avIntervalPage{--av-interval-accent:#c2ff45;position:fixed;inset:0;z-index:2000;overflow:auto;overscroll-behavior:contain;color:#edf2e8;background:radial-gradient(ellipse at 10% 0,rgba(194,255,69,.055),transparent 55%),#0b0f0e;padding:max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));font-family:inherit}
.avIntervalPage[data-phase=rest]{--av-interval-accent:#ff6b6b}
.avIntervalPage button{font:inherit;cursor:pointer;min-height:44px;border:0}
.avIntervalPage button:focus-visible{outline:2px solid #c2ff45;outline-offset:3px}
.avIntervalPage button:disabled{opacity:.45;cursor:default}
.avIntervalBar{max-width:960px;margin:0 auto 24px;display:flex;align-items:center;gap:12px;min-height:44px;font-size:13px;color:#edf2e8}
.avIntervalBar>span{flex:1;line-height:1.3}
.avIntervalBar>button{background:transparent;color:#c2ff45;width:44px;flex:none;padding:10px;border:1px solid #ffffff15;border-radius:50%}
.avIntervalBar>button svg{width:22px;height:22px}
.avIntervalBar time{font-variant-numeric:tabular-nums;white-space:nowrap}
.avIntervalLayout{max-width:960px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;min-height:calc(100svh - 120px)}
.avIntervalMedia{height:min(60svh,480px);display:flex;align-items:center;justify-content:center;background:none;border:0;overflow:hidden}
.avIntervalMainPhoto{padding:0!important;background:none!important;display:block;width:100%;height:100%;border:0!important;border-radius:0!important}
.avIntervalMainPhoto img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:auto;border:0;border-radius:0;background:transparent}
.avIntervalNoPhoto{display:grid;place-items:center;min-height:44px;color:#a7aca9;font-size:11px}
.avIntervalProgress{display:flex;gap:7px;height:6px;margin:12px 0 0}
.avIntervalProgress>span{flex:1;min-width:0;background:#ffffff15;border-radius:8px;overflow:hidden}
.avIntervalProgress i{display:block;height:100%;background:#c2ff45;width:0;transition:width .15s linear;border-radius:inherit}
.avIntervalWork{min-width:0}
.avIntervalPage .eyebrow{font-size:11px;letter-spacing:1.5px;color:#c2ff45;margin:0;font-weight:700;text-transform:uppercase}
.avIntervalWork h1{font-size:clamp(28px,3.8vw,46px);font-weight:800;line-height:1.05;letter-spacing:-1px;text-transform:uppercase;margin:12px 0 18px;overflow-wrap:anywhere}
.avIntervalCounts{display:flex;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #ffffff15;font-size:12px;color:#edf2e8}
.avIntervalClock{text-align:center;padding:20px 0}
.avIntervalClock>span{font-size:11px;letter-spacing:1.8px;font-weight:700;color:var(--av-interval-accent);text-transform:uppercase;display:block}
.avIntervalClock>strong{font-size:clamp(66px,8vw,110px);font-weight:800;line-height:1.1;letter-spacing:-4px;display:block;color:var(--av-interval-accent);font-variant-numeric:tabular-nums;margin:4px 0}
.avIntervalClock>strong[hidden]{display:none}
.avIntervalClock>p{font-size:13px;margin:8px 0 0;color:#edf2e8}
.avIntervalNext{display:flex;gap:12px;align-items:center;padding:12px 0;border-block:1px solid #ffffff12;min-height:70px}
.avIntervalNext>div{min-width:0}
.avIntervalNext>div>span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#a7aca9}
.avIntervalExerciseName{appearance:none;-webkit-appearance:none;border:0!important;box-shadow:none!important;background:none!important;color:inherit;text-align:left;padding:4px 0!important;line-height:1.35;font-size:14px!important;min-width:0;overflow-wrap:anywhere}
.avIntervalThumb{width:56px;height:56px;flex:none;display:grid;place-items:center;padding:0!important;background:none!important;border-radius:0!important;overflow:hidden}
.avIntervalThumb img{width:100%;height:100%;object-fit:contain;display:block;border:0;border-radius:0;background:transparent}
.avIntervalControls{display:flex;align-items:center;justify-content:center;gap:14px;margin:14px 0 0}
.avIntervalControls button{background:transparent;color:#b8c1b5;font-size:11px;flex:1;max-width:130px;padding:8px;border-radius:8px}
.avIntervalControls [data-av-interval=toggle]{background:var(--av-interval-accent);color:#0b0f0e;font-weight:700;min-height:52px}
.avIntervalControls [data-av-interval=next]{color:#c2ff45}
.avIntervalFinish{display:block;min-height:44px;margin:6px auto 0;background:transparent;color:#a7aca9;text-decoration:underline;text-underline-offset:4px;font-size:11px!important}
.avIntervalPage [data-av-interval=round]{display:block;margin:8px auto 0;min-height:44px;font-size:12px}
.avIntervalDone{max-width:560px;margin:auto;min-height:calc(100svh - 60px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px}
.avIntervalDone h1{font-size:clamp(28px,5vw,44px);line-height:1.1;margin:0}
.avIntervalDone p{margin:0}
.avIntervalDone .primary{width:100%;margin-top:12px}
.avIntervalComplex{max-width:620px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:16px}
.avIntervalRoundHead{text-align:center}
.avIntervalRoundHead h1{font-size:30px;margin:8px 0 0;line-height:1.1}
.avIntervalSequence{display:grid;gap:8px;margin-top:20px}
.avIntervalSequence>div,.avIntervalOverview{background:var(--av-subtle-card,linear-gradient(125deg,rgba(255,255,255,.045),transparent 65%),rgba(24,27,24,.60));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid #ffffff12;border-radius:10px}
.avIntervalSequence>div,.avIntervalExerciseList>div{display:flex;align-items:center;gap:10px;padding:10px;min-width:0}
.avIntervalSequence b,.avIntervalExerciseList b{color:#c2ff45;font-size:11px;flex:none}
.avIntervalSequence .avIntervalExerciseName,.avIntervalExerciseList .avIntervalExerciseName{flex:1}
.avIntervalSequence strong{color:#c2ff45;font-size:26px;min-width:44px;text-align:center}
.avIntervalSequence strong small{display:block;font-size:10px;font-weight:500;color:#a7aca9}
.avIntervalComplex .avIntervalClock{min-height:86px;padding:18px 0}
.avIntervalComplex .avIntervalClock>strong{font-size:48px}
.avIntervalComplex .avIntervalClock>p{font-size:12px;color:#a7aca9}
.avIntervalComplex .avIntervalControls{display:grid;grid-template-columns:1fr;gap:6px;margin-top:0}
.avIntervalComplex .avIntervalControls [data-av-interval=next]{grid-row:1;width:100%;max-width:none;background:#c2ff45;color:#0b0f0e;min-height:48px;font-size:14px;font-weight:700}
.avIntervalComplex .avIntervalControls [data-av-interval=toggle]{background:none;color:#a7aca9;max-width:none;min-height:44px}
.avIntervalOverview{position:relative;isolation:isolate;padding:18px;margin:12px 0 18px}
.avIntervalOverview::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:radial-gradient(ellipse 48% 65% at 50% 100%,rgba(224,255,173,.9),#c2ff45 16%,rgba(194,255,69,.12) 65%,transparent);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor}
.avIntervalOverview h3{margin:8px 0 16px}
.avIntervalParameterCard{padding:12px 8px;margin-bottom:12px;background:var(--av-subtle-card,rgba(24,27,24,.6));border:1px solid #ffffff12;border-radius:10px}
.avIntervalParameters{display:flex;justify-content:center;gap:10px;text-align:center}
.avIntervalParameters>div{flex:1;min-width:0}
.avIntervalParameters strong{display:block;font-size:22px}
.avIntervalParameters span{display:block;font-size:10px;line-height:1.3;color:#a7aca9;margin-top:5px}
.avIntervalEquipment{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:14px}
.avIntervalEquipment>span{text-align:center;max-width:64px;font-size:10px}
.avIntervalEquipment svg{display:block;width:32px;height:32px;margin:0 auto 5px;padding:5px;background:var(--av-subtle-card,rgba(24,27,24,.6));border:1px solid #ffffff18;border-radius:8px}
.avIntervalEquipment small{display:block;font-size:9px;line-height:1.3}
.avIntervalExerciseList{display:grid;gap:6px;margin-bottom:16px}
.avIntervalExerciseList>div{background:var(--av-subtle-card,rgba(24,27,24,.6));border-radius:8px;border:1px solid #ffffff10}
.avIntervalExerciseList>div>span{font-size:11px;color:#c2ff45;max-width:65px;text-align:center}
.avIntervalExerciseList .avIntervalThumb{width:44px;height:44px}
.avIntervalOverview>.primary{width:100%}
@media(max-width:700px){
 .avIntervalPage{height:100svh;min-height:0;padding:max(8px,env(safe-area-inset-top)) 16px max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:column}
 .avIntervalBar{width:100%;margin:0 auto 8px;gap:8px;flex:none;min-height:44px;font-size:11px}
 .avIntervalLayout{width:100%;min-height:0;flex:1;grid-template-columns:1fr;grid-template-rows:minmax(90px,1fr) auto;gap:10px;align-items:stretch}
 .avIntervalVisual{min-height:0;display:flex;flex-direction:column;justify-content:center}
 .avIntervalMedia{height:calc(100% - 18px);max-height:33svh;min-height:60px;flex:0 1 auto}
 .avIntervalMainPhoto{height:100%}.avIntervalMainPhoto img{height:100%;width:auto;max-width:100%}
 .avIntervalProgress{flex:none;margin:8px 0 0;height:6px}
 .avIntervalWork h1{font-size:clamp(20px,5.7vw,27px);line-height:1.05;margin:6px 0 10px;letter-spacing:-.7px}
 .avIntervalPage .eyebrow{font-size:10px;letter-spacing:1.4px}
 .avIntervalCounts{padding-top:10px;font-size:11px}
 .avIntervalClock{padding:10px 0}.avIntervalClock>span{font-size:10px;letter-spacing:1.5px}.avIntervalClock>strong{font-size:64px;letter-spacing:-3px;line-height:1.05;margin:3px 0}.avIntervalClock>p{font-size:12px;margin-top:5px}
 .avIntervalNext{padding:8px 0;min-height:60px}.avIntervalNext .avIntervalThumb{width:44px;height:44px}.avIntervalNext .avIntervalExerciseName{font-size:12px!important}.avIntervalNext>div>span{font-size:9px}
 .avIntervalControls{margin-top:8px;gap:10px}.avIntervalControls [data-av-interval=toggle]{min-height:48px}.avIntervalControls button{font-size:10px;padding:5px}.avIntervalFinish{margin-top:0}
 .avIntervalComplex{display:flex;gap:8px;justify-content:center;flex:1}.avIntervalRoundHead h1{font-size:26px;margin-top:6px}.avIntervalSequence{margin-top:14px;gap:8px}.avIntervalSequence>div{padding:8px;gap:8px}.avIntervalSequence .avIntervalThumb{width:54px;height:54px}.avIntervalSequence .avIntervalExerciseName{font-size:12px!important}.avIntervalComplex .avIntervalClock{min-height:80px;padding:12px 0}.avIntervalComplex .avIntervalClock>strong{font-size:44px}.avIntervalComplex .avIntervalControls{margin-top:0}
 .avIntervalDone{min-height:0;flex:1}
}
@media(max-width:700px) and (max-height:650px){.avIntervalSequence .avIntervalThumb{width:44px;height:44px}.avIntervalSequence>div{padding:6px}.avIntervalSequence{gap:6px;margin-top:10px}.avIntervalComplex .avIntervalClock{min-height:70px;padding:8px 0}.avIntervalClock>strong{font-size:56px}}
/* iPhone corrections: interval execution lives in the browser top layer. */
html:root body dialog#avIntervalPage{position:fixed!important;inset:0!important;margin:0!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;min-height:0!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;transform:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;background:radial-gradient(ellipse at 10% 0,rgba(194,255,69,.055),transparent 55%),#0b0f0e!important;color:#edf2e8!important}
html:root body dialog#avIntervalPage::backdrop{background:#0b0f0e!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:root body dialog#avIntervalPage::before,html:root body dialog#avIntervalPage::after{display:none!important}
html:root body #avIntervalPage #avIntervalStatus{color:var(--av-interval-accent)!important}
html:root body #avIntervalPage[data-phase=done]{display:flex!important;align-items:center;justify-content:center}
html:root body #avIntervalPage .avIntervalDone{flex:1;min-height:0;width:100%;max-width:560px;align-self:stretch;justify-content:center;margin:auto}
html:root body #content .sessionExercise[data-av-interval-duplicate]{display:none!important}
html:root body #content .avIntervalOverview{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:radial-gradient(ellipse 48% 35% at 50% 110%,rgba(194,255,69,.08),transparent 80%),rgba(24,27,24,.60)!important;box-shadow:inset 0 -1px rgba(194,255,69,.55),0 10px 20px -14px rgba(0,0,0,.65)!important}
html:root body #content .avIntervalOverview::before,html:root body #content .avIntervalOverview::after{display:none!important}
html:root body #content .avIntervalExerciseList>div{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(24,27,24,.60)!important}
html:root body dialog img.exerciseMedia{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html:root body #content .avPreviewBlock{margin:18px 0;padding:16px;border:1px solid rgba(255,255,255,.16);border-radius:16px;background:var(--av-subtle-card,rgba(24,27,24,.6));box-shadow:0 10px 20px -14px rgba(0,0,0,.65)}
html:root body #content .avPreviewBlock>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;min-height:44px;color:#c2ff45}
html:root body #content .avPreviewBlock>summary::-webkit-details-marker{display:none}
html:root body #content .avPreviewBlock>summary h3{flex:1;margin:0;font-size:17px}
html:root body #content .avPreviewBlock .avCompactChevron{margin-left:auto;width:20px}
html:root body #content .avPreviewBlock[open]>summary .avCompactChevron{transform:rotate(90deg)}
html:root body #content .avPreviewBlock>.exercise{background:var(--av-subtle-card,rgba(24,27,24,.6));border:1px solid #ffffff15;border-radius:12px;padding:16px;margin:10px 0 0}
html:root body #content .avProgramDescription:has(.avRoutineDescription){padding:0;border:0;background:none;margin:14px 0}
html:root body #content .avRoutineDescription{width:100%;box-sizing:border-box;resize:vertical;min-height:90px;background:var(--av-subtle-card,rgba(24,27,24,.6));color:#edf2e8;border:1px solid #ffffff22;border-radius:12px;padding:14px;font:inherit;line-height:1.5}
html:root body #content .avRoutineDescription::placeholder{color:#a7aca9;opacity:1}

/* Interval controls: one finish action, compact header and phase-aware pause icon. */
html:root body #avIntervalPage .avIntervalBar{position:relative;top:7px;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:transparent!important;mask:none!important;-webkit-mask:none!important;opacity:1}
html:root body #avIntervalPage .avIntervalBar>button{display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:7px;border:0;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;position:relative}
html:root body #avIntervalPage .avIntervalBar>button::after{content:"";position:absolute;inset:-4px}
html:root body #avIntervalPage .avIntervalBar>button svg{width:20px;height:20px}
html:root body #avIntervalPage .avIntervalControls button{font-size:14px;min-height:44px;border:0}
html:root body #avIntervalPage #avIntervalToggle{display:grid;place-items:center;flex:0 0 52px;justify-self:center;width:52px;height:52px;min-height:52px;max-width:52px;border-radius:50%;padding:14px;background:#c2ff45!important;color:#0b0f0e!important;box-shadow:none}
html:root body #avIntervalPage[data-phase=rest] #avIntervalToggle{background:#ff6b6b!important}
html:root body #avIntervalPage #avIntervalToggle svg{display:block;width:24px;height:24px}
/* Client directory: Coach and Mother only, reusing existing brand surfaces. */
html:root body.athvCoach #content.avClientsDirectoryPage{max-width:760px;margin-inline:auto}
html:root body.athvCoach #content .avClientsTitle{font-size:34px!important;letter-spacing:-1px;line-height:1.15;margin:4px 0 24px!important}
html:root body.athvCoach #content .avClientsToolbar{display:flex;align-items:center;gap:8px;margin:0}
html:root body.athvCoach #content .avClientsSearch{display:flex;align-items:center;gap:10px;flex:1;min-width:0;height:46px;margin:0;padding:0 12px;border:1px solid #ffffff26;border-radius:12px;background:var(--av-subtle-card,rgba(14,14,11,.6));color:var(--text,#f4f6f4);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html:root body.athvCoach #content .avClientsSearch svg{width:22px;height:22px;flex:none;opacity:.7}
html:root body.athvCoach #content .avClientsSearch input{width:100%!important;min-width:0;min-height:44px;height:44px;border:0!important;outline-offset:0;background:transparent!important;box-shadow:none;margin:0!important;padding:0!important;font-size:16px!important;color:inherit}
html:root body.athvCoach #content .avClientsIconButton{display:grid;place-items:center;flex:0 0 46px;width:46px!important;height:46px;min-height:46px!important;margin:0!important;padding:10px!important;border:1px solid #ffffff26;border-radius:12px;color:#c2ff45!important}
html:root body.athvCoach #content .avClientsIconButton svg{width:24px;height:24px}
html:root body.athvCoach #content .avClientsFilters{display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;max-width:100%;padding:16px 0;margin-bottom:0}
html:root body.athvCoach #content .avClientsFilters::-webkit-scrollbar{display:none}
html:root body.athvCoach #content .avClientsFilters button{flex:none;min-height:44px!important;padding:8px 13px!important;margin:0!important;border-radius:14px;font-size:14px!important;white-space:nowrap}
html:root body.athvCoach #content .avClientsFilters button[aria-pressed=true]{background:#c2ff45!important;color:#10140a!important;border-color:#c2ff45!important}
html:root body.athvCoach #content .avClientsFilters .avClientsLabel{max-width:200px;overflow:hidden;text-overflow:ellipsis}
html:root body.athvCoach #content .avClientsFilters .avClientsAddLabel{display:grid;place-items:center;width:44px;padding:10px!important;color:#c2ff45}
html:root body.athvCoach #content .avClientsAddLabel svg{width:22px;height:22px}
html:root body.athvCoach #content .avClientsList{display:grid;gap:8px;margin:0}
html:root body.athvCoach #content .avClientsCard{display:flex;align-items:center;gap:16px;width:100%;min-height:68px;text-align:left;padding:12px!important;margin:0!important;border:1px solid #ffffff26;border-radius:14px;background:var(--av-subtle-card,rgba(14,14,11,.6))!important;color:var(--text,#f4f6f4)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:inset 0 1px 0 #ffffff04}
html:root body.athvCoach #content .avClientsCard .avatar{width:44px!important;height:44px!important;min-width:44px;flex:0 0 44px;margin:0!important;border-radius:50%;object-fit:cover}
html:root body.athvCoach #content .avClientsCard strong{flex:1;min-width:0;font-size:17px!important;line-height:1.3;font-weight:600;overflow-wrap:anywhere}
html:root body.athvCoach #content .avClientsCard>.arrowGlyph,html:root body.athvCoach #content .avClientsHistoryCard>.arrowGlyph{width:22px;height:22px;flex:none;color:#c2ff45}
html:root body.athvCoach #content .avClientsBack{display:grid;place-items:center;width:44px;min-height:44px;border:0;border-radius:50%;background:transparent!important;box-shadow:none!important;color:#c2ff45!important;margin:0 0 12px!important;padding:10px!important}
html:root body.athvCoach #content .avClientsBack svg{width:24px;height:24px}
html:root body.athvCoach #content .avClientsProfileHero{display:grid!important;grid-template-columns:56px minmax(0,1fr) 44px;align-items:center;gap:14px;padding:18px;border:1px solid #ffffff26;border-radius:16px;background:var(--av-subtle-card,rgba(14,14,11,.6));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);margin:0 0 14px!important}
html:root body.athvCoach #content .avClientsProfileHero>div{display:flex!important;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
html:root body.athvCoach #content .avClientsProfileHero>.avatar{width:56px!important;height:56px!important;object-fit:cover}
html:root body.athvCoach #content .avClientsProfileHero h2{font-size:23px!important;line-height:1.2}
html:root body.athvCoach #content .avClientsEdit{display:grid;place-items:center;align-self:start;width:44px;min-height:44px;margin:0!important;padding:10px!important;border:0;background:transparent!important;box-shadow:none;color:#c2ff45}
html:root body.athvCoach #content .avClientsEdit svg{width:22px;height:22px}
html:root body.athvCoach #content .avClientsHistoryCard{display:flex;align-items:center;gap:14px;text-align:left;min-height:74px;width:100%;padding:16px 18px!important;margin:14px 0!important;border:1px solid #ffffff26;border-radius:16px;background:var(--av-subtle-card,rgba(14,14,11,.6));color:var(--text,#f4f6f4)}
html:root body.athvCoach #content .avClientsHistoryCard>span{flex:1;min-width:0}
html:root body.athvCoach #content .avClientsHistoryCard strong{display:block;font-size:17px}
html:root body.athvCoach #content .avClientsHistoryCard small{display:block;margin-top:6px;font-size:13px;opacity:.7}
html:root body.athvCoach #content #avClientsHistoryHead{display:flex;align-items:center;gap:12px;margin-bottom:18px}
html:root body.athvCoach #content #avClientsHistoryHead .avClientsBack{margin:0!important;flex:none}
html:root body.athvCoach #content #avClientsHistoryHead h2{margin:0;font-size:23px;overflow-wrap:anywhere}
html:root body.athvCoach #content #avClientsProfileLabels{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;font-size:13px}
html:root body.athvCoach #content #avClientsProfileLabels button{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;margin:0}
html:root body.athvCoach #content #avClientsProfileLabels svg{width:16px;height:16px}
html:root body.athvCoach[data-theme=light] #content :is(.avClientsSearch,.avClientsCard,.avClientsProfileHero,.avClientsHistoryCard){background:#ffffffeb!important;border-color:#15261a26!important;color:#15261a!important}
html:root body.athvCoach[data-theme=light] #content :is(.avClientsIconButton,.avClientsBack,.avClientsEdit,.avClientsAddLabel){color:#456800!important}
@media(min-width:701px){html:root body.athvCoach #content .avClientsCard{min-height:78px;padding:14px 18px!important}html:root body.athvCoach #content .avClientsTitle{font-size:40px!important}}
html:root body.athvCoach #content .avClientsFilterRow{display:flex;align-items:center;gap:8px}
html:root body.athvCoach #content .avClientsFilterRow .avClientsFilters{flex:1;min-width:0}
html:root body.athvCoach #content .avClientsFilterRow>.avClientsAddLabel{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;padding:10px!important;margin:0!important;color:#c2ff45;border-radius:14px}
html:root body.athvCoach #content .avClientsFilterRow>.avClientsAddLabel{color:#c2ff45!important}

/* Staff directory controls share Settings typography and one continuous glass surface. */
html:root body.athvCoach #content#content :is(.avClientsTitle,.avSectionTitle){font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:24px!important;font-weight:650!important;line-height:1.2!important;letter-spacing:-.7px!important;margin:0 0 20px!important;text-align:left!important}
html:root body.athvCoach #content#content :is(.avClientsSearch,.avChatSearch){display:flex!important;align-items:center;gap:10px;box-sizing:border-box;min-width:0;min-height:46px;padding:0 12px!important;border:1px solid #ffffff26!important;border-radius:12px!important;background:var(--av-subtle-card,rgba(24,27,24,.6))!important;box-shadow:none!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);margin:0!important;overflow:hidden}
html:root body.athvCoach #content#content :is(.avClientsSearch,.avChatSearch)::before,html:root body.athvCoach #content#content :is(.avClientsSearch,.avChatSearch)::after{content:none!important}
html:root body.athvCoach #content#content :is(.avClientsSearch,.avChatSearch) :is(#studentSearch,#chatSearch){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;min-width:0!important;width:100%!important;padding:0!important;margin:0!important;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;min-height:44px!important;border-radius:0!important;color:inherit}
html:root body.athvCoach #content#content :is(.avClientsSearch,.avChatSearch)>svg{display:block;width:20px;height:20px;flex:0 0 20px;background:none!important;box-shadow:none!important;filter:none!important;color:var(--muted,#afb9b2)!important}
html:root body.athvCoach #content#content :is(.avClientsIconButton,.avClientsAddLabel,.avChatPlus),html:root body.athvCoach #content#content :is(.avClientsIconButton,.avClientsAddLabel,.avChatPlus)>svg{color:#c2ff45!important}
html:root body.athvCoach #content#content :is(.avClientsFilters,.avChatFilters){display:flex;align-items:center;gap:7px;overflow-x:auto;scrollbar-width:none;min-width:0;max-width:100%;padding:6px 0!important;margin:0!important}
html:root body.athvCoach #content#content :is(.avClientsFilters,.avChatFilters)>button{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:32px!important;height:32px!important;width:auto!important;padding:5px 12px!important;margin:0!important;border-radius:999px!important;border:1px solid #ffffff26!important;background:rgba(24,27,24,.75)!important;box-shadow:none!important;color:#edf1ee!important;font:500 14px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;white-space:nowrap}
html:root body.athvCoach #content#content :is(.avClientsFilters,.avChatFilters)>button::after{content:'';position:absolute;inset:-6px 0}
html:root body.athvCoach #content#content :is(.avClientsFilters,.avChatFilters)>button[aria-pressed=true]{color:#c2ff45!important;border-color:#c2ff4573!important;background:rgba(194,255,69,.12)!important}
html:root body.athvCoach #content#content :is(.avClientsFilterRow,.avChatFilterRow){display:flex;align-items:center;gap:8px;margin:10px 0 14px!important;min-width:0}
html:root body.athvCoach #content#content :is(.avClientsFilters,.avChatFilters){flex:1}
html:root body.athvCoach #content#content .avChatPlus{display:grid;place-items:center;flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px!important;padding:12px!important;border-radius:50%!important;border:1px solid #ffffff26!important;background:rgba(24,27,24,.75)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);margin:0!important}
html:root body.athvCoach #content#content .avChatPlus svg{width:20px;height:20px}
html:root body.athvCoach #content#content .avClientsFilterRow>.avClientsAddLabel{border-radius:50%!important}
/* Inbox alone has the greeting and dock; conversation geometry stays independent. */
html:root body.avChatDirectoryScreen #avStandaloneChatHead{display:flex!important;justify-content:space-between;gap:20px;max-width:720px;width:100%;margin:0 auto;padding:calc(42px + env(safe-area-inset-top,0px)) 16px 24px!important;min-height:0!important;flex-shrink:0}
html:root body.avChatDirectoryScreen #avStandaloneChatHead .avAccountGreetingCopy{min-width:0}
html:root body.avChatDirectoryScreen #avStandaloneChatHead p{font:400 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#aeb6af;margin:0 0 4px}
html:root body.avChatDirectoryScreen #avStandaloneChatHead h1{font:700 30px/1.15 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.025em!important;white-space:normal!important;overflow-wrap:anywhere;text-align:left!important;margin:0!important}
html:root body.avChatDirectoryScreen #avStandaloneChatHead .avAccountPhoto{flex:0 0 56px;display:grid;width:56px!important;height:56px!important;min-width:56px;padding:0!important;border:2px solid #c2ff45!important;border-radius:50%!important;overflow:hidden}
html:root body.avChatDirectoryScreen #avStandaloneChatHead .avatar{display:grid;place-items:center;object-fit:cover;width:100%!important;height:100%!important;margin:0!important;border:0!important;font-size:18px;color:#c2ff45;background:transparent!important}
html:root body.avChatDirectoryScreen #content#content>.supportTabs,html:root body.avChatDirectoryScreen #content#content>.sectionHead{display:none!important}
html:root body.avChatDirectoryScreen #content#content{max-width:720px!important;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important}
html:root body.avChatDirectoryScreen #content#content .avChatDirectory{padding:0 16px 12px!important;box-sizing:border-box}
html:root body.avChatDirectoryScreen #content#content .chatContacts{padding:0!important;display:grid;gap:2px}
html:root body.avChatDirectoryScreen #content#content .chatContact{display:flex!important;align-items:center;gap:12px;min-height:68px;width:100%;padding:10px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #ffffff12!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;text-align:left}
html:root body.avStandaloneChat #content#content .chatContact>.avatar{display:grid;place-items:center;flex:0 0 44px;width:44px!important;height:44px!important;object-fit:cover;border-radius:50%;margin:0!important}
html:root body.avStandaloneChat #content#content .chatContact>.clientText{display:block;flex:1;min-width:0}
html:root body.avStandaloneChat #content#content .chatContact strong{font:600 17px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;white-space:normal!important;overflow-wrap:anywhere}
html:root body.avStandaloneChat #content#content .chatContact small{display:block;font-size:13px;line-height:1.4;margin-top:3px}
html:root body.avChatDirectoryScreen #content#content .avChatSupport{display:block;min-height:44px;margin:16px 0 0!important;padding:8px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:left;color:#c2ff45!important;font-size:14px!important}
html:root body.avChatDirectoryScreen #nav#nav{display:grid!important;position:fixed!important;top:auto!important;bottom:max(12px,env(safe-area-inset-bottom,0px))!important;z-index:70;transform:none!important}
html:root body #content#content .avGroupPanel{min-width:0;flex:1}
html:root body.avStandaloneChat #content#content #avGroupStatus{grid-column:1/-1;white-space:normal;font-size:14px;line-height:1.4;margin:0}
html:root body.avStandaloneChat #content#content #avGroupStatus:empty{display:none}
html:root body.avStandaloneChat #avStandaloneChatHead h1,html:root body.avStandaloneChat #avStandaloneChatHead small{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
html:root body #modal:has(#avChatLabelForm),html:root body #modal:has(#avChatGroupForm){box-sizing:border-box;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 48px);overflow-y:auto}
html:root body #modal :is(#avChatLabelForm,#avChatGroupForm){min-width:0}
html:root body #modal :is(#avChatLabelForm,#avChatGroupForm) :is(input:not([type=checkbox]),textarea){box-sizing:border-box;width:100%;min-width:0;font-size:16px!important}
html:root body #modal .avChatLabelThreads{max-height:40dvh;overflow:auto}
html:root body #modal .avChatLabelThreads label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:15px;overflow-wrap:anywhere}
html:root body #modal :is(#avChatLabelForm,#avChatGroupForm) [role=alert]{color:#ff9b9b;white-space:normal}
@media(min-width:701px){html:root body.avChatDirectoryScreen #nav#nav{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(600px,calc(100% - 32px))!important}}
@media(max-width:359px){html:root body.avChatDirectoryScreen #avStandaloneChatHead h1{font-size:27px!important}}

/* The existing return and disclosure arrows keep the same lime accent in staff pages. */
html:root body.athvCoach #content#content :is(.avAccountBack,.avGoodBack,.avSettingsChevron,.arrowGlyph,.avCompactBack){color:#c2ff45!important}
html:root body.athvCoach #content#content :is(.avAccountBack,.avGoodBack,.avCompactBack)>svg{width:24px!important;height:24px!important}
html:root body.avChatDirectoryScreen.avUnifiedKeyboard #nav#nav{display:none!important}

/* The inbox fills its shared column on desktop as well as mobile. */
html:root body.avChatDirectoryScreen #content#content .chatWorkspace{align-items:stretch!important}
html:root body.avChatDirectoryScreen #content#content .avChatDirectory{width:100%!important;min-width:0!important;align-self:stretch!important}

/* Shared WhatsApp-style directory: one title, no dock, same proportions in every role. */
html:root body.avStandaloneChat #nav#nav{display:none!important}
html:root body.avStandaloneChat #content#content>.supportTabs{display:none!important}
html:root body.avChatDirectoryScreen #avStandaloneChatHead{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center;gap:10px;width:100%;max-width:720px;padding:calc(20px + env(safe-area-inset-top,0px)) 16px 24px!important;min-height:0!important;margin:0 auto;box-sizing:border-box}
html:root body.avChatDirectoryScreen #avStandaloneChatHead h1{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:24px!important;font-weight:650!important;line-height:1.2!important;letter-spacing:-.7px!important;margin:0!important;text-align:left!important}
html:root body.avChatDirectoryScreen #content#content{max-width:720px!important;padding:0 0 max(16px,env(safe-area-inset-bottom,0px))!important;box-sizing:border-box}
html:root body.avChatDirectoryScreen #content#content .avChatDirectory{display:block!important;flex:1;min-height:0;overflow-y:auto;box-sizing:border-box;width:100%!important;padding:0 16px 16px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html:root body.avChatDirectoryScreen #content#content .avChatSearch{display:flex!important;align-items:center;gap:10px;box-sizing:border-box;width:100%;height:46px;min-height:46px;padding:0 12px!important;margin:0!important;overflow:hidden;background:var(--av-subtle-card,rgba(24,27,24,.6))!important;border:1px solid #ffffff26!important;border-radius:12px!important;box-shadow:none!important;outline:0!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html:root body.avChatDirectoryScreen #content#content .avChatSearch:focus-within{border-color:#c2ff4573!important;box-shadow:none!important;outline:0!important}
html:root body.avChatDirectoryScreen #content#content .avChatSearch::before,html:root body.avChatDirectoryScreen #content#content .avChatSearch::after,html:root body.avChatDirectoryScreen #content#content .avChatSearch:focus-within::before,html:root body.avChatDirectoryScreen #content#content .avChatSearch:focus-within::after{content:none!important;display:none!important}
html:root body.avChatDirectoryScreen #content#content .avChatSearch #chatSearch,html:root body.avChatDirectoryScreen #content#content .avChatSearch #chatSearch:focus{display:block;width:100%!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:0!important;margin:0!important;border:0!important;outline:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:inherit}
html:root body.avChatDirectoryScreen #content#content .avChatSearch>svg{width:20px;height:20px;flex:0 0 20px;color:#afb9b2;box-shadow:none!important;background:none!important}
html:root body.avChatDirectoryScreen #content#content .avChatFilterRow{display:flex;align-items:center;gap:8px;margin:10px 0 14px!important;min-width:0}
html:root body.avChatDirectoryScreen #content#content .avChatFilters{display:flex!important;align-items:center;flex:1;gap:7px;overflow-x:auto;scrollbar-width:none;min-width:0;padding:6px 0!important;margin:0!important}
html:root body.avChatDirectoryScreen #content#content .avChatFilters>button{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:32px!important;height:32px!important;width:auto!important;padding:5px 12px!important;margin:0!important;border:1px solid #ffffff26!important;border-radius:999px!important;background:rgba(24,27,24,.75)!important;color:#edf1ee!important;box-shadow:none!important;font:500 14px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;white-space:nowrap}
html:root body.avChatDirectoryScreen #content#content .avChatFilters>button::after{content:'';position:absolute;inset:-6px 0}
html:root body.avChatDirectoryScreen #content#content .avChatFilters>button[aria-pressed=true]{background:#c2ff451f!important;border-color:#c2ff4573!important;color:#c2ff45!important}
html:root body.avChatDirectoryScreen #content#content .avChatPlus{display:grid;place-items:center;flex:0 0 44px;width:44px!important;height:44px!important;min-height:44px!important;padding:12px!important;margin:0!important;border:1px solid #ffffff26!important;border-radius:50%!important;background:rgba(24,27,24,.75)!important;color:#c2ff45!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:none!important}
html:root body.avChatDirectoryScreen #content#content .avChatPlus svg{width:20px;height:20px;color:#c2ff45!important}
html:root body.avChatDirectoryScreen #content#content .chatContacts{display:grid;gap:2px;padding:0!important}
html:root body.avChatDirectoryScreen #content#content .chatContact{display:flex!important;align-items:center;gap:12px;width:100%;min-height:68px;box-sizing:border-box;padding:10px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #ffffff12!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;text-align:left}
html:root body.avStandaloneChat #content#content .avChatRowMeta{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:6px;flex:0 0 auto;min-width:0;margin-left:auto}
html:root body.avStandaloneChat #content#content .avChatRowMeta time{font:400 12px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#afb9b2;white-space:nowrap}
html:root body.avStandaloneChat #content#content .avChatRowMeta .unreadBadge{position:static!important;margin:0!important}
html:root body.avStandaloneChat #avStandaloneChatHead .avGroupIdentity{display:flex!important;align-items:center;gap:10px;min-width:0;min-height:44px;height:auto!important;width:100%!important;max-width:none!important;padding:0!important;text-align:left;border-radius:0!important;color:inherit!important}
html:root body.avStandaloneChat #avStandaloneChatHead .avGroupIdentity>span:last-child{min-width:0;flex:1}
html:root body.avStandaloneChat #avStandaloneChatHead .avGroupIdentity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:650 16px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#f2f5f3}
html:root body #modal:has(.avGroupInfo){width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 48px);overflow-y:auto;box-sizing:border-box}
html:root body #modal .avGroupInfoHero{text-align:center;margin:16px 0}
html:root body #modal .avGroupInfoHero>.avatar{display:grid;place-items:center;width:88px;height:88px;object-fit:cover;border-radius:50%;margin:0 auto 12px}
html:root body #modal .avGroupDescription{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.5}
html:root body #modal .avGroupInfo dl{display:grid;gap:12px;margin:20px 0}
html:root body #modal .avGroupInfo dl>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px}
html:root body #modal .avGroupInfo dd{margin:0;overflow-wrap:anywhere}
html:root body #modal :is(.avGroupMemberList>div,.avGroupMemberChoice){display:flex;align-items:center;gap:12px;min-height:56px;font-size:15px;min-width:0}
html:root body #modal :is(.avGroupMemberList,.avChatGroupMembers) .avatar{display:grid;place-items:center;object-fit:cover;flex:0 0 40px;width:40px;height:40px;border-radius:50%;margin:0}
html:root body #modal .avChatGroupMembers{max-height:260px;overflow-y:auto;margin:12px 0;border:1px solid #ffffff26;border-radius:12px;padding:12px}
html:root body #modal .avGroupMemberChoice>input{flex:0 0 20px;width:20px!important;min-width:20px!important;min-height:20px!important;height:20px!important;margin:0!important;padding:0!important}
html:root body #modal .avGroupMemberChoice[hidden]{display:none!important}
html:root body #modal .avGroupMemberChoice>span{min-width:0;overflow-wrap:anywhere}
html:root body #modal .avGroupPhotoPreview img{display:block;object-fit:cover;width:64px;height:64px;border-radius:50%;margin-top:8px}
html:root body #modal .avChatLabelOrder>div{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:6px;align-items:center}
html:root body #modal .avChatLabelOrder button{min-width:0;min-height:44px;overflow-wrap:anywhere}
html:root body #modal .avChatLabelOrder svg{width:22px;height:22px;color:#c2ff45}
html:root body #modal .avGroupInfo [data-chat-group-edit]{display:flex;align-items:center;gap:8px;min-height:44px}
html:root body #modal .avGroupInfo [data-chat-group-edit] svg{width:20px;height:20px;color:#c2ff45}
html:root body #content#content [data-chat-support-entry]>svg{width:22px;height:22px;flex:none;color:#c2ff45}

/* Chats reuse the Workout shell and its original lime accents. */
html:root:has(body.avStandaloneChat){background:#0b100e!important}
html:root:has(body.avStandaloneChat[data-theme=light]){background:#f1f5ef!important}
html:root body.avStandaloneChat{background:var(--av-shell,#0b100e)!important;--chat-canvas:var(--av-shell,#0b100e)}
html:root body.avStandaloneChat::before{display:block!important;content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 8% 0%,rgba(102,150,67,.17),transparent 48%),radial-gradient(ellipse at 95% 40%,rgba(44,99,105,.13),transparent 46%)!important}
html:root body.avStandaloneChat[data-theme=light]::before{background:radial-gradient(ellipse at 8% 0%,rgba(102,150,67,.0935),transparent 48%),radial-gradient(ellipse at 95% 40%,rgba(44,99,105,.0715),transparent 46%)!important}
html:root body.avStandaloneChat.athvCoach::before{-webkit-mask-image:linear-gradient(to bottom,transparent,black 110px)!important;mask-image:linear-gradient(to bottom,transparent,black 110px)!important}
html:root body.avStandaloneChat main:has(#content#content){background:transparent!important}
html:root body.avStandaloneChat.avConversation #avStandaloneChatHead,html:root body.avStandaloneChat.avConversation #avStandaloneChatHead.avCoachOnlyChatHead{min-height:calc(72px + env(safe-area-inset-top,0px))!important;padding:calc(14px + env(safe-area-inset-top,0px)) 12px 10px!important}
html:root body.avStandaloneChat #avStandaloneChatHead .avChatFace,html:root body.avStandaloneChat #content#content .avatar,html:root body #modal .avGroupInfo .avatar{border:2px solid #c2ff45!important;background:transparent!important;color:#c2ff45!important;box-sizing:border-box}
html:root body.avStandaloneChat #content#content :is(#chatOlder,#supportOlder,#avGroupOlder){display:none!important}
html:root body.avStandaloneChat #content#content .avGroupPanel .chatComposer{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:end;gap:0 6px!important}
html:root body.avStandaloneChat #content#content .avGroupPanel .chatActions{display:contents!important}
html:root body.avStandaloneChat #content#content .avGroupPanel .avChatSend{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border-radius:50%!important;font-size:0!important}
html:root body.avStandaloneChat #avStandaloneChatHead .avGroupIdentity strong{font-size:16px!important;font-weight:650!important}
html:root body #modal .avGroupCoachBadge{display:inline-block;margin-left:6px;padding:3px 7px;border:1px solid #c2ff4555;border-radius:999px;background:#c2ff451f;color:#c2ff45;font:500 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;vertical-align:middle}

/* Interval execution only: one phase-aware exercise block and compact spacing. */
html:root body #avIntervalPage .avIntervalBar>span{font-weight:800;text-transform:uppercase}
html:root body #avIntervalPage [data-av-interval=back]{border:0!important;border-radius:0!important;background:transparent!important}
html:root body #avIntervalPage #avIntervalName{font-weight:800;text-transform:uppercase}
html:root body #avIntervalPage .avIntervalMedia{height:min(64svh,520px)}
html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex) .avIntervalWork h1{margin:4px 0 6px}
html:root body #avIntervalPage .avIntervalCounts{padding-top:6px}
html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex) .avIntervalClock{padding:6px 0}
html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex) .avIntervalControls{margin-top:4px}
@media(max-width:700px){
 html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex){flex:none;margin:auto;grid-template-rows:auto auto;align-content:start;gap:4px}
 html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex) .avIntervalVisual{justify-content:flex-start}
 html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex) .avIntervalMedia{height:39svh;max-height:39svh;min-height:60px;flex:none}
 html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex) .avIntervalProgress{margin-top:4px}
}
@media(max-width:700px) and (max-height:650px){
 html:root body #avIntervalPage .avIntervalLayout:not(.avIntervalComplex) .avIntervalMedia{height:34svh;max-height:34svh}
}

/* Dedicated questionnaire page only. */
html:root body dialog#avFormPage{position:fixed!important;inset:0!important;margin:0!important;width:100%!important;max-width:none!important;height:100dvh!important;max-height:none!important;box-sizing:border-box;border:0;border-radius:0;padding:calc(20px + env(safe-area-inset-top,0px)) 20px calc(20px + env(safe-area-inset-bottom,0px));overflow:auto;color:#edf2e8;background:#0b100e;font-family:inherit}
#avFormPage::backdrop{background:#0b100e}
#avFormPage>.avFormPageHead,#avFormPage>.avFormPageProgress,#avFormPage>.avFormPageBody,#avFormPage>footer{max-width:680px;margin-inline:auto}
#avFormPage>.avFormPageHead{display:flex;align-items:center;gap:14px;margin-bottom:18px}
#avFormPage .avFormPageHead button{width:44px;height:44px;padding:10px;border:0;background:transparent;color:#c2ff45}
#avFormPage .avFormPageHead svg{width:24px;height:24px}
#avFormPage .avFormPageHead>span{font-size:12px;text-transform:uppercase;letter-spacing:1.4px}
#avFormPage .avFormPageProgress{display:flex;gap:5px;margin-bottom:48px;height:4px}
#avFormPage .avFormPageProgress i{flex:1;border-radius:4px;background:#ffffff20}
#avFormPage .avFormPageProgress i.complete{background:#c2ff45}
#avFormPage .avQuestion{border:0;padding:0;margin:0;min-width:0}
#avFormPage .avQuestion legend{font-size:clamp(24px,5.8vw,36px);line-height:1.12;font-weight:800;text-transform:uppercase;margin-bottom:24px;overflow-wrap:anywhere;color:#edf2e8}
#avFormPage .avFormChoices{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
#avFormPage .avFormChoices label{position:relative;display:block;cursor:pointer}
#avFormPage .avFormChoices input{position:absolute;opacity:0;width:1px;height:1px}
#avFormPage .avFormChoices label>span{display:block;padding:14px 18px;border:1px solid #ffffff26;border-radius:999px;background:rgba(40,44,40,.7);backdrop-filter:blur(18px);font-size:15px}
#avFormPage .avFormChoices input:checked+span{background:#c2ff45;border-color:#c2ff45;color:#11170d}
#avFormPage .avFormChoices input:focus-visible+span{outline:2px solid #c2ff45;outline-offset:3px}
#avFormPage form>.primary{display:block;width:100%;margin-top:32px;min-height:48px}
#avFormPage>footer{display:flex;gap:12px;margin-top:32px}
#avFormPage>footer button{min-height:48px;flex:1}
#avFormPage [hidden]{display:none!important}
#avFormPage .avFormSignature{margin:24px 0;padding:18px;border:1px solid #ffffff26;border-radius:14px;background:rgba(35,39,35,.65)}
#avFormPage [data-form-signed],.avTypedSignature{font:italic 28px Georgia,serif;color:#c2ff45;overflow-wrap:anywhere}
#avFormPage .avFormSignature button{min-height:48px;width:100%}
html:root body #content .avFormsTemplateList>article{display:flex;align-items:center;gap:10px;padding:16px;margin:12px 0}
html:root body #content .avFormTemplateName{flex:1;text-align:left;background:transparent;color:inherit;border:0;min-height:44px;font:600 16px inherit}
html:root body #content [data-form-assign],html:root body #content [data-form-edit]{display:flex;align-items:center;gap:6px;min-height:44px;flex:none}
html:root body #content [data-form-assign] svg,html:root body #content [data-form-edit] svg{width:20px;height:20px;color:#c2ff45}
html:root body #content .avFormQuestionEditor{padding:18px;margin:16px 0;border:1px solid #ffffff26;border-radius:14px;background:rgba(30,34,30,.65)}
html:root body #content .avFormQuestionEditor label{display:block;margin:12px 0}
html:root body #content .avFormQuestionEditor label.checklabel{display:flex;align-items:center;gap:8px}
html:root body #content .avFormQuestionEditor [hidden]{display:none!important}
html:root body #content .avAssignedForm{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;margin:12px 0;padding:18px}
html:root body #content .avAssignedForm small{display:block;color:#c2ff45;margin-top:6px}
html:root body #content .avAssignedForm svg{width:24px;height:24px;transform:rotate(180deg);color:#c2ff45}
html:root body #content .avFormSubmissions>button{display:flex;justify-content:space-between;gap:10px;width:100%;margin:10px 0;padding:14px;text-align:left}
html:root body #content.avFormsLibrary{max-width:760px;margin-inline:auto!important}
#avFormPage form:has([data-form-signed]){max-width:100%}
html:root body dialog#avFormPage{background:var(--av-shell,#0b100e)!important;color:#edf2e8!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:root body dialog#avFormPage>.avFormPageHead{display:flex!important;position:static!important;top:auto!important;width:100%!important;max-width:680px!important;min-height:44px!important;padding:0!important;margin:0 auto 18px!important;background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important;backdrop-filter:none!important}
html:root body dialog#avFormPage>.avFormPageHead button{background:transparent!important;color:#c2ff45!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html:root body dialog#avFormPage [data-form-previous]{background:rgba(35,39,35,.65)!important;color:#edf2e8!important;border:1px solid #ffffff26!important;border-radius:12px!important;backdrop-filter:blur(18px)}
html:root body dialog#avFormPage>.avFormPageHead>span{display:block!important;color:#aeb8af}
html:root body dialog#avFormPage::before,html:root body dialog#avFormPage::after{display:none!important}
html:root body dialog#avFormPage :is(input,textarea,select){font-size:16px;max-width:100%;box-sizing:border-box}
html:root body #content.avFormsLibrary :is([data-forms-back],[data-forms-list]){color:#c2ff45!important;background:transparent!important;border:0!important;box-shadow:none!important}
html:root body dialog#avFormPage .avUXFormProgress{display:none!important}
html:root body dialog#avFormPage [data-form-sign]{min-height:48px;background:rgba(24,27,24,.65)!important;border:1px solid #c2ff4555!important;border-radius:12px!important;color:#c2ff45!important;font:600 16px/1.3 inherit}

/* AV questionnaires — editorial hierarchy from the supplied Centr references.
   Scoped to forms; main app headers, docks and viewport anchors stay untouched. */
html:root body dialog#avFormPage[open]{display:flex!important;flex-direction:column;gap:0;padding:calc(18px + env(safe-area-inset-top,0px)) 24px calc(16px + env(safe-area-inset-bottom,0px))!important;background:#101512!important;overflow:hidden!important}
html:root body dialog#avFormPage>.avFormPageHead{flex-shrink:0;max-width:640px!important;margin-bottom:20px!important;gap:8px}
html:root body dialog#avFormPage .avFormPageHead>span{font-size:11px;font-weight:700;letter-spacing:1.5px;color:#c3cbc3}
html:root body dialog#avFormPage .avFormWordmark{margin-left:auto;display:flex;align-items:baseline;gap:5px;font-size:21px;font-weight:900;font-style:italic;letter-spacing:-1px;color:#d5ff5f}
html:root body dialog#avFormPage .avFormWordmark>span{font-size:10px;font-style:normal;letter-spacing:1.4px;color:#edf2e8}
html:root body dialog#avFormPage>.avFormPageProgress{width:100%;max-width:640px;flex-shrink:0;gap:5px;height:3px;margin:0 auto 0}
html:root body dialog#avFormPage .avFormPageProgress i{height:3px;border-radius:0;background:#ffffff24}
html:root body dialog#avFormPage .avFormPageProgress i.complete{background:#c2ff45}
html:root body dialog#avFormPage>.avFormPageBody{width:100%;max-width:640px;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:40px;scrollbar-width:thin;display:flex;flex-direction:column}
html:root body dialog#avFormPage .avFormPageKicker{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px;flex-shrink:0;font-size:10px;font-weight:800;letter-spacing:1.6px;color:#c2ff45}
html:root body dialog#avFormPage .avFormPageKicker small{color:#aab5aa;letter-spacing:.2px;font-weight:400;font-size:12px}
html:root body dialog#avFormPage .avFormPageBody>form{display:flex!important;flex-direction:column;flex:1;gap:0;padding:0!important;margin:0!important;border:0!important;min-width:0;width:100%!important;max-width:none!important;background:transparent!important;box-shadow:none!important;border-radius:0!important}
html:root body dialog#avFormPage form>.avQuestion{border:0!important;border-radius:0!important;padding:0!important;margin:0 0 28px!important;min-width:0;background:transparent!important;box-shadow:none!important;flex-shrink:0}
html:root body dialog#avFormPage .avQuestion legend{display:block!important;float:none;width:100%;font-size:clamp(30px,7.8vw,48px)!important;font-weight:900!important;line-height:1.05!important;letter-spacing:-1.3px;text-transform:uppercase;text-wrap:balance;color:#f1f4eb!important;overflow-wrap:break-word;padding:0!important;margin:0 0 26px!important;border:0!important}
html:root body dialog#avFormPage .avQuestion[data-long-title=true] legend{font-size:clamp(27px,6.7vw,40px)!important}
html:root body dialog#avFormPage .avQuestion legend em{font-style:normal;color:#11170c;background:#c2ff45;padding:0 .08em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
html:root body dialog#avFormPage .avQuestion>p.meta{font-size:14px;line-height:1.55;color:#b9c4b8;margin:0 0 18px}
html:root body dialog#avFormPage .avFormChoices{display:flex!important;flex-wrap:wrap;gap:10px;margin:20px 0 8px!important;counter-reset:form-option}
html:root body dialog#avFormPage .avFormChoices label{position:relative;display:block!important;min-width:0;padding:0!important;margin:0!important;background:none!important;border:0!important;cursor:pointer;flex:0 1 auto}
html:root body dialog#avFormPage .avFormChoices input{position:absolute!important;inset:0!important;opacity:0!important;width:100%!important;height:100%!important;margin:0!important;cursor:pointer;z-index:1}
html:root body dialog#avFormPage .avFormChoices label>span{display:flex!important;align-items:center;min-height:44px;box-sizing:border-box;border-radius:999px!important;padding:10px 16px!important;border:1px solid #ffffff24!important;background:linear-gradient(145deg,#ffffff08,#ffffff00),rgba(45,47,49,.65)!important;box-shadow:inset 0 1px 0 #ffffff0c,0 3px 10px #00000018!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;color:#e5e8e3!important;font-size:14px!important;font-weight:600;line-height:1.3;transition:background .15s,color .15s,border-color .15s}
html:root body dialog#avFormPage .avFormChoices input:checked+span{background:linear-gradient(145deg,#ffffff0c,#ffffff00),rgba(53,57,51,.82)!important;border-color:#c2ff45b3!important;color:#c2ff45!important}
html:root body dialog#avFormPage .avFormChoices input:focus-visible+span{outline:2px solid #edf2e8!important;outline-offset:4px}
html:root body dialog#avFormPage .avFormChoiceList{display:flex!important;flex-direction:column;gap:0;border-top:1px solid #ffffff24}
html:root body dialog#avFormPage .avFormChoiceList label{counter-increment:form-option;width:100%}
html:root body dialog#avFormPage .avFormChoiceList label>span{border:0!important;border-bottom:1px solid #ffffff24!important;border-radius:0!important;background:linear-gradient(145deg,#ffffff06,#ffffff00),rgba(45,47,49,.55)!important;min-height:60px;padding:14px 38px 14px 48px!important;font-size:14px!important;line-height:1.35}
html:root body dialog#avFormPage .avFormChoiceList label::before{content:counter(form-option,decimal-leading-zero);position:absolute;left:12px;top:50%;transform:translateY(-50%);font-weight:800;font-size:15px;color:#899a85;z-index:2;pointer-events:none}
html:root body dialog#avFormPage .avFormChoiceList label:has(input:checked)::before{color:#c2ff45}
html:root body dialog#avFormPage .avFormChoiceList label:has(input:checked)::after{content:'✓';position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#c2ff45;font-size:18px;pointer-events:none}
html:root body dialog#avFormPage .avFormChoiceList input:checked+span{background:linear-gradient(145deg,#ffffff0c,#ffffff00),rgba(53,57,51,.82)!important;color:#c2ff45!important;box-shadow:inset 3px 0 0 #c2ff45!important}
html:root body dialog#avFormPage .avQuestion :is(label:not(:has([type=radio],[type=checkbox])),[data-form-detail],[data-health-detail],[data-health-certificate]){font-size:13px!important;line-height:1.55;color:#bac7b7}
html:root body dialog#avFormPage .avQuestion label:not(.checklabel):not(:has([type=radio],[type=checkbox])){display:block!important;margin:18px 0 0!important}
html:root body dialog#avFormPage .avQuestion :is(textarea,input:not([type=radio],[type=checkbox]),select){display:block;width:100%!important;min-height:52px;box-sizing:border-box;padding:14px 16px!important;margin:8px 0 0!important;border:1px solid #ffffff25!important;border-radius:12px!important;background:#1b241d!important;color:#f1f4eb!important;box-shadow:none!important;font:400 16px/1.5 inherit!important;outline-offset:3px}
html:root body dialog#avFormPage .avQuestion textarea{min-height:140px;resize:vertical}
html:root body dialog#avFormPage .avQuestion :is(textarea,input,select):focus-visible{outline:2px solid #c2ff45}
html:root body dialog#avFormPage form>.avFormPageActions{position:sticky;bottom:0;display:flex;flex-shrink:0;gap:12px;margin: auto 0 0!important;padding:20px 0 4px;background:#101512;border:0;box-shadow:0 -12px 20px #101512;max-width:none;width:100%;z-index:3}
html:root body dialog#avFormPage .avFormPageActions>button{min-height:54px!important;border-radius:999px!important;flex:1;box-shadow:none!important;font-size:15px!important;font-weight:750;letter-spacing:.1px;cursor:pointer;white-space:normal}
html:root body dialog#avFormPage .avFormPageActions>button.primary{color:#11180b!important;background:#c2ff45!important;border:0!important}
html:root body dialog#avFormPage .avFormPageActions>[data-form-previous]{flex:0 0 100px;background:transparent!important;border:1px solid #ffffff32!important}
html:root body dialog#avFormPage .avFormPageActions>button:disabled{opacity:.4;cursor:not-allowed}
html:root body dialog#avFormPage .checklabel{display:flex!important;align-items:flex-start;gap:12px;padding:18px!important;margin:8px 0 20px!important;background:#1b241d!important;border:1px solid #ffffff20;border-radius:12px;font-size:14px;line-height:1.55}
html:root body dialog#avFormPage .checklabel input{flex-shrink:0;width:20px;height:20px;margin:2px 0 0;accent-color:#c2ff45}
html:root body dialog#avFormPage form>[role=alert]{color:#ffad9e;font-size:14px;margin:0 0 8px}
html:root body dialog#avFormPage .avFormSignature{border-radius:14px;background:#1b241d;border:1px solid #c2ff4544;padding:18px}
html:root body dialog#avFormPage .avFormSignature p:empty{display:none}
@media(min-width:768px){html:root body dialog#avFormPage>.avFormPageBody{padding-top:56px}html:root body dialog#avFormPage .avQuestion legend{max-width:620px}html:root body dialog#avFormPage .avFormPageActions{padding-top:24px}}
@media(max-height:600px){html:root body dialog#avFormPage>.avFormPageBody{padding-top:20px}html:root body dialog#avFormPage .avFormPageKicker{margin-bottom:12px}html:root body dialog#avFormPage .avQuestion legend{font-size:28px!important}}
@media(prefers-reduced-motion:reduce){html:root body dialog#avFormPage .avFormChoices label>span{transition:none}}
/* Assignment sheet: no more than five compact client rows, all results searchable. */
html:root body dialog:has(>#avFormAssignment){width:min(480px,calc(100vw - 32px))!important;max-height:calc(100dvh - 40px);box-sizing:border-box;padding:24px!important;border:1px solid #ffffff25!important;border-radius:24px!important;background:#141c16!important;color:#edf2e8!important;overflow:auto!important}
html:root body #avFormAssignment{display:block!important;padding:0!important;margin:0!important;border:0!important;background:none!important}
html:root body #avFormAssignment .avAssignHead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
html:root body #avFormAssignment .avAssignHead small{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#c2ff45}
html:root body #avFormAssignment h2{font-size:25px!important;line-height:1.1;font-weight:800;margin:7px 0 0!important;letter-spacing:-.6px}
html:root body #avFormAssignment .avAssignClose{flex-shrink:0;width:44px!important;height:44px;min-height:44px;padding:0!important;background:transparent!important;color:#edf2e8;border:0!important;font-size:28px;box-shadow:none!important}
html:root body #avFormAssignment .avAssignFormName{font-size:13px;color:#a9b8a7;margin:12px 0 24px}
html:root body #avFormAssignment .avAssignSearch{display:flex!important;align-items:center;gap:10px;width:100%;height:48px;padding:0 14px!important;margin:0 0 22px!important;box-sizing:border-box;background:#222d24!important;border:1px solid #ffffff20;border-radius:12px}
html:root body #avFormAssignment .avAssignSearch svg{width:19px;height:19px;flex-shrink:0;color:#a9b8a7}
html:root body #avFormAssignment .avAssignSearch input{width:100%;min-width:0;padding:0!important;margin:0!important;height:44px;min-height:0;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#edf2e8;font-size:16px!important}
html:root body #avFormAssignment .avAssignListHead{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px;color:#a9b8a7;font-size:9px;letter-spacing:1px;font-weight:600}
html:root body #avFormAssignment [data-assign-count]{letter-spacing:0;font-size:11px;color:#c2ff45;white-space:nowrap}
html:root body #avFormAssignment .avAssignClient{display:flex!important;position:relative;align-items:center;gap:12px;height:58px;box-sizing:border-box;padding:8px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #ffffff12!important;border-radius:0!important;background:transparent!important;cursor:pointer}
html:root body #avFormAssignment .avAssignClient .avatar{display:flex!important;align-items:center;justify-content:center;flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px;min-height:34px;max-width:34px;max-height:34px;border-radius:50%!important;object-fit:cover;font-size:12px!important;font-weight:700;color:#cfddc8;background:#2e3a2d!important;border:1px solid #ffffff14;margin:0!important;padding:0!important}
html:root body #avFormAssignment .avAssignClientName{flex:1;min-width:0;font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:root body #avFormAssignment .avAssignClient input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important;cursor:pointer;z-index:1}
html:root body #avFormAssignment .avAssignCheck{display:grid;place-items:center;width:20px;height:20px;box-sizing:border-box;border:1px solid #7d9275;border-radius:6px;color:transparent;flex-shrink:0}
html:root body #avFormAssignment .avAssignCheck svg{width:15px;height:15px}
html:root body #avFormAssignment .avAssignClient:has(input:checked) .avAssignCheck{color:#10170a;background:#c2ff45;border-color:#c2ff45}
html:root body #avFormAssignment .avAssignClient:has(input:focus-visible){outline:2px solid #c2ff45;outline-offset:2px}
html:root body #avFormAssignment .avAssignEmpty{font-size:14px;color:#a9b8a7;padding:28px 0;line-height:1.5}
html:root body #avFormAssignment [data-assign-pages]:not(:empty){display:flex;align-items:center;justify-content:space-between;margin-top:12px;font-size:12px}
html:root body #avFormAssignment [data-assign-pages] button{background:transparent!important;color:#c2ff45;border:0;min-height:44px;font-size:12px;padding:8px}
html:root body #avFormAssignment [data-assign-pages] button:disabled{opacity:.35}
html:root body #avFormAssignment>[type=submit]{width:100%;min-height:50px;margin-top:22px;border-radius:999px!important;font-size:14px;font-weight:750;background:#c2ff45!important;color:#10170a!important;border:0!important;box-shadow:none!important}
html:root body #avFormAssignment>[type=submit]:disabled{opacity:.4;cursor:not-allowed}
/* Template library keeps the app shell intact. */
html:root body #content.avFormsLibrary .avFormsTemplateList>article{gap:12px;padding:18px 14px!important;border:1px solid #ffffff18!important;border-radius:16px!important;background:linear-gradient(120deg,#253023b0,#19201bcc)!important;box-shadow:none!important}
html:root body #content.avFormsLibrary .avFormTemplateIcon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;color:#c2ff45}
html:root body #content.avFormsLibrary .avFormTemplateIcon svg{width:25px;height:25px}
html:root body #content.avFormsLibrary .avFormTemplateName{display:flex;flex-direction:column;gap:7px;min-width:0;padding:0!important}
html:root body #content.avFormsLibrary .avFormTemplateName small{font-size:9px;font-weight:700;letter-spacing:1px;color:#b8c4b1}
html:root body #content.avFormsLibrary .avFormTemplateName strong{font-size:15px;font-weight:700;line-height:1.35;overflow-wrap:break-word}
html:root body #content.avFormsLibrary [data-form-assign]{flex-shrink:0;border:1px solid #c2ff4544!important;background:#c2ff4510!important;color:#c2ff45!important;border-radius:999px!important;padding:9px 11px!important;font-size:11px;min-height:40px}
html:root body #content.avFormsLibrary [data-form-edit]{width:36px;min-width:36px;padding:6px!important;background:transparent!important;border:0!important;color:#bcc9b6!important}
html:root body dialog#avFormPage,html:root body #avFormAssignment{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
html:root body #avFormAssignment :is(input,button){font-family:inherit!important}
html:root body dialog#avFormPage :is(button,input,textarea,select){font-family:inherit!important}
html:root body dialog#avFormPage .avFormPageKicker,html:root body dialog#avFormPage .avFormWordmark,html:root body dialog#avFormPage .avFormPageHead>span{font-family:inherit!important}
html:root body dialog#avFormPage .avQuestion legend:focus{outline:none!important;box-shadow:none!important}
/* Assignment search is one uniform glass surface, including focused/autofilled input. */
html:root body dialog#modal form#avFormAssignment .avAssignSearch{background:linear-gradient(145deg,#ffffff07,#ffffff00),rgba(45,47,49,.65)!important;box-shadow:inset 0 1px 0 #ffffff0b!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html:root body dialog#modal form#avFormAssignment .avAssignSearch input,html:root body dialog#modal form#avFormAssignment .avAssignSearch input:focus{appearance:none;-webkit-appearance:none;background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;filter:none!important;outline:0!important;color:#edf2e8!important;-webkit-text-fill-color:#edf2e8}
html:root body dialog#modal form#avFormAssignment .avAssignSearch:focus-within{border-color:#c2ff4580;outline:2px solid #c2ff4538;outline-offset:2px}
html:root body dialog#modal form#avFormAssignment .avAssignSearch input::placeholder{color:#adb5ad;opacity:1}
/* Form builder: compact editorial question cards and individual answer options. */
html:root body #content.avFormsLibrary .avBuilderIntro{margin:28px 0 24px}
html:root body #content.avFormsLibrary .avBuilderIntro>span{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#c2ff45}
html:root body #content.avFormsLibrary .avBuilderIntro p{font-size:14px;line-height:1.6;color:#b5c1b0;max-width:470px;margin:10px 0 0}
html:root body #content.avFormsLibrary form#avFormBuilder{display:block;width:100%;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;margin:0}
html:root body #content.avFormsLibrary #avFormBuilder label{color:#b8c3b3;font-size:12px;line-height:1.45}
html:root body #content.avFormsLibrary #avFormBuilder :is(input:not([type=checkbox]),select,textarea){display:block;width:100%;box-sizing:border-box;min-height:46px;padding:12px 14px!important;margin:8px 0 0!important;border:1px solid #ffffff20!important;border-radius:10px!important;background:rgba(46,48,49,.62)!important;color:#f0f4eb!important;box-shadow:inset 0 1px 0 #ffffff08!important;font-family:inherit!important;font-size:16px!important;line-height:1.4;outline-offset:3px}
html:root body #content.avFormsLibrary #avFormBuilder :is(input,select):focus-visible{outline:2px solid #c2ff4590}
html:root body #content.avFormsLibrary #avFormBuilder input::placeholder{color:#8f9d8a;opacity:1;font-weight:400}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderName{display:block;font-size:10px;font-weight:750;letter-spacing:1.1px;margin:0 0 28px}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderName input{font-weight:650;font-size:18px!important;min-height:54px;letter-spacing:0}
html:root body #content.avFormsLibrary #avFormBuilderQuestions{counter-reset:av-builder-question}
html:root body #content.avFormsLibrary #avFormBuilder fieldset.avFormQuestionEditor{counter-increment:av-builder-question;min-width:0;padding:18px!important;margin:0 0 16px!important;border:1px solid #ffffff20!important;border-radius:18px!important;background:linear-gradient(145deg,#ffffff04,#ffffff00),rgba(28,33,29,.72)!important;box-shadow:inset 0 1px 0 #ffffff06!important}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderQuestionHead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderQuestionNumber{display:flex;align-items:center;gap:9px;letter-spacing:1.3px;font-size:10px;font-weight:800;color:#c2ff45}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderQuestionNumber::before{content:counter(av-builder-question,decimal-leading-zero);display:grid;place-items:center;width:28px;height:28px;font-size:12px;letter-spacing:0;border-radius:8px;background:#c2ff4512;border:1px solid #c2ff4530}
html:root body #content.avFormsLibrary #avFormBuilder [data-question-remove]{display:grid;place-items:center;width:44px;height:44px;padding:11px!important;background:none!important;border:0!important;box-shadow:none!important;color:#aab6a5;cursor:pointer}
html:root body #content.avFormsLibrary #avFormBuilder [data-question-remove] svg{width:19px;height:19px}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderPrompt{display:block;font-size:13px;color:#e7eee0;margin:0!important}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderPrompt input{font-weight:600}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderQuestionConfig{display:flex;align-items:flex-end;gap:16px;margin-top:18px}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderQuestionConfig>label:first-child{flex:1;min-width:0;margin:0}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderQuestionConfig select{font-size:14px!important;min-height:44px;padding-right:24px!important}
html:root body #content.avFormsLibrary #avFormBuilder label.avBuilderRequired{position:relative;display:flex;align-items:center;gap:8px;flex-shrink:0;margin:0!important;min-height:44px;cursor:pointer;font-size:11px}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderRequired input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderRequired>span{position:relative;width:30px;height:18px;flex-shrink:0;border-radius:99px;background:#4a5049;box-shadow:inset 0 0 0 1px #ffffff12;pointer-events:none}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderRequired>span::after{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#e6ece2}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderRequired input:checked+span{background:#c2ff45}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderRequired input:checked+span::after{left:15px;background:#192211}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderRequired input:focus-visible+span{outline:2px solid #c2ff45;outline-offset:3px}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderOptionsTitle{margin:24px 0 12px;font-size:9px;letter-spacing:1.2px;font-weight:700;color:#98a792}
html:root body #content.avFormsLibrary #avFormBuilder label.avBuilderOption{display:flex;align-items:center;gap:10px;margin:8px 0!important;padding:0!important;background:rgba(46,48,49,.45);border:1px solid #ffffff18;border-radius:10px}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderOption>span{width:14px;height:14px;border:1px solid #8e9b88;border-radius:50%;margin-left:12px;flex-shrink:0}
html:root body #content.avFormsLibrary #avFormBuilder .avBuilderOption input{flex:1;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;font-weight:400;font-size:14px!important;margin:0!important;padding:10px 0!important;min-height:44px}
html:root body #content.avFormsLibrary #avFormBuilder [data-option-remove]{flex-shrink:0;width:40px;min-height:44px;padding:8px!important;background:none!important;border:0!important;color:#a5b09e;font-size:20px;box-shadow:none!important}
html:root body #content.avFormsLibrary #avFormBuilder [data-option-add]{margin:6px 0 0!important;padding:10px 0!important;min-height:44px;background:none!important;border:0!important;color:#c2ff45;font-size:12px;box-shadow:none!important}
html:root body #content.avFormsLibrary #avFormBuilder [data-form-question-add]{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;border-radius:14px!important;border:1px dashed #91ad7455!important;background:#c2ff4508!important;color:#d8e6ce!important;font-size:14px;box-shadow:none!important;margin:8px 0 20px}
html:root body #content.avFormsLibrary #avFormBuilder [data-form-question-add]>span{font-size:24px;font-weight:400;color:#c2ff45}
html:root body #content.avFormsLibrary #avFormBuilder>[type=submit]{width:100%;min-height:50px;border-radius:999px!important;background:#c2ff45!important;color:#11180a!important;font-weight:750;font-size:14px;box-shadow:none!important;margin-bottom:22px}
html:root body #content.avFormsLibrary #avFormBuilder [role=alert]{font-size:13px;color:#ffac9b}
html:root body #content.avFormsLibrary #avFormBuilder [hidden]{display:none!important}
html:root body #avClientForms .avAssignedResponses{display:grid;gap:12px;margin:12px 0}
html:root body #avClientForms .avAssignedResponses>.avClientFormResponse{display:flex!important;align-items:center;gap:8px;width:100%;text-align:left;padding:16px!important;min-height:56px;margin:0!important;background:transparent!important;border:1px solid #77847755!important;border-radius:14px!important;color:inherit!important;font-family:inherit!important;font-size:16px!important;font-weight:600!important;line-height:1.5!important;box-shadow:none!important;cursor:pointer}
html:root body #avClientForms .avClientFormResponse>svg{flex:0 0 10px;width:10px;height:10px;fill:#f1f4eb}
html:root body #avClientForms .avClientFormResponse>span{font:inherit!important;color:inherit!important}

/* Legal content only; app header and dock anchors are unchanged. */
html:root body #content.avLegalPage{width:100%;max-width:760px;box-sizing:border-box;margin-inline:auto!important}
html:root body #content.avLegalPage .avAccountPageHead h1{font-size:clamp(24px,6vw,32px);line-height:1.2}
html:root body #content.avLegalPage [data-legal-back]{color:#c2ff45!important;background:transparent!important;border:0!important;box-shadow:none!important}
html:root body #content.avLegalPage .avLegalDocument{padding:8px 0 20px;color:#d7e0d2;font-size:15px;line-height:1.75;overflow-wrap:anywhere}
html:root body #content.avLegalPage .avLegalVersion{font-size:11px;line-height:1.6;letter-spacing:.2px;color:#a7b3a0;margin:12px 0 20px}
html:root body #content.avLegalPage .avLegalIntro{font-size:16px;color:#ebf1e5;margin:0 0 26px}
html:root body #content.avLegalPage .avLegalDocument section{margin:0 0 26px}
html:root body #content.avLegalPage .avLegalDocument h2{font-size:17px;font-weight:750;line-height:1.4;color:#edf2e8;margin:0 0 10px}
html:root body #content.avLegalPage .avLegalDocument section p{margin:0;white-space:pre-line}
html:root body #content.avLegalPage .avLegalContact{display:flex;flex-direction:column;gap:8px;border-top:1px solid #ffffff20;padding-top:20px;font-size:14px}
html:root body #content.avLegalPage .avLegalContact a{color:#c2ff45;text-decoration:underline;text-underline-offset:3px}

/* AV Dual Halo surface: page background only, no component or geometry changes. */
html:root:root:root:root:root body:is(.studentApp,.athvCoach){background-color:#000000!important;background-image:radial-gradient(ellipse 110% 62% at 20% -5%,rgba(79,79,72,.48),transparent 78%),radial-gradient(ellipse 80% 50% at 100% 70%,rgba(50,50,44,.2),transparent 80%)!important;background-size:100% 100vh!important;background-repeat:no-repeat!important;background-attachment:scroll!important}
html:root:root:root:root:root body:is(.studentApp,.athvCoach)::before{background:none!important}

/* Approved Ahumado 78% + Bisel suave. Shared by all roles and nested dialogs. */
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert){--av-glass-surface:linear-gradient(125deg,rgba(255,255,255,.045),transparent 58%),rgba(10,12,10,.78);--av-glass-relief:inset 1px 1px 0 rgba(255,255,255,.085),inset -1px -1px 0 rgba(0,0,0,.6),0 6px 15px -9px #000}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) [data-av-glass],html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert)[data-av-glass]{background:var(--av-glass-surface)!important;box-shadow:var(--av-glass-relief)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) [data-av-glass=card],html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert)[data-av-glass=card]{border-radius:20px!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) [data-av-glass=control]{color:#edf2e8!important;border-color:rgba(255,255,255,.13)!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) [data-av-glass=control]:is(.selected,.today:not([data-program-date]),[aria-pressed=true],[aria-current=date]:not([data-program-date]),:has(input:checked)){color:#c2ff45!important;border-color:rgba(194,255,69,.38)!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) [data-av-glass=lime]{background:linear-gradient(125deg,rgba(255,255,255,.045),transparent 58%),rgba(194,255,69,.78)!important;color:#0c1008!important;border-color:rgba(194,255,69,.45)!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) [data-av-glass]:is(.danger,[data-danger]){color:#f2998c!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) :is([data-av-glass=control],[data-av-glass=lime]) :is(span,strong,svg){color:inherit!important}

/* Native upload buttons use the same surface; keep their original metrics. */
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog]) input[type=file]::file-selector-button{background:var(--av-glass-surface)!important;box-shadow:var(--av-glass-relief)!important;border-color:rgba(255,255,255,.13)!important;color:#edf2e8!important}

/* Consistent grouped rows, nested titles and empty states. */
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) [data-av-glass=flat]{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) :is(p.empty,p.avHistorySearchEmpty)[data-av-glass=card]{border:1px solid rgba(255,255,255,.13)!important;padding:20px!important;border-radius:20px!important;text-decoration:none!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) .avHistoryEmptyText,html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) .avHistoryEmptyText .meta{background:transparent!important;box-shadow:none!important;border:0!important;text-decoration:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) .avCalendarDay.avCalendarDay[aria-pressed=false]{color:#edf2e8!important;border-color:rgba(255,255,255,.13)!important;box-shadow:var(--av-glass-relief)!important}
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) .avCalendarDay.avCalendarDay[aria-pressed=true]{color:#c2ff45!important;border-color:rgba(194,255,69,.5)!important;box-shadow:var(--av-glass-relief)!important;outline:none!important}
/* Explicitly confirmed: surface-only island finish. No geometry or child rules. */
html:root body:is(.studentApp,.athvCoach) #nav#nav{background:linear-gradient(125deg,rgba(255,255,255,.045),transparent 58%),rgba(10,12,10,.78)!important;box-shadow:inset 1px 1px 0 rgba(255,255,255,.085),inset -1px -1px 0 rgba(0,0,0,.6),0 6px 15px -9px #000!important}
@media(max-width:700px){@supports(-webkit-touch-callout:none){body.cleanCoachEditor #routineForm :is(input,select,textarea){font-size:16px!important}}}

/* Conversation menus are surfaces, not a painted layer under the identity. */
#avChatMenu[hidden]{display:none!important}
html:root body.avStandaloneChat #avChatMenu:not([hidden]){background:linear-gradient(125deg,rgba(255,255,255,.045),transparent 58%),rgba(10,12,10,.78)!important;box-shadow:inset 1px 1px 0 rgba(255,255,255,.085),inset -1px -1px 0 rgba(0,0,0,.6),0 6px 15px -9px #000!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
/* Keep editor field surfaces consistent without changing their metrics. */
html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) #routineForm :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:var(--av-glass-surface)!important;box-shadow:var(--av-glass-relief)!important;border-color:rgba(255,255,255,.13)!important}

html:root body:not([data-theme=light]) :is(#content#content#content#content#content#content,dialog,[role=dialog],[role=alertdialog],#restAlert) .avCalendarDay.avCalendarDay[aria-pressed=true]:focus-visible{outline:2px solid #edf2e8!important;outline-offset:3px}
/* Exercise media failures retain an initial, without changing card geometry. */
.avExercisePhotoFrame{display:block}
.avExercisePhotoFallback:not([hidden]){display:grid;place-items:center;min-height:64px;font-weight:700}
.avExercisePhotoFallback[hidden],.avExercisePhoto[hidden]{display:none!important}
html:root body.athvCoach.cleanCoachEditor #content #routineForm .avUXExerciseSelect:has(.avPlannerThumb){display:flex;align-items:center;gap:10px}
html:root body.athvCoach.cleanCoachEditor #content #routineForm .avUXExerciseSelect:has(.avPlannerThumb) select{flex:1;min-width:0;width:0;margin-top:0}
#routineForm .avPlannerThumb{position:relative;display:block;flex:0 0 44px;width:44px;height:44px;overflow:hidden;border-radius:10px;background:rgba(12,12,12,.78);border:1px solid rgba(255,255,255,.1)}
#routineForm .avPlannerThumb img{display:block;width:100%;height:100%;object-fit:cover}
#routineForm .avPlannerThumb .avExercisePhotoFallback:not([hidden]){position:absolute;inset:0;min-height:0;font-size:20px}
#routineForm .avPlannerNativeSelect{display:none!important}
#routineForm .avPlannerPick{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;min-height:44px;text-align:left;margin:0}
#routineForm .avPlannerPick>span{min-width:0;overflow-wrap:anywhere}
#routineForm .avPlannerPick svg{flex:none;width:16px;height:16px}

/* Chat rows keep their final flat appearance from insertion, before role classes settle. */
html:root body #content#content#content#content#content#content .avChatDirectory :is(.chatContact,.clientText,.avChatRowMeta){background:transparent!important;background-image:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:transparent!important}
html:root body #content#content#content#content#content#content .avChatDirectory .chatContact::before,html:root body #content#content#content#content#content#content .avChatDirectory .chatContact::after{content:none!important}
/* Section content paints directly; glass classification must not animate a
   newly inserted control from its legacy surface to its final surface. */
html:root body #content{animation:none!important}
html:root body #content [data-av-glass]{transition-property:transform!important}
#avOnDemand .avProgramHeadingIcon{color:#c2ff45;display:inline-flex;width:24px;height:24px;flex:none}
#avOnDemand .avProgramHeadingIcon svg{width:24px;height:24px}
#avOnDemand .avCalendarPlanningHead h2{display:flex;align-items:center;gap:10px}
#avOnDemand .avOnDemandCollection{margin-top:20px}
#avOnDemand .avOnDemandCard{align-items:start}
#avOnDemand details{margin-top:12px}
#avOnDemand summary{cursor:pointer;color:var(--accent,#c2ff45);font-weight:600}
#avOnDemand .avOnDemandDetail{overflow-wrap:anywhere}
#avOnDemand .avOnDemandDay{margin-top:18px}
#avOnDemand .avOnDemandDay h4{margin:0 0 8px}
#avOnDemand .avOnDemandExercise{padding:10px 0;border-bottom:1px solid #ffffff15}
#avOnDemand .avOnDemandExercise p{margin:6px 0}
html:root body #content .avWorkoutPlanning{margin:22px 0;border:0;background:transparent;box-shadow:none}
html:root body #content .avWorkoutPlanning>summary,html:root body #content .avWorkoutCollectionLink{display:flex;align-items:center;gap:12px;width:100%;padding:16px 0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font-size:20px;font-weight:700;text-align:left;list-style:none;cursor:pointer}
html:root body #content .avWorkoutPlanning>summary::-webkit-details-marker{display:none}
html:root body #content .avWorkoutCollectionTitle{display:flex;align-items:center;gap:12px;flex:1}
html:root body #content .avWorkoutCollectionLink>span:nth-child(2){flex:1}
#avOnDemandEntry .avProgramHeadingIcon,#avWorkoutPlanning .avProgramHeadingIcon{color:#c2ff45;display:inline-flex;flex:none}
#avOnDemandEntry svg,#avWorkoutPlanning>summary svg{width:24px;height:24px}
#avWorkoutPlanning .avWorkoutDisclosure{display:flex}
#avWorkoutPlanning[open] .avWorkoutDisclosure{transform:rotate(90deg)}
#avOnDemand .avOnDemandPageHead{display:flex;align-items:center;gap:14px;margin-bottom:24px}
#avOnDemand .avOnDemandPageHead h1{display:flex;align-items:center;gap:12px;margin:0}
#avOnDemand .avOnDemandTabs{display:flex;gap:12px}
#avOnDemand .avOnDemandTabs button{flex:1}
#avWorkoutPlanning .avWorkoutProgramHead .avProgramName{margin:0}
/* The cover fills only the day-to-action row; expanded dates get their own row. */
html:root body #content .avProgramFixedMedia{align-items:stretch}
html:root body #content .avProgramFixedMedia>.avProgramDayMedia{position:relative;grid-column:1;grid-row:1;min-height:100px;min-width:0;overflow:hidden;border-radius:10px}
html:root body #content .avProgramFixedMedia>.avProgramDayContent{grid-column:2;grid-row:1;min-width:0}
html:root body #content .avProgramFixedMedia>.avProgramDayMedia>img,html:root body #content .avProgramFixedMedia>.avProgramDayMedia>.avProgramArt{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:inherit;object-fit:cover;object-position:center}
html:root body #content .avProgramFixedMedia>.avProgramAssignedDates{grid-column:1/-1;grid-row:2;margin:0;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
html:root body #content .avProgramFixedMedia>.avProgramAssignedDates[hidden]{display:none!important}
/* Day preview: text actions stay flat; block names lead the exercise hierarchy. */
html:root body #content#content :is(.avDescriptionMore,.avPreviewBlock .exerciseTitle,.avPreviewExercise .exerciseTitle){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;text-decoration:none!important}
html:root body #content#content :is(.avDescriptionMore,.avPreviewBlock .exerciseTitle,.avPreviewExercise .exerciseTitle)::before,html:root body #content#content :is(.avDescriptionMore,.avPreviewBlock .exerciseTitle,.avPreviewExercise .exerciseTitle)::after{content:none!important}
html:root body #content#content .avPreviewBlock>summary h3{font-size:20px!important;line-height:1.3!important;font-weight:700!important;color:#c2ff45!important}
html:root body #content#content .avPreviewBlock>summary>span:first-child{background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.015)),rgba(30,34,31,.78)!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;color:#dce3da!important}
html:root body #content#content :is(.avPreviewBlock .exerciseTitle,.avPreviewExercise .exerciseTitle) svg,html:root body #content#content .avPreviewBlock>summary>.avCompactChevron{color:#c2ff45!important}
html:root body #content#content #avOnDemand .avOnDemandCard .avOnDemandName{font-size:20px!important;font-weight:750!important;line-height:1.25!important;margin:0 0 8px!important;color:inherit}
#avOnDemand .avOnDemandBadge{margin:0 0 8px;color:#c2ff45;font-weight:600}
/* A compact cover-led catalog; expanded descriptions do not resize the cover. */
html:root body #content#content #avOnDemand .avProgramDays{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px}
html:root body #content#content #avOnDemand .avOnDemandCard{display:block;min-width:0;margin:0}
html:root body #content#content #avOnDemand .avOnDemandOverview{display:grid;grid-template-columns:38% minmax(0,1fr);align-items:stretch;gap:14px;padding:0;min-height:210px;list-style:none;cursor:pointer;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#avOnDemand .avOnDemandOverview::-webkit-details-marker{display:none}
#avOnDemand .avOnDemandOverview::marker{content:''}
#avOnDemand .avOnDemandCover{position:relative;min-width:0;overflow:hidden;border-radius:12px}
html:root body #content#content #avOnDemand .avOnDemandCover>img,html:root body #content#content #avOnDemand .avOnDemandCover>.avProgramArt{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit}
#avOnDemand .avOnDemandCardBody{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:4px 0;color:var(--text,#edf2e8)}
#avOnDemand .avOnDemandSubtitle{font-size:13px;line-height:1.35;margin:0 0 10px;color:inherit}
html:root body #content#content #avOnDemand :is(.avOnDemandBadge,.avOnDemandSubtitle){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#avOnDemand .avOnDemandBadge{font-size:11px;line-height:1.4;letter-spacing:.04em}
#avOnDemand .avOnDemandCall{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;padding-top:16px;color:#c2ff45;font-size:13px;font-weight:650}
#avOnDemand .avOnDemandCall svg{width:18px;height:18px;flex:none}
#avOnDemand .avOnDemandCard[open]>.avOnDemandDetail{margin-top:16px;padding-top:16px;border-top:1px solid #ffffff20}
@media(min-width:760px){html:root body #content#content #avOnDemand .avProgramDays{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Symmetric side columns keep internal page titles at the true center. */
html:root body #content#content :is(.avAccountPageHead,.avOnDemandPageHead,.avCompactWeekHead,.avEditorHeading,#avClientsHistoryHead){display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;gap:8px!important;padding-left:0!important;padding-right:0!important}
html:root body #content#content :is(.avAccountPageHead,.avOnDemandPageHead,.avCompactWeekHead,.avEditorHeading,#avClientsHistoryHead)>:is(h1,h2,div){grid-column:2;grid-row:1;min-width:0;width:100%;text-align:center!important;justify-content:center!important;margin-left:0!important;margin-right:0!important}
html:root body #content#content :is(.avAccountPageHead,.avOnDemandPageHead,.avCompactWeekHead,.avEditorHeading,#avClientsHistoryHead)>.avPageBack{grid-column:1;grid-row:1;position:static!important}
html:root body #content#content .avPageBack{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#c2ff45!important;text-decoration:none!important;transform:none!important;transition:none!important}
html:root body #content#content .avPageBack::before,html:root body #content#content .avPageBack::after{content:none!important}
html:root body #content#content .avPageBack>svg{width:24px!important;height:24px!important;color:#c2ff45!important;filter:none!important}
html:root body #content#content .avFixedDayHeader{position:relative}
html:root body #content#content .avFixedDayHeader>.avPageBack{position:absolute!important;left:14px;top:14px}
html:root body #content#content .avFixedDayHeader>div:not(.avDayDescription),html:root body #content#content .avLiveTitle{box-sizing:border-box;position:relative;width:100%;padding-left:44px!important;padding-right:44px!important;text-align:center!important}
html:root body #content#content .avLiveTitle>.avPageBack{position:absolute!important;left:0;top:0}
/* Approved Chat header polish: preserve every existing box and offset. */
html:root body #avStandaloneChatHead :is(h1,.avChatIdentity>span:last-child){text-align:center!important}
html:root body #avStandaloneChatHead>button:is([data-chat-workout],[data-chat-group-back],[data-chat-inbox],[data-account-back]){color:#c2ff45!important;background:transparent!important;background-image:none!important;border-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important}
html:root body #avStandaloneChatHead>button:is([data-chat-workout],[data-chat-group-back],[data-chat-inbox],[data-account-back])::before,html:root body #avStandaloneChatHead>button:is([data-chat-workout],[data-chat-group-back],[data-chat-inbox],[data-account-back])::after{content:none!important}
html:root body #avStandaloneChatHead>button:is([data-chat-workout],[data-chat-group-back],[data-chat-inbox],[data-account-back])>svg{color:#c2ff45!important;filter:none!important}
/* Question pages share the current neutral glass palette instead of the old green shell. */
html:root body:not([data-theme=light]) dialog#avFormPage[open]{background:radial-gradient(ellipse at 15% 0%,rgba(255,255,255,.065),transparent 58%),#000!important;color:#edf2e8!important}
html:root body dialog#avFormPage .avQuestion legend{font-size:clamp(24px,5.8vw,32px)!important;font-weight:750!important;line-height:1.2!important;letter-spacing:-.6px;text-transform:none}
html:root body dialog#avFormPage .avQuestion legend em{color:#c2ff45!important;background:transparent!important;padding:0;box-decoration-break:slice;-webkit-box-decoration-break:slice}
html:root body:not([data-theme=light]) dialog#avFormPage .avQuestion :is(textarea,input:not([type=radio],[type=checkbox]),select){background:var(--av-subtle-input,rgba(20,24,21,.9))!important;border-color:rgba(255,255,255,.13)!important;border-radius:14px!important;color:#edf2e8!important;box-shadow:inset 0 1px 0 #ffffff0a!important}
html:root body dialog#avFormPage .avFormChoiceList{gap:10px;border-top:0}
html:root body:not([data-theme=light]) dialog#avFormPage .avFormChoices label>span{background:var(--av-glass-surface,linear-gradient(125deg,rgba(255,255,255,.045),transparent 58%),rgba(10,12,10,.78))!important;border:1px solid rgba(255,255,255,.13)!important;box-shadow:var(--av-glass-relief,inset 1px 1px 0 #ffffff15,inset -1px -1px 0 #0009,0 6px 15px -9px #000)!important;color:#edf2e8!important;border-radius:16px!important;transition:none}
html:root body:not([data-theme=light]) dialog#avFormPage .avFormChoices input:checked+span{background:linear-gradient(125deg,rgba(194,255,69,.07),transparent 65%),rgba(24,27,24,.8)!important;border-color:rgba(194,255,69,.55)!important;color:#c2ff45!important;box-shadow:inset 0 1px 0 #ffffff0c!important}
html:root body:not([data-theme=light]) dialog#avFormPage :is(.checklabel,.avFormSignature){background:var(--av-glass-surface,linear-gradient(125deg,rgba(255,255,255,.045),transparent 58%),rgba(10,12,10,.78))!important;border-color:rgba(255,255,255,.13)!important;border-radius:16px!important;color:#edf2e8!important}
html:root body dialog#avFormPage form>.avFormPageActions{background:rgba(5,6,5,.9);box-shadow:0 -10px 20px #0003;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html:root body dialog#avFormPage .avFormPageActions>button{border-radius:14px!important}
html:root body dialog#avFormPage [data-form-previous]{background:var(--av-subtle-button,rgba(23,28,24,.75))!important;border-color:rgba(255,255,255,.13)!important}
html:root body[data-theme=light] dialog#avFormPage[open]{background:radial-gradient(ellipse at 15% 0%,#fff,transparent 65%),#f1f5ef!important;color:#18201a!important}
html:root body[data-theme=light] dialog#avFormPage :is(.avQuestion legend,.avFormWordmark>span){color:#18201a!important}
html:root body[data-theme=light] dialog#avFormPage .avQuestion legend em{color:#4a701a!important}
html:root body[data-theme=light] dialog#avFormPage .avFormChoices label>span,html:root body[data-theme=light] dialog#avFormPage .avQuestion :is(textarea,input:not([type=radio],[type=checkbox]),select),html:root body[data-theme=light] dialog#avFormPage :is(.checklabel,.avFormSignature){background:#ffffffd9!important;color:#18201a!important;border:1px solid #20302026!important;border-radius:16px!important;box-shadow:0 6px 16px #18201808!important}
html:root body[data-theme=light] dialog#avFormPage .avFormChoices input:checked+span{background:#eff6df!important;border-color:#6c922f!important;color:#375515!important}
html:root body[data-theme=light] dialog#avFormPage form>.avFormPageActions{background:#f1f5efe6;box-shadow:none}
html:root body[data-theme=light] dialog#avFormPage [data-form-previous]{background:#ffffffd9!important;color:#18201a!important;border-color:#20302026!important}
/* History is a set of pages, with aligned totals and readable comparable trends. */
#avHistoryPages{min-width:0}
#avHistoryPages #avWorkoutEvolution{margin:0;padding:0;border:0;background:none;box-shadow:none}
#avHistoryPages .avHistoryOverview{padding:18px;border:1px solid #ffffff20;border-radius:20px}
#avHistoryPages .avHistorySummaryHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
#avHistoryPages .avHistorySummaryHead h2{font-size:20px;margin:0}
#avHistoryPages .avHistoryPeriod{display:grid;gap:6px;font-size:12px}
#avHistoryPages .avHistoryPeriod select{margin:0;min-height:44px;width:100%}
#avHistoryPages .avHistoryTotals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;text-align:center}
#avHistoryPages .avHistoryTotals>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;padding:14px 6px;background:#ffffff06;border:1px solid #ffffff12;border-radius:14px}
#avHistoryPages .avHistoryTotals strong{display:block;font-size:clamp(22px,5vw,34px);line-height:1.2;font-weight:750;overflow-wrap:anywhere}
#avHistoryPages .avHistoryTotals span{display:flex;align-items:center;justify-content:center;min-height:32px;font-size:11px;line-height:1.4;color:var(--muted,#bcc5be)}
html:root body #content#content .avHistoryPageLink{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:16px 0;border:0;box-shadow:none;background:transparent;color:inherit;text-align:left;font-size:18px;font-weight:650}
#avHistoryPages .avHistoryPageLink>span:nth-child(2){flex:1}
#avHistoryPages .avHistoryPageLink svg{width:24px;height:24px;color:#c2ff45;flex:none}
#avHistoryPages .avHistoryProgressFilters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:24px}
#avHistoryPages .avHistoryProgressFilters>label:first-child{grid-column:1/-1}
#avHistoryPages .avHistoryProgressFilters label{display:grid;gap:6px;min-width:0;font-size:13px}
#avHistoryPages .avHistoryProgressFilters select{width:100%;margin:0;min-width:0}
#avHistoryPages .avHistoryTrendStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 22px}
#avHistoryPages .avHistoryTrendStats>div{min-width:0;display:flex;flex-direction:column;gap:8px}
#avHistoryPages .avHistoryTrendStats span{font-size:12px;color:var(--muted,#bcc5be)}
#avHistoryPages .avHistoryTrendStats strong{font-size:20px;overflow-wrap:anywhere}
#avHistoryPages .avHistoryTrendStats small{font-size:11px;font-weight:500}
#avHistoryPages .avHistoryTrend{display:block;width:100%;height:auto;overflow:visible;background:linear-gradient(180deg,#ffffff03,transparent);border-radius:14px}
#avHistoryPages .avHistoryTrend text{font:12px sans-serif;fill:var(--muted,#bcc5be)}
#avHistoryPages .avTrendGrid{stroke:#ffffff18;stroke-dasharray:4 5}
#avHistoryPages .avHistoryTrend g[role=button]{cursor:pointer}
#avHistoryPages .avHistoryTrend g:focus-visible{outline:2px solid #c2ff45}
#avHistoryPages .avHistoryTable{overflow-x:auto;margin-top:22px}
#avHistoryPages table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}
#avHistoryPages caption{text-align:left;font-size:16px;font-weight:650;margin-bottom:12px}
#avHistoryPages th,#avHistoryPages td{padding:10px 6px;border-bottom:1px solid #ffffff18}
#avHistoryPages .avHistorySessionList{display:grid;gap:12px;margin-top:20px}
#avHistoryPages .avHistorySessionLink{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:18px;border:1px solid #ffffff20;border-radius:18px;text-align:left}
#avHistoryPages .avHistorySessionLink span{display:flex;flex-direction:column;gap:10px;min-width:0}
#avHistoryPages .avHistorySessionLink strong{font-size:16px;overflow-wrap:anywhere}
#avHistoryPages .avHistorySessionLink small{font-size:12px;color:var(--muted,#bcc5be)}
#avHistoryPages .avHistorySessionLink svg{width:24px;height:24px;flex:none}
#avHistoryPages .avHistorySearch{display:grid;gap:8px;margin-top:20px}
#avHistoryPages .avHistoryRecordSection{margin-top:16px}
html:root body #content#content .avPageBack>svg{transform:none!important}
html:root body #content#content .avHistoryPageLink>span:nth-child(2){font-size:18px!important;line-height:1.35!important;font-weight:650!important}
html:root body #content#content :is(.avAccountPageHead,.avOnDemandPageHead,.avCompactWeekHead,.avEditorHeading,#avClientsHistoryHead)>:is(h1,h2),html:root body #content#content :is(.avCompactWeekHead,.avEditorHeading)>div>:is(h1,h2){font-size:24px!important;line-height:1.2!important;font-weight:650!important;letter-spacing:-.7px!important;text-align:center!important}
#avHistoryPages .avHistorySummaryHead .avHistoryPeriod{margin:0;align-self:center}
#avHistoryPages .avTrendUnit{font-size:12px;color:var(--muted,#bcc5be);margin-bottom:10px}
#avHistoryPages .avHistoryTrend text{font-size:11px}
#avHistoryPages .avHistoryTrend .avTrendValue{font-size:12px;font-weight:650;fill:var(--text,#edf2e8)}
