:root{--bg:var(--hn-bg);--card:var(--hn-surface);--line:var(--hn-line);--red:var(--hn-brand);--text:var(--hn-text);--muted:var(--hn-text-muted);color-scheme:dark}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;min-height:44px}button:disabled{opacity:.43;cursor:default}#client{min-height:100dvh;padding-bottom:calc(85px + env(safe-area-inset-bottom));max-width:720px;margin:auto}.top{height:77px;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #292b33}.top small{color:#90929e;letter-spacing:.17em;font-size:9px}.brand{font-size:24px;font-weight:900;letter-spacing:-.05em}.brand b{color:var(--red)}.top-avatar{height:38px;width:38px;background:#39252b;border-radius:50%;display:grid;place-items:center;overflow:hidden}.top-avatar img,.large-avatar img{height:100%;width:100%;object-fit:cover}main{padding:25px 17px 32px}h1{font-size:clamp(27px,7vw,36px);line-height:1.18;letter-spacing:-.04em;margin:8px 0 10px}h1 em{color:var(--red);font-style:normal}h3{font-size:17px;margin:0 0 12px}.eyebrow{color:#f04a62;font-size:10px;letter-spacing:.17em;font-weight:800;margin:0}.muted{color:var(--muted)}.tiny{font-size:12px;line-height:1.55}.card{background:var(--card);border:1px solid var(--line);border-radius:17px;padding:17px;margin:17px 0}.stats,.body-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.stats>div,.body-stats>div{min-width:0;background:#20232b;border:1px solid #373a44;border-radius:12px;text-align:center;padding:13px 6px}.stats strong,.body-stats strong{display:block;font-size:30px;line-height:1.25}.stats small,.body-stats small{display:block;color:var(--muted);font-size:11px}.body-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.body-stats>div{text-align:left;padding:14px}.body-stats strong{font-size:22px;margin:5px 0}.agenda{display:flex;align-items:center;gap:12px;border-bottom:1px solid #30333c;padding:12px 0}.agenda:last-child{border:0}.agenda>div{flex:1;min-width:0}.agenda small,.doc small,.avatar-edit small{display:block;color:var(--muted);font-size:12px}.agenda .time{background:#39232a;padding:9px;color:#ff8997;font-weight:800;border-radius:9px;white-space:nowrap}.tag{white-space:nowrap;font-size:11px;padding:5px 7px;border-radius:7px}.good{background:#1a3c30;color:#8de0b2}.wait{background:#503323;color:#ffbb88}.primary,.secondary{background:var(--red);color:white;border:0;border-radius:11px;padding:12px 16px;font-weight:700;text-align:center}.secondary{background:#30333d;color:#fff}.wide{width:100%;margin-top:15px}.bottom{position:fixed;z-index:10;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));height:calc(68px + env(safe-area-inset-bottom));padding:4px max(env(safe-area-inset-left),10px) env(safe-area-inset-bottom);background:#111218;border-top:1px solid #2d3039}.bottom button{background:transparent;border:0;border-radius:9px;color:#aeb0b9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:5px 2px}.bottom i{font-style:normal;font-size:24px;line-height:1.15}.bottom span{font-size:11px}.bottom .active{background:#3c1c25;color:#ff7184}.date-strip{display:flex;gap:7px;overflow-x:auto;padding-bottom:10px;margin-bottom:17px;scroll-snap-type:x mandatory}.date-pill{border:1px solid #3a3d47;border-radius:11px;background:#252730;color:#e9e9f0;min-width:66px;padding:9px;display:flex;align-items:center;flex-direction:column;scroll-snap-align:start}.date-pill b{font-size:12px}.date-pill span{font-size:13px}.date-pill.active{border-color:#f34a63;background:#622633}.slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.slot{background:#272933;color:#fff;border:1px solid #424550;border-radius:9px;font-size:14px;font-weight:750;padding:10px 0}.slot.selected{background:var(--red);border-color:var(--red)}.slot:disabled{background:#17181d;color:#636773;border-color:#292a32}label{display:block;font-size:13px;color:#c8cbd3;margin:16px 0 9px}input,textarea,select{display:block;width:100%;background:#262831;border:1px solid #484c56;border-radius:10px;padding:12px;margin:6px 0;color:#fff;font-size:16px;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--red)}textarea{resize:vertical}.cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cols>*{min-width:0}.doc{display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid var(--line);padding:12px 0}.doc>div:first-child{min-width:0;overflow-wrap:anywhere}.doc>div:last-child{display:flex;gap:6px}.doc a{padding:8px 9px;color:#fff;background:#30323a;text-decoration:none;border-radius:8px;white-space:nowrap;font-size:12px}.phase{border-bottom:1px solid #373943;padding:10px 0}.phase summary{cursor:pointer}.phase summary small{display:block;color:var(--muted)}.phase pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 system-ui;color:#dcdee5}.mini-chart{width:100%;height:110px;background:#20232a;border-radius:9px;margin:12px 0}.avatar-edit{display:flex;gap:15px;align-items:center}.large-avatar{width:80px;height:80px;flex:none;border-radius:50%;display:grid;place-items:center;background:#3a2730;overflow:hidden;font-size:25px}.upload-btn{display:inline-block;padding:7px 13px;margin-top:7px}.auth{padding:14vh 22px 30px}.auth .brand{margin-bottom:45px}.auth .card{margin-top:30px}.toast{position:fixed;z-index:100;bottom:calc(85px + env(safe-area-inset-bottom));left:10px;right:10px;margin:auto;max-width:480px;border-radius:12px;padding:12px 14px;color:#fff;background:#28563e;box-shadow:0 5px 18px #000a;font-weight:600}.toast.bad{background:#8b2639}@media(min-width:721px){.bottom{max-width:720px;left:50%;transform:translateX(-50%)}main{padding:28px 32px}}@media(max-width:360px){.slots{grid-template-columns:repeat(3,minmax(0,1fr))}.agenda{gap:6px}.tag{font-size:10px}}

