
body{background:var(--uc-071821)}.wrap{max-width:720px;padding-top:calc(env(safe-area-inset-top) + 20px)}
.card{box-shadow:none;border-radius:16px}.brand h1{font-size:24px}.brand b{display:none}
header{border-bottom:1px solid var(--uc-28434f);padding-bottom:16px;margin-bottom:18px}
.theme-logo{padding:0;background:transparent!important;border:0;width:74px;height:74px;flex:none;border-radius:12px;cursor:pointer}
.brand .theme-logo img{width:74px;height:74px;background:transparent;object-fit:contain;border-radius:0}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #267567;outline-offset:3px}
nav{background:var(--uc-0b1e27);z-index:25}nav button{font-size:13px;min-height:44px;border-radius:10px}nav button.active{background:var(--uc-fff);color:var(--uc-000)}
.today-intro{margin:22px 0}.today-hero button{width:100%;margin-top:10px}.card h3{font-size:18px}.client-subtabs{margin:12px 0 20px}
:root[data-unity-theme="light"]{color:#102934;background:#F3F7F8}
:root[data-unity-theme="light"] button:not(.quiet):not(.secondary):not(.theme-logo):not([data-t]):not(.habchk):not(.habday){background:#102934;color:#fff}
:root[data-unity-theme="light"] nav button.active{background:#102934;color:#fff}
:root[data-unity-theme="light"] .muted,:root[data-unity-theme="light"] label{color:#4D6470}
:root[data-unity-theme="light"] input,:root[data-unity-theme="light"] select,:root[data-unity-theme="light"] textarea{background:#fff;color:#102934;border-color:#CBDADF}
:root[data-unity-theme="light"] .card,:root[data-unity-theme="light"] .exercise,:root[data-unity-theme="light"] .swapbox{background:#fff;color:#102934;border-color:#CBDADF}.swapbox label:has(#edit-notes){display:block}.swapbox #edit-notes{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:76px}
:root[data-unity-theme="light"] [style*="color:#fff"]{color:#102934!important}
:root[data-unity-theme="light"] .err{color:#9E302D}:root[data-unity-theme="light"] .ok{color:#267567}
:root[data-unity-theme="light"] .hero{background:#fff;border:1px solid #CBDADF;border-radius:16px;padding:18px}
:root[data-unity-theme="light"] .bwchart [stroke="#ffffff"],:root[data-unity-theme="light"] .bwchart [stroke="#fff"]{stroke:#102934}
:root[data-unity-theme="light"] .bwchart [fill="#f7f6f0"],:root[data-unity-theme="light"] .bwchart [fill="#8fa3ab"]{fill:#4D6470}
:root[data-unity-theme="light"] .bwchart [fill="#071821"]{fill:#fff}
:root[data-unity-theme="light"] .bwchart [stroke="#99d4c5"]{stroke:#267567}
:root[data-unity-theme="light"] .bwchart [fill="#99d4c5"]{fill:#267567}
:root[data-unity-theme="light"] .bwchart [stroke="#ffffff14"],:root[data-unity-theme="light"] .bwchart [stroke="#ffffff10"]{stroke:#CBDADF}
:root[data-unity-theme="light"] .theme-logo img{filter:brightness(0) saturate(100%) invert(12%) sepia(17%) saturate(1512%) hue-rotate(154deg) brightness(92%)}
/* Exercise list status has its own padded, non-shrinking column. */
.exercise{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 12px;border-radius:12px;max-width:100%}
.exercise>div{min-width:0;overflow-wrap:anywhere}.exercise>span{white-space:nowrap;padding-right:2px;font-size:12px;justify-self:end}
.exercise .art-thumb{width:40px;height:40px;max-width:100%;object-fit:contain}
.exercise:not(:has(.art-thumb)){grid-template-columns:minmax(0,1fr) auto}
/* Original full-colour artwork on the same light-blue tile in both themes. */
.art-thumb,.exlib img,.ex-illustration img{filter:none!important;mix-blend-mode:normal!important;background:#F3F7F8!important;border-color:#CBDADF!important}
@media(max-width:700px){input,select,textarea{font-size:16px!important}body{min-height:100dvh}.client-keyboard-open nav{display:none}.client-keyboard-open .wrap{padding-bottom:30px}.client-keyboard-open #client-chat{position:fixed;top:calc(var(--client-visible-top,0px) + 8px);left:8px;right:8px;height:calc(var(--client-visible-height,100dvh) - 16px)!important;max-height:none!important;margin:0;z-index:40;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;background:var(--uc-102934)}.client-keyboard-open #client-chat .chatlog{min-height:40px;flex:1;overflow:auto}.client-keyboard-open #client-chat h3,.client-keyboard-open #client-chat>p,.client-keyboard-open #client-chat .chatcompose,.client-keyboard-open #client-chat #chat-send{flex:none}div.chatcompose{display:flex!important;align-items:flex-end;gap:8px}div.chatcompose textarea{flex:1 1 auto;width:auto!important;margin:0!important;border-radius:20px!important;padding:9px 12px!important;resize:none!important;font-size:16px!important;line-height:1.3!important;max-height:120px;overflow-y:auto}div.chatcompose .chatgo{flex:none;width:34px;height:34px;min-height:0!important;border-radius:50%!important;background:#357c80;color:#fff;border:none!important;display:flex;align-items:center;justify-content:center;padding:0!important;margin:0 0 1px!important}div.chatcompose .chatgo:active{transform:scale(.92)}.client-keyboard-open #client-chat textarea{font-size:16px!important;min-height:44px}.client-keyboard-open #client-chat #chat-status:empty{display:none}}

/* Today progress actions: explicit spacing-only adjustment. */
#app .card>button[data-view="goals"],#app .card>button[data-view="history"]{display:block;width:100%;min-height:48px;margin-top:12px;margin-bottom:0;}
/* Match the programme and workout pickers to the training controls. */
.hero .workoutpick{display:block;width:100%;margin:0 0 12px}
.hero .workoutpick select{display:block;box-sizing:border-box;width:100%;min-height:54px;padding:14px 44px 14px 16px;border:1px solid #43616c;border-radius:14px;background-color:transparent;color:inherit;font:inherit;font-weight:600;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23cfd9de' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
html[data-unity-theme="light"] .hero .workoutpick select{background-color:#fff;color:#102934;border-color:#CBDADF;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23102934' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.hero .workoutpick{padding:0}
.hero .workoutpick select{margin:0}

/* One document scroll surface inside the fixed staging frame. */
html{overflow-x:clip;overflow-y:auto;overscroll-behavior-y:contain;min-height:100%}
body{overflow:visible;min-height:100%;height:auto}
#app.wrap{height:auto;overflow:visible}

@media(max-width:700px){#app>nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;left:0;right:0;top:auto!important;bottom:0!important;padding:4px 6px max(4px,calc(env(safe-area-inset-bottom) - 16px))!important;min-height:0;height:auto!important;align-items:center}#app>nav button{width:100%;min-width:0;min-height:44px!important;padding:8px 2px!important;margin:0!important;font-size:12px!important;line-height:1.2;border-radius:10px}#app.wrap{padding-bottom:calc(76px + env(safe-area-inset-bottom))}}

.stage-name-overlay{background:var(--uc-071821)!important;color:var(--uc-f7f6f0)!important}

#stage-next-appointment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center}#stage-next-appointment h3{grid-column:1/-1;margin:0}#stage-next-appointment p{margin:0}#stage-next-appointment .appointment-date{font-size:18px;font-weight:700;line-height:1.3;color:var(--uc-f7f6f0)}#stage-next-appointment button{min-height:44px;margin:0;padding:10px 14px}body{background:var(--uc-071821)}

:root[data-unity-theme=light] .muted,:root[data-unity-theme=light] .note,:root[data-unity-theme=light] small,:root[data-unity-theme=light] label,:root[data-unity-theme=light] .card p,:root[data-unity-theme=light] .card summary{color:#334F5D!important}
/* PB card on the session summary is intentionally inverted (navy in light mode); the broad light card-text rule forced its text dark. Keep PB card text white in light mode. */
:root[data-unity-theme=light] .card .sumpb p,:root[data-unity-theme=light] .card .sumpb b{color:#FFFFFF!important}:root[data-unity-theme=light] input::placeholder,:root[data-unity-theme=light] textarea::placeholder{color:#4D6470!important;opacity:1}:root[data-unity-theme=light] button:disabled{opacity:1!important;background:#E4ECEF!important;color:#4D6470!important}

@media(max-width:700px){#app>nav{position:fixed!important;bottom:0!important;padding:4px 6px!important;border-radius:0!important;background:var(--uc-071821)!important;box-shadow:none!important;transform:none!important}#app.wrap{padding-bottom:64px!important}}

/* Keep one status-bar inset, without extra header or home-indicator bands. */
@media(max-width:700px){#app.wrap{padding-top:calc(env(safe-area-inset-top) + 4px)!important}#app>header{padding-bottom:6px!important;margin-bottom:8px!important}.client-subtabs{margin-top:8px!important;margin-bottom:14px!important}#app>nav{bottom:0!important;padding:3px 6px!important}#app>nav button{min-height:44px!important}}

@media(max-width:700px){#app.wrap{padding-top:var(--host-safe-top,env(safe-area-inset-top,0px))!important;padding-bottom:calc(64px + var(--host-safe-bottom,env(safe-area-inset-bottom,0px)))!important}#app>nav{bottom:0!important;padding:3px 6px calc(3px + var(--host-safe-bottom,env(safe-area-inset-bottom,0px)))!important}}

/* Match the coach's compact content-area spacing. No second inset in the client frame. */
@media(max-width:700px){#app.wrap{padding-top:0!important;padding-bottom:64px!important}#app>header{min-height:54px;box-sizing:border-box;padding-top:0!important;padding-bottom:4px!important;margin-bottom:8px!important}#app>nav{padding:3px 6px!important;min-height:0!important;bottom:0!important}}

#stage-next-appointment .appointment-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}#stage-next-appointment .appointment-actions button{position:static!important;margin:0!important;min-height:44px!important;padding:10px 14px!important}#stage-next-appointment .appointment-cancel{color:#FFCCC5!important;border-color:#B96961!important;background:transparent!important}:root[data-client-theme=light] #stage-next-appointment .appointment-cancel{color:#92312C!important;border-color:#D4938E!important}
@media(max-width:700px){html,body{overscroll-behavior-y:none}#app>header{position:sticky;top:0;z-index:25;background:var(--uc-071821)}#app>header::before{content:'';position:absolute;bottom:100%;height:100px;left:-16px;right:-16px;background:var(--uc-071821);pointer-events:none}}

#stage-next-appointment.stage-bookings{display:block;padding:0!important}#stage-next-appointment.stage-bookings>summary{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:14px;font-weight:700;cursor:pointer;list-style:none}#stage-next-appointment.stage-bookings>summary::-webkit-details-marker{display:none}#stage-next-appointment.stage-bookings>summary::after{content:'⌄'}#stage-next-appointment.stage-bookings[open]>summary::after{content:'⌃'}#stage-next-appointment.stage-bookings>iframe{padding:0 10px 10px;box-sizing:border-box}
.today-hero{display:none!important}

.today-extra{display:none!important}

@media(max-width:700px){#app>nav{background:var(--uc-102934)!important;padding:3px 6px max(3px,calc(var(--shell-safe-bottom,env(safe-area-inset-bottom,0px)) - 9px))!important}#app.wrap{padding-bottom:calc(64px + var(--shell-safe-bottom,env(safe-area-inset-bottom,0px)))!important}}
@media(max-width:700px){#app>header{margin-left:-16px!important;margin-right:-16px!important;padding-left:16px!important;padding-right:16px!important;isolation:isolate;box-shadow:0 8px 0 var(--uc-071821);z-index:30}#app>header::after{content:'';position:absolute;left:0;right:0;top:100%;height:8px;background:var(--uc-071821);pointer-events:none}.client-subtabs{position:relative;z-index:1}#stage-next-appointment.stage-bookings>iframe{background:var(--uc-102934)!important;border-radius:0 0 18px 18px}}

#stage-next-appointment.stage-bookings{border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important}#stage-next-appointment.stage-bookings>iframe{padding:0!important}
html,body{max-width:100%;overflow-x:hidden!important;overscroll-behavior-x:none}body{touch-action:pan-y pinch-zoom}#app{box-sizing:border-box;width:100%;min-width:0;overflow-x:clip}#app>header::before{left:0!important;right:0!important}#app iframe{max-width:100%;min-width:0;box-sizing:border-box}#app .card,.client-subtabs{min-width:0;max-width:100%;box-sizing:border-box}
#app{overflow:visible!important}
html,body{overflow-x:clip!important;overflow-y:visible!important}#app>header{position:sticky!important;top:0!important}
@media(max-width:700px){#app>header{position:fixed!important;top:0!important;left:0;right:0;margin:0!important;width:100%;max-width:720px;height:64px!important;min-height:64px!important;box-sizing:border-box}#app.wrap{padding-top:64px!important}}
/* Use the coach shell's bar dimensions, including its safe-bottom rule. */
@media(max-width:700px){#app>header{height:54px!important;min-height:54px!important;padding:0 16px 4px!important;gap:12px;box-shadow:none!important}#app.wrap{padding-top:62px!important}#app>header .brand{gap:12px;flex:1;min-width:0}#app>header .theme-logo,#app>header .theme-logo img{width:42px!important;height:42px!important}#app>header .brand h1{font:400 22px Georgia,serif!important;margin:0!important}#app>header .stage-name-overlay{font:400 22px Georgia,serif!important}#app>nav{display:flex!important;gap:4px!important;padding:4px 6px max(4px,calc(var(--shell-safe-bottom,env(safe-area-inset-bottom)) - 16px))!important;background:var(--uc-0b1e27)!important;border-top:1px solid #304854!important}#app>nav button{flex:1!important;max-width:none!important;min-width:0!important;font-size:12px!important;min-height:44px!important;padding:8px 4px!important;border-radius:10px!important;font-weight:800!important;color:#899ba3}#app>nav button.active{background:#fff!important;color:#102934!important}}
#stage-next-appointment.stage-bookings>iframe{background:var(--uc-071821)!important}:root[data-unity-theme=light] #stage-next-appointment.stage-bookings>iframe{background:#F3F7F8!important}:root[data-unity-theme=light] #app>nav{background:#F3F7F8!important}:root[data-unity-theme=light] #app>nav button.active{background:#102934!important;color:#fff!important}
#app #stage-next-appointment[hidden]{display:none!important}

/* One scroll area between in-flow bars. No fixed elements or viewport JS in the iframe. */
html,body{height:100%!important;min-height:0!important;overflow:hidden!important}#app.wrap{height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;display:grid!important;grid-template-rows:54px minmax(0,1fr) auto;overflow:hidden!important;max-width:720px;margin:auto}#app>header{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;margin:0!important;grid-row:1}#app>header::before,#app>header::after{display:none!important}.client-content{grid-row:2;min-height:0;overflow-y:auto;overflow-x:hidden;padding:8px 16px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}#app>nav{position:relative!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;grid-row:3;width:100%;margin:0!important;padding:4px 6px max(4px,calc(var(--shell-safe-bottom,env(safe-area-inset-bottom,0px)) - 16px))!important}#client-chat{height:calc(100% - 16px)!important;max-height:none!important;min-height:260px!important;margin:8px 0!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important}.client-content:has(#client-chat){display:flex;flex-direction:column}.client-content>#client-chat{flex:1}#client-chat .chatlog{overflow:auto;min-height:0;flex:1}

/* Stable dock dimensions shared by coach, client and transition shell. */
html,body{-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}#app.wrap{grid-template-rows:54px minmax(0,1fr) 67px!important}#app>nav{height:67px!important;min-height:67px!important;max-height:67px!important;padding:4px 6px 18px!important;box-sizing:border-box!important;align-items:start!important;flex-shrink:0!important}#app>nav button{height:44px!important;min-height:44px!important;max-height:44px!important;padding:8px 4px!important;font-size:13px!important;line-height:16px!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
/* Timed values must remain readable on phone widths. */
.setrow.timed{grid-template-columns:44px minmax(64px,80px) 30px minmax(0,1fr) 0 76px!important}.setrow.timed input{width:100%!important;min-width:64px!important;padding:10px 6px!important}
#preview-coach-wellness{margin:18px 0!important}#preview-coach-wellness>[data-add-pain],#preview-coach-wellness>[data-coach-save]{display:block;margin:14px 0!important;min-height:44px;max-width:100%}#preview-coach-wellness [data-pain-list]>label{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px 0;margin:16px 0}#preview-coach-wellness [data-pain-list] input{grid-column:1/-1;width:100%}#preview-coach-wellness [data-pain-list] b{grid-column:1;display:block}#preview-coach-wellness [data-pain-list] button{grid-column:2;display:block;margin:0!important;min-height:44px}#preview-coach-wellness+.client-subtabs{margin-top:20px!important}
#preview-coach-wellness>[data-coach-save][hidden]{display:none!important}
.wellness-average-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.wellness-average-tile{background:var(--uc-071821);border:1px solid var(--uc-28434f);border-radius:12px;padding:14px}.wellness-average-tile>span{display:block;font-size:13px;color:var(--uc-c9d3d7);margin-bottom:8px}.wellness-average-tile strong{font-size:28px;line-height:1.2}.wellness-average-tile small,.wellness-pain-averages small{font-size:12px;font-weight:400;color:var(--uc-c9d3d7);margin-left:4px}.wellness-pain-averages{display:grid;gap:10px}.wellness-pain-averages>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--uc-28434f);padding:10px 0}.wellness-pain-averages strong{font-size:18px}
/* Rest bar sits 6px above the shared 67px bottom dock, not a second safe-area gap. */
#app .rest{position:fixed!important;top:auto!important;bottom:73px!important;left:50%!important;transform:translateX(-50%)!important;width:min(736px,calc(100% - 24px))!important;z-index:24}
.client-content:has(#restbar){padding-bottom:96px!important}

#app:has(>.consent-content){grid-template-rows:54px minmax(0,1fr)!important}.consent-content{padding:14px 16px 24px!important}.consent-content>.consent{height:auto;min-height:0;overflow-wrap:anywhere}

.stage-bookings[data-loading=true]{min-height:90px;position:relative}.stage-bookings[data-loading=true]::before{content:'Loading bookings...';display:block;font:14px system-ui;padding:24px 0;color:var(--uc-c9d3d7)}

.wellness-history-day{padding:14px 0;border-top:1px solid var(--uc-28434f)}.wellness-history-day p{line-height:1.6}.history-workout>summary{cursor:pointer;list-style:none}.history-workout>summary::-webkit-details-marker{display:none}.history-workout .historydetail{border:0;margin:14px 0 0;padding:8px 0;box-shadow:none;background:transparent}

.lift-stat-title{display:block;margin:16px 0 8px;font-weight:700;font-size:18px}.lift-stat-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px}.lift-stat-block>div{display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--uc-071821);border:1px solid var(--uc-28434f);border-radius:10px}.lift-stat-block span{font-size:13px;color:var(--uc-c9d3d7)}.lift-stat-block small{display:block;font-size:13px;line-height:1.5}.lift-top-sets{grid-column:1/-1}.lift-top-sets small{display:flex;justify-content:space-between}.habday i{width:18px;height:18px;font-style:normal;font-size:13px;line-height:16px;text-align:center}.habday.on{border-color:#99d4c5!important;background:#99d4c5!important;color:#102934!important}.habday.on i{background:#102934!important;color:#fff!important;border-color:#102934!important}:root[data-unity-theme=light] .habday:not(.on){background:#F3F7F8!important;color:#4D6470!important;border-color:#CBDADF!important}:root[data-unity-theme=light] .habday:not(.on) i{border-color:#4D6470!important;background:transparent!important}

.exercise-card{position:relative}.exercise-reorder{position:absolute;left:10px;top:10px;z-index:2;display:flex;gap:4px}.exercise-reorder button{min-width:30px;min-height:30px;padding:3px 7px;background:var(--card,#fff);border:1px solid var(--line,#b8cbd0);font-size:18px;line-height:22px}.exercise-reorder button:disabled{opacity:.4}
.exercise-card .exercise-reorder{left:auto;right:10px;top:14px;flex-direction:column}.exercise-card .ex-illustration{margin-right:38px}.exercise-card .exercise-reorder button{min-height:34px}

.client-picker-dialog{width:calc(100% - 32px);max-width:380px;max-height:80lvh;overflow:auto;background:#102934;color:#f7f6f0;border:1px solid #8299a3;border-radius:18px;padding:16px}.client-picker-dialog::backdrop{background:#0008}.client-picker-row{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:48px;text-align:left;margin-bottom:6px}html[data-unity-theme=light] .client-picker-dialog{background:#f3f7f8;color:#102934}

.nutrition-goal #fd-save-profile{margin:12px 0;display:block;width:100%;white-space:normal;line-height:1.35}
.learn-lesson>p{line-height:1.6}.learn-timer{margin-top:24px;padding-top:20px;border-top:1px solid #54717b}.learn-timer>[data-countdown]{display:block;font-size:36px;line-height:1.2;font-variant-numeric:tabular-nums;margin:0 0 18px}.learn-timer>div{display:flex;gap:12px;flex-wrap:wrap}.learn-timer>div button{flex:1;min-width:120px;min-height:46px;margin:0}.learn-timer>p{margin-top:18px!important;margin-bottom:0!important;line-height:1.5}

.learn-cover{display:block;width:100%;height:210px;object-fit:contain;background:#faf8ed;border-radius:12px;margin:0 0 20px}.hero .learn-cover{margin-top:18px}.learn-course-card h3{margin:10px 0}.learn-course-card p{line-height:1.5}

.learn-navigation{display:flex;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid #54717b}.learn-navigation button{flex:1;min-height:48px}.learn-lesson .learn-cover{height:160px;margin:20px 0}.learn-lesson h3{line-height:1.35}
/* Reserve an inset for iPhone's overlay scroll indicator, inside the sole scroll area. */
.client-content{padding-right:calc(26px + env(safe-area-inset-right,0px))!important;padding-left:calc(18px + env(safe-area-inset-left,0px))!important;scrollbar-gutter:stable}.client-content .card{max-width:100%;min-width:0}.client-content .fdgrid>*{min-width:0}
.unity-barcode a{color:var(--uc-bfe3b4);text-decoration:underline;text-underline-offset:3px}
#fd-ingredients{display:block;width:100%;font:inherit;font-size:16px;line-height:1.5;margin-top:6px;padding:13px;min-height:96px;resize:vertical;border-radius:12px;border:1px solid var(--uc-3a5561);background:var(--uc-0b1e27);color:var(--uc-f7f6f0)}

.unity-exercise-context{margin:16px 0;padding:14px;border:1px solid var(--uc-28434f);border-radius:12px;background:var(--uc-071821);overflow-wrap:anywhere}.unity-exercise-context>div+div{border-top:1px solid var(--uc-28434f);margin-top:12px;padding-top:12px}.unity-exercise-context .eyebrow{margin:0 0 10px}.unity-exercise-context ol{padding-left:22px;margin:6px 0;line-height:1.6;font-size:14px}.unity-target-reason{line-height:1.6;margin:14px 0 0;color:var(--uc-bfe3b4)}

/* Batch: slim dock, descriptive stats and compact live timer. */
#app.wrap{grid-template-rows:54px minmax(0,1fr) 52px!important}#app>nav{height:52px!important;min-height:52px!important;max-height:52px!important;padding:4px 6px!important}#app>nav button{height:44px!important;min-height:44px!important}.unity-plane-tag{display:block;font-size:10px;color:#9dbbb6;margin:4px 0 8px;line-height:1.3}.unity-stats-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.unity-stats-tabs button{min-height:44px;min-width:54px}.unity-heat-scroll{overflow-x:auto;margin:18px 0;padding-bottom:8px}.unity-heat-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,13px);grid-auto-columns:13px;gap:3px;width:max-content}.unity-heat-cell{border:0!important;padding:0!important;min-height:0!important;min-width:0!important;width:13px;height:13px;border-radius:3px!important;box-shadow:none!important}.unity-heat-cell.unknown{outline:1px solid #e7bf6c;outline-offset:-1px}.unity-heat-months{display:flex;justify-content:space-around;min-width:848px;font-size:10px;color:#a3b8bf;margin-bottom:7px}.unity-heat-key{display:inline-block;width:65px;height:9px;background:linear-gradient(to right,#243942,#255c52,#29856b,#45b989,#83e6ad);margin:0 6px}.unity-body-pair{display:flex;justify-content:center;gap:15px}.unity-body-pair figure{margin:12px 0;text-align:center;width:43%;max-width:150px}.unity-body-pair svg{display:block;width:100%;height:auto}.unity-body-pair figcaption{font-size:12px;color:#a3b8bf}.unity-muscle-list{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin:12px 0}.unity-muscle-list>div{display:flex;justify-content:space-between;font-size:12px}.unity-plane-title{margin-top:26px!important}.unity-plane{display:grid;grid-template-columns:1fr auto;gap:6px;margin:14px 0;font-size:12px}.unity-plane>div{grid-column:1/-1;background:#243942;height:8px;border-radius:8px;overflow:hidden}.unity-plane i{display:block;height:8px;background:#83e6ad;border-radius:8px}.unity-live-wellness>summary,#preview-coach-wellness>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700}.unity-live-wellness{margin:12px 0}.unity-live-wellness .readiness{margin:0}.client-content{overflow-anchor:none}#restbar{padding:6px 8px!important;gap:5px!important;min-height:44px!important;height:auto!important;bottom:54px!important;align-items:center!important}#restbar button{min-height:36px!important;padding:6px 7px!important}#restbar #studio-hr-bar{flex:1;max-width:none!important;font-size:10px!important;padding:4px 6px!important;line-height:1.2;white-space:normal}.client-content:has(#restbar){padding-bottom:80px!important}

.setrow.banded{grid-template-columns:44px 54px 30px minmax(0,1fr) 62px!important;gap:6px!important}.setrow.banded>.bandpick{grid-column:4!important;flex-wrap:nowrap;gap:4px;justify-content:flex-start}.setrow.banded>[data-done]{grid-column:5;min-width:62px;white-space:nowrap!important;word-break:normal!important;font-size:12px!important;min-height:44px!important;padding:8px 4px!important}.setrow.banded>.prevcell{grid-column:2/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;min-height:26px}.setrow.banded .prevset{padding:0;white-space:normal!important;line-height:1.3}.setrow.banded .copyup.band{display:none!important}.setrow.banded:focus-within .copyup.band{display:inline-block!important;max-width:170px;white-space:normal;line-height:1.3}.setrow.banded:focus-within .prevset{display:block!important}.setrow.banded .bandc{width:22px;height:22px;flex:0 0 22px}.setrow.banded input{min-width:0!important;width:100%!important}
.setrow.banded{grid-template-columns:44px 54px 30px minmax(0,1fr) 62px!important}.setrow.banded>.bandpick{grid-column:2/5!important;grid-row:2!important;min-height:34px}.setrow.banded>[data-done]{grid-row:1!important}.setrow.banded>.prevcell{grid-row:3!important}.setrow.banded>.bandpick .bandc{width:28px;height:28px;flex:0 0 28px;position:relative}.setrow.banded>.bandpick .bandc:before{content:'';position:absolute;inset:-7px}

.tab-attention{display:inline-flex;align-items:center;justify-content:center;background:#ecd496;color:#15252b;border-radius:50%;font-size:10px;min-width:17px;height:17px;margin-left:3px;vertical-align:middle}.bw-weightbar select{min-width:0;font-size:16px}.bw-stlb-entry select{width:68px}.bw-weightbar>#bw-kg,.bw-weightbar>#bw-lb{flex:1}.weigh-schedule{margin-top:18px}.weigh-due{border-left:3px solid #ecd496;padding-left:12px}

#studio-hr-ui>summary,#preview-coach-wellness>summary,.unity-live-wellness>summary{display:flex!important;align-items:center;justify-content:space-between;gap:8px;min-height:56px}.session-accent{width:72px!important;height:58px!important;object-fit:contain;flex:none}.scratch-library-option .ckrow input{width:22px;min-height:22px}.scratch-library-option input[type=text]{width:100%}#restbar [data-hr-rest-status]{display:block;font-size:10px;color:#c4d9db;max-width:140px}

#gate-back.daily-skip-link{display:none!important;background:none!important;border:0!important;box-shadow:none!important;color:#b5c9cd!important;font-size:13px!important;font-weight:400!important;min-height:40px;width:auto;margin:4px auto 0;padding:8px 12px;text-decoration:underline;text-underline-offset:3px}
/* Compact daily wellness: keep each 44px answer target without a second row. */
#app:has(#gate-go) .moodcard{padding:12px 14px;margin-bottom:12px}#app:has(#gate-go) .moodwheel{max-width:240px;margin:6px auto 0}#app:has(#gate-go) .client-content>.muted{font-size:13px;line-height:1.35;margin:5px 0 12px}#app:has(#gate-go) .client-content>.eyebrow{margin-bottom:5px}#app:has(#gate-go) .readiness{padding:12px 14px;margin:12px 0}#app:has(#gate-go) .readinesshead{gap:8px;margin-bottom:8px}#app:has(#gate-go) .readinesshead h3{font-size:17px;margin:0 0 3px}#app:has(#gate-go) .readinesshead p{font-size:10px;line-height:1.3;margin:0}#app:has(#gate-go) .readinesshead .score b{font-size:30px}#app:has(#gate-go) #rd-adv{font-size:10px;line-height:1.25}#app:has(#gate-go) .metrics{display:grid;grid-template-columns:minmax(0,1fr) 48px;column-gap:5px;row-gap:5px}#app:has(#gate-go) .metrics label{padding:7px 9px;margin:0;min-height:70px;position:relative;font-size:13px;display:grid;grid-template-columns:1fr auto;align-items:center}#app:has(#gate-go) .metrics input{grid-column:1/-1;height:32px;min-height:32px;margin:0;padding:0}#app:has(#gate-go) .metrics label>b{position:absolute;right:9px;top:7px;font-size:12px}#app:has(#gate-go) .zeroanswer{margin:0;min-height:44px;height:44px;align-self:center;padding:6px;font-size:12px}#app:has(#gate-go) .pain{margin-top:10px}#app:has(#gate-go) .pain select{min-height:44px}#app:has(#gate-go) .client-content>.card:last-child{padding:12px 14px;margin:12px 0}#app:has(#gate-go) #gate-help{margin:6px 0;font-size:11px}
/* Three short pages, one continuous gesture chart. */
#app:has(.daily-actions) .client-content{padding-top:8px}#app:has(.daily-actions) .eyebrow{margin:0 0 6px}#app:has(.daily-actions) .moodcard{padding:10px 12px;margin:0 0 8px}#app:has(.daily-actions) .moodwheel{max-width:min(256px,42vh);max-width:min(256px,42dvh);margin:6px auto}#app:has(.daily-actions) .metric-chart{height:236px}#app:has(.daily-actions) .metric-drag{height:150px}#app:has(.daily-actions) .metric-chart+p.muted{margin:12px 4px 0;line-height:1.6}#app:has(.daily-actions) .metric-label{margin-top:6px}#app:has(.daily-actions) .pain-area-buttons{gap:6px;margin:8px 0}#app:has(.daily-actions) .pain-area-slider{min-height:48px}#app:has(.daily-actions) .daily-actions{padding:8px 14px;margin:8px 0}#app:has(.daily-actions) .daily-actions>button{margin-top:4px}#app:has(.daily-actions) #gate-help{min-height:15px;margin:4px 0;font-size:11px}#app:has(.daily-actions) h3{margin:0 0 5px;font-size:18px}.daily-chart,.daily-pain{padding:12px 14px!important;margin:0 0 10px!important}.daily-chart p,.daily-pain p{font-size:12px;line-height:1.35;margin:5px 0 10px}.metric-chart{height:300px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;border-radius:12px;padding:9px 5px 0;background:repeating-linear-gradient(to top,transparent 0,transparent 21px,#72939d22 22px,#72939d22 23px)}.metric-column{display:flex;flex-direction:column;align-items:center;min-width:0}.metric-column output{font-size:20px;font-weight:800;margin-bottom:7px;font-variant-numeric:tabular-nums}.metric-drag{height:220px;width:44px;border:1px solid #668793;border-radius:10px;background:#071c24;position:relative;touch-action:none;cursor:ns-resize;outline-offset:4px}.metric-drag i{display:block;position:absolute;bottom:0;left:0;right:0;border-radius:8px;background:linear-gradient(to top,#229c9b,#8fe0c8);pointer-events:none}.metric-thumb{display:block;position:absolute;left:3px;right:3px;height:10px;border:2px solid white;border-radius:5px;transform:translateY(50%);background:#53c4b8;pointer-events:none}.metric-drag.answered{border-color:#95f4d0}.metric-label{font-size:11px;margin:10px 0 0;white-space:nowrap}.metric-zero{min-width:44px;min-height:36px!important;font-size:12px!important;padding:4px!important;margin:1px 0!important}.pain-body-pair{display:flex;justify-content:center;gap:24px;height:244px}.pain-body-pair figure{margin:0;text-align:center;height:244px}.pain-body-pair svg{height:222px;width:100px;overflow:visible}.pain-body-pair figcaption{font-size:11px;color:#c5d5dc}.pain-body-pair [data-pain-area]{cursor:pointer;outline-offset:2px}.pain-body-pair [data-pain-area]:focus{stroke:white;stroke-width:3}.daily-pain select{min-height:40px;width:100%;margin:4px 0;font-size:13px!important}.daily-pain button{min-height:40px;margin-top:5px;padding:6px 10px;font-size:12px}.pain-meter{display:block;margin:8px 0;font-size:13px}.pain-meter output{float:right}.pain-meter input{display:block;width:100%;height:34px;accent-color:var(--pain-color,#59cf61);background:linear-gradient(to right,#54b778,#d7c945,#eb806a);border-radius:8px}.pain-scale{display:flex;justify-content:space-between;font-size:10px;color:#c5d5dc}.pain-scale span{margin-left:auto}@media(max-height:740px){.metric-chart{height:260px}.metric-drag{height:180px}.pain-body-pair{height:200px}.pain-body-pair figure{height:200px}.pain-body-pair svg{height:180px}#app:has(.daily-actions) .moodwheel{max-width:min(280px,46vh)}.daily-actions{margin-top:7px!important}}
.metric-chart{height:328px}.metric-zero{flex-shrink:0;min-height:36px!important;line-height:1!important}.metric-drag{flex-shrink:0}.pain-body-pair,.pain-body-pair figure{height:196px}.pain-body-pair svg{height:176px}.daily-pain #pain-none,.daily-pain #pain-confirm{display:inline-block;min-height:36px}.daily-pain #pain-meter-root [data-pain-edit]{min-height:32px;font-size:11px;padding:4px 8px}.daily-pain #pain-none{margin-top:4px}.daily-pain .pain-meter{margin:4px 0}.daily-pain #pain-area-accessible{min-height:36px;padding:6px}.daily-actions #gate-prev{float:right;min-height:30px;padding:4px 9px;font-size:11px}.daily-actions #gate-go{clear:both;display:block;width:100%}@media(max-height:740px){.metric-chart{height:286px}.pain-body-pair,.pain-body-pair figure{height:168px}.pain-body-pair svg{height:148px}.daily-pain{padding:8px 12px!important}.daily-pain h3{font-size:16px}.daily-pain p{font-size:11px;margin:4px 0 6px}}
#app.wrap:has(.daily-actions){grid-template-rows:54px minmax(0,1fr)!important}.daily-actions #gate-prev{margin-top:0!important}#app:has(.daily-actions) .daily-actions{padding:8px 14px!important}#app:has(.daily-actions) .daily-actions #gate-back{min-height:36px;padding:6px 12px}
@media(max-height:740px){.metric-chart{height:240px}.metric-drag{height:140px}.daily-chart p{font-size:11px;margin:4px 0 8px}.metric-column output{font-size:17px;margin-bottom:5px}.daily-chart{padding:9px 12px!important}#app:has(.daily-actions) .daily-actions{margin:7px 0!important}.pain-body-pair,.pain-body-pair figure{height:125px}.pain-body-pair svg{height:106px}.daily-pain .pain-body-pair{gap:30px}.daily-pain #pain-area-accessible{min-height:32px;margin:2px 0}.daily-pain #pain-none,.daily-pain #pain-confirm{min-height:32px;padding:4px 8px}.daily-pain #pain-meter-root [data-pain-edit]{min-height:28px;margin:2px 0}.daily-pain .pain-meter input{height:28px}.daily-pain .pain-meter{font-size:12px;margin:3px 0}}
@media(max-height:740px){.metric-chart{height:225px}.metric-drag{height:125px}.pain-body-pair,.pain-body-pair figure{height:112px}.pain-body-pair svg{height:94px}.daily-pain p{margin-bottom:3px}#app:has(.daily-actions) .daily-actions{padding:5px 12px!important}#app:has(.daily-actions) #gate-help{margin:2px 0;font-size:10px}#app:has(.daily-actions) #gate-back{min-height:32px!important;padding:4px 12px!important}}
.pain-body-pair svg{width:125px}.pain-body-pair [data-pain-area]{stroke-width:2;pointer-events:all}
.habits-wellness-entry{display:flex;align-items:center;gap:12px;padding:16px!important;background:linear-gradient(125deg,#17414b,#112c36)!important;border-color:#42737d!important}.wellness-entry-art{width:58px;height:58px;object-fit:contain;flex:0 0 58px}.habits-wellness-entry>div{min-width:0;flex:1}.habits-wellness-entry button{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;text-align:left;display:flex;justify-content:space-between;align-items:center;width:100%;font-size:17px;font-weight:700;min-height:40px}.habits-wellness-entry button span{font-size:28px;font-weight:400;color:#a6dbc9}.habits-wellness-entry p{margin:4px 0 0;font-size:11px;line-height:1.4;color:#bad3d5}.daily-step-heading{display:flex;align-items:center;gap:10px;min-height:42px;margin:0 0 8px}.daily-step-heading>img{width:40px;height:40px;object-fit:contain}.daily-step-heading .eyebrow{margin:0 0 6px!important;color:#b3d1d4;font-size:10px}.daily-step-dots{display:flex;gap:5px}.daily-step-dots i{display:block;width:26px;height:3px;border-radius:5px;background:#28444e}.daily-step-dots i.on{background:#95cfba}.daily-chart,.daily-pain,#app:has(.daily-actions) .moodcard{border-color:#385d67;background:linear-gradient(155deg,#16333e,#102a34)}@media(max-height:740px){.daily-step-heading{min-height:28px;margin-bottom:4px;gap:8px}.daily-step-heading>img{width:26px;height:26px}.daily-step-heading .eyebrow{font-size:9px;margin-bottom:3px!important}.daily-chart{padding-top:7px!important;padding-bottom:7px!important}.metric-chart{height:211px}.metric-drag{height:111px}}
@media(max-height:740px){.daily-pain{padding-top:6px!important;padding-bottom:6px!important}.daily-pain #pain-meter-root [data-pain-edit]{min-height:26px}.daily-pain #pain-confirm,.daily-pain #pain-none{min-height:30px}.daily-step-heading{margin-bottom:0}.pain-body-pair,.pain-body-pair figure{height:106px}.pain-body-pair svg{height:88px}}

.wellness-pain-dropdown{margin-top:12px}.wellness-pain-dropdown>summary{font-size:16px;font-weight:700;min-height:44px;padding:10px 0;cursor:pointer}

.art-section-heading{position:relative;padding-right:76px!important}.app-section-art{position:absolute;right:8px;top:8px;width:64px;height:54px;object-fit:contain;pointer-events:none}.habhero>.app-section-art{right:15px;top:18px}.goalrow.art-section-heading{min-height:54px}.goalrow.art-section-heading>.app-section-art{top:0}.foodday.art-section-heading{min-height:64px}
.dashboard-averages>summary{font-size:17px;font-weight:700;min-height:44px;padding:8px 0;cursor:pointer}.dashboard-habits>summary{cursor:pointer;list-style:disclosure-open;margin-bottom:12px}.dashboard-habits:not([open])>summary{list-style:disclosure-closed}.dashboard-habits .habhero h2{font-size:25px}.dashboard-habits .habhero{margin-top:12px}.dashboard-averages:not([open]){padding-top:12px;padding-bottom:12px}
.dashboard-habits>summary{list-style:none!important}.dashboard-habits>summary::-webkit-details-marker{display:none}.dashboard-habits>summary::after{content:'⌄';position:absolute;right:20px;bottom:16px;font-size:18px;color:#b6d5ca}.dashboard-habits:not([open])>summary::after{content:'›'}

.dashboard-habits>summary{position:relative}

.dashboard-average-inline{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin-top:12px;font-size:13px;font-weight:400;color:#b8cdd2}.dashboard-average-inline b{color:#f4f8f8;font-size:15px;margin-left:4px}.dashboard-average-inline small{font-size:11px;color:#9fb5bb}.dashboard-averages>summary{line-height:1.35}
.dashboard-average-inline>span{display:flex;align-items:baseline;gap:2px;white-space:nowrap;font-size:12px}.dashboard-average-inline b{margin-left:auto;font-size:14px}.dashboard-average-inline small{font-size:10px}

.bodyweight-card{padding:20px!important;background:linear-gradient(145deg,#153641,#102832 70%)!important;border-color:#426874!important}.bodyweight-card .goalrow{align-items:flex-start;gap:10px;flex-wrap:wrap}.bodyweight-card .goalrow h3{font-size:24px;margin:4px 0 8px}.bodyweight-card .goalrow .eyebrow{font-size:10px;letter-spacing:1.5px;margin:0;color:#b7d4ce}.bodyweight-card .goalrow .pill{font-size:10px;white-space:normal;max-width:100%;margin-bottom:12px}.bodyweight-card .bwhead{padding:16px;margin:10px 0 12px;background:#09222b80;border:1px solid #52778066;border-radius:16px}.bodyweight-card .bwbig{font-size:30px;line-height:1.2}.bodyweight-card .bwbig small{font-size:15px;color:#aaccc4;margin:5px 0}.bodyweight-card .bwtabs{margin:18px 0 12px;padding:4px;border:1px solid #456571;border-radius:14px;background:#09222b}.bodyweight-card .bwtab{border-radius:10px!important;font-size:14px!important;min-height:42px}.bodyweight-card .bwtab.on{background:#d7ede5!important;color:#12362f!important}.bodyweight-card .bwchart{margin:12px 0;border:1px solid #47697555;border-radius:16px;background:#071e27}.bodyweight-card .bwrange{font-size:12px}.bodyweight-card .bwlist{margin:16px 0;padding:12px;border:1px solid #52778055;border-radius:12px}.bodyweight-card .bw-compact{margin-top:20px!important;padding:16px!important;background:#0b222c!important;border:1px solid #456571!important;border-radius:16px!important}.bw-log-heading h4{font-size:17px;margin:0 0 5px}.bw-log-heading p{margin:0 0 14px;font-size:12px}.bodyweight-card .bw-weightbar{border-radius:12px!important;border-color:#567783!important;padding:8px!important;background:#112d38!important}.bodyweight-card .bw-date{margin:12px 0!important}.bodyweight-card #bw-log{background:#d7ede5!important;color:#12362f!important;border-radius:12px!important;min-height:48px}.bodyweight-card #bg-edit{margin-top:14px}.bodyweight-card .weigh-schedule{margin-top:16px;border-top:1px solid #52778055;padding-top:14px}
.bodyweight-card .bw-compact{padding:12px!important}.bodyweight-card .bw-weightbar{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.bodyweight-card .bw-stlb-entry{flex:1 1 100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px!important;align-items:center!important;gap:5px!important}.bodyweight-card .bw-stlb-entry select{width:100%!important;min-width:0!important;font-size:14px!important}.bodyweight-card #bw-unit{width:100%!important;flex:1 1 100%!important;font-size:14px!important}.bodyweight-card #bw-kg,.bodyweight-card #bw-lb{width:100%!important;flex:1 1 100%!important}.bodyweight-card .bw-stlb-entry>span{font-size:12px!important}

.bodyweight-card .bw-stlb-entry input{width:100%!important;min-width:0!important;font-size:16px!important;min-height:44px!important;padding:8px!important;box-sizing:border-box}.bodyweight-card input[type=number]{border-radius:9px!important;background:#071e27!important;border:1px solid #527783!important;color:#eff8f5!important}.bodyweight-card .bw-weightbar [hidden]{display:none!important}

.weight-chart-legend{display:flex;align-items:center;gap:8px;color:#b5ded2;font-size:12px;margin:10px 0 0}.weight-chart-legend>span{width:24px;border-top:2px dashed #99d4c5}

#lg-k,#lg-r{min-height:48px!important;font-size:18px!important;cursor:pointer;pointer-events:auto;position:relative;z-index:1}.goal-number-pad{position:fixed;inset:0;z-index:1000;background:#031118bb;display:flex;align-items:center;justify-content:center;padding:20px}.goal-number-pad>section{width:290px;max-width:100%;background:#12303b;border:1px solid #5d828d;border-radius:20px;padding:20px;box-shadow:0 20px 70px #0008}.goal-number-pad h3{margin:0 0 14px;color:#eff8f5;font-size:20px}.goal-number-pad output{display:block;min-height:42px;background:#071e27;border-radius:12px;text-align:right;padding:14px;font-size:30px;color:#eff8f5;margin-bottom:14px}.goal-pad-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.goal-pad-grid button{min-height:58px;border:1px solid #527783;border-radius:10px;background:#193e49;color:#eff8f5;font-size:23px;margin:0}.goal-pad-actions{display:flex;gap:10px;margin-top:12px}.goal-pad-actions button{flex:1;min-height:46px;border-radius:10px}.goal-pad-actions [data-done]{background:#d7ede5;color:#14382e;font-weight:700}.goal-pad-error{font-size:12px;color:#ffdaa8;min-height:16px;margin:8px 0}

.food-summary h2{font-size:26px;margin:8px 0}.food-summary{padding:18px!important}.food-summary .fdnav{padding-right:76px}.food-add>summary{pointer-events:auto;list-style:none;font-size:22px!important;margin-bottom:16px}.food-add>summary::-webkit-details-marker{display:none}.food-add #fd-title{min-height:60px!important;font-size:16px!important}.food-add #fd-add{width:100%;min-height:48px;background:#d7ede5!important;color:#15382e!important;margin-top:16px;border-radius:12px}.simple-food-fields{margin:18px 0;border-top:1px solid #52778055;padding-top:14px}.simple-food-fields>summary{font-size:14px!important}.simple-save-note{font-size:12px}.smart-quiz textarea{font-size:16px;min-height:76px}.smart-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.smart-choices button{min-height:65px;border:1px solid #527783;border-radius:12px;background:#102c37;color:#eff8f5;font-size:14px;padding:10px}.smart-choices button[aria-pressed=true]{border:2px solid #b4dcd0;background:#224a4c}.smart-actions{display:flex;gap:10px;margin-top:16px}.smart-actions button{flex:1;min-height:46px;border-radius:12px}.smart-actions #sg-next{background:#d7ede5;color:#15382e}.smart-review{padding:10px 0;border-bottom:1px solid #52778055}.smart-review p{font-size:14px;margin:6px 0}.smart-quiz{scroll-margin-top:90px}
.smart-quiz textarea{width:100%;box-sizing:border-box;background:#071e27;color:#eff8f5;border:1px solid #527783;border-radius:12px;padding:12px;font-family:inherit}.smart-quiz textarea::placeholder{color:#9fb5bb}
.connect-balance{float:right;color:var(--amber,#f3b776)}.connect-players,.connect-actions{display:flex;justify-content:space-between;gap:10px}.connect-actions{flex-wrap:wrap}.connect-columns,.connect-four{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.connect-columns button{padding:4px;min-width:0;margin:8px 0}.connect-four{padding:10px;border-radius:14px;background:#295566}.connect-hole{aspect-ratio:1;border-radius:50%;background:#0f222d;border:1px solid #66828d}.side-1{background:#f3b776!important}.side-2{background:#7ac7c7!important}.connect-draughts{display:grid;grid-template-columns:repeat(8,1fr);border:2px solid #65848e;border-radius:8px;overflow:hidden}.connect-draughts button{aspect-ratio:1;margin:0;padding:4px;border:0;border-radius:0;min-width:0;position:relative;opacity:1}.connect-draughts .dark{background:#294d5b}.connect-draughts .light{background:#b4c6c7}.connect-draughts i{display:flex;align-items:center;justify-content:center;border-radius:50%;width:100%;height:100%;font-style:normal;color:#10252d;box-shadow:0 2px 3px #0006}.connect-draughts .selected{outline:3px solid #fff;outline-offset:-3px}.connect-draughts .legal{box-shadow:inset 0 0 0 3px #f3b776}.connect-room{border-top:1px solid #63828c;padding:15px 0;margin-top:15px}

@media(max-width:700px){#app>nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}}

:root[data-unity-theme="light"] .card.habits-wellness-entry{background:#fff!important;color:#102934!important;border-color:#8BAEB8!important}:root[data-unity-theme="light"] .habits-wellness-entry #habits-wellness-check{color:#102934!important;background:transparent!important}:root[data-unity-theme="light"] .habits-wellness-entry .muted{color:#334F5D!important}

.food-primary-scan{display:block;width:100%;min-height:84px;font-size:22px!important}.food-note-optional{margin:12px 0}.red-button-game{min-height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column}.red-button-game #dont-press-button{width:200px;height:200px;flex:none;border-radius:50%;border:6px solid #f27985!important;background-image:repeating-radial-gradient(circle at 30% 30%,#ffffff12 0 1px,transparent 1px 3px),radial-gradient(circle at 35% 25%,#ef5362,#b52d3e)!important;background-color:#b52d3e!important;box-shadow:0 12px 0 #6f1c28,0 20px 35px #0006;color:#fff!important;font:bold 26px Arial!important}.red-button-game #dont-press-button:active{transform:translateY(8px);box-shadow:0 4px 0 #6f1c28}.red-button-game .red-button-result{margin-top:28px}

.red-button-flash{position:fixed;inset:0;background:#fff;pointer-events:none;z-index:99999;animation:unityButtonFlash 2s ease-out forwards}@keyframes unityButtonFlash{from{opacity:.8}to{opacity:0}}@media(prefers-reduced-motion:reduce){.red-button-flash{display:none}}
.connect-guide a{color:var(--text,#f2f6f6);display:inline-block;padding:10px 0;font-weight:700;text-decoration:underline;text-underline-offset:3px}.connect-guide summary{min-height:44px;cursor:pointer;font-weight:700}.connect-interest{display:flex;gap:8px;flex-wrap:wrap}.connect-guide h4{margin:20px 0 8px}
.member-journey-totals{display:flex;gap:24px;margin:16px 0}.member-journey-totals>div{flex:1;display:flex;flex-direction:column;gap:8px}.member-journey-totals strong{font-size:32px;color:var(--accent,#a6d1bd)}.member-journey-totals span{font-size:13px}.member-journey-chart{width:100%;height:auto;margin:16px 0}.member-journey-chart line{stroke:var(--line,#40535b)}.member-journey-chart polyline{fill:none;stroke:var(--accent,#a6d1bd);stroke-width:3}.member-journey-chart circle{fill:var(--accent,#a6d1bd)}.member-journey-chart text{fill:currentColor;font-size:11px}.client-subtabs{flex-wrap:wrap}
#app:has(.daily-actions) .moodcard,#app:has(#gate-go) .moodcard{padding:12px 8px!important}#app:has(.daily-actions) .moodwheel,#app:has(#gate-go) .moodwheel{width:100%;max-width:min(256px,42vh);max-width:min(256px,42dvh);margin:6px auto}.mood-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.mood-choices button,.mood-detail-choices button{min-height:48px;padding:12px 8px;font-size:15px;margin:0}.mood-detail-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid var(--line,#40535b);padding-top:12px}.mood-help{margin:12px 4px}.moodcard>.goalrow{padding:0 4px}
.pain-area-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.pain-area-buttons button{min-height:48px;padding:12px 8px;font-size:15px;margin:0}.pain-map-reference{margin:14px 0}.pain-map-reference>summary{min-height:44px;cursor:pointer;padding:10px 0}.daily-pain #pain-area-accessible{margin-top:12px}
.food-jump{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.food-jump button{margin:0;min-height:48px;padding:12px 8px}.food-add>label,.food-add>.fdgrid{margin:14px 0}.food-add .fdgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.food-add .fdgrid input{width:100%}.food-add>summary,.food-more>summary,.supplement-draft>summary{min-height:48px;padding:10px 0;cursor:pointer}.supplement-draft>summary small{display:block;font-size:12px;margin:4px 0;color:var(--muted,#afc3c8)}.food-primary-scan{min-height:52px!important}.unity-barcode details>summary{min-height:44px;padding:10px 0;cursor:pointer}.simple-food-fields>summary{min-height:44px;padding:10px 0}.food-summary{padding-bottom:20px!important}
.moodwheel{touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer}
.red-button-game .red-button-privacy{margin:20px 0 0;border-top:1px solid #35515d;padding-top:8px;font-size:12px}.red-button-game .red-button-privacy summary{font-size:12px;font-weight:400;min-height:44px;display:flex;align-items:center}
.client-content>.red-button-privacy{font-size:12px;margin:24px 0 8px;padding:0;border:0;color:var(--muted)}.client-content>.red-button-privacy summary{font-size:12px;font-weight:400;min-height:44px;display:flex;align-items:center;cursor:pointer}
.plate-food-grid,.plate-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.plate-category-grid button,.plate-food-tile{padding:8px!important;min-width:0;display:flex;flex-direction:column;align-items:center;font-size:12px!important}.plate-food-tile svg,.plate-category-grid svg{width:64px;max-width:100%;height:64px}.plate-food-tile small{font-size:10px;font-weight:400}.plate-scan{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:100%!important;width:164px;height:164px;padding:12px!important;margin:20px auto!important;background:#b6d3cb!important;color:#102934!important}.plate-scan svg{width:76px;height:76px}.plate-scan small{font-size:10px;font-weight:400}.plate-amount-buttons,.plate-meal-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.plate-amount-buttons button,.plate-meal-buttons button{min-height:44px;font-size:13px}.assembled-plate{background:#e9ebe2;border:12px solid #c6d6d1;border-radius:50%;min-height:220px;padding:24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;margin:20px 0;color:#102934}.plate-piece{background:transparent!important;color:#102934!important;border:0!important;width:95px;padding:0!important;font-size:11px;display:flex;flex-direction:column;align-items:center}.plate-piece svg{width:75px;height:75px}.plate-piece small{font-size:9px}.plate-product,.plate-amount{border-top:1px solid #35515d;padding-top:16px;margin-top:16px}
.plate-food-tile{touch-action:none}.plate-combos{display:flex;gap:8px;flex-wrap:wrap}.plate-combos>button{display:flex;flex-direction:column;align-items:center;max-width:100%;min-height:44px}.plate-combos svg{width:60px;height:60px}.plate-combos small{font-size:10px;font-weight:400}.plate-food-tile b{overflow-wrap:anywhere}
.plate-shopping a{color:var(--ink,#e8eceb);display:block;min-height:44px;padding:12px 0;text-decoration:underline}.plate-shopping textarea{width:100%;min-height:96px}.plate-feedback li{margin-bottom:8px}

/* Owner mobile feedback 9 Oct */
.token-help>button{display:block!important;width:100%!important;margin:10px 0!important;min-height:48px!important;line-height:1.4!important;white-space:normal!important;padding:12px!important}.pain-level-buttons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0}.pain-level-buttons button{min-width:0;min-height:44px;margin:0!important;padding:10px 4px!important;font-size:18px!important}.plate-scan{width:180px!important;height:180px!important;gap:6px!important;padding:22px!important}.plate-scan svg{width:62px!important;height:62px!important;flex:none}.plate-scan span{font-size:15px!important;line-height:1.3!important}.plate-scan small{display:block!important;max-width:116px!important;font-size:11px!important;line-height:1.4!important;white-space:normal!important}.plate-starters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.plate-starters button{margin:0!important;min-width:0;padding:8px 4px!important;display:flex;flex-direction:column;align-items:center;font-size:12px!important}.plate-starters svg{width:56px;height:56px}.plate-starters small{font-size:10px!important;font-weight:400}.plate-starter-status{font-size:13px;line-height:1.5}

@media(max-width:480px){.plate-starters{grid-template-columns:repeat(2,minmax(0,1fr))}.plate-starters button{padding:12px 8px!important;font-size:14px!important}.plate-starters span{overflow-wrap:normal!important;word-break:normal!important}.plate-starters small{font-size:11px!important}}

html[data-unity-theme="light"] .daily-chart,html[data-unity-theme="light"] .daily-pain,html[data-unity-theme="light"] #app:has(.daily-actions) .moodcard{background:#fff!important;color:#102934!important;border-color:#CBDADF!important}html[data-unity-theme="light"] .daily-step-heading .eyebrow{color:#334F5D!important}html[data-unity-theme="light"] .daily-chart p,html[data-unity-theme="light"] .daily-pain p,html[data-unity-theme="light"] .mood-help{color:#334F5D!important}

/* Tablet spacing only. Phone layout is unchanged. */
@media(min-width:701px) and (max-width:1400px){
#app.wrap{grid-template-rows:78px minmax(0,1fr) auto!important}
#app>header{height:78px!important;min-height:78px!important;padding:14px 18px 10px!important;box-sizing:border-box;gap:16px!important;align-items:center!important}
#app>header .brand{min-width:0;flex:1;gap:16px}
#app>header .brand h1{min-width:0;line-height:1.3}
#app>header #logout{flex:none;min-height:44px}
.exercise-card .exsec{flex-wrap:wrap!important;gap:12px!important;align-items:center!important;padding-bottom:14px!important}
.exercise-card .exhead{display:flex!important;align-items:center!important;gap:14px!important;min-width:0}
.exercise-card .exhead h3{margin:0!important;line-height:1.4}
.exercise-card .restclk{flex:none;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:8px!important;margin:0!important}
.exercise-card .setrow{grid-template-columns:56px minmax(64px,76px) 38px minmax(72px,90px) 28px 74px minmax(100px,1fr)!important;gap:8px!important;align-items:center!important;padding:12px 0!important}
.exercise-card .setrow>span:first-child{white-space:nowrap!important;font-size:14px!important}
.exercise-card .setrow>button[data-done]{white-space:nowrap!important;min-width:74px!important;min-height:44px!important;padding:10px 12px!important}
.exercise-card .setrow input{width:100%!important;min-width:0!important;min-height:44px!important}
.exercise-card .prevcell{min-width:0;line-height:1.5}
.exercise-card .setcontrols button{white-space:nowrap!important;min-width:72px!important}
}
:root[data-unity-theme="light"] .bodyweight-card{background:#fff!important;border-color:#CBDADF!important;color:#102934!important}
:root[data-unity-theme="light"] .bodyweight-card .goalrow .eyebrow,:root[data-unity-theme="light"] .bodyweight-card .bwbig small{color:#4D6470!important}
:root[data-unity-theme="light"] .bodyweight-card .bwhead,:root[data-unity-theme="light"] .bodyweight-card .bwtabs,:root[data-unity-theme="light"] .bodyweight-card .bwchart,:root[data-unity-theme="light"] .bodyweight-card .bw-compact{background:#EDF3F5!important;border-color:#CBDADF!important;color:#102934!important}
:root[data-unity-theme="light"] .bodyweight-card input[type=number]{background:#fff!important;color:#102934!important;border-color:#CBDADF!important}
:root[data-unity-theme="light"] .bodyweight-card .bwtab.on{background:#267567!important;color:#fff!important}

/* Tablet readability, stable media, tidy library and previous-set chips. */
:root[data-unity-theme="light"]{--muted:#33434B!important;color:#101D24!important}
:root[data-unity-theme="light"] .muted,:root[data-unity-theme="light"] .note,:root[data-unity-theme="light"] .eyebrow,:root[data-unity-theme="light"] small,:root[data-unity-theme="light"] label,:root[data-unity-theme="light"] .status{color:#2D3D46!important}
:root[data-unity-theme="light"] .session-accent,:root[data-unity-theme="light"] .wellness-entry-art,:root[data-unity-theme="light"] .daily-step-heading>img,:root[data-unity-theme="light"] .app-section-art{filter:none!important;opacity:1!important}
:root[data-unity-theme="light"] .habits-wellness-entry{background:#FFF!important;border-color:#AABDC5!important}
:root[data-unity-theme="light"] .habits-wellness-entry p,:root[data-unity-theme="light"] .habits-wellness-entry button{color:#182A34!important}
.libraryresults .exlib{display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important}.exlib-label{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1;gap:5px;line-height:1.3}.exlib-label .unity-plane-tag{display:inline-block!important;transform:none!important;margin:0!important;padding:3px 7px;border:1px solid #48616B;border-radius:7px;font-size:10px;line-height:1.2;white-space:normal}
.prevset{display:inline-flex!important;flex-wrap:wrap;align-items:center;width:fit-content;max-width:100%;padding:0 2px!important;margin:2px 0;background:transparent;border:0;border-radius:0;color:#8FA3AB!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere}
:root[data-unity-theme="light"] .prevset{background:transparent!important;color:#5A6E77!important;border-color:transparent!important}
#app .rest{bottom:var(--unity-rest-bottom,73px)!important}
.history-month{margin:14px 0;border:1px solid var(--line,#38535E);border-radius:14px;padding:0 12px}.history-month>summary{padding:15px 4px;min-height:44px;cursor:pointer;font-weight:700}.history-month>.history-workout{margin:10px 0}

/* Light mode colour, 10 October. Existing artwork remains untouched. */
:root[data-unity-theme="light"] nav button.active,:root[data-unity-theme="light"] .client-subtabs button.active{background:#267567!important;color:#fff!important}
:root[data-unity-theme="light"] .hero,:root[data-unity-theme="light"] .habits-wellness-entry{background:#E6F3ED!important;border-color:#ACD5C4!important}
:root[data-unity-theme="light"] .exercise,:root[data-unity-theme="light"] .exercise-card{background:#F0F7F4!important;border-color:#C1DBD0!important}
:root[data-unity-theme="light"] .food-summary,:root[data-unity-theme="light"] #food-plate{background:#E8F3F0!important;border-color:#AACFC5!important}
:root[data-unity-theme="light"] #food-scan,:root[data-unity-theme="light"] .food-add,:root[data-unity-theme="light"] .food-recipes{background:#F0F7F5!important;border-color:#BDD8CF!important}
:root[data-unity-theme="light"] .daily-chart,:root[data-unity-theme="light"] .daily-pain{background:#EBF3FB!important;border-color:#B8D0E6!important}
:root[data-unity-theme="light"] .moodcard{background:#E8F3F0!important;border-color:#AACFC5!important}
:root[data-unity-theme="light"] .bodyweight-card{background:#EEF4FB!important;border-color:#BED3E7!important}
:root[data-unity-theme="light"] .bodyweight-card .bwhead,:root[data-unity-theme="light"] .bodyweight-card .bwchart{background:#E1ECF7!important}
:root[data-unity-theme="light"] .hero button:not(.quiet):not(.secondary),:root[data-unity-theme="light"] .daily-actions button:not(.quiet){background:#267567!important;color:#fff!important}
:root[data-unity-theme="light"] .food-summary button:not(.quiet):not(.secondary){background:#267567!important;color:#fff!important}
:root[data-unity-theme="light"] .prevset{background:transparent!important;border-color:transparent!important}

:root[data-unity-theme="light"] .card.habits-wellness-entry{background:#D7EDDF!important;border-color:#95C8AC!important}
:root[data-unity-theme="light"] .dashboard-averages{background:#E5EDF9!important;border-color:#ACBEDD!important}
:root[data-unity-theme="light"] .dashboard-average-inline,:root[data-unity-theme="light"] .dashboard-average-inline b,:root[data-unity-theme="light"] .dashboard-average-inline small{color:#233F63!important}
:root[data-unity-theme="light"] .habhero:not(.food-summary){background:#E4EEF9!important;border-color:#A9C4E6!important}
:root[data-unity-theme="light"] .goalcard,:root[data-unity-theme="light"] .nutrition-goal{background:#E4EEF9!important;border-color:#A9C4E6!important}
:root[data-unity-theme="light"] button:not(.quiet):not(.secondary):not(.theme-logo):not([data-t]):not([data-done]):not(.moodpart):not(.habchk):not(.habday){background:#267567;color:#fff}

:root[data-unity-theme="light"] #app nav button.active{background:#267567!important;color:#fff!important}
:root[data-unity-theme="light"] .member-journey-totals strong{color:#267567!important}

/* Heart-rate History follows the selected light theme. */
:root[data-unity-theme="light"] .hr-history,:root[data-unity-theme="light"] .hr-trends{background:linear-gradient(145deg,#E8F3F0,#F0F7F5)!important;border-color:#AACFC5!important;color:#163441!important}
:root[data-unity-theme="light"] :is(.hr-history,.hr-trends) :is(h3,h4,b,strong){color:#163441}
:root[data-unity-theme="light"] :is(.hr-history,.hr-trends) :is(.eyebrow,.muted,small,em,.hr-recording-notes),:root[data-unity-theme="light"] :is(.hr-chart-title,.hr-heading)>span{color:#46636F!important}
:root[data-unity-theme="light"] .hr-chart svg text{fill:#46636F!important}
:root[data-unity-theme="light"] .hr-chart svg .hr-point-label{fill:#163441!important}
:root[data-unity-theme="light"] .hr-chart svg polyline{stroke:#267567}
:root[data-unity-theme="light"] .hr-chart svg circle{fill:#267567;stroke:#E8F3F0}
:root[data-unity-theme="light"] :is(.hr-metric-grid,.hr-zones,.hr-effort,.hr-recording-notes,.hr-trend-ledger>div,.hr-trend-rows>div){border-color:#BDD8CF!important}
:root[data-unity-theme="light"] .hr-recovery{background:#F7FAF9;border-color:#BDD8CF}
:root[data-unity-theme="light"] .hr-recovery-flow{background:#E1EEEA}
:root[data-unity-theme="light"] .hr-recovery-head>strong{color:#267567}
:root[data-unity-theme="light"] .hr-zone-row>div{background:#D4E5E0}

:root[data-unity-theme="light"] .bw-weightbar{background:#E8F1F4!important;border-color:#BDD1DB!important;color:#355763!important}
:root[data-unity-theme="light"] .bw-weightbar :is(input,select){background:#FFF!important;color:#163441!important;border-color:#BDD1DB!important}
.plate-combos:empty{display:none}.plate-combos{display:grid;grid-template-columns:1fr 1fr;gap:10px}.plate-optional{margin:12px 0}.plate-food-tile{min-height:100px}.food-summary{margin-bottom:12px}

:root[data-unity-theme="light"] .calorie-summary{background:#F0F7F5!important;border-color:#BDD8CF!important;color:#163441!important}:root[data-unity-theme="light"] .calorie-summary :is(h3,p,.muted,a){color:#355763!important}
.hr-metric-grid b{font-size:clamp(22px,6vw,32px)!important}.hr-metric-grid em{white-space:nowrap!important}.dashboard-weight>summary{padding:6px 0;font-weight:700;cursor:pointer}.dashboard-weight .bw-log-heading,.dashboard-weight .bw-date{display:none}.dashboard-weight .bw-weightbar{display:grid;grid-template-columns:1fr 78px;gap:6px;padding:8px}.dashboard-weight .bw-stlb-entry{grid-column:1}.dashboard-weight #bw-unit{grid-column:2;grid-row:1;width:78px!important;min-width:0!important;padding:6px!important;font-size:12px!important}.dashboard-weight #bw-log{width:100%;margin-top:10px}.client-subtabs{align-self:flex-start;flex-shrink:0}

.dashboard-weight .bw-stlb-entry span{color:#46636F!important}.dashboard-weight input{font-size:14px!important;padding:8px!important}.dashboard-bookings>summary{font-weight:700;cursor:pointer;padding:6px 0}.dashboard-bookings iframe{margin-top:12px}.food-summary .fdnav{padding-right:0!important}.food-summary .app-section-art{display:none!important}

@media(max-width:600px){
#app[data-rendered-tab="food"] .client-content{padding:16px 24px 28px!important;scrollbar-gutter:auto}
#app[data-rendered-tab="food"] .client-content>:is(.card,.hero,details){margin-top:0!important;margin-bottom:22px!important;padding:20px!important}
#app[data-rendered-tab="food"] .food-supplements{padding:0!important;border:0!important;background:transparent!important}
#app[data-rendered-tab="food"] .food-supplements>summary{padding:18px 20px!important;margin-bottom:20px;border:1px solid var(--line,#BDD1DB);border-radius:18px;background:var(--card,#fff);min-height:56px;box-sizing:border-box}
#app[data-rendered-tab="food"] .food-supplements>:is(.hero,.card){padding:22px 20px!important;margin:0 0 22px!important}
#app[data-rendered-tab="food"] .food-supplements .hero h2{font-size:24px!important;line-height:1.2!important;margin:10px 0 16px!important}
#app[data-rendered-tab="food"] .food-supplements p{line-height:1.6!important}
#app[data-rendered-tab="food"] .supplement-draft>summary{min-height:40px;display:flex;align-items:center;font-size:16px}
#app[data-rendered-tab="food"] .supplement-draft h4{margin-top:24px!important;margin-bottom:12px!important}
}

@media(max-width:600px){#app input,#app textarea,#app select,.dashboard-weight input,.dashboard-weight #bw-unit{font-size:16px!important}}

.dashboard-weight>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px}.bodyweight-art{width:62px;height:50px;object-fit:contain}.dashboard-weight-stats>summary{font-weight:700;min-height:44px;padding:8px 0;cursor:pointer}.dashboard-weight-stats .bodyweight-card{margin:14px 0 0;padding:16px}.dashboard-weight-stats .goalrow .app-section-art{display:none}

.dashboard-weight .bw-weightbar [hidden]{display:none!important}.dashboard-weight .bw-weightbar{display:grid!important;grid-template-columns:minmax(0,1fr) 86px!important;align-items:center;gap:8px!important;padding:8px!important}.dashboard-weight #bw-kg,.dashboard-weight #bw-lb{grid-column:1;grid-row:1;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box;min-height:44px;border:0!important;outline-offset:2px;background:transparent!important;color:inherit!important;font-size:16px!important;padding:10px 8px!important;border-radius:8px!important}.dashboard-weight #bw-unit{grid-column:2;grid-row:1;width:86px!important;min-height:44px;background:transparent!important;color:inherit!important;border:0!important;font-size:16px!important}.dashboard-weight .bw-stlb-entry{grid-column:1;grid-row:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px;align-items:center;gap:4px}.dashboard-weight .bw-stlb-entry input{min-width:0!important;width:100%!important;background:transparent!important;border:0!important;color:inherit!important;box-sizing:border-box}

#app:has(.daily-actions) .daily-actions{display:flex;flex-direction:column;gap:14px;padding:20px!important;margin:18px 0!important}#app:has(.daily-actions) .daily-actions>button{margin:0!important}#app:has(.daily-actions) .daily-actions #gate-prev{float:none;align-self:flex-start;min-height:44px;padding:10px 18px;font-size:15px}#app:has(.daily-actions) .daily-actions #gate-go{min-height:48px}#app:has(.daily-actions) #gate-help:empty{display:none!important}#app:has(.daily-actions) .daily-actions #gate-back{min-height:44px;padding:10px 12px!important}

.pain-area-slider{position:relative;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:ew-resize;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;border:1px solid #608896;border-radius:14px;background:linear-gradient(to right,#4cae9b 0%,#4cae9b var(--pain-fill),#102b36 var(--pain-fill),#102b36 100%);font-size:15px;font-weight:700;color:#fff}.pain-area-slider output{font-size:12px;font-weight:500}.pain-area-slider:focus-visible{outline:3px solid #e1c680;outline-offset:3px}:root[data-unity-theme="light"] .pain-area-slider{background:linear-gradient(to right,#a9dbc9 0%,#a9dbc9 var(--pain-fill),#edf5f9 var(--pain-fill),#edf5f9 100%);color:#153843;border-color:#6b9aa0}

.dashboard-goals>summary{font-weight:700;min-height:44px;display:flex;align-items:center}.dashboard-goals>summary:before{content:"▸";margin-right:8px}.dashboard-goals[open]>summary:before{content:"▾"}.dashboard-goals>.goalcard{margin:14px 0 0}

.dashboard-goals>summary .bodyweight-art{margin-left:auto;width:62px;height:62px;object-fit:contain;flex:0 0 62px}

#stage-next-appointment.stage-bookings{display:block;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;margin:0!important}#stage-next-appointment.stage-bookings>summary{display:flex;align-items:center;gap:8px;min-height:62px;padding:0;font-weight:700;list-style:none}#stage-next-appointment.stage-bookings>summary::before{content:'▸'}#stage-next-appointment.stage-bookings[open]>summary::before{content:'▾'}#stage-next-appointment.stage-bookings>summary::after{content:none}#stage-next-appointment.stage-bookings>summary .bodyweight-art{margin-left:auto;width:62px;height:62px;object-fit:contain;flex:0 0 62px}:root[data-unity-theme="light"] #stage-next-appointment.stage-bookings{background:transparent!important;border-color:transparent!important}#client-alert-settings{color:#F7F6F0}:root[data-unity-theme="light"] #client-alert-settings{color:#102934}#stage-next-appointment.stage-bookings>iframe{border-radius:12px;margin-top:14px}

.dashboard-bookings-button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--uc-28434f,#CBDADF)!important;background:var(--uc-102934,#fff)!important;color:var(--uc-f7f6f0,#102934)!important;border-radius:16px;padding:18px!important;margin:14px 0!important;font-size:16px;font-weight:700;min-height:92px}.dashboard-bookings-button .bodyweight-art{margin-left:auto;flex:0 0 62px;width:62px;height:62px}:root[data-unity-theme="light"] .dashboard-bookings-button{background:#fff!important;color:#102934!important;border-color:#CBDADF!important}.bookings-page>h2{font-size:20px;margin:0 0 14px}

.habcard .habx{font-size:13px;min-width:64px;min-height:44px;padding:8px;flex:0 0 auto}

.stats-journey>summary{font-weight:700;min-height:44px;cursor:pointer}.stats-journey>.card,.stats-journey>.hero{margin:14px 0}.stats-journey{padding:18px}

#food-scan,[data-food-jump="scan"],[data-plate-scan]{display:none!important}

#plate-scan{display:none!important}

.stats-journey>summary{display:flex;align-items:center;gap:10px;min-height:62px;list-style:none}.stats-journey>summary::before{content:"▸"}.stats-journey[open]>summary::before{content:"▾"}.stats-journey>summary .bodyweight-art{margin-left:auto;width:62px;height:62px;object-fit:contain}.stats-journey>summary::-webkit-details-marker{display:none}

.unity-live-wellness.card{padding:18px!important;margin:14px 0!important;border:1px solid var(--uc-28434f,#CBDADF)!important;border-radius:16px;background:var(--uc-102934,#fff)!important}.unity-live-wellness.card>summary{padding:0;font-weight:700;min-height:62px}.unity-live-wellness.card>.card{margin:14px 0 0!important}:root[data-unity-theme="light"] .unity-live-wellness.card{background:#fff!important;border-color:#CBDADF!important}

.bodyweight-art,.app-section-art,.session-accent,.wellness-entry-art,.daily-step-heading>img{filter:saturate(1.85) contrast(1.12)}

.stats-volume>summary,.unity-muscle>summary,.stats-workouts>summary{position:relative;min-height:62px;padding-right:88px;display:flex;align-items:center;font-weight:700;cursor:pointer}.stats-volume>summary .bodyweight-art,.unity-muscle>summary .bodyweight-art,.stats-workouts>summary .bodyweight-art{position:absolute;right:0;top:0;width:80px;height:64px}.stats-volume .world-lift{padding:12px 0 0;border:0;background:transparent}
.stats-volume>summary,.unity-muscle>summary,.stats-workouts>summary{list-style:none;gap:10px}.stats-volume>summary::before,.unity-muscle>summary::before,.stats-workouts>summary::before{content:"▸"}.stats-volume[open]>summary::before,.unity-muscle[open]>summary::before,.stats-workouts[open]>summary::before{content:"▾"}.stats-volume>summary::-webkit-details-marker,.unity-muscle>summary::-webkit-details-marker,.stats-workouts>summary::-webkit-details-marker{display:none}

#app>header .header-messages{position:relative;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:4px!important;margin:0!important;border:0;background:transparent!important}.header-messages svg{display:block;width:36px;height:34px;filter:saturate(1.85) contrast(1.12)}.header-messages .tab-attention{position:absolute;right:1px;top:2px;margin:0;min-width:10px;width:10px;height:10px;padding:0;font-size:0;line-height:0;background:#d43a31;border-radius:50%;border:2px solid #071821;box-sizing:content-box}@media(max-width:700px){#app>header{gap:8px!important}#app>header .brand{gap:8px!important}#app>header .brand h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
#app[data-rendered-tab="food"] .client-content>.food-supplements,#app[data-rendered-tab="food"] .client-content>.food-more{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box;align-self:stretch}
#app[data-rendered-tab="food"] .client-content>.food-supplements{padding:20px!important;border:1px solid var(--uc-28434f,#CBDADF)!important;border-radius:16px;background:var(--uc-102934,#fff)!important}
#app[data-rendered-tab="food"] .client-content>.food-supplements>summary{padding:0!important;margin:0!important;border:0!important;border-radius:0;background:transparent!important;min-height:44px;box-sizing:border-box}
:root[data-unity-theme="light"] #app[data-rendered-tab="food"] .client-content>.food-supplements{background:#fff!important;border-color:#CBDADF!important}



:root[data-unity-theme="light"] .header-messages .tab-attention{background:#d43a31!important;border-color:#F3F7F8;color:transparent!important;box-shadow:none}

.dashboard-average-inline .wellness-score-box{display:inline-flex;align-items:baseline;justify-content:center;gap:2px;min-width:58px;padding:7px 6px;border-radius:8px;border:1px solid;box-sizing:border-box}.dashboard-average-inline .wellness-score-box small{font-size:10px;font-weight:400}.dashboard-average-inline .score-good{background:#D5EBDD!important;border-color:#90BDA2!important;color:#234D39!important}.dashboard-average-inline .score-mid{background:#F3E6C2!important;border-color:#D6BB72!important;color:#645020!important}.dashboard-average-inline .score-poor{background:#F0D9D7!important;border-color:#CF9E98!important;color:#753B36!important}.dashboard-average-inline .score-unknown{background:#E8EFF1!important;border-color:#BDD1DB!important;color:#46636F!important}

.unity-activity>summary{position:relative;min-height:62px;padding-right:88px;display:flex;align-items:center;gap:10px;font-weight:700;cursor:pointer;list-style:none}.unity-activity>summary .bodyweight-art{position:absolute;right:0;top:0;width:80px;height:64px}.unity-activity>summary::before{content:"▸"}.unity-activity[open]>summary::before{content:"▾"}.unity-activity>summary::-webkit-details-marker{display:none}.unity-activity[open] .unity-month-nav{margin-top:14px}

#app>header .theme-logo img{content:url('/unity-header-logo.png');filter:none} :root[data-unity-theme="light"] #app>header .theme-logo img{filter:brightness(0) saturate(100%) invert(12%) sepia(17%) saturate(1512%) hue-rotate(154deg) brightness(92%)}

.dashboard-food>summary{display:flex;align-items:center;gap:12px}.dashboard-food>summary .bodyweight-art{margin-left:auto}.daily-calorie-form{display:flex;gap:10px;margin-top:10px}.daily-calorie-form input{min-width:0;flex:1}.daily-calorie-form button{min-height:44px}.dashboard-food [role=status]:empty{display:none}
/* The coach agreement card and check-in progress heading each own their space. */
#coach-verbal:where(input){flex-shrink:0}
.daily-step-heading{position:relative;clear:both;flex-shrink:0;padding-top:6px;margin-top:12px!important;margin-bottom:14px!important;box-sizing:content-box;overflow:visible}
.daily-step-heading>img{display:block;flex:0 0 40px;align-self:center}
@media(max-height:740px){.daily-step-heading{margin-top:10px!important;margin-bottom:10px!important}.daily-step-heading>img{flex-basis:26px}}
.dashboard-food>summary{font-size:inherit;font-weight:700;line-height:inherit;color:inherit}
.dashboard-food>label{display:block;font-size:14px;line-height:1.4;font-weight:400;color:inherit}

.daily-calorie-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0 20px}.daily-calorie-stats span,.daily-calorie-stats small{display:block;font-size:12px;line-height:1.5;color:inherit}.daily-calorie-stats strong{display:block;font-size:18px;line-height:1.5;font-weight:700}
.daily-food-history{margin:14px 0}.daily-food-history>summary{font-size:14px;font-weight:600;min-height:44px;display:flex;align-items:center}.daily-food-month{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}.daily-food-month button{min-height:44px;min-width:44px}.daily-food-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:10px 0 20px}.daily-food-calendar>span{text-align:center;font-size:11px}.daily-food-calendar button{padding:6px 2px!important;min-height:48px!important;min-width:0;border:1px solid #718895!important;border-radius:8px!important;display:flex;flex-direction:column;align-items:center}.daily-food-calendar b{font-size:13px}.daily-food-calendar small{font-size:9px;line-height:1.3}.daily-food-calendar .below{background:#d5eaf4!important;color:#163a50!important}.daily-food-calendar .above{background:#f8e6b5!important;color:#543b10!important}.daily-food-calendar .matched{background:#c9ead3!important;color:#174d2b!important}.daily-food-calendar .unknown{background:#e6edef!important;color:#3d555f!important}.daily-food-calendar .selected{outline:2px solid #347a83;outline-offset:1px}.daily-food-calendar button:disabled{opacity:.4}
.daily-weight-link{margin:14px 0}.daily-weight-link>summary{font-size:14px;font-weight:600;min-height:44px;display:flex;align-items:center}

/* Native select popups match the selected page theme, including header client chooser. */
:root[data-unity-theme="light"]{color-scheme:light}
:root[data-unity-theme="dark"]{color-scheme:dark}
:root[data-unity-theme="light"] select{color-scheme:light!important}
:root[data-unity-theme="light"] select option,:root[data-unity-theme="light"] select optgroup{background:#fff!important;color:#102934!important}
:root[data-unity-theme="dark"] select{color-scheme:dark!important}
:root[data-unity-theme="dark"] select option,:root[data-unity-theme="dark"] select optgroup{background:#102934!important;color:#f7f6f0!important}

/* Tablet layout uses the available screen width. Safe vertical insets remain. */
#app.wrap{width:100%!important;max-width:none!important;margin:0!important}
#app>header,#app>nav{max-width:none!important}
@media(min-width:701px){.client-content{padding-left:20px!important;padding-right:20px!important}#app>header{padding-left:20px!important;padding-right:20px!important}}

:root[data-unity-theme="light"] #restbar{background:#EDF5F7!important;color:#163441!important;border:1px solid #BDD1DB!important;box-shadow:0 2px 10px #16344112!important}
:root[data-unity-theme="light"] #restbar button{background:#fff!important;color:#163441!important;border-color:#BDD1DB!important}
dialog.unity-programme-library{box-sizing:border-box!important}dialog.unity-programme-library label{display:block!important;margin:16px 0!important;line-height:1.5!important}dialog.unity-programme-library label>select,dialog.unity-programme-library label>input{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:8px 0 0!important;min-height:48px!important;padding:12px!important;font-size:16px!important}html[data-stage-theme=light] dialog.unity-programme-library,html[data-unity-theme=light] dialog.unity-programme-library{background:#fff!important;color:#102934!important;border-color:#CBDADF!important;color-scheme:light}html[data-stage-theme=light] dialog.unity-programme-library :is(label,p,h2),html[data-unity-theme=light] dialog.unity-programme-library :is(label,p,h2){color:#102934!important}html[data-stage-theme=light] dialog.unity-programme-library :is(select,input,button),html[data-unity-theme=light] dialog.unity-programme-library :is(select,input,button){background:#F3F7F8!important;color:#102934!important;border-color:#CBDADF!important;color-scheme:light}
@media(min-width:701px){#app.wrap#app.wrap{grid-template-rows:78px minmax(0,1fr) 52px!important}#app.wrap#app.wrap:has(#client-chat){grid-template-rows:78px minmax(0,1fr)!important}#app>header{position:relative!important;grid-row:1!important;height:78px!important;min-height:78px!important;margin:0!important;box-sizing:border-box!important}#app>.client-content{grid-row:2!important;padding-top:14px!important;margin-top:0!important;min-height:0!important;position:relative!important}#client-chat{margin-top:0!important;padding-top:14px!important}#client-chat>h3{margin:0 0 10px!important;line-height:1.4!important}}
.fa-hero{display:flex;align-items:center;gap:16px;margin:6px 0 14px}
.fa-ring{width:96px;height:96px;flex:none;position:relative}
.fa-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.fa-ring-bg{fill:none;stroke:var(--uc-183847);stroke-width:9}
.fa-ring-fg{fill:none;stroke:#2563eb;stroke-width:9;stroke-linecap:round}
.fa-ring-num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font:700 26px system-ui;color:var(--uc-f7f6f0)}
.fa-ring-num small{font:600 9px system-ui;letter-spacing:1px;text-transform:uppercase;color:var(--uc-9cb4bf);margin-top:2px}
.fa-hero-txt{flex:1;min-width:0}
.fa-hero-txt h3{margin:0 0 4px;font-size:16px}
.fa-hero-txt p{margin:0;font-size:12px;color:var(--uc-9cb4bf);line-height:1.45}
.fa-macros{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 8px}
.fa-macro{background:var(--uc-0b222d);border-radius:10px;padding:8px 10px;font-size:11px;color:var(--uc-9cb4bf);min-width:0}
.fa-macro b{display:block;font-size:14px;margin-top:2px;color:var(--uc-f7f6f0);overflow-wrap:anywhere}
.fa-macro b small{font-size:10px;color:var(--uc-9cb4bf);font-weight:400}
.fa-bar{height:4px;border-radius:2px;background:var(--uc-183847);margin-top:6px;overflow:hidden}
.fa-bar i{display:block;height:100%;border-radius:2px;background:#2563eb}
.fa-meals h3{margin-top:0}
.fa-meal{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:12px;margin-bottom:8px;background:var(--uc-0b222d)}
.fa-thumb{width:44px;height:44px;border-radius:10px;flex:none;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:#fff}
.fa-t0{background:#b45309}.fa-t1{background:#267567}.fa-t2{background:#7c3aed}.fa-t3{background:#2563eb}
.fa-info{flex:1;min-width:0}
.fa-info b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fa-info small{font-size:11px;color:var(--uc-9cb4bf)}
.fa-pill{font-size:10px;font-weight:700;border-radius:999px;padding:3px 8px;color:#fff;flex:none}
.fa-pill.fa-good{background:#267567}.fa-pill.fa-mid{background:#b45309}.fa-pill.fa-low{background:#9E302D}
.fa-kcal{font-size:13px;font-weight:700;white-space:nowrap;flex:none}
.fa-del{flex:none}
.fa-actions{display:flex;gap:8px;padding-top:4px}
.fa-actions button{flex:1;border-radius:12px;padding:12px 6px;font-size:12px;font-weight:700}
#fa-log{background:#2563eb;color:#fff;border:0}
#fa-scan{background:var(--uc-183847);color:var(--uc-f7f6f0)}
/* Top bar option 4: minimal, centred name, icon buttons only */
#app>header{gap:8px}
#app>header .theme-logo{width:44px;height:44px;min-width:44px;padding:4px}
#app>header .theme-logo img{width:36px!important;height:36px!important}
#app>header .brand>div{flex:1;min-width:0;text-align:center}
#app>header .brand h1{font:600 20px system-ui,sans-serif!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--uc-f7f6f0)}
#app>header #logout{width:44px;height:44px;min-width:44px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--uc-43616c);color:var(--uc-f7f6f0);background:transparent}
/* Cover Flow v2: square programme covers, flip to workouts (preview only) */
.cf2{margin:0 -16px}
.cf2-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px max(18px,calc(50% - 39vw - 6px)) 6px;-webkit-overflow-scrolling:touch}
.cf2-track{scrollbar-width:none;-ms-overflow-style:none}
.cf2-track::-webkit-scrollbar{display:none;width:0;height:0}
.cf2-card{flex:0 0 auto;width:min(78vw,460px);height:calc(100vh - 312px);height:calc(100dvh - 312px);min-height:380px;max-height:600px;scroll-snap-align:center;perspective:1200px;cursor:pointer;border-radius:18px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.cf2-inner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .45s}
.cf2-card.flipped .cf2-inner{transform:rotateY(180deg)}
.cf2-face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:18px;padding:16px;display:flex;flex-direction:column;justify-content:flex-end}
.cf2-front b{color:#fff;font-size:27px;line-height:1.2}
.cf2-front span{color:#ffffffcc;font-size:15px;margin-top:6px}
.cf2-front small{position:absolute;top:14px;left:14px;background:#ffffff2b;color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em;padding:4px 10px;border-radius:999px}
.cf2-back{transform:rotateY(180deg);background:var(--uc-10232c);border:1px solid var(--uc-43616c);justify-content:flex-start;gap:6px;overflow-y:auto}
.cf2-back b{font-size:17px;color:var(--uc-f7f6f0);margin-bottom:6px}
.cf2-wk{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;text-align:left;background:var(--uc-0b222d);border:0;border-radius:12px;padding:14px 13px;font-size:16px;font-weight:600;color:var(--uc-f7f6f0)}
.cf2-wk small{font-weight:400;font-size:12px;color:var(--uc-9cb4bf);white-space:nowrap}
.cf2-dots{display:flex;gap:6px;justify-content:center;padding:8px 0 2px}
.cf2-dot{width:6px;height:6px;border-radius:50%;background:#8aa3b1;opacity:.55}
.cf2-dot.on{opacity:1}
.cf2-dot.on{background:#2563eb}
.cf2-hint{text-align:center;margin:4px 0 0;font-size:12px}
.cf2-scratch{width:100%;margin-top:10px;background:transparent;border:1px dashed var(--uc-43616c);border-radius:12px;padding:13px 12px;font-size:14px;font-weight:600;color:var(--uc-9cb4bf);cursor:pointer}
.cf2-scratch:active{background:var(--uc-0b222d)}
/* CF2: breathing room around the scratch button and workout heading */
.cf2 ~ button.secondary[data-start="|"]{margin-top:14px}
.cf2 ~ h3{margin-top:12px}

/* CF2: opened workout uses the same bigger scale */
.cf2-detail h3{font-size:25px;margin:14px 0 12px}
.cf2-detail .exercise .art-thumb{width:72px;height:72px}
.cf2-detail article.exercise b{font-size:18px}
.cf2-detail article.exercise p{font-size:14px}
.cf2-detail button[data-start]{font-size:17px;padding:16px 20px;margin-top:6px}

/* CF2: back link above an opened workout */
.cf2-back-nav{margin:2px 0 2px}
.cf2-back-nav .quiet{min-height:40px;padding:8px 12px 8px 0;font-size:14px}

/* CF2: long-press delete confirm sheet */
.cf2-del-ov{position:fixed;inset:0;background:rgba(4,12,16,.62);display:flex;align-items:center;justify-content:center;z-index:60;padding:22px}
.cf2-del-card{max-width:350px;width:100%;margin:0}
.cf2-del-card h3{margin-top:0}
.cf2-del-acts{display:flex;gap:10px;margin-top:14px}
.cf2-del-acts button{flex:1}

@media(max-width:700px){#app>header{height:62px!important;min-height:62px!important}#app.wrap{padding-top:70px!important}#app>header .theme-logo{width:52px!important;height:52px!important;min-width:52px!important}#app>header .theme-logo img{width:52px!important;height:52px!important}}

/* CF2: opened programme card keeps its cover photo as the header */
.cf2-back-photo{padding:0}
.cf2-back-hd{flex:none;height:88px;border-radius:17px 17px 0 0;display:flex;flex-direction:column;justify-content:flex-end;padding:10px 16px;margin-bottom:10px}
.cf2-back-hd b{color:#fff;font-size:22px;line-height:1.2;margin:0;text-shadow:0 1px 6px rgba(0,0,0,.5)}
.cf2-back-hd span{color:#ffffffd9;font-size:13px;margin-top:2px;text-shadow:0 1px 4px rgba(0,0,0,.5)}
.cf2-back-photo .cf2-wk,.cf2-back-photo .cf2-scratch{margin-left:16px;margin-right:16px;width:calc(100% - 32px);box-sizing:border-box}
.cf2-back-photo .cf2-scratch{margin-bottom:16px}

/* No iOS long-press callout or drag on app imagery */
img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