.activation-hint{position:fixed;z-index:120;inset:auto 10px calc(75px + env(safe-area-inset-bottom));max-width:500px;margin:auto;background:#242831;border:1px solid #be5267;border-radius:16px;padding:17px;box-shadow:0 4px 40px #000c;display:grid;gap:9px}.activation-hint span{color:#c3c5cc;font-size:13px}.activation-hint b{font-size:23px;letter-spacing:.05em;word-break:break-all}

/* v2.30: mobile PWA viewport, prevent accidental scaling and horizontal drift. */
html{width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%;overscroll-behavior-x:none}
body{width:100%;overflow-x:hidden;touch-action:pan-x pan-y}
#client{width:100%;max-width:720px;overflow-x:clip}
button,a,input,textarea,select{touch-action:manipulation}
input,textarea,select{font-size:16px!important}
main,.card{min-width:0}
button,select,input,textarea{max-width:100%}
.mini-cancel{font-size:12px;font-weight:700;color:#ff9cab;background:#39232a;border:1px solid #834250;border-radius:8px;min-height:36px;padding:5px 10px;flex:none}
@media (display-mode:standalone){.bottom{padding-bottom:max(env(safe-area-inset-bottom),8px);height:calc(68px + max(env(safe-area-inset-bottom),8px));}#client{padding-bottom:calc(85px + max(env(safe-area-inset-bottom),8px));}}
.push-prompt{margin:14px 0;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#2e1f26;color:#ffe4e8;border:1px solid #6b3845;border-radius:12px;font-weight:650;font-size:13px}
.push-prompt button{min-width:55px;border:0;background:var(--red);color:white;border-radius:9px;font-weight:700;padding:6px 12px}


.section-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-row>*{min-width:0}.stats-4{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-banner{display:flex;align-items:stretch;justify-content:space-between;gap:12px;background:linear-gradient(180deg,#24171c,#1b1d24);border:1px solid #4a2b35;border-radius:16px;padding:15px 16px;margin:17px 0}.goal-banner small,.goal-banner span{display:block;color:var(--muted);font-size:12px}.goal-banner b{display:block;font-size:18px;margin:4px 0 5px}.goal-mini{flex:none;min-width:108px;background:#22242b;border:1px solid #3a3d46;border-radius:12px;padding:10px 11px}.snapshot-actions{margin-top:12px;display:flex;justify-content:flex-end}.chart-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:10px;margin-bottom:8px}.chart-tabs button{border:1px solid #424550;background:#262932;color:#fff;border-radius:999px;padding:9px 13px;white-space:nowrap;min-height:40px}.chart-tabs button.active{background:#582430;border-color:#ef3048}.metric-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 8px}.metric-overview small{display:block;color:var(--muted);font-size:12px}.metric-overview strong{display:block;font-size:28px;line-height:1.2;margin:3px 0}.metric-chart{display:block;width:100%;height:auto;background:#20232a;border-radius:12px;margin:8px 0 4px}.compare-list{display:grid;gap:10px}.compare-item{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 24px minmax(0,1fr);gap:8px;align-items:center;background:#20232a;border:1px solid #363945;border-radius:12px;padding:12px}.compare-item b{font-size:13px}.compare-item span{font-size:13px;color:#fff}.compare-item i{text-align:center;color:#ff8797;font-style:normal}.micro-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-size:11px;padding:5px 8px;border-radius:999px;border:1px solid}.micro-badge.up{background:#173728;color:#9ce0bb;border-color:#2b6b49}.micro-badge.down{background:#4a3020;color:#ffc18d;border-color:#8a5530}.tiny-btn{min-height:34px;padding:7px 10px;font-size:12px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-grid button{width:100%}
@media(max-width:420px){.goal-banner{flex-direction:column}.metric-overview{align-items:flex-start;flex-direction:column}.compare-item{grid-template-columns:1fr;gap:4px}.compare-item i{text-align:left}}

/* v2.32: calendar, fast fixed-month booking and confirmed-session change requests */
.date-nav{display:flex;align-items:center;gap:7px;max-width:100%;min-width:0;margin:8px 0 18px}
.date-nav .date-strip{min-width:0;flex:1 1 0;width:0;max-width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:none;padding:3px 0 12px;margin:0}
.date-nav .date-strip::-webkit-scrollbar{display:none}
.date-nav .date-strip .date-pill{flex:0 0 68px;min-width:68px;max-width:68px;scroll-snap-align:start}
.date-nav .date-move{flex:0 0 32px;min-width:32px;width:32px;min-height:66px;height:66px;padding:0;font-size:27px;border-radius:9px}
.bottom:has(button:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}
.bottom:has(button:nth-child(5)) span{font-size:10px;white-space:nowrap}
.bottom:has(button:nth-child(5)) i{font-size:21px}
.mini-change{min-height:36px;padding:7px 9px;flex:none;background:#3b2630;border:1px solid #755061;border-radius:8px;color:#ff9faf;font-size:12px;font-weight:750}
.monthly-preview{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
.monthly-preview span{border-radius:9px;padding:7px 9px;font-size:12px;background:#28372f;border:1px solid #42644e;color:#a4e8bd}
.monthly-preview span.conflicted{background:#48282a;border-color:#9b4c51;color:#ffb2b9}
.weekday-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.weekday{border:1px solid #474953;background:#282a32;color:#e4e5e9;border-radius:8px;padding:7px 1px;min-height:44px;font-size:12px;font-weight:700}
.weekday.active{background:#af1e36;border-color:#fc516e;color:white}
.warning-note{font-size:12px;line-height:1.5;padding:10px 12px;background:#48282a;color:#ffc4ca;border-radius:10px}
.calendar-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}
.calendar-top h3{margin:0}.calendar-top button{width:40px;min-width:40px;font-size:23px;padding:4px}
.month-calendar{width:100%;overflow:hidden}.week-head,.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.week-head{margin-bottom:8px}.week-head span{text-align:center;color:#a9acb7;font-size:11px;font-weight:650}
.month-day{border:1px solid #353843;background:#22242a;color:white;border-radius:8px;min-width:0;min-height:58px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;font-size:13px;font-weight:750}
.month-day.out{background:#17181b;color:#626771}.month-day.today{border-color:#f44763;color:#ffa0b2}
.month-events{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;min-height:8px}
.month-events i,.month-legend i{width:7px;height:7px;border-radius:100%;display:inline-block;flex:none}
.month-events .booked,.month-legend .booked{background:#80c89d}
.month-events .pending,.month-legend .pending{background:#ffc079}
.month-events .done,.month-legend .done{background:#a9adbb}
.month-legend{display:flex;gap:13px;flex-wrap:wrap;padding-top:14px;font-size:11px;color:#bec0c9}
.month-legend span{display:flex;align-items:center;gap:5px}
@media(max-width:360px){.date-nav .date-move{flex-basis:30px;min-width:30px;width:30px}.month-day{min-height:51px}.bottom:has(button:nth-child(5)) span{font-size:9px}}

/* v2.35.6 · click-through Google Maps for student appointments */
.client-location-link{display:inline-flex;align-items:center;color:#ffa0ad;text-decoration:none;font-weight:650;font-size:12px;min-height:30px;margin-top:4px;max-width:100%;white-space:normal}

/* v2.36.0 Food Scanner — client */
.bottom:has(button:nth-child(6)){grid-template-columns:repeat(6,minmax(0,1fr))}
.bottom:has(button:nth-child(6)) span{font-size:9px;letter-spacing:-.03em;white-space:nowrap}
.bottom:has(button:nth-child(6)) i{font-size:19px}
@media(max-width:375px){.bottom:has(button:nth-child(6)) span{font-size:8px}}
.food-hero{background:linear-gradient(140deg,#321a22,#1b1d24);border-color:#6d3646}
.food-hero>small{display:block;color:#c7a4ac;font-size:11px;font-weight:750;letter-spacing:.1em}
.food-hero>strong{display:block;font-size:42px;line-height:1.15;letter-spacing:-.04em;margin:9px 0 4px}
.food-hero>strong span{font-size:16px;letter-spacing:0;color:#fbb0bc}
.food-hero p{font-size:12px;color:#c8bbc3}
.food-hero label{margin-bottom:0}
.food-upload .micro-badge{font-size:10px;color:#ffadb9;border-color:#804957;background:#45252e;padding:5px 8px}
.food-upload-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.food-picker{position:relative;margin:0;display:flex;align-items:center;justify-content:center;min-height:62px;padding:9px 5px;border:1px dashed #aa5264;border-radius:12px;background:#372027;color:#fff;text-align:center;font-size:13px;font-weight:750;overflow:hidden;cursor:pointer}
.food-picker input{position:absolute;width:100%;height:100%;opacity:0;inset:0;cursor:pointer;margin:0}
.food-picker:has(input:disabled){opacity:.55;pointer-events:none}
.food-progress{min-height:1px;color:#ffacb9;margin-top:10px;font-size:12px;line-height:1.55}
.food-entry{display:flex;align-items:center;gap:11px;border-bottom:1px solid #31333a;padding:12px 0}
.food-entry:last-child{border-bottom:0}.food-entry>div{flex:1;min-width:0}.food-entry b{font-size:13px;overflow-wrap:anywhere}.food-entry small{display:block;color:#a8aab3;font-size:11px}.food-entry>b{white-space:nowrap;color:#ff8798}
.food-delete{min-height:32px;min-width:32px;border:1px solid #573440;border-radius:9px;background:#36232a;color:#ff9fae;font-size:22px}
.food-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;color:#eee0e4;margin:12px 0;background:#272229;border:1px solid #57404b;border-radius:11px;padding:11px}
.food-consent input{width:18px;height:18px;min-width:18px;margin:0;accent-color:var(--red)}

/* v2.36.1 Macro tracking */
.food-target{border-color:#53313a}.food-target-row{padding:7px 0}.food-target-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:13px}.food-target-row span{color:#d5bdc4}.food-target-track{height:7px;border-radius:7px;background:#282c34;margin:8px 0}.food-target-track i{display:block;height:100%;background:#ef5869;border-radius:7px}.food-macro-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.food-macro-inputs label{font-size:11px}.food-macro-inputs input{min-width:0;width:100%;padding:9px 6px}

/* v2.37.0 · HN Daily wellness (calories logged, macro, steps and Apple Shortcuts) */
.wellness-date{padding:12px 16px}.wellness-date label{margin:0;font-size:12px;color:#c4c4ce}.wellness-date select{margin:6px 0 0}
.wellness-energy{overflow:hidden;background:radial-gradient(circle at 100% 0,rgba(255,72,100,.14),transparent 50%),linear-gradient(136deg,#271923,#13171e);border:1px solid #684153}
.wellness-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.wellness-top>div:first-child{min-width:0;flex:1}.wellness-top small,.wellness-steps-count small{display:block;font-size:10px;color:#f3a0b0;font-weight:800;letter-spacing:.11em}.wellness-top h3{margin:7px 0;font-size:15px}.wellness-top strong{display:block;font-size:clamp(30px,8vw,42px);letter-spacing:-.045em;color:#fff;font-weight:850;white-space:nowrap}.wellness-top strong span{font-size:14px;color:#fc9cae;letter-spacing:0}.wellness-top p{font-size:12px;color:#f6bdc8;line-height:1.45;margin:7px 0}
.wellness-ring{--value:0%;width:112px;height:112px;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#ef4b65 var(--value),#3a333e var(--value));position:relative;box-shadow:0 5px 26px rgba(239,75,101,.13)}.wellness-ring:after{content:"";position:absolute;inset:11px;border-radius:50%;background:#221b25}.wellness-ring span{position:relative;z-index:1;font-size:20px;font-weight:850;color:#fff}.wellness-energy-meta{display:flex;justify-content:space-between;gap:9px;flex-wrap:wrap;border-top:1px solid #523742;margin-top:16px;padding-top:12px;color:#edc1cb;font-size:11px;font-weight:650}.wellness-energy>.muted{margin-top:10px}
.wellness-steps{border:1px solid #384d48;background:radial-gradient(circle at 5% 0,rgba(53,180,144,.13),transparent 50%),#181e22}.wellness-steps-top{display:flex;align-items:center;gap:17px;margin:14px 0}.wellness-step-ring{width:95px;height:95px;background:conic-gradient(#58d2a1 var(--value),#33463e var(--value))}.wellness-step-ring:after{inset:9px;background:#182720}.wellness-step-ring span{font-size:18px}.wellness-steps-count{min-width:0;flex:1}.wellness-steps-count small{color:#83dcbc}.wellness-steps-count strong{display:inline-block;font-size:clamp(27px,8vw,37px);line-height:1.2;letter-spacing:-.035em}.wellness-steps-count>span{font-size:13px;color:#bec8c2}.wellness-steps-count p{font-size:11px;color:#a9c6bb;margin:7px 0 0}.wellness-track{height:7px;border-radius:7px;overflow:hidden;background:#324039}.wellness-track i{height:100%;display:block;background:linear-gradient(90deg,#3ca67f,#70ebae);border-radius:7px}
.step-form{display:flex;gap:9px;align-items:end;margin-top:15px}.step-form label{margin:0;flex:1;font-size:11px;color:#bfcfcb}.step-form input{margin:5px 0 0;min-width:0}.step-form button{min-height:42px;white-space:nowrap}
.step-connect{margin-top:16px;border-top:1px solid #3b4b47;padding-top:15px}.step-connect summary{cursor:pointer;font-size:13px;color:#bdffde;font-weight:760;line-height:1.6;list-style-position:inside}.step-connect button{margin-top:8px}.step-guide{padding-left:20px;margin:12px 0;line-height:1.7;color:#d9e1df;font-size:12px}.step-guide li{margin:8px 0}.step-guide code,.wellness-copy code,.wellness-secret code{font-size:11px;overflow-wrap:anywhere;word-break:break-word;color:#b3eed1;background:#202e29;border-radius:5px;padding:2px 5px}.wellness-copy{display:grid;gap:8px;border:1px solid #3a534b;padding:10px;border-radius:10px}.wellness-copy .secondary{min-height:40px}.wellness-secret{padding:12px;border:1px solid #50816b;border-radius:12px;background:#1b3027;display:grid;gap:10px;margin-top:10px}.wellness-secret b{font-size:12px}.wellness-secret code{font-size:13px;user-select:all}
.wellness-week .section-row{gap:7px}.wellness-week-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wellness-mini{padding:12px;background:#20232a;border:1px solid #363c43;border-radius:12px;min-width:0}.wellness-mini h4{font-size:12px;margin:0 0 10px;line-height:1.4}.wellness-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;height:98px;align-items:end}.wellness-bar-col{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;gap:7px}.wellness-bar-area{width:100%;height:75px;display:flex;align-items:end;background:#292b33;border-radius:4px 4px 0 0;overflow:hidden}.wellness-bar-area i{display:block;width:100%;background:linear-gradient(180deg,#f66b82,#a92a40);border-radius:4px 4px 0 0}.wellness-mini:nth-child(2) .wellness-bar-area i{background:linear-gradient(180deg,#6ce5ab,#247752)}.wellness-bar-area i.empty{height:0}.wellness-bar-col small{font-size:8px;color:#a4acb2;text-align:center;white-space:nowrap}
.wellness-home{border-color:#6f3541}.wellness-home-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}.wellness-home-stats>div{padding:12px;background:#242028;border:1px solid #49313c;border-radius:10px;min-width:0}.wellness-home-stats small{display:block;font-size:9px;font-weight:750;color:#d7acb7}.wellness-home-stats strong{display:block;font-size:26px;margin:5px 0}.wellness-home-stats span{font-size:11px;color:#b9a7ae}
@media(max-width:365px){.wellness-ring{width:89px;height:89px}.wellness-top strong{font-size:28px}.wellness-week-grid{grid-template-columns:1fr}.wellness-steps-top{gap:9px}.wellness-step-ring{width:79px;height:79px}.wellness-steps-count strong{font-size:28px}}

/* HN Fitness AI Coach v2.39.0 */
.ai-open-cta{margin:10px 0 18px;background:#40202a;border:1px solid #864053;color:#ffe5e9}
.ai-student-report{margin-top:12px;background:#20222a;border:1px solid #373944;border-radius:12px;overflow:hidden}
.ai-student-report summary{cursor:pointer;padding:13px 14px;list-style:none;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.ai-student-report summary::-webkit-details-marker{display:none}
.ai-student-report summary strong{font-size:14px}
.ai-student-report summary small{font-size:11px;text-align:right;color:#9de3ba}
.ai-client-report-body{white-space:pre-wrap;line-height:1.65;border-top:1px solid #343742;padding:15px;font-size:13px;color:#d5d7de;overflow-wrap:anywhere}
.ai-client-chat{margin-top:18px}
.ai-chat-history{max-height:330px;min-height:90px;overflow:auto;display:flex;flex-direction:column;gap:9px;margin:16px 0;padding:11px;background:#17191f;border:1px solid #363943;border-radius:14px}
.ai-chat-welcome{color:#c7cad2;background:#252731;border-radius:12px;line-height:1.55;padding:12px;font-size:13px}
.ai-bubble{padding:12px 14px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6;max-width:92%;align-self:flex-start;background:#292c35;color:#e3e4e9}
.ai-bubble.self{align-self:flex-end;background:#78263b;color:white}
/* 2.40: minimalist nutrition controls and quick prompts */
.ai-chat-chips{display:flex;gap:9px;flex-wrap:wrap;margin:8px 0 13px}.ai-chat-chips button{border:1px solid #69404c;background:#292028;color:#ffc0cb;border-radius:100px;font-size:12px;padding:9px 11px;min-height:40px}.ai-chat-chips button:active{background:#49303b}

.selina-hero{display:flex;gap:12px;align-items:center;margin-bottom:10px}.selina-avatar{width:68px;height:68px;border-radius:18px;object-fit:cover;border:2px solid #6a2b3a;box-shadow:0 10px 24px rgba(0,0,0,.24)}


/* 2.40.4: Chat stickers appear only as individual Seli Mini replies. */
.ai-chat-message{display:flex;flex-direction:column;gap:5px;max-width:94%;align-self:flex-start;min-width:0}
.ai-chat-message.self{align-self:flex-end;align-items:flex-end}
.ai-chat-message.bot{align-items:flex-start}
.ai-chat-message .ai-bubble{max-width:100%;align-self:auto}
.ai-chat-sticker{display:block;object-fit:contain;object-position:left center;width:clamp(94px,32vw,146px);height:auto;max-height:165px;margin:2px 0 5px 8px;filter:drop-shadow(0 5px 10px rgba(0,0,0,.18))}

/* Seli Mini's Sunday booking reminder */
.seli-sunday-card{border:1px solid rgba(245,45,85,.45);background:linear-gradient(145deg,#281921,#1b1d25);margin:16px 0}
.seli-sunday-header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.seli-sunday-header img{width:66px;height:66px;object-fit:cover;border-radius:16px;flex:none}
.seli-sunday-header h3{margin:0 0 5px;color:#ffe9ec;font-size:15px}
.seli-sunday-header p{margin:0;line-height:1.55}

/* v2.40.7: visual flag for booked dates (only busy time slots are disabled). */
.date-pill.has-busy{border-color:#9e4655;position:relative}
.date-pill.has-busy small{display:block;color:#ff919e;font-size:9px;line-height:1.1;margin-top:3px;white-space:nowrap}
.date-pill.active.has-busy small{color:#ffe1e5}

.month-day.calendar-busy{box-shadow:inset 0 0 0 1px rgba(239,70,95,.34)}
.month-events .other-busy,.month-legend .other-busy{background:#e64762}

/* v2.41: Daily Missions — progress reflects recorded actions only. */
.daily-missions{border-color:#693446;background:linear-gradient(145deg,#242028,#191a21)}
.mission-track{height:7px;border-radius:20px;background:#38303a;overflow:hidden;margin:15px 0 8px}.mission-track>i{display:block;height:100%;background:linear-gradient(90deg,#d62043,#ff7189);border-radius:20px;transition:width .3s}
.mission-row{width:100%;min-height:64px;display:flex;gap:12px;align-items:center;text-align:left;padding:10px 2px;border:0;border-bottom:1px solid #343139;background:transparent;color:#fff}.mission-row>span:nth-child(2){flex:1;min-width:0}.mission-row b{display:block;font-size:13px}.mission-row small{display:block;color:#aaadb7;font-size:11px;margin-top:3px}.mission-ico{width:36px;height:36px;background:#352531;border-radius:11px;display:grid;place-items:center;font-size:19px}.mission-row strong{color:#acabb6;font-size:18px}.mission-row strong.mission-ok{color:#8ed7b0}.mission-foot{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:12px 0 0}.mission-foot span{color:#ffacbd;font-weight:700;font-size:12px}.mission-foot small{color:#aeb0b8;font-size:11px}.client-install-hint{border:1px solid #644554;background:#30242e;padding:14px}.client-install-hint strong{font-size:13px}

.daily-menu-list{display:grid;gap:8px;margin-top:12px}.daily-menu-item{display:grid;gap:3px;background:#23262f;border:1px solid #363943;border-radius:11px;padding:11px 12px}.daily-menu-item small{color:#ff9caf;font-size:10px;font-weight:750}.daily-menu-item b{font-size:13px;color:#f9f9fc}.daily-menu-item span{font-size:12px;color:#b8bac5}

/* v2.42.0 Premium UX: visible next action first; no extra content or external requests. */
.hn-today-hero{margin:8px 0 14px;padding:20px;border-radius:22px;border:1px solid rgba(239,69,97,.55);background:radial-gradient(circle at 95% 5%,rgba(239,55,89,.18),transparent 57%),linear-gradient(135deg,#2c1c27,#1b1d24 80%);box-shadow:0 12px 30px rgba(0,0,0,.13)}
.hn-today-overline{display:flex;justify-content:space-between;gap:8px;color:#ff9bac;font-size:10px;font-weight:800;letter-spacing:.12em}
.hn-today-title{display:flex;align-items:center;gap:12px;margin-top:19px}.hn-today-symbol{display:grid;place-items:center;flex:none;width:52px;height:52px;background:#e8294b;color:white;border-radius:17px;font-size:25px;box-shadow:0 7px 20px rgba(232,41,75,.18)}
.hn-today-title h2{font-size:24px;line-height:1.18;margin:0 0 5px;letter-spacing:-.04em}.hn-today-title p{font-size:12px;color:#e8b8c3;margin:0}
.hn-today-next{padding:15px 0 16px;margin:14px 0 0;border-top:1px solid rgba(255,255,255,.13);display:flex;flex-direction:column;gap:7px}
.hn-today-next b{font-size:17px;color:#fff}.hn-today-next strong{color:#ff6a84}.hn-today-next small{font-size:12px;color:#b6b9c1}
.hn-today-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.hn-today-actions:has(button:only-child){grid-template-columns:1fr}
.hn-today-actions button{min-height:46px;margin:0!important;padding:9px 13px;font-size:12px}.hn-today-actions button.secondary{white-space:nowrap}
.hn-today-foot{margin:11px 0 0;color:#b8a8b2;font-size:10px;line-height:1.45}
.hn-seli-focus{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:0 0 17px;border:1px solid #3c333e;border-radius:15px;background:#24212a}.hn-seli-focus img{flex:none;width:42px;height:42px;object-fit:cover;border-radius:13px}.hn-seli-focus p{font-size:12px;line-height:1.55;margin:0;color:#ded3de}
.transformation-card{border:1px solid #714157;background:linear-gradient(130deg,#30202c,#1a1c24)}
.transformation-meta{display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;font-weight:700;color:#f3bbca;margin:15px 0}
.transformation-meta i{font-style:normal;color:#a8abb7}
.transformation-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}
.transformation-metrics>div{background:#22212a;padding:12px;border:1px solid #3b343e;border-radius:11px;min-width:0}
.transformation-metrics small{display:block;color:#b9aeb9;font-size:11px;margin-bottom:8px}.transformation-metrics b{font-size:20px;font-weight:850;color:#fff;letter-spacing:-.02em}
@media(max-width:370px){.hn-today-hero{padding:15px}.hn-today-title h2{font-size:21px}.hn-today-actions{grid-template-columns:1fr}.hn-today-actions button{width:100%}.transformation-metrics b{font-size:17px}}

/* v2.42.1 - only show confirmed free slots, including during fetch failures */
#booking-slots{margin:8px 0 10px;min-height:52px}
#booking-slots .booking-slots-status{grid-column:1/-1;margin:0;padding:13px 4px;line-height:1.6}
#booking-reload-availability{font-size:12px;min-height:36px;padding:7px 12px;margin-top:5px;background:#292c35}
#booking-available-status{margin:8px 0;color:#b8bdc8}

/* v2.43.0 · Premium client UX. Existing functional forms and data models unchanged. */
:root{--bg:var(--hn-bg);--card:var(--hn-surface);--line:var(--hn-line);--red:var(--hn-brand);--muted:var(--hn-text-muted)}
#client{max-width:720px;padding-bottom:calc(85px + env(safe-area-inset-bottom))}
.top{height:69px;padding:10px 18px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(16,17,22,.96);position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px}
.top small{font-size:9px;letter-spacing:.10em;color:#9b9dab}.top .brand{font-size:21px;letter-spacing:-.055em}
.top-actions{display:flex;align-items:center;gap:9px}.top-avatar,.top-bell{appearance:none;display:grid;place-items:center;flex:none;width:42px;height:42px;min-height:42px;border:1px solid #61424b;outline:0;cursor:pointer;color:#fff;font-size:20px;transition:border-color .18s,background .18s;background:#171920;border-radius:14px;position:relative}.top-bell{font-size:18px}.top-bell.needs{border-color:#6b4850}.top-bell.enabled{border-color:#a95a69;background:#251a1f;color:#ffd8e0}.top-bell:disabled{opacity:.7;cursor:wait}.top-bell-dot{position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:50%;background:#33d17a;box-shadow:0 0 0 2px #171920}
.top-avatar:active,.top-bell:active{background:#512332}.top-avatar:focus-visible,.top-bell:focus-visible{outline:2px solid #f27990;outline-offset:3px}
main{padding:20px 16px 32px}h1{font-size:clamp(25px,6.5vw,32px);letter-spacing:-.04em;margin:7px 0 13px}
h3{font-size:16px;letter-spacing:-.012em;margin-bottom:10px}.eyebrow{font-size:10px;letter-spacing:.13em;color:#ed7a8c}
.muted{color:#a9acb6}.card{border:1px solid #30313a;background:#1a1c22;border-radius:18px;margin:14px 0;padding:16px}
.primary,.secondary{border-radius:12px;font-size:13px;font-weight:700;line-height:1.3;min-height:44px;transition:filter .12s,background .12s,transform .12s}
.primary{background:#e52b47;color:#fff}.primary:active:not(:disabled),.secondary:active:not(:disabled){transform:scale(.99)}
.secondary{background:#282a33;border:1px solid #41434c;color:#f5f5f7}.wide{margin-top:11px}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #f07e94;outline-offset:2px}
input,textarea,select{background:#24262e;border:1px solid #444651;border-radius:12px}
/* Five intentional destinations. Profile is in the top-right avatar. */
.bottom{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;min-height:68px;padding:4px max(env(safe-area-inset-left),10px) env(safe-area-inset-bottom);background:rgba(17,18,24,.97);backdrop-filter:blur(20px);border-top:1px solid #36353b}
.bottom button{min-width:0;padding:6px 1px;border-radius:13px;gap:3px}.bottom i{font-size:21px}.bottom span{font-size:10px;font-weight:650;letter-spacing:-.025em;white-space:nowrap}
.bottom .active{background:#3b202b;color:#ffe8ee}.bottom .active i{color:#ff7690}
/* Compact first screen. */
.hn-today-hero{margin:7px 0 12px;border-radius:21px;padding:18px;background:radial-gradient(circle at 99% 5%,rgba(235,52,86,.18),transparent 64%),linear-gradient(130deg,#30202a,#1b1d24 80%);box-shadow:none}
.hn-today-title{margin-top:14px}.hn-today-title h2{font-size:23px}.hn-today-title p{font-size:11px;color:#d5a9b5}
.hn-today-symbol{width:45px;height:45px;border-radius:13px;font-size:23px}.hn-today-next{margin-top:11px;padding:12px 0 14px;gap:5px}
.hn-today-next b{font-size:16px}.hn-today-actions button{font-size:12px}
.premium-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 17px}
.premium-quick-links button{min-width:0;padding:10px 4px;white-space:nowrap;border-radius:12px;background:#22242c;border-color:#393b45;color:#e9e8ec;font-size:11px;min-height:44px}
.premium-primary-card{margin:13px 0;padding:16px}.premium-primary-card .micro-badge{background:#28222b;color:#ffc2cf;border:1px solid #583340;padding:4px 7px}
.premium-primary-card .section-row h3{margin:0}.premium-primary-card .section-row{margin-bottom:13px}
.daily-menu-list{margin-top:10px;gap:7px}.daily-menu-item{background:#22242b;border-color:#373942;padding:10px 12px;border-radius:11px}.daily-menu-item small{color:#ee849c}.daily-menu-item b{font-size:13px}.daily-menu-item span{font-size:11px}
.premium-text-link{color:#ffb2c1;background:transparent;border:0;border-radius:8px;text-align:left;padding:9px 0 0;font-size:12px;font-weight:700;min-height:36px;width:auto}
.premium-health-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:9px 0 2px}
.premium-health-stats>div{min-width:0;padding:13px 8px;border-radius:12px;background:#252630;border:1px solid #383943;overflow:hidden}
.premium-health-stats small{font-size:10px;color:#b8a8b2;display:block}.premium-health-stats strong{font-size:clamp(17px,5vw,25px);font-variant-numeric:tabular-nums;letter-spacing:-.04em;display:block;margin:4px 0;line-height:1.2}.premium-health-stats span{font-size:10px;color:#a9acb5;white-space:normal}
.hn-seli-focus{display:flex;align-items:center;gap:10px;width:100%;text-align:left;min-height:66px;margin:13px 0;padding:10px 12px;background:#232129;border:1px solid #43333e;border-radius:15px;color:#f3f3f5}
.hn-seli-focus img{width:42px;height:42px;object-fit:cover;border-radius:12px;flex:none}.hn-seli-focus p{flex:1;margin:0;font-size:12px;color:#dfd4de;line-height:1.45}.hn-seli-focus span{font-size:23px;color:#e5adbc;flex:none}
.premium-extras{border:1px solid #34353e;background:#1b1d23;border-radius:17px;margin:18px 0;overflow:hidden}
.premium-extras>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:9px;padding:14px 16px;font-size:13px;font-weight:750}
.premium-extras>summary::-webkit-details-marker{display:none}.premium-chevron{color:#ff9eae;font-size:20px;transition:transform .18s}.premium-extras[open] .premium-chevron{transform:rotate(180deg)}
.premium-extras-inner{padding:0 14px 13px;border-top:1px solid #34353e}.premium-extras-inner .stats{margin-top:14px}.premium-extras-inner .stats strong{font-size:23px}.premium-extras-inner .card{margin:12px 0}
.premium-extra-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0 0}.premium-extra-actions .secondary{padding:9px 12px}
.premium-page-actions{display:flex;justify-content:flex-end;margin:0 0 12px}.premium-page-actions button{font-size:12px}
/* Seli Mini: quiet, personal assistant; sticker stays attached to a reply. */
.premium-seli-header{display:flex;align-items:center;gap:14px;margin:11px 0 17px}.premium-seli-header img{width:66px;height:66px;border-radius:19px;border:1px solid #63404b;background:#282028;object-fit:cover;flex:none}
.premium-seli-header h1{font-size:29px;margin:0 0 4px}.premium-seli-header p{font-size:12px;color:#aeb0bb;margin:0}
.premium-reports{background:#1c1e24;border:1px solid #373942;border-radius:16px;margin:12px 0;padding:0 13px}
.premium-reports>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;list-style:none;padding:14px 0;font-size:13px;font-weight:750}
.premium-reports>summary::-webkit-details-marker{display:none}.premium-reports>summary span{border-radius:999px;background:#3f2631;color:#ffc5d1;padding:2px 9px}
.ai-client-chat{margin-top:12px;padding:15px}.ai-client-chat .section-row{margin-bottom:6px}.ai-client-chat .section-row h3{margin:0}
.ai-chat-history{max-height:48vh;min-height:170px;border-radius:13px;margin:13px 0;padding:12px;background:#13151a;border:1px solid #31333c;gap:10px}
.ai-chat-welcome{color:#d9d5de;background:#24252c;border-radius:12px;padding:12px 14px;line-height:1.45;font-size:13px}
.ai-bubble{background:#292a33;border-radius:15px;padding:10px 13px;line-height:1.55}.ai-bubble.self{background:#732b3d}
.ai-chat-chips{display:flex;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;gap:7px;padding-bottom:5px;margin:10px 0}.ai-chat-chips::-webkit-scrollbar{display:none}
.ai-chat-chips button{flex:none;border:1px solid #58404a;background:#25222b;color:#ffc8d2;font-size:11px;padding:8px 12px;min-height:36px;white-space:nowrap}
#ai-chat-input{min-height:66px;max-height:160px;font-size:15px}.ai-client-chat>small{display:block;margin-top:10px;line-height:1.4;font-size:10px}
.ai-chat-sticker{max-width:120px;max-height:130px;margin:1px 0 3px 4px}
@media(max-width:355px){.bottom span{font-size:9px}.premium-quick-links button{font-size:10px}.premium-health-stats{gap:5px}.premium-health-stats>div{padding:11px 6px}.premium-health-stats strong{font-size:17px}.premium-seli-header h1{font-size:25px}}
@media(min-width:721px){main{padding:25px 30px 36px}.bottom{max-width:720px;left:50%;transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.premium-chevron,.primary,.secondary,.bottom button{transition:none!important}}

.premium-menu-more{margin-top:8px;border-top:1px solid #36353d}.premium-menu-more>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:9px;list-style:none;padding:12px 2px;color:#f7b5c4;font-size:12px;font-weight:700}.premium-menu-more>summary::-webkit-details-marker{display:none}.premium-menu-more>summary span{font-size:18px}.premium-menu-more .daily-menu-list{margin:0 0 5px}

/* v2.43.2 — Premium header, genuine unread notifications and primary settings controls */
.top.premium-top{height:72px;padding:10px 17px;position:relative;z-index:12;background:linear-gradient(110deg,#14151b 0%,#101116 74%,#1d171d 100%);border-bottom:1px solid #393039;box-shadow:0 5px 22px #0002}
.top.premium-top::after{content:"";position:absolute;bottom:-1px;left:17px;width:44px;height:2px;background:#e52b47;border-radius:4px}
.premium-brand{min-width:0}.premium-brand .brand{font-size:22px;font-weight:900;line-height:1.1;letter-spacing:-.055em}.premium-brand small{display:block;margin-top:6px;color:#b0a9b0;letter-spacing:.08em;font-size:9px}
.premium-top .top-actions{gap:10px}.premium-top .top-avatar,.premium-top .top-bell{width:42px;height:42px;min-width:42px;border-radius:14px;background:#22242c;border:1px solid #42434d;box-shadow:0 2px 12px #0003;overflow:visible}
.premium-top .top-avatar{border-radius:50%;overflow:hidden;border-color:#74505b}.premium-top .top-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.premium-top .top-bell{display:grid;place-items:center;position:relative;color:#e6e5e9}.premium-top .top-bell svg{width:22px;height:22px}.premium-top .top-bell.has-unread{border-color:#8c3f51;color:#fff;background:#31212a}
.premium-top .top-bell-badge{position:absolute;top:-7px;right:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:11px;background:#e52b47;color:white;border:2px solid #121318;font-size:10px;font-weight:850;line-height:1;box-sizing:content-box;box-shadow:0 2px 9px #0005}
.premium-top .top-bell-badge[hidden]{display:none!important}
.premium-top .top-bell:active{background:#50303a}.premium-top .top-bell:focus-visible{outline:2px solid #ff7b92;outline-offset:2px}
.hn-inbox-overlay{position:fixed;inset:0;z-index:105;background:#0008;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.hn-inbox-panel{position:absolute;right:max(12px,calc((100vw - 720px)/2 + 12px));top:calc(76px + env(safe-area-inset-top,0px));width:min(420px,calc(100vw - 24px));max-height:min(75dvh,650px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #4f3944;border-radius:21px;background:linear-gradient(145deg,#232029,#191b22 48%);box-shadow:0 22px 65px #0009;color:#f8f5f8}
.hn-inbox-head{padding:19px 19px 11px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #393039}
.hn-inbox-head p{margin:0 0 5px;font-size:10px;letter-spacing:.16em;font-weight:750;color:#e87e91}.hn-inbox-head h2{font-size:22px;margin:0;letter-spacing:-.035em}.hn-inbox-head h2 span{font-size:12px;color:#ff9bac;letter-spacing:0;margin-left:5px;font-weight:650}
.hn-inbox-close{width:36px;height:36px;min-height:36px;flex:none;display:grid;place-items:center;color:#e8e7eb;background:#34313a;border:1px solid #4d4650;border-radius:11px;font-size:25px;font-weight:400;padding:0}
.hn-inbox-toolbar{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:10px 18px;font-size:11px;color:#bfc0c9}
.hn-inbox-toolbar button,.hn-inbox-footer button,.hn-inbox-empty button{background:none;border:0;color:#ff9aad;font-weight:750;font-size:12px;min-height:30px;padding:3px;white-space:nowrap}
.hn-inbox-toolbar button:disabled{opacity:.4}
.hn-inbox-items{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;max-height:450px;padding:0 10px 8px}
.hn-inbox-item{width:100%;min-height:68px;text-align:left;background:transparent;border:0;border-radius:14px;display:flex;align-items:flex-start;gap:10px;color:#e6e7eb;padding:12px 11px;margin:3px 0;position:relative}
.hn-inbox-item.is-unread{background:#38252f}.hn-inbox-item:focus-visible{outline:2px solid #ff9bad}.hn-inbox-item:active{background:#54303e}
.hn-inbox-symbol{width:35px;height:35px;flex:none;display:grid;place-items:center;border-radius:11px;background:#482a36;color:#ffa7b6;font-weight:850;font-size:18px}
.hn-inbox-detail{flex:1;min-width:0}.hn-inbox-detail b{display:block;font-size:13px;line-height:1.4;color:#fff}.hn-inbox-detail small{display:block;font-size:12px;line-height:1.45;color:#c0bec8;margin:4px 0 6px;overflow-wrap:anywhere}.hn-inbox-detail time{display:block;color:#8e909c;font-size:10px}
.hn-inbox-new{width:7px;height:7px;flex:none;border-radius:50%;background:#f44362;margin-top:5px;box-shadow:0 0 0 3px #e52b4722}
.hn-inbox-zero{text-align:center;padding:45px 18px 42px;color:#bfc1cb}.hn-inbox-zero span{display:grid;place-items:center;margin:0 auto 14px;background:#32212b;border-radius:50%;width:60px;height:60px;color:#ff9cb0;font-size:28px}.hn-inbox-zero strong{display:block;font-size:15px;color:#fff}.hn-inbox-zero p{margin:7px auto 0;max-width:245px;font-size:12px;line-height:1.5}
.hn-inbox-empty{text-align:center;padding:20px 8px;color:#b9bbc5;font-size:12px}
.hn-inbox-footer{text-align:center;padding:13px 14px calc(13px + env(safe-area-inset-bottom,0px) * .2);border-top:1px solid #3d343c;color:#aeb0bb;font-size:11px}.hn-inbox-footer button{white-space:normal}
.hn-settings-push{border-color:#754352;background:linear-gradient(160deg,#2c2029,#1b1d23 68%);box-shadow:0 6px 26px #0003;margin-top:13px}.hn-settings-push-head{display:flex;gap:11px;align-items:center;margin-bottom:13px}.hn-settings-push-head h3{margin:0 0 5px;font-size:16px}.hn-settings-push-head p{margin:0;color:#c5bac2;font-size:12px;line-height:1.45}
.hn-settings-icon{width:44px;height:44px;flex:none;border-radius:13px;display:grid;place-items:center;background:#512737;font-size:21px}.hn-settings-push #push-status{padding:10px 12px;background:#17181d;border:1px solid #3b343d;border-radius:11px;margin:9px 0 13px;color:#cbd0d9}
.hn-settings-push button.wide{width:100%;margin-top:9px}.hn-settings-push select{margin-top:7px}
@media(max-width:370px){.top.premium-top{padding:10px 12px}.premium-brand .brand{font-size:20px}.premium-brand small{font-size:8px}.premium-top .top-actions{gap:7px}.premium-top .top-avatar,.premium-top .top-bell{width:39px;height:39px;min-width:39px}.hn-inbox-panel{top:68px;right:7px;width:calc(100vw - 14px)}}

/* v2.44.1: iOS installed PWA with black-translucent status bar occupies
   the full viewport. Reserve the Dynamic Island/status-bar area above controls. */
@media (display-mode:standalone){
 @supports (-webkit-touch-callout: none){
  .top.premium-top{height:calc(72px + max(env(safe-area-inset-top,0px),60px));padding-top:calc(10px + max(env(safe-area-inset-top,0px),60px));padding-bottom:10px;box-sizing:border-box;}
  .hn-inbox-panel{top:calc(81px + max(env(safe-area-inset-top,0px),60px));max-height:calc(100dvh - 105px - max(env(safe-area-inset-top,0px),60px) - env(safe-area-inset-bottom,0px));}
 }
}
/* Skeleton shimmer is reserved for truly asynchronous content. */
.hn-premium-skeleton{display:grid;gap:9px;margin:10px 0 3px}
.hn-premium-skeleton span{height:13px;border-radius:8px;background:linear-gradient(95deg,#30323b 20%,#48414a 48%,#30323b 75%);background-size:220% 100%;animation:hnpt-skeleton 1.45s ease-in-out infinite}
.hn-premium-skeleton span:last-child{width:66%}
@keyframes hnpt-skeleton{to{background-position-x:-220%}}
@media(prefers-reduced-motion:reduce){.hn-premium-skeleton span{animation:none}}

/* v2.44.6 · Saved 7-day Meal Plan, viewable without a calendar start */
.hn-client-day-tabs{display:flex;overflow-x:auto;gap:7px;padding:5px 0 11px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hn-client-day-tabs::-webkit-scrollbar{display:none}
.hn-client-day-tab{flex:0 0 auto;min-height:37px;min-width:62px;padding:7px 10px;border:1px solid #41434b;background:#252730;color:#dcdee5;border-radius:10px;font-size:11px;font-weight:750;scroll-snap-align:start}
.hn-client-day-tab.active{background:#562431;border-color:#e52b47;color:#fff}
.hn-client-day-tab:focus-visible{outline:2px solid #ff8295;outline-offset:2px}

/* v2.44.7: keep booking interactions within the app viewport on iOS PWA. */
#client, #hn-main {max-width:100%; min-width:0;}
#hn-main {overflow-x:clip;}
#client .date-nav {max-width:100%; min-width:0;}
#client .date-nav .date-strip {overscroll-behavior-inline:contain;touch-action:pan-x;}
#client .date-nav .date-pill, #client #booking-slots .slot, #client .date-nav .date-move {touch-action:manipulation;-webkit-user-select:none;user-select:none;}
#client #booking-slots {max-width:100%;grid-template-columns:repeat(4,minmax(0,1fr));}
#client #booking-slots > * {min-width:0;}
#client input, #client textarea, #client select {font-size:16px!important;}
@media(max-width:360px){#client #booking-slots{grid-template-columns:repeat(3,minmax(0,1fr));}}

/* HN Fitness v2.45 · additive wellness features; no external CSS/UI dependency. */
.hn245-water{border-color:#3c514f;background:linear-gradient(155deg,#182324,#1c1e25)}
.hn245-water .micro-badge{color:#a4e7d5;border:1px solid #365e54;background:#254036}
.hn245-track{height:8px;border-radius:10px;background:#30423e;overflow:hidden;margin:13px 0}
.hn245-track i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#4cc9aa,#a1edc9);transition:width .2s ease}
.hn245-water-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.hn245-water-actions button{min-width:0;min-height:40px;font-size:11px;padding:7px 3px;white-space:nowrap}
.hn245-presets-list{display:grid;gap:7px;margin:10px 0}
.hn245-preset{display:flex;align-items:stretch;gap:6px;min-width:0;border:1px solid #45414a;background:#24242d;border-radius:12px;overflow:hidden}
.hn245-preset>button:first-child{flex:1;text-align:left;min-width:0;border:0;background:transparent;color:#f3edf0;padding:10px 12px;min-height:55px}
.hn245-preset b,.hn245-history-item b{font-size:13px;display:block;white-space:normal;overflow-wrap:anywhere}
.hn245-preset small,.hn245-history-item small{font-size:11px;color:#bdb3bd;display:block;margin-top:4px}
.hn245-preset-remove{border:0;background:transparent;color:#e79aab;min-width:38px;min-height:44px;font-size:19px}
.hn245-history{max-height:340px;overflow:auto;overscroll-behavior:contain;display:grid;gap:6px;padding-top:10px}
.hn245-history-item{background:#24242d;color:#fff;border:1px solid #393a42;border-radius:10px;min-height:48px;text-align:left;padding:10px 12px}
.hn245-save-favorite{border:1px solid #5c3c49;border-radius:9px;background:#30242c;color:#ffc0cb;padding:6px 8px;font-size:11px;line-height:1.2;white-space:nowrap;min-height:32px}
.hn245-strength,.hn245-exercises{border-color:#523541}
.hn245-strength-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hn245-strength-fields label{min-width:0;font-size:11px}.hn245-strength-fields input{width:100%;min-width:0;padding:9px 5px}
.hn245-strength .metric-chart{display:block;max-width:100%;width:100%;margin:8px 0 2px}
.hn245-strength select,.hn245-strength input{margin-top:6px}
.hn245-strength .hn245-recent{border-top:1px solid #3c353d;margin-top:15px;padding-top:12px}
.hn245-recent summary{cursor:pointer;font-weight:700;font-size:13px;padding-bottom:8px}
.hn245-workout-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #34343d;min-width:0}
.hn245-workout-row b{font-size:13px}.hn245-workout-row small{display:block;font-size:11px;color:#aaaab3;margin-top:4px}
.hn245-exercises #hn245-ex-search{width:100%;min-width:0;margin:8px 0 12px}
.hn245-ex-list{display:grid;gap:8px;max-height:460px;overflow-y:auto;overscroll-behavior:contain}
.hn245-ex-item{background:#22242b;border:1px solid #393a44;border-radius:11px;overflow:hidden}
.hn245-ex-item[hidden]{display:none!important}
.hn245-ex-item summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:50px;padding:12px;list-style:none}
.hn245-ex-item summary::-webkit-details-marker{display:none}
.hn245-ex-item summary b{font-size:13px}.hn245-ex-item summary small{font-size:11px;color:#d9a1ae;text-align:right}
.hn245-ex-item p{margin:0;padding:4px 12px 10px;color:#d8d2da;font-size:12px;line-height:1.6}
.hn245-ex-item .hn245-caution{color:#f0b7c2;padding-top:0}
@media(max-width:365px){.hn245-water-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.hn245-save-favorite{padding:6px 4px;font-size:10px}.hn245-strength-fields{gap:5px}}
@media(prefers-reduced-motion:reduce){.hn245-track i{transition:none}}


/* v2.46.7 — distinct in-app Workout screen; Progress remains tracking-only. */
.hn-workout-entry{width:100%;display:flex;align-items:center;text-align:left;gap:13px;min-height:67px;padding:12px 14px;margin:0 0 16px;background:linear-gradient(110deg,#2a202a,#1d2029);border:1px solid #583741;border-radius:17px;color:#f7f3f7;box-shadow:0 7px 20px rgba(0,0,0,.08)}
.hn-workout-entry-mark{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;background:linear-gradient(130deg,#f03b5b,#ba2343);color:white;font-size:23px}
.hn-workout-entry-copy{min-width:0;flex:1}.hn-workout-entry-copy strong{display:block;font-size:14px;color:inherit}.hn-workout-entry-copy small{display:block;font-size:11px;color:#cfc5cd;margin-top:3px}.hn-workout-entry-arrow{font-size:25px;color:#ef8fa1}
.hn-workout-screen{position:fixed;inset:0;z-index:70;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:var(--bg);color:var(--text,#f5f5f7);padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)}
.hn-workout-screen-top{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;min-height:65px;padding:8px max(18px,env(safe-area-inset-left,0px)) 8px max(18px,env(safe-area-inset-right,0px));background:rgba(18,19,25,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.hn-workout-return{display:inline-flex;align-items:center;gap:5px;justify-self:start;background:transparent;border:0;color:var(--text,#f8f8fa);min-height:44px;padding:0 6px;font-size:25px}.hn-workout-return span{font-size:13px;font-weight:750}.hn-workout-logo{font-size:15px;font-weight:900;white-space:nowrap;letter-spacing:-.045em}.hn-workout-logo b{color:var(--red)}.hn-workout-top-gap{width:62px}
.hn-workout-screen-body{max-width:680px;margin:0 auto;padding:25px 16px 42px}.hn-workout-screen-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#e7647c}.hn-workout-screen-body>h1{margin:7px 0 8px;font-size:29px}.hn-workout-screen-desc{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 16px}
.hn-workout-screen .hn246-workout{margin:0 0 15px}.hn-workout-tools{border:1px solid var(--line);background:var(--card);border-radius:16px;margin:12px 0;overflow:hidden}.hn-workout-tools>summary{list-style:none;min-height:55px;display:flex;align-items:center;justify-content:space-between;padding:14px 17px;cursor:pointer;gap:12px;font-size:13px;font-weight:750}.hn-workout-tools>summary::-webkit-details-marker{display:none}.hn-workout-tools>summary>span:last-child{font-size:20px;color:var(--red);transition:transform .2s}.hn-workout-tools[open]>summary>span:last-child{transform:rotate(180deg)}.hn-workout-tools-content{padding:0 12px 13px;border-top:1px solid var(--line)}.hn-workout-tools-content .card{margin:10px 0 0}.hn-workout-disclaimer{font-size:11px;line-height:1.7;color:var(--muted);text-align:center;padding:8px 8px 20px}
html[data-hn-theme="light"] .hn-workout-entry{background:linear-gradient(110deg,#fff,#fcf3f6);border-color:#f0dfe5;color:#21232d;box-shadow:0 7px 20px rgba(27,29,39,.05)}
html[data-hn-theme="light"] .hn-workout-entry-copy small{color:#746f7c}html[data-hn-theme="light"] .hn-workout-entry-arrow{color:#c02e4a}
html[data-hn-theme="light"] .hn-workout-screen{background:#f6f3f6;color:#20232d}html[data-hn-theme="light"] .hn-workout-screen-top{background:rgba(255,255,255,.96);border-color:#e6dfe5}html[data-hn-theme="light"] .hn-workout-return{color:#262933}
html[data-hn-theme="light"] .hn-workout-tools{background:white;border-color:#ebe3e8;box-shadow:0 8px 25px rgba(25,31,46,.04)}html[data-hn-theme="light"] .hn-workout-screen-desc{color:#626774}
@media(prefers-reduced-motion:reduce){.hn-workout-tools>summary>span:last-child{transition:none}}

/* v2.47.0: lightweight What's New sheet. Separate from booking/inbox overlays. */
.hn-whats-new-overlay{position:fixed;z-index:250;inset:0;display:flex;align-items:center;justify-content:center;padding:calc(18px + env(safe-area-inset-top,0px)) 16px calc(18px + env(safe-area-inset-bottom,0px));background:rgba(7,8,12,.76);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);overscroll-behavior:contain}
.hn-whats-new-sheet{width:min(100%,440px);max-height:100%;overflow:auto;overscroll-behavior:contain;padding:24px 21px 20px;border-radius:24px;border:1px solid #65404b;background:linear-gradient(155deg,#2b202b 0%,#191a21 72%);color:#f7f3f5;box-shadow:0 30px 90px rgba(0,0,0,.55)}
.hn-whats-new-head{display:flex;align-items:center;gap:9px;color:#efa1b2;letter-spacing:.13em;font-size:10px;font-weight:850}
.hn-whats-new-mark{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:13px;background:linear-gradient(135deg,#f13d5b,#c82241);font-size:20px;color:#fff;box-shadow:0 8px 22px #e42d4836}
.hn-whats-new-sheet h2{margin:20px 0 9px;color:#fff;font-size:clamp(23px,6vw,28px);letter-spacing:-.045em;line-height:1.2}
.hn-whats-new-body{color:#d4c7d0;font-size:13px;line-height:1.65;margin:0 0 13px;white-space:pre-line}
.hn-whats-new-features{display:grid;gap:10px;margin:17px 0 22px}
.hn-whats-new-features>div{display:flex;gap:11px;align-items:flex-start;padding:11px 12px;border:1px solid #58404c;border-radius:13px;background:#ffffff0b}
.hn-whats-new-features>div>span{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:9px;background:#e92f501e;color:#ff9fb4;font-size:12px;font-weight:850}
.hn-whats-new-features p{margin:2px 0 0;color:#f3e5e9;font-size:12px;line-height:1.5}
.hn-whats-new-actions{display:grid;gap:9px;margin-top:19px}
.hn-whats-new-actions button{width:100%;min-height:47px}
.hn-whats-new-sheet>small{display:block;margin:12px 0 0;color:#b5aeb8;text-align:center;font-size:10px;line-height:1.5}
.hn-whats-new-error{min-height:0;margin:8px 0 0;font-size:11px;color:#ffb0bc}
html[data-hn-theme="light"] .hn-whats-new-overlay{background:rgba(27,24,36,.57)}
html[data-hn-theme="light"] .hn-whats-new-sheet{background:linear-gradient(155deg,#fff 0%,#fcf8fa 100%);color:#1f222b;border-color:#e9dfe6;box-shadow:0 26px 70px rgba(30,32,48,.22)}
html[data-hn-theme="light"] .hn-whats-new-head{color:#ae314e}
html[data-hn-theme="light"] .hn-whats-new-sheet h2{color:#1f222b}
html[data-hn-theme="light"] .hn-whats-new-body{color:#626674}
html[data-hn-theme="light"] .hn-whats-new-features>div{background:#fff;border-color:#eee4e9}
html[data-hn-theme="light"] .hn-whats-new-features>div>span{background:#fff0f4;color:#ba2a46}
html[data-hn-theme="light"] .hn-whats-new-features p{color:#323440}
html[data-hn-theme="light"] .hn-whats-new-sheet>small{color:#6c707d}
html[data-hn-theme="light"] .hn-whats-new-error{color:#b62642}
@media(prefers-reduced-motion:reduce){.hn-whats-new-overlay{backdrop-filter:none;-webkit-backdrop-filter:none}}

/* Community v2.49: calendar/home layout untouched; banner is an uploaded optimized image */
.hn-community-banner-slot:empty{display:none}
.hn-community-banner-slot{margin:12px 0 17px}
.hn-community-home-image{display:block;width:100%;height:auto;padding:0;border:1px solid #34343c;background:#1c1d22;border-radius:16px;overflow:hidden;cursor:pointer;line-height:0;min-height:unset}
.hn-community-home-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.hn-community-home-image:focus-visible{outline:3px solid #f28b97;outline-offset:3px}
.bottom:has(button:nth-child(6)){grid-template-columns:repeat(6,minmax(0,1fr));gap:1px}
.bottom:has(button:nth-child(6)) button{min-width:0;padding:5px 0}
.bottom:has(button:nth-child(6)) span{font-size:clamp(8px,2.3vw,10px);white-space:nowrap;letter-spacing:-.04em}
.bottom:has(button:nth-child(6)) i{font-size:20px}
#hn-main .hnfc-shell{padding:0 0 20px}
#hn-main .hnfc-content{padding:0;margin:0}

/* HN Fitness v2.50 · bottom nav legibility on 320-430 px phones */
.bottom:has(button:nth-child(6)){grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;}
.bottom:has(button:nth-child(6)) button{padding:7px 2px 6px;gap:4px;min-height:52px;}
.bottom:has(button:nth-child(6)) i{font-size:21px;line-height:1.08;}
.bottom:has(button:nth-child(6)) span{font-size:10px;line-height:1.15;white-space:normal;max-width:100%;text-align:center;letter-spacing:0;overflow-wrap:normal;}
.bottom:has(button:nth-child(6)) .active{border-radius:11px;background:#302024;color:#fff;}
@media(max-width:359px){.bottom:has(button:nth-child(6)) span{font-size:9px;}}

/* HN v2.51.0 · Meal log restored: clear, one-screen entry, optional advanced tools */
.hn-meal-quick{background:#202127;border-color:#42434a;padding:17px}
.hn-meal-quick .section-row{margin-bottom:5px}
.hn-meal-helper{font-size:13px;color:#c5c5cb;margin:2px 0 14px;line-height:1.55}
.hn-meal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hn-meal-photo{border:1px solid #4d4e57;background:#292a31;min-height:50px;border-radius:12px;font-size:14px;font-weight:700;padding:10px}
.hn-meal-description-label{font-size:14px;font-weight:650;margin:16px 0 4px;color:#f5f5f7}
#food-description{margin:5px 0 10px;min-height:82px;background:#16171c;line-height:1.6;border-color:#42444c}
.hn-meal-analyze{min-height:48px;margin-top:4px;background:#b52f3d}
.hn-meal-manual{display:block;margin:12px auto 0;background:none;border:0;color:#cfcfd6;text-decoration:underline;text-underline-offset:3px;font-size:13px;padding:5px 9px;font-weight:500}
.hn-meal-review{margin-top:17px;border-top:1px solid #3c3e46;padding-top:15px}
.hn-meal-review[hidden]{display:none!important}
.hn-meal-review h4{font-size:15px;margin:0 0 10px;color:#fff}
.hn-meal-more{margin:16px 0 22px;border:1px solid #373941;border-radius:15px;background:#191b21;padding:2px 15px}
.hn-meal-more>summary{cursor:pointer;list-style:none;font-size:14px;font-weight:650;min-height:54px;display:flex;align-items:center;color:#dedee3;line-height:1.45}
.hn-meal-more>summary::-webkit-details-marker{display:none}
.hn-meal-more>summary:after{content:'⌄';margin-left:auto;padding-left:10px;font-size:18px}
.hn-meal-more[open]>summary:after{content:'⌃'}
.hn-meal-more>.card{margin:12px 0}
@media(max-width:360px){.hn-meal-quick{padding:13px}.hn-meal-photo{padding:8px 4px;font-size:12px}}

.hn-meal-text-shortcut{border:1px solid #4d4e57;background:#292a31;color:#fff;border-radius:12px;font-size:14px;font-weight:700;min-height:50px}
.hn-meal-gallery{position:relative;margin:10px 0 3px;width:max-content;max-width:100%;color:#c5c6cd;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;overflow:hidden}
.hn-meal-gallery input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}

/* v2.54: calm, single-action notification setup */
.hn-settings-push{margin-top:12px!important;padding:15px 16px!important;border:1px solid #373840!important;border-radius:17px!important;background:#1c1e24!important;box-shadow:none!important}
.hn-notify-setting-row{display:flex;align-items:center;gap:12px;min-height:54px}
.hn-notify-setting-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:#31242a;color:#ee8497;font-size:24px}
.hn-notify-setting-copy{flex:1;min-width:0}
.hn-notify-setting-copy h3{margin:0 0 4px;font-size:16px;line-height:1.25;font-weight:700;letter-spacing:-.15px}
.hn-notify-setting-copy p{margin:0!important;padding:0!important;font-size:12px;color:#aeb1b9;line-height:1.4;background:none!important;border:0!important}
.hn-notify-switch{position:relative;display:inline-flex;align-items:center;flex:none;width:54px;height:34px;margin:0;cursor:pointer}
.hn-notify-switch input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:2}
.hn-notify-switch span{display:block;width:54px;height:32px;border-radius:99px;border:1px solid #56565e;background:#393a43;transition:background .16s ease,border-color .16s ease;position:relative}
.hn-notify-switch span:after{content:'';position:absolute;width:26px;height:26px;top:2px;left:3px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:transform .16s ease}
.hn-notify-switch input:checked+span{background:#be3145;border-color:#d04d61}
.hn-notify-switch input:checked+span:after{transform:translateX(20px)}
.hn-notify-switch input:focus-visible+span{outline:2px solid #ffa3b1;outline-offset:3px}
.hn-notify-switch input:disabled+span{opacity:.68}
.hn-notify-overlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:flex-end;justify-content:center;padding:16px 12px max(14px,env(safe-area-inset-bottom));background:rgba(0,0,0,.64);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.hn-notify-sheet{width:100%;max-width:410px;background:#202127;color:#fff;border:1px solid #44424a;border-radius:25px;padding:25px 24px 20px;text-align:center;box-shadow:0 20px 75px #0009}
.hn-notify-glyph{width:60px;height:60px;margin:0 auto 18px;display:grid;place-items:center;border-radius:19px;background:#40252e;color:#f39aab;font-size:33px}
.hn-notify-overline{color:#ed8699!important;font-size:10px!important;letter-spacing:2px;font-weight:800;margin:0 0 10px!important}
.hn-notify-sheet h2{color:#fff;font-size:25px;letter-spacing:-.6px;line-height:1.17;margin:0 0 11px}
.hn-notify-sheet>p:not(.hn-notify-overline){font-size:14px;line-height:1.55;color:#bec0c8;margin:0 auto 23px;max-width:310px}
.hn-notify-sheet button{display:block;width:100%;height:49px;border-radius:13px;font-size:15px;font-weight:730;cursor:pointer}
.hn-notify-yes{color:#fff;border:1px solid #d24c5b;background:#b93447}
.hn-notify-later{margin-top:8px;color:#c6c7cf;border:0;background:transparent}
.hn-notify-sheet button:focus-visible{outline:2px solid #ffc3cd;outline-offset:2px}
@media(min-width:750px){.hn-notify-overlay{align-items:center}}
@media(prefers-reduced-motion:reduce){.hn-notify-switch span,.hn-notify-switch span:after{transition:none}}

.hn-notify-setting-icon svg{width:21px;height:21px}.hn-notify-glyph svg{width:29px;height:29px}

/* HN v2.55.0 Membership cards / compact navigation. */
.hn-today-hero{--hn-tier-color:#ec4b69;--hn-tier-glow:rgba(225,52,86,.16);background:radial-gradient(circle at 100% 0%,var(--hn-tier-glow),transparent 63%),linear-gradient(135deg,#282029,#191b21 82%);border-color:color-mix(in srgb,var(--hn-tier-color) 38%,#34363e)!important;position:relative;overflow:hidden}
.hn-today-hero.hn-tier-standard{--hn-tier-color:#ec4b69;--hn-tier-glow:rgba(225,52,86,.14)}
.hn-today-hero.hn-tier-gold{--hn-tier-color:#e7bc79;--hn-tier-glow:rgba(226,171,93,.15)}
.hn-today-hero.hn-tier-platinum{--hn-tier-color:#d8dce6;--hn-tier-glow:rgba(199,209,229,.17)}
.hn-today-hero.hn-tier-diamond{--hn-tier-color:#96d5ed;--hn-tier-glow:rgba(117,193,227,.20)}
.hn-today-hero .hn-today-overline{color:var(--hn-tier-color)}
.hn-member-badge{display:inline-flex;align-items:center;justify-content:center;letter-spacing:.12em;font-weight:800;font-size:10px;border-radius:999px;padding:5px 10px;color:var(--hn-tier-color);border:1px solid color-mix(in srgb,var(--hn-tier-color) 50%,transparent);background:rgba(0,0,0,.13)}
.hn-tier-detail{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;min-height:19px;flex-wrap:wrap}
.hn-tier-remaining{font-size:12px;color:#ebe5e7}.hn-tier-remaining b{font-size:14px;color:var(--hn-tier-color)}
.hn-tier-benefit{font-size:12px;color:#c4c3cd;max-width:100%;overflow-wrap:anywhere}
.hn-today-hero .hn-today-symbol{background:var(--hn-tier-color);color:#14151b;box-shadow:none}
.hn-today-hero .hn-today-next strong{color:var(--hn-tier-color)}
.hn-today-hero .hn-today-actions .primary{background:#e42d4d;color:#fff}
.bottom:has(button:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}
.bottom:has(button:nth-child(5)) span{font-size:clamp(10px,2.75vw,12px);letter-spacing:0}
.bottom:has(button:nth-child(5)) button{min-height:56px}
.hn-seli-fab{position:fixed;z-index:9;right:max(16px,calc((100vw - 700px)/2 + 16px));bottom:calc(85px + env(safe-area-inset-bottom,0px));height:46px;min-height:46px;padding:0 14px;display:flex;align-items:center;gap:6px;border:1px solid #885369;border-radius:23px;background:linear-gradient(120deg,#34222f,#1d1d27);box-shadow:0 6px 20px #0009;color:#ffc1d1;font-weight:760;font-size:16px}
.hn-seli-fab span{font-size:12px}
.hn-seli-fab:focus-visible{outline:2px solid #ffc1d1;outline-offset:3px}
@media(min-width:721px){.hn-seli-fab{right:calc((100vw - 680px)/2 + 14px)}}
@media(max-width:370px){.hn-seli-fab span{display:none}.hn-seli-fab{width:46px;justify-content:center;padding:0}}
html[data-hn-theme="light"] .hn-today-hero.hn-tier-gold{background:radial-gradient(circle at 95% 4%,#e0be9155,transparent 60%),linear-gradient(135deg,#fffbf5,#f5efe7)!important}
html[data-hn-theme="light"] .hn-today-hero.hn-tier-platinum{background:linear-gradient(135deg,#fff,#e9ebf1)!important}
html[data-hn-theme="light"] .hn-today-hero.hn-tier-diamond{background:radial-gradient(circle at 95% 4%,#91cbe653,transparent 60%),linear-gradient(135deg,#f5fcff,#e5edf5)!important}
html[data-hn-theme="light"] .hn-tier-remaining,html[data-hn-theme="light"] .hn-tier-benefit{color:#4f4855}
html[data-hn-theme="light"] .hn-member-badge{background:rgba(0,0,0,.04)}

.hn-tier-head{display:flex;align-items:center;justify-content:flex-end;gap:8px}.hn-tier-head time{font-weight:650;letter-spacing:.01em;font-size:11px;opacity:.8}
@media(max-width:370px){.hn-tier-head time{display:none}}

/* HN v2.57.2: native camera with review before AI and bounded image decode. */
.hn-meal-photo{font:inherit;font-weight:750;cursor:pointer}
.hn-meal-photo:disabled{opacity:.55;pointer-events:none}
.hn-food-camera{position:fixed;inset:0;z-index:100003;background:rgba(4,5,8,.94);display:flex;align-items:center;justify-content:center;padding:calc(14px + env(safe-area-inset-top,0px)) 12px calc(14px + env(safe-area-inset-bottom,0px));box-sizing:border-box}
.hn-food-camera-panel{width:min(100%,480px);background:#191b20;border:1px solid #3f4049;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;max-height:100%;box-shadow:0 15px 55px #0009;color:#f6f6f8}
.hn-food-camera-head{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.hn-food-camera-head strong{font-size:16px;line-height:1.4;color:#f7f7f9}
.hn-food-camera-head button{background:#313238;border:0;color:#fff;width:42px;height:42px;min-height:42px;border-radius:50%;font-size:18px;cursor:pointer}
.hn-food-camera-stage{position:relative;min-height:240px;max-height:min(65vh,580px);background:#0b0b0e;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center}
.hn-food-camera-stage video{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.hn-food-camera-stage span{position:relative;z-index:1;font-size:14px;color:#ccc}
.hn-food-camera-foot{padding:14px 16px 18px;text-align:center}
.hn-food-camera-foot p{margin:0 0 10px;color:#c8c8ce;font-size:13px}
#hn-food-camera-shot{width:100%;min-height:52px;background:#d42f4d;border:0;border-radius:13px;color:#fff;font-weight:750;font-size:16px;cursor:pointer}
#hn-food-camera-shot:disabled{opacity:.55;cursor:wait}
@media(max-height:650px){.hn-food-camera-stage{min-height:155px;aspect-ratio:4/3}.hn-food-camera-head{padding:8px 12px}.hn-food-camera-foot{padding:8px 12px}}

/* v2.57.2 — camera review sheet. Transparent overlays must never hide the preview. */
.hn-food-camera{z-index:var(--hn-z-camera,120);min-height:100dvh}
.hn-food-camera-panel{border-radius:var(--hn-radius-lg,24px);box-shadow:var(--hn-shadow-lg);overscroll-behavior:contain}
.hn-food-camera-stage{overflow:hidden}
.hn-food-camera-stage img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#090a0d}
.hn-food-camera-stage :is(video,img)[hidden],#hn-food-camera-shot[hidden],#hn-food-camera-review-actions[hidden]{display:none}
.hn-food-camera-corners{position:absolute;inset:10%;z-index:2;pointer-events:none}
.hn-food-camera-corners i{position:absolute;width:27px;height:27px;border:2px solid rgba(255,255,255,.75)}
.hn-food-camera-corners i:nth-child(1){top:0;left:0;border-right:0;border-bottom:0;border-radius:9px 0 0}
.hn-food-camera-corners i:nth-child(2){top:0;right:0;border-left:0;border-bottom:0;border-radius:0 9px 0 0}
.hn-food-camera-corners i:nth-child(3){bottom:0;left:0;border-right:0;border-top:0;border-radius:0 0 0 9px}
.hn-food-camera-corners i:nth-child(4){bottom:0;right:0;border-left:0;border-top:0;border-radius:0 0 9px 0}
.hn-food-camera-stage #hn-food-camera-hint[hidden]{display:none}
.hn-food-camera-flash{position:absolute;inset:0;background:white;opacity:0;pointer-events:none;z-index:4}
.hn-food-camera-flashing .hn-food-camera-flash{animation:hn-cam-flash 200ms ease-out both}
@keyframes hn-cam-flash{0%{opacity:.65}100%{opacity:0}}
#hn-food-camera-shot{display:grid;place-items:center;margin:8px auto 2px;width:78px;height:78px;min-height:78px;border-radius:50%;background:transparent;border:3px solid #f8f8fa;box-shadow:0 0 0 5px rgba(255,255,255,.10)}
#hn-food-camera-shot>span{width:58px;height:58px;border-radius:50%;background:var(--hn-brand,#f04462);display:block}
#hn-food-camera-review-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#hn-food-camera-review-actions button{min-height:52px;border-radius:12px;background:#292b33;border:1px solid #4b4e57;color:#fff;font-size:16px;font-weight:700}
#hn-food-camera-use{background:var(--hn-brand-strong,#b52343)!important;border-color:var(--hn-brand-strong,#b52343)!important}
.hn-food-camera :is(button):focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.hn-food-camera-flashing .hn-food-camera-flash{animation:none}}

/* v2.57.5: read-only purchased package overview; totals remain cumulative. */
#client .hn-package-overview{padding:16px}
#client .hn-package-current{display:grid;gap:5px;margin:14px 0}
#client .hn-package-current>small{font-size:12px;color:var(--hn-text-muted,#aeb1bd)}
#client .hn-package-current>strong{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
#client .hn-package-sums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#client .hn-package-sums>div{padding:12px 6px;text-align:center;border-radius:12px;background:var(--hn-surface-raised,#292b31)}
#client .hn-package-sums small{display:block;font-size:11px;color:var(--hn-text-muted,#aeb1bd);margin-bottom:4px}
#client .hn-package-sums strong{font-size:21px;font-variant-numeric:tabular-nums}
#client .hn-package-purchases{margin-top:15px}
#client .hn-package-purchases summary{cursor:pointer;font-size:13px;font-weight:650;padding:8px 0;min-height:40px}
#client .hn-package-history-row{padding:11px 0;display:flex;gap:12px;justify-content:space-between;align-items:flex-start;border-top:1px solid var(--hn-line,#3b3b44)}
#client .hn-package-history-row>div{min-width:0;display:grid;gap:4px}
#client .hn-package-history-row strong{font-size:13px}
#client .hn-package-history-row small{font-size:11px;color:var(--hn-text-muted,#aeb1bd)}
#client .hn-package-history-row>span{flex:none;font-size:12px;font-variant-numeric:tabular-nums}

/* Food Scanner hotfix: keep warning/confirmation hidden until macro mismatch exists. */
#food-macro-warning[hidden],#food-macro-confirm-row[hidden]{display:none!important}
#food-macro-warning{color:#ffb5bd;line-height:1.5;margin:10px 0 7px}
#food-macro-confirm-row{display:flex;align-items:flex-start;gap:9px;margin:6px 0 13px;line-height:1.55;cursor:pointer}
#food-macro-confirm{width:18px;height:18px;min-width:18px;margin:1px 0 0;accent-color:var(--red)}
