@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#121025;--card:#211e39;--muted:#a6a0c1;--ink:#eeebff;--violet:#b5a3ff;--blue:#86baff;--mint:#70e1d2;--line:#ffffff12}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Manrope,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;border-radius:12px;padding:12px 18px;background:#35304f}button:hover{filter:brightness(1.16)}button:focus-visible,a:focus-visible{outline:2px solid var(--mint);outline-offset:4px}aside{position:fixed;inset:0 auto 0 0;width:245px;border-right:1px solid var(--line);padding:35px 25px;background:#151229}.brand{font-size:36px;font-weight:800;letter-spacing:-2px;color:var(--ink);text-decoration:none}.brand span{color:var(--violet)}.brand i{color:var(--mint);font-size:12px;margin-left:5px}small{display:block;color:var(--muted);font-size:12px}aside>small{font-size:10px;letter-spacing:1.7px;margin-top:8px}nav{display:grid;gap:9px;margin-top:58px}nav button{text-align:left;background:transparent;color:var(--muted);font-size:15px}nav button.active{background:#8d77ef24;color:#d5caff}nav b{display:inline-block;width:30px;font-size:20px}.aside-bottom{position:absolute;bottom:28px;display:flex;align-items:center;gap:12px;font-size:14px}.avatar{width:44px;height:44px;border-radius:15px;background:#5b4a8566;display:grid;place-items:center;color:#d9c7ff;font-weight:700;flex-shrink:0}main{max-width:1530px;margin-left:245px;padding:30px 45px 60px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--muted)}.quiet{background:transparent;border:1px solid var(--line);font-size:14px}.demo{font-size:12px;color:#9b94b8;margin-bottom:25px}.title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}h1{font-size:34px;letter-spacing:-1.2px;line-height:1.2;margin:0 0 10px}h2{font-size:20px;letter-spacing:-.4px;margin:0}h3{font-size:16px;margin:0}p{color:var(--muted);margin:6px 0}.primary{background:var(--violet);color:#1d163b;font-weight:800}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.stat{background:linear-gradient(125deg,#332b52,#24203e);padding:24px;border-radius:20px;border:1px solid #b8a1ff15}.stat:first-child{background:linear-gradient(120deg,#7961c8,#584eb5)}.stat small{font-size:14px;color:inherit;opacity:.8}.stat strong{font-size:37px;font-weight:600;display:block;margin-top:12px}.stat em{font-size:14px;font-style:normal;margin-left:10px;color:#d1cbe4}.grid{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.panel{background:var(--card);border:1px solid var(--line);padding:25px;border-radius:22px;margin-bottom:22px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.section-head a{color:var(--violet);font-size:14px;cursor:pointer}.row{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row .grow{flex:1;min-width:0}.row small{font-size:13px;margin-top:3px}.badge{font-size:12px;border-radius:7px;padding:5px 9px;display:inline-block;color:var(--mint);background:#70e1d213}.badge.online{color:var(--blue);background:#86baff14}.time{color:var(--violet);font-size:15px;min-width:48px}.sub{font-size:14px;color:var(--muted)}.arrow{color:var(--violet);background:transparent;padding:10px}.chart{width:100%;height:190px;overflow:visible}.chart text{fill:#a6a0c1;font:12px sans-serif}.legend{display:flex;gap:20px;font-size:13px;color:var(--muted)}.legend span:before{content:'●';color:var(--violet);margin-right:7px}.legend span:nth-child(2):before{color:var(--mint)}.hero-number{font-size:34px;color:var(--violet);margin:12px 0}.hero-number small{display:inline;margin-left:10px;color:var(--mint);font-size:14px}.client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.client{background:var(--card);border:1px solid var(--line);padding:25px;border-radius:20px;text-align:left}.client .avatar{margin-bottom:18px;width:52px;height:52px}.client h2{margin-bottom:6px}.client .badge{margin:15px 0}.client p{font-size:14px}.tabs{display:flex;gap:8px;overflow:auto;margin:25px 0}.tabs button{white-space:nowrap;font-size:14px;background:#211e39}.tabs button.selected{background:#b5a3ff;color:#211838}.calendar-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.day{background:var(--card);border-radius:16px;padding:14px;min-height:180px}.day.today{outline:1px solid #b5a3ff88}.day-top{display:flex;justify-content:space-between;color:var(--violet)}.day-top button{padding:0;background:none;color:var(--mint);font-size:24px}.event{background:#4a416b;padding:10px;border-radius:10px;margin-top:15px;font-size:13px;width:100%;text-align:left}.event.done{background:#245b58;color:#aef3df}.event small{color:inherit}.empty{font-size:13px;color:#aaa0c0;margin-top:24px}.details{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.metric{background:#18152e;padding:20px;border-radius:14px}.metric strong{font-size:26px;color:var(--violet)}label{display:block;font-size:14px;color:#cdc7e2;margin:16px 0 6px}input,select,textarea{width:100%;border:1px solid #ffffff24;border-radius:10px;background:#17132b;color:var(--ink);padding:12px;min-height:46px}textarea{min-height:100px}input[type=checkbox]{width:22px;min-height:22px;vertical-align:middle;margin-right:8px}dialog{width:min(510px,92vw);max-height:88vh;border:1px solid #665887;background:#26203c;color:var(--ink);border-radius:24px;padding:28px}dialog::backdrop{background:#070516bb;backdrop-filter:blur(8px)}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head button{background:none;font-size:25px}form>.primary{width:100%;margin-top:24px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#b5a3ff;color:#17132b;border-radius:12px;padding:14px 22px;display:none;z-index:9}.note{border-left:3px solid var(--mint);padding-left:16px;margin:18px 0}.photo-empty{border:1px dashed #8a7bab77;border-radius:20px;min-height:180px;display:grid;place-items:center;text-align:center;padding:25px}.photos{display:flex;gap:15px;flex-wrap:wrap}.photos img{max-width:180px;border-radius:14px}.back{padding:0;background:none;color:var(--muted);margin-bottom:20px}@media(min-width:1450px){main{padding:35px 65px}}@media(max-width:1150px){aside{width:200px;padding:30px 18px}main{margin-left:200px;padding:25px}.client-grid{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.week{grid-template-columns:repeat(4,1fr)}}@media(max-width:700px){aside{inset:auto 0 0;width:100%;height:76px;padding:0;z-index:5;background:#1b1731ee;backdrop-filter:blur(15px);border-top:1px solid var(--line)}aside>.brand,aside>small,.aside-bottom{display:none}nav{display:flex;margin:0;justify-content:space-around;gap:0;height:100%;align-items:center}nav button{font-size:11px;padding:8px;border-radius:10px;text-align:center}nav b{display:block;width:auto;font-size:20px}main{margin:0;padding:22px 20px 100px}header{margin-bottom:18px}.eyebrow{font-size:9px;letter-spacing:1.3px}header button{font-size:12px;padding:10px}.demo{font-size:11px;margin-bottom:24px}h1{font-size:28px}.title{align-items:flex-start;margin-bottom:20px}.title>.primary{font-size:13px;padding:12px;max-width:140px}.title p{font-size:13px}.stats{gap:8px;margin:20px 0}.stat{padding:15px 12px;border-radius:15px}.stat small{font-size:11px}.stat strong{font-size:27px}.stat em{display:block;font-size:10px;margin:3px 0}.panel{padding:20px;border-radius:20px}.section-head{margin-bottom:12px}h2{font-size:18px}.row{gap:10px}.row button{font-size:12px;padding:10px}.client-grid{grid-template-columns:1fr}.week{grid-template-columns:1fr}.day{min-height:90px;padding:18px}.day-top{font-weight:700}.empty{margin:10px 0;font-size:14px}.event{font-size:15px}.details{gap:10px}.metric{padding:14px}#toast{bottom:90px;width:90%;text-align:center}.calendar-head h2{font-size:17px}.legend{font-size:12px;gap:12px}}
/* ZHILA UNIVERSE identity and two accessible themes */
.brand-logo,.mobile-brand{background:none;padding:0;border-radius:8px}.brand-logo{display:block;margin-bottom:12px;width:100%;text-align:left}.brand-logo img{display:block;width:180px;max-width:100%;height:82px;object-fit:contain;object-position:left center}.brand-logo .logo-dark{width:131px;height:60px}.logo-light{display:none!important}.mobile-brand{display:none}.header-actions{display:flex;align-items:center;gap:9px}.header-actions #theme{width:44px;height:44px;padding:0;font-size:23px}.eyebrow strong{font-size:12px;letter-spacing:1.5px;line-height:2;color:var(--ink)}.profile-strip{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:5px 0 22px;padding:16px 20px;background:var(--card);border-radius:16px}.profile-strip>div{display:flex;gap:10px 20px;flex-wrap:wrap}.profile-strip span{font-size:14px;color:var(--muted)}.profile-strip button{flex-shrink:0}.measurement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}.metric-select{width:125px;font-size:14px;padding:9px}.wellbeing-results{display:grid;gap:10px;margin-top:16px}.wellbeing-results>div{display:flex;justify-content:space-between;gap:12px;color:var(--muted)}.wellbeing-results strong{color:var(--violet);white-space:nowrap}.form-heading{margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.method{margin-top:15px;font-size:14px;color:var(--muted)}.method summary{cursor:pointer;color:var(--violet)}.method a{color:var(--violet)}.stats:has(.stat:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}.stat{min-width:0}.universe-pulse main{animation:universe-glow 1.1s ease-out}@keyframes universe-glow{50%{box-shadow:inset 0 0 80px #9d7af036}}@media(prefers-reduced-motion:reduce){.universe-pulse main{animation:none}}
[data-theme=light]{color-scheme:light;--bg:#f2f3fb;--card:#fff;--muted:#625d78;--ink:#242038;--violet:#6650ba;--blue:#3069ab;--mint:#087e73;--line:#28203f16}
[data-theme=light] .logo-dark{display:none!important}[data-theme=light] .logo-light{display:block!important}[data-theme=light] aside{background:#fff}[data-theme=light] button{background:#e8e4f5}[data-theme=light] button.primary{background:#715ad0;color:#fff}[data-theme=light] .brand-logo,[data-theme=light] .mobile-brand{background:transparent}[data-theme=light] nav button{background:transparent}[data-theme=light] nav button.active{background:#ece6ff;color:#59419d}[data-theme=light] .stat{background:linear-gradient(125deg,#e8e0ff,#e9f0fc);border:1px solid #6650ba12}[data-theme=light] .stat:first-child{background:linear-gradient(125deg,#7960c9,#515ab8);color:#fff}[data-theme=light] .stat em{color:#605577}[data-theme=light] .stat:first-child em{color:#eee9ff}[data-theme=light] .avatar{background:#e9e1fb;color:#6545a1}[data-theme=light] .quiet,[data-theme=light] .arrow,[data-theme=light] .back{background:transparent}[data-theme=light] .demo{color:#706782}[data-theme=light] .tabs button{background:#e8e4f5}[data-theme=light] .tabs button.selected{background:#715ad0;color:#fff}[data-theme=light] .metric{background:#f4f1fb}[data-theme=light] .badge{background:#e1f4ed;color:#116b59}[data-theme=light] .badge.online{background:#e4eefe;color:#3069ab}[data-theme=light] .event{background:#e8e0fa;color:#453271}[data-theme=light] .event.done{background:#d9eee7;color:#206a57}[data-theme=light] .empty{color:#716780}[data-theme=light] label{color:#514763}[data-theme=light] input,[data-theme=light] select,[data-theme=light] textarea{background:#fbfaff;border-color:#bdb2d2;color:var(--ink)}[data-theme=light] dialog{background:#fff;border-color:#d3c8e7}[data-theme=light] .chart text{fill:#625d78}[data-theme=light] .chart path{stroke:#70608020}[data-theme=light] .hero-number small{color:#087e73}[data-theme=light] .note{border-color:#2b9c89}[data-theme=light] #toast{background:#5c439d;color:#fff}
@media(max-width:1000px){.stats:has(.stat:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){aside>.brand-logo{display:none}.eyebrow{display:none}.mobile-brand{display:block;width:100px;flex-shrink:0}.mobile-brand img{display:block;width:100px;height:44px;object-fit:contain}.header-actions{gap:6px}.header-actions #theme{width:40px;height:40px}.header-actions #role{max-width:150px;font-size:12px}header{gap:8px}.profile-strip{align-items:flex-start;flex-direction:column;padding:16px}.profile-strip>div{gap:8px 16px}.measurement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats:has(.stat:nth-child(4)) .stat small{font-size:13px}.stats:has(.stat:nth-child(4)) .stat em{font-size:12px}.stat strong{overflow-wrap:anywhere}.wellbeing-results{font-size:14px}[data-theme=light] aside{background:#fffffff5}h1{overflow-wrap:anywhere}.title{gap:12px}.title>.primary{flex-shrink:0}.section-head{flex-wrap:wrap}}
[data-theme=light] .chart polyline{stroke:#7559c4}[data-theme=light] .chart circle{fill:#7559c4}[data-theme=light] .chart[aria-label^="График Шея"] polyline,[data-theme=light] .chart[aria-label^="График Рука"] polyline,[data-theme=light] .chart[aria-label^="График Грудь"] polyline,[data-theme=light] .chart[aria-label^="График Талия"] polyline,[data-theme=light] .chart[aria-label^="График Бёдра"] polyline{stroke:#168b7c}.form-error{color:#ffb9c1;margin-top:15px}[data-theme=light] .form-error{color:#a02247}
/* Dated comparisons, guides and progress photography */
.ui-icon{width:21px;height:21px;display:inline-block;vertical-align:-4px;flex-shrink:0;color:var(--violet)}h2 .ui-icon{margin-right:6px}.tabs .ui-icon{width:18px;height:18px;margin-right:7px}.tabs .selected .ui-icon{color:inherit}nav b .ui-icon{width:21px;height:21px}button .ui-icon{vertical-align:-4px;margin-right:5px}.stat small{display:flex;align-items:center;gap:7px}.stat:first-child .ui-icon{color:inherit}.mentor-avatar{width:48px;height:48px;object-fit:cover;object-position:50% 23%;border-radius:16px;border:2px solid #ad9ce455}.aside-bottom{left:20px;right:10px}.aside-bottom small{color:var(--mint);font-size:13px}.sessions-stat{background:linear-gradient(130deg,#194754,#253b5f);border-color:#71dce64a}.sessions-stat strong{color:#a2eee6}.sessions-stat em{color:#b7d8de}.sessions-stat .ui-icon{color:#8beadd}[data-theme=light] .sessions-stat{background:linear-gradient(130deg,#d6f0ec,#dceafa);border-color:#70b4b5}[data-theme=light] .sessions-stat strong{color:#166974}[data-theme=light] .sessions-stat em{color:#35717b}[data-theme=light] .sessions-stat .ui-icon{color:#167480}
.comparison-table{display:block;width:100%;text-align:left;background:transparent;padding:0;margin-top:22px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.comparison-table:hover{filter:none;background:#b5a3ff06}.compare-head,.compare-row{display:grid;grid-template-columns:1fr 1fr 1.2fr;align-items:center;gap:12px;padding:16px 20px}.compare-head{font-size:14px;background:#b5a3ff10}.compare-head small{font-size:13px;margin-top:5px}.compare-row{border-top:1px solid var(--line);font-size:15px}.compare-row>span:nth-child(2){color:var(--muted)}.compare-row strong{font-weight:700;font-size:18px}.compare-row .delta{display:inline-block;margin-left:8px;font-size:14px;color:var(--mint)}.history-hint{font-size:13px;margin-top:12px}.change-pair{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px;color:var(--muted);margin-bottom:15px}.change-pair b{color:var(--ink);font-weight:600}.dated-chart{max-width:840px;margin:15px auto 0}.dated-chart .chart{height:auto;aspect-ratio:500/230}.dated-chart .chart text{font-size:15px}.dated-chart .grid-line{stroke:var(--line);fill:none}.dated-chart .chart-point{cursor:pointer;outline:none}.dated-chart .chart-point circle:first-of-type{fill:transparent!important}.dated-chart .chart-point:hover circle:last-of-type,.dated-chart .chart-point:focus circle:last-of-type{r:7;stroke:var(--ink);stroke-width:2}.point-readout{min-height:36px;font-size:14px;color:var(--muted);text-align:center}.point-readout strong{color:var(--ink);font-weight:700}.chart-tip{font-size:12px;text-align:center}.method-link{font-size:14px;color:var(--violet);display:inline-block;margin-top:12px}
.guide>summary{cursor:pointer;font-size:17px;font-weight:700;list-style:none;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.guide>summary:after{content:'＋';margin-left:auto;color:var(--violet);font-size:22px}.guide[open]>summary:after{content:'−'}.guide>summary>span{display:block;font-size:13px;font-weight:400;color:var(--muted)}.guide-intro{color:var(--muted);font-size:15px;margin:22px 0}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.guide-grid article{border-radius:14px;background:#8c77c40c;padding:18px;border:1px solid var(--line)}.guide-grid p{font-size:14px;line-height:1.65;margin-top:9px}.guide-footer{font-size:14px;line-height:1.7;background:#70e1d20b;border-left:3px solid var(--mint);padding:15px;margin-top:20px;color:var(--muted)}.info-modal{width:min(960px,94vw)}.history-table-wrap{overflow:auto;margin:20px 0}.history-table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}.history-table th,.history-table td{padding:13px 15px;text-align:left;border-bottom:1px solid var(--line)}.history-table thead th{color:var(--violet)}.history-table tbody th{font-weight:500}.history-table td{color:var(--muted)}
.report-legend{display:flex;gap:12px 20px;flex-wrap:wrap;margin:22px 0;font-size:13px;color:var(--muted)}.report-legend span{display:flex;align-items:center;gap:7px}.report-legend i{width:10px;height:10px;border-radius:3px}.series-0{background:#ab97f3}.series-1{background:#6d9feb}.series-2{background:#60c7b4}.wellbeing-chart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:25px 0}.wellbeing-group{padding:20px;border-radius:16px;background:#8c77c40a;border:1px solid var(--line)}.wellbeing-group h3{font-size:15px;margin-bottom:15px}.bar-group{display:grid;gap:9px}.bar-line{display:flex;gap:12px;align-items:center;font-size:14px}.bar-track{height:17px;display:block;flex:1;background:#afa0d310;border-radius:5px;overflow:hidden}.bar-fill{height:100%;display:block;border-radius:5px}.bar-line strong{width:20px}.bar-scale{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:10px 30px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.photo-date-selectors{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:15px 0 28px}.photo-comparison{margin-top:30px}.photo-comparison>h3{font-size:18px;margin-bottom:14px;display:flex;align-items:center;gap:12px}.photo-comparison>h3:after{content:'';height:1px;background:var(--line);flex:1}.photo-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.photo-pair figure{margin:0;min-width:0}.photo-pair img,.photo-missing{width:100%;aspect-ratio:3/4;object-fit:contain;background:#8c77c410;border-radius:16px;max-height:560px}.photo-missing{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;border:1px dashed #9585b955;padding:20px;text-align:center;font-size:14px;color:var(--muted)}.photo-pair figcaption{padding-top:9px;color:var(--muted);font-size:14px;text-align:center}.photo-guide-example{width:100%;max-width:720px;max-height:500px;object-fit:contain;background:#fff;border-radius:16px;display:block;margin:20px auto}.photo-empty{margin-top:20px;color:var(--muted)}[data-theme=light] .comparison-table{background:transparent}[data-theme=light] .compare-head{background:#f4f1fb}[data-theme=light] .delta{color:#21786b}[data-theme=light] .series-0{background:#8866cf}[data-theme=light] .series-1{background:#437fc5}[data-theme=light] .series-2{background:#239785}
@media(max-width:700px){.compare-head,.compare-row{grid-template-columns:.95fr 1fr 1.15fr;padding:12px 10px;gap:6px}.compare-head{font-size:12px}.compare-head small{font-size:12px}.compare-row{font-size:13px}.compare-row strong{font-size:14px}.compare-row .delta{display:block;margin:3px 0 0;font-size:12px}.comparison-panel .section-head{align-items:flex-start}.comparison-panel h2{font-size:17px}.comparison-panel button.quiet{font-size:12px}.guide-grid{grid-template-columns:1fr}.guide>summary{font-size:16px}.guide>summary>span{width:85%;font-size:12px}.guide>summary:after{align-self:flex-start}.dated-chart .chart text{font-size:20px}.dated-chart .chart{min-height:185px}.wellbeing-chart{grid-template-columns:1fr;gap:14px}.report-legend{font-size:12px;gap:10px}.photo-date-selectors{gap:10px}.photo-date-selectors label{font-size:12px}.photo-date-selectors select{padding:9px;font-size:13px}.photo-pair{gap:10px}.photo-pair figcaption{font-size:12px}.photo-missing{font-size:12px;padding:10px;border-radius:12px}.change-pair{font-size:13px}.ui-icon{width:19px;height:19px}.stats:has(.stat:nth-child(4)) .stat strong{font-size:26px}.tabs{scrollbar-width:thin}.guide-intro{font-size:14px}.section-head .quiet .ui-icon{width:16px}}
.stats .stat strong{line-height:1.25}.stats .stat em{display:block;margin:6px 0 0;font-size:13px;line-height:1.4}.mobile-mentor{display:none}.mobile-signature{display:none}@media(max-width:700px){.mobile-mentor{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:24px;margin-top:35px;font-size:14px}.mobile-mentor small{font-size:13px;color:var(--mint)}.mobile-signature{display:block;font-size:12px;color:var(--muted);margin:-2px 0 15px}.mobile-signature strong{font-weight:600;color:var(--ink)}}
/* Photo header: a consistent white mark on the supplied dark photograph. */
.profile-cover{position:relative;display:block;height:310px;margin:0 0 24px;border-radius:24px;overflow:hidden;background:#171126;isolation:isolate}.cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 44%;z-index:-2}.profile-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0e0a2355,transparent 45%,#0e0a2399);z-index:-1}.cover-top{display:flex;justify-content:space-between;align-items:center;padding:22px 25px;gap:20px}.cover-logo{padding:6px;background:transparent!important}.cover-logo img{display:block;width:131px;height:50px;object-fit:contain}.profile-cover .quiet{color:#fff!important;background:#17122980!important;border:1px solid #ffffff30;backdrop-filter:blur(12px);box-shadow:0 2px 10px #0002}.cover-caption{position:absolute;left:30px;bottom:24px;color:#e3ddf4;font-size:13px;text-shadow:0 2px 10px #0006}.cover-caption strong{display:block;color:white;font-size:23px;margin-top:3px;letter-spacing:-.4px}.profile-cover .header-actions{align-self:flex-start}
.dated-chart{--chart-accent:#b49aff;max-width:650px}.chart-body{--chart-accent:#61c5b8}.chart-fat{--chart-accent:#81aee9}.dated-chart .chart{border-radius:16px;background:#14112855;padding:3px}.dated-chart .plot-background{fill:#b9a3ff07}.dated-chart .chart text{font-size:12px!important;fill:var(--muted)}.dated-chart .chart path:not(.grid-line){stroke:none}.dated-chart .trend-line{stroke:var(--muted);stroke-width:1.15;stroke-dasharray:5 5;opacity:.4;pointer-events:none}.dated-chart .measurement-line{stroke:var(--chart-accent)!important;stroke-width:2.6}.dated-chart .chart-point circle:last-of-type{fill:var(--chart-accent)!important}.chart-tip{margin-top:3px;color:var(--muted)}[data-theme=light] .dated-chart{--chart-accent:#8462c9}[data-theme=light] .chart-body{--chart-accent:#298e83}[data-theme=light] .chart-fat{--chart-accent:#4c85be}[data-theme=light] .dated-chart .chart{background:#f4f2fa}[data-theme=light] .dated-chart .plot-background{fill:#e7e2f244}[data-theme=light] .dated-chart .trend-line{stroke:#756986;opacity:.35}
/* One compact family of tinted, lightly raised line icons. */
.ui-icon{color:#b6a1ed;filter:drop-shadow(0 1px 1px #08051b55)}.icon-users,.icon-calendar,.icon-clock,.icon-note{color:#8badde}.icon-heart,.icon-food,.icon-camera{color:#78c5b6}.icon-ruler,.icon-chart,.icon-scale,.icon-book,.icon-spark{color:#b6a1ed}h2>.ui-icon,.wellbeing-group h3>.ui-icon{box-sizing:content-box;padding:7px;border-radius:10px;background:linear-gradient(145deg,#ffffff0e,#b5a3ff0c);box-shadow:inset 0 1px 0 #ffffff15,0 2px 4px #00000013;vertical-align:middle}[data-theme=light] .ui-icon{filter:drop-shadow(0 1px 0 #fff)}[data-theme=light] .icon-users,[data-theme=light] .icon-calendar,[data-theme=light] .icon-clock,[data-theme=light] .icon-note{color:#537cad}[data-theme=light] .icon-heart,[data-theme=light] .icon-food,[data-theme=light] .icon-camera{color:#358c7c}[data-theme=light] .icon-ruler,[data-theme=light] .icon-chart,[data-theme=light] .icon-scale,[data-theme=light] .icon-book,[data-theme=light] .icon-spark{color:#8462bc}.tabs button.selected .ui-icon{color:inherit;filter:none}
.status-pill{font-size:12px;padding:9px 12px;border:1px solid transparent}.event-row{margin:9px 0;padding:14px 12px;border-radius:12px;border:1px solid var(--line)}.status-done{--status-bg:#204c40;--status-ink:#a4e1ba;--status-border:#62b08544}.status-missed{--status-bg:#4b4124;--status-ink:#eddb93;--status-border:#d2bb6244}.status-charged{--status-bg:#4d2c43;--status-ink:#eeb6d8;--status-border:#d68fb944}.status-planned{--status-bg:#393151;--status-ink:#d2c5ed;--status-border:#a193bb22}.event.status-done,.event.status-missed,.event.status-charged,.status-pill{background:var(--status-bg)!important;color:var(--status-ink)!important;border:1px solid var(--status-border)}.event-row.status-done,.event-row.status-missed,.event-row.status-charged{background:color-mix(in srgb,var(--status-bg) 45%,transparent);border-color:var(--status-border)}.event-row .status-pill{max-width:165px}.event small{margin-top:5px}.charge-tag{display:inline-block;margin-top:7px;font-size:11px;border-radius:6px;background:#713e62;color:#ffe0f2;padding:3px 6px}.status-legend{display:flex;gap:9px 18px;flex-wrap:wrap;margin-bottom:22px;font-size:12px;color:var(--muted)}.status-legend span{display:flex;align-items:center;gap:7px}.status-legend i{width:9px;height:9px;border-radius:3px;background:var(--status-ink)}[data-theme=light] .status-done{--status-bg:#e1f0e7;--status-ink:#286947;--status-border:#92bda644}[data-theme=light] .status-missed{--status-bg:#fbf0d0;--status-ink:#82671b;--status-border:#d7be7444}[data-theme=light] .status-charged{--status-bg:#f8e3f0;--status-ink:#975276;--status-border:#d5a0c044}[data-theme=light] .status-planned{--status-bg:#ece6f5;--status-ink:#67557d;--status-border:#b9a6d644}[data-theme=light] .charge-tag{background:#efd0e2;color:#854261}
@media(max-width:700px){.profile-cover{height:240px;border-radius:18px;margin-bottom:18px}.cover-photo{object-position:50% 40%}.cover-top{padding:12px;gap:9px;align-items:flex-start}.cover-logo{padding:0}.cover-logo img{width:96px;height:38px}.profile-cover .header-actions{gap:6px}.profile-cover #role{font-size:10px;padding:9px;max-width:137px;min-height:36px}.profile-cover #theme{width:36px;height:36px;font-size:20px}.cover-caption{left:16px;bottom:16px;font-size:11px}.cover-caption strong{font-size:19px}.dated-chart .chart text{font-size:16px!important}.dated-chart .chart{padding:1px}.status-pill{font-size:11px;padding:8px}.event-row{padding:12px 8px}.event-row .time{font-size:13px;min-width:42px}.event-row h3{font-size:14px}.event-row small{font-size:12px}.event-row .status-pill{max-width:106px}h2>.ui-icon{padding:5px;width:17px;height:17px}.status-legend{font-size:11px;gap:8px 12px}}
.dated-chart .chart text{font-size:var(--axis-font,14px)!important}.dated-chart .chart-tip{font-size:12px}
.cover-motto{position:absolute;right:28px;bottom:23px;max-width:330px;color:#f4edff;font-size:16px;line-height:1.6;font-weight:500;text-shadow:0 2px 12px #000;margin:0;padding:10px 15px;border-left:2px solid #b8a0e777;background:linear-gradient(90deg,#17112645,transparent)}.starting-weight{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.starting-weight strong{color:var(--ink);font-weight:700}.starting-weight small{font-size:12px}.profile-strip>div{align-items:center}.total-changes summary{display:flex;align-items:center;gap:16px;cursor:pointer;list-style:none}.total-changes summary>span:first-child{flex:1;font-size:17px;font-weight:700}.total-changes summary>strong{font-size:25px;color:var(--mint);font-weight:600;white-space:nowrap}.total-toggle{font-size:12px;color:var(--muted)}.total-changes[open] .total-toggle{font-size:0}.total-changes[open] .total-toggle:after{content:'Свернуть −';font-size:12px}.totals-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px}.total-metric{padding:16px;background:#9780d511;border-radius:14px;border:1px solid var(--line)}.total-metric>span{display:block;font-size:14px;color:var(--muted)}.total-metric>strong{display:block;font-size:24px;color:var(--violet);margin:7px 0}.total-metric small{font-size:12px}.total-explanation{font-size:13px;margin-top:18px}.total-changes>p{margin-top:15px}
@media(max-width:1000px){.cover-motto{max-width:240px;font-size:14px}.totals-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.profile-cover{height:300px}.cover-photo{object-position:center 30%}.cover-caption{bottom:76px}.cover-motto{left:16px;right:16px;bottom:13px;max-width:none;font-size:12px;line-height:1.5;padding:7px 10px;background:#15102255}.total-changes{padding:18px}.total-changes summary{flex-wrap:wrap;gap:8px 12px}.total-changes summary>span:first-child{font-size:15px;min-width:180px}.total-changes summary>strong{font-size:22px}.total-toggle{display:block;width:100%;padding-left:26px}.totals-grid{grid-template-columns:repeat(2,1fr);gap:9px}.total-metric{padding:12px}.total-metric>strong{font-size:21px}.total-metric>span{font-size:13px}.starting-weight{width:100%}}
.ui-icon.icon-3d{display:inline-block;width:32px;height:32px;box-sizing:border-box;padding:0;border:0;border-radius:0;background-image:url('assets/icons-3d.png');background-color:transparent;background-repeat:no-repeat;background-size:400% 300%;box-shadow:none;filter:none!important;vertical-align:middle;flex-shrink:0}.tabs .ui-icon.icon-3d{width:28px;height:28px;margin-right:8px}h2>.ui-icon.icon-3d,.wellbeing-group h3>.ui-icon.icon-3d{width:42px;height:42px;margin-right:9px}nav b .ui-icon.icon-3d{width:30px;height:30px}.stat small .ui-icon.icon-3d{width:34px;height:34px}.quiet .ui-icon.icon-3d{width:26px;height:26px}.guide .ui-icon.icon-3d{width:32px;height:32px}.total-changes summary .ui-icon.icon-3d{width:36px;height:36px}.photo-missing>.ui-icon.icon-3d{width:54px;height:54px}.icon-3d{transition:transform .2s ease}button:hover>.icon-3d{transform:translateY(-1px)}@media(max-width:700px){nav b .ui-icon.icon-3d{width:27px;height:27px}.tabs .ui-icon.icon-3d{width:25px;height:25px}h2>.ui-icon.icon-3d{width:33px;height:33px}.stat small .ui-icon.icon-3d{width:28px;height:28px}.total-changes summary .ui-icon.icon-3d{width:30px;height:30px}.quiet .ui-icon.icon-3d{width:23px;height:23px}.stat small{flex-wrap:wrap;gap:5px}}
@media(prefers-reduced-motion:reduce){.icon-3d{transition:none}}
nav b{width:38px}@media(max-width:700px){nav b{width:auto}}

/* Render the shared 3D artwork as an image, independent of stylesheet URL resolution. */
.ui-icon.icon-3d{position:relative;overflow:hidden;background-image:none}
.ui-icon.icon-3d>img{position:absolute;display:block;width:400%;height:300%;max-width:none;max-height:none;object-fit:fill;border-radius:0;margin:0;padding:0;background:none;pointer-events:none}
.event{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:14px;background:var(--status-bg)!important;color:var(--status-ink)!important;border:1px solid var(--status-border)}
.event-time{font-size:24px;font-weight:800;line-height:1.2;letter-spacing:-.7px;font-variant-numeric:tabular-nums;white-space:nowrap}
.event-info{min-width:0;display:block}.event-info strong{display:block;font-size:14px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}.event-info small{font-size:13px;line-height:1.4;margin-top:7px}
@media(max-width:700px){.event{flex-direction:row;align-items:center;gap:16px;padding:18px 14px}.event-time{font-size:27px;flex:0 0 85px;padding:12px 10px;border-radius:10px;background:#ffffff15;text-align:center}.event-info{flex:1}.event-info strong{font-size:16px}.event-info small{font-size:14px}.event .charge-tag{font-size:12px}[data-theme=light] .event-time{background:#ffffff88}}

.attendance-link{display:block;margin-top:14px;padding:8px 0;background:transparent!important;color:inherit;font-size:14px;text-align:left;text-decoration:underline;text-underline-offset:4px}.attendance-list{display:grid;gap:12px;margin-top:22px}.attendance-item{display:flex;justify-content:space-between;gap:16px;padding:16px;border-radius:14px;background:var(--status-bg);color:var(--status-ink)}.attendance-item time{display:block;font-size:22px;font-weight:750;margin-top:5px}.attendance-item small{color:inherit;font-size:13px;margin-top:7px}.attendance-item>div:last-child{text-align:right}

.calendar-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center}.calendar-toolbar input{width:auto;max-width:170px}.view-switch{display:flex;padding:4px;background:var(--card);border-radius:12px}.view-switch button{background:transparent;font-size:14px;padding:8px 15px}.view-switch button[aria-pressed=true],.day-picker button[aria-pressed=true]{background:var(--violet);color:#201535}.coach-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.coach-week .day{padding:10px;min-width:0;min-height:180px}.week-day-title{display:block;width:100%;padding:5px 0;text-align:left;background:transparent!important;font-size:14px;font-weight:700;color:var(--violet)}.week-day-title small{font-weight:400;margin-top:5px}.week-add{width:100%;padding:5px;background:transparent!important;color:var(--violet);margin-top:8px}.event{padding:9px 10px;margin-top:8px;gap:9px}.event-time{font-size:20px}.event-info strong{font-size:14px}.event-info small{font-size:12px;margin-top:2px}.event .charge-tag{margin-top:3px;padding:1px 5px}.coach-week .event{flex-direction:column;gap:5px}.coach-week .event-time{flex:auto;padding:0;background:none!important;text-align:left;font-size:18px}.coach-week .event-info strong{font-size:13px}.day-picker{display:flex;gap:5px;overflow:auto;margin-bottom:14px}.day-picker button{flex:1;min-width:64px;padding:8px 5px;font-size:13px}.hour-grid{background:var(--card);border-radius:16px;padding:6px 14px;max-height:65vh;overflow:auto}.hour-slot{display:grid;grid-template-columns:56px 1fr;gap:10px;min-height:54px;border-bottom:1px solid var(--line);align-items:start}.hour-slot>time{font-size:13px;padding-top:15px;color:var(--muted);font-variant-numeric:tabular-nums}.hour-slot>div{min-width:0}.free-slot{width:100%;height:53px;text-align:left;background:transparent!important;color:var(--muted);font-size:13px}.slot-busy{display:block;padding:15px 10px;font-size:13px;color:var(--muted)}.hour-slot .event{flex-direction:row;align-items:center;margin:4px 0}.hour-slot .event-time{flex:0 0 60px;padding:4px;font-size:18px}.hour-slot .event-info{flex:1}
@media(max-width:700px){.event{padding:9px 10px;gap:12px}.event-time{font-size:20px;flex:0 0 68px;padding:6px}.event-info strong{font-size:14px}.event-info small{font-size:12px}.client-week .day{padding:12px;min-height:65px}.client-week .empty{margin:5px 0}.coach-week{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.coach-week .day{min-height:95px;padding:10px}.coach-week .day:last-child{grid-column:1/-1}.coach-week .empty{font-size:13px;margin:6px 0}.coach-week .event{padding:7px;flex-direction:row;flex-wrap:wrap}.coach-week .event-time{flex:0 0 100%;font-size:17px}.coach-week .event-info strong{font-size:13px}.calendar-head{margin:15px 0}.calendar-head h2{font-size:15px}.calendar-toolbar{flex-wrap:wrap}.calendar-toolbar input{font-size:14px;min-height:40px}.day-picker{gap:3px}.day-picker button{min-width:42px;font-size:12px;padding:7px 3px}.hour-grid{padding:4px 10px}}

.time-calendar{border:1px solid var(--line);border-radius:14px;background:var(--card);overflow:auto;max-height:75vh}.time-calendar-head{display:grid;grid-template-columns:44px repeat(var(--days),minmax(0,1fr));position:sticky;top:0;z-index:3;background:var(--card);border-bottom:1px solid var(--line)}.time-calendar-head button{padding:7px 1px;background:transparent!important;border-radius:0;font-size:12px;color:var(--muted)}.time-calendar-head strong{display:block;font-size:18px;color:var(--ink)}.time-calendar-body{display:grid;grid-template-columns:44px repeat(var(--days),minmax(0,1fr));height:1036px;padding-bottom:16px}.time-axis{position:relative}.time-axis time{position:absolute;left:2px;font-size:11px;color:var(--muted);line-height:16px;transform:translateY(-7px)}.time-axis time:first-child{transform:none}.time-day{height:1020px;position:relative;border-left:1px solid var(--line)}.time-cell{position:absolute;left:0;width:100%;height:30px;border-radius:0;background:transparent!important;border-top:1px dotted var(--line);padding:0}.time-cell:nth-child(odd){border-top:1px solid var(--line)}.time-cell:hover{background:#b5a3ff18!important}.calendar-block{position:absolute;z-index:1;border-radius:5px;padding:3px 4px;overflow:hidden;text-align:left;border:1px solid var(--status-border);background:var(--status-bg)!important;color:var(--status-ink)!important;line-height:1.2}.calendar-block time{display:block;font-size:12px;font-weight:700;white-space:nowrap}.calendar-block strong{display:block;font-size:13px;overflow-wrap:anywhere;margin-top:2px}.calendar-block small{font-size:11px;color:inherit;margin-top:3px}.single-day .calendar-block{padding:5px 10px}.single-day .calendar-block strong{font-size:14px}.single-day .calendar-block time span{display:inline}@media(max-width:700px){.time-calendar{margin-left:-12px;margin-right:-12px;border-radius:10px}.calendar-block{padding:3px 2px}.calendar-block strong{font-size:12px}.calendar-block time{font-size:10px}.calendar-block time span,.calendar-block small{display:none}.single-day .calendar-block time{font-size:13px}.single-day .calendar-block small{display:block}.time-calendar-head{grid-template-columns:36px repeat(var(--days),minmax(0,1fr))}.time-calendar-body{grid-template-columns:36px repeat(var(--days),minmax(0,1fr))}.time-axis time{font-size:10px}}

.client-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.client-open{background:transparent!important;padding:0;text-align:left;width:100%}.directory-switch{margin-bottom:22px;width:max-content}.format-offline{--format-color:#a78bea}.format-online{--format-color:#4ccac1}.calendar-block,.event.format-online,.event.format-offline{border-left:4px solid var(--format-color)}.calendar-block.status-planned.format-online,.event.status-planned.format-online{background:#214f54!important;color:#c3f3ed!important}.calendar-block.status-planned.format-offline{background:#493c69!important;color:#e6dbff!important}.format-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;margin-bottom:12px}.format-legend span:before{content:'';display:inline-block;width:10px;height:10px;background:var(--format-color);border-radius:3px;margin-right:7px}[data-theme=light] .calendar-block.status-planned.format-online,[data-theme=light] .event.status-planned.format-online{background:#d9f2ef!important;color:#225e59!important}[data-theme=light] .calendar-block.status-planned.format-offline{background:#e8dffc!important;color:#533c7d!important}.compact-day{background:var(--card);padding:14px;border-radius:16px}.compact-day h2{font-size:16px;margin-bottom:12px}.compact-free{display:flex;align-items:center;gap:15px;width:100%;background:transparent!important;border-top:1px solid var(--line);border-radius:0;padding:10px 6px;font-size:13px;color:var(--muted);min-height:44px}.compact-free time{font-variant-numeric:tabular-nums;width:105px;flex-shrink:0}.compact-meeting{position:relative;margin:5px 0}.compact-meeting .event{display:flex;flex-direction:row;align-items:center;padding:10px;gap:12px;margin:0;min-height:64px}.compact-meeting .event-time{font-size:20px;background:#ffffff12;padding:7px;border-radius:8px;flex:0 0 78px;text-align:center}.compact-meeting .event-info{padding-bottom:16px}.meeting-end{position:absolute;left:104px;bottom:8px;font-size:11px;color:var(--muted);pointer-events:none}

.client-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.client-counts>span{background:var(--card);padding:12px;border-radius:12px;font-size:13px;color:var(--muted)}.client-counts strong{display:block;font-size:25px;color:var(--ink)}.client-group{margin:24px 0}.client-group>h2{display:flex;align-items:center;gap:10px;margin-bottom:12px}.client-group>h2 small{font-size:14px}.client-list{display:grid;gap:9px}.compact-client{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px 14px;display:flex;align-items:center;gap:10px}.compact-client .client-open{display:flex;align-items:center;gap:14px;flex:1;min-width:0}.client-avatar{overflow:hidden;margin:0!important;flex-shrink:0;width:46px;height:46px}.client-avatar img{width:100%;height:100%;object-fit:cover}.client-identity{flex:1;min-width:0}.client-identity strong{display:block;font-size:16px}.client-identity>span{display:block;font-size:13px;color:var(--muted)}.client-identity small{font-size:12px}.client-balance{text-align:right;font-size:13px;max-width:160px}.client-balance strong,.client-balance span{display:block}.client-balance strong{font-size:18px}.avatar-edit{font-size:12px;padding:8px;background:transparent!important;color:var(--muted)}.low-sessions{background:#56273f!important;border-color:#c874a3!important;border-radius:14px;padding-left:12px;padding-right:12px}.low-sessions .client-balance{color:#ffd0e8}[data-theme=light] .low-sessions{background:#fbe3ef!important;border-color:#e5a3c2!important}[data-theme=light] .low-sessions .client-balance{color:#94365f}.profile-avatar-button{background:transparent!important;padding:0}.profile-avatar-button .client-avatar{width:60px;height:60px}.profile-avatar-button small{font-size:11px;margin-top:3px}.client-profile-title>div{flex:1}.client-profile-title{gap:14px}@media(max-width:700px){.compact-client{padding:9px;gap:5px;flex-wrap:wrap}.compact-client .client-open{gap:9px}.client-avatar{width:38px;height:38px;border-radius:12px}.client-identity strong{font-size:14px}.client-identity>span{font-size:12px}.client-balance{max-width:90px;font-size:12px}.client-balance strong{font-size:16px}.avatar-edit{padding:4px;font-size:11px}.client-profile-title{flex-wrap:wrap;gap:10px}.client-profile-title h1{font-size:24px}.client-profile-title>.primary{margin-left:auto}.client-counts>span{font-size:12px;padding:10px}}

.total-metric.total-priority{background:linear-gradient(130deg,#53407666,#324a6766);border-color:#b7a0ed66}.total-priority>strong{color:#d5c2ff}.total-priority>span{color:var(--ink)}[data-theme=light] .total-metric.total-priority{background:linear-gradient(130deg,#e9ddff,#dceafa);border-color:#bfa8df}[data-theme=light] .total-priority>strong{color:#6542a3}.dated-chart .trend-line{stroke:var(--ink);stroke-width:2;stroke-dasharray:6 4;opacity:.72}[data-theme=light] .dated-chart .trend-line{stroke:#514269;opacity:.72}

body:not(.client-view) .aside-bottom,body:not(.client-view) .mobile-mentor{display:none!important}.client-counts>button{background:var(--card);padding:12px;border-radius:12px;font-size:13px;color:var(--muted);text-align:left;border:1px solid var(--line)}.client-counts>button[aria-pressed=true]{border-color:var(--violet);background:#9a81d522}.overview-counters .stat{text-align:left}.latest-measure-client{display:flex;align-items:center;gap:12px;width:100%;background:transparent!important;text-align:left;padding:16px 0}.latest-measure-client>span:nth-child(2){flex:1}.latest-values{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.latest-values>div{background:#9780d510;border-radius:10px;padding:10px}.latest-values strong{font-size:15px}.latest-values small{font-size:12px}

.support-period{display:flex;align-items:center;justify-content:space-between;gap:12px;border-color:#4ccac155;background:#4ccac10b}.support-period h2{font-size:18px}.support-period strong{color:var(--mint)}@media(max-width:700px){.support-period{flex-wrap:wrap}}

.support-period.support-warning{background:#b7538622;border-color:#d877a6}.support-warning strong{color:#efacd0}[data-theme=light] .support-warning{background:#fce6f0}[data-theme=light] .support-warning strong{color:#95375e}

.measure-cta{background:linear-gradient(120deg,#b7a1ff,#7adfd6)!important;color:#191333!important;border:1px solid #e4d9ff!important;box-shadow:0 4px 18px #a58aff44;font-weight:800;padding:14px 20px!important;white-space:nowrap}.compact-profile{padding:14px 18px!important}.compact-profile>div{display:block!important}.profile-facts{display:flex;gap:0;flex-wrap:wrap;font-size:14px}.profile-facts>span+span:before{content:'|';color:var(--muted);margin:0 10px;opacity:.5}.compact-profile .starting-weight{margin-top:7px;font-size:14px}.total-metric{padding:12px!important}.total-metric>span{font-size:13px}.total-metric>span b{font-weight:500;color:var(--ink);white-space:nowrap}.total-metric>strong{font-size:23px;margin:6px 0 0}.compare-row>span:last-child{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}.compare-row .delta{display:inline!important;margin:0!important;white-space:nowrap}.support-period{padding:14px 18px;margin-bottom:16px}.support-period p{font-size:14px}.compare-head,.compare-row{padding-top:12px;padding-bottom:12px}@media(max-width:700px){.title>.measure-cta{max-width:none;font-size:14px}.compact-profile{gap:10px}.profile-facts{font-size:12px}.profile-facts>span+span:before{margin:0 5px}.compare-head,.compare-row{grid-template-columns:.8fr .8fr 1.5fr}.compare-row strong{font-size:13px}.compare-row .delta{font-size:11px}.total-metric>strong{font-size:21px}.total-metric>span{font-size:12px}}

.session-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:-5px 0 22px}.session-actions .attendance-link{margin:0;padding:10px 14px;text-decoration:none;border:1px solid var(--line);background:var(--card)!important;border-radius:12px;font-size:14px}.session-actions .quiet{font-size:14px}.compact-meeting .event-info{padding-bottom:0}.compact-meeting .event{min-height:52px}.compare-row .delta-down{color:#70dba5}.compare-row .delta-up{color:#f0a3cb}.compare-row .delta-flat{color:var(--muted)}[data-theme=light] .compare-row .delta-down{color:#207448}[data-theme=light] .compare-row .delta-up{color:#ab4279}.stats .stat{align-self:stretch}

.attention-client{display:flex;align-items:center;gap:12px;text-align:left;width:100%;background:#d885ab10;border:1px solid #d885ab22;margin-top:12px;padding:12px}.attention-client>span:nth-child(2){flex:1}.attention-client small{margin-top:4px;line-height:1.6}.attention-empty{padding:20px 0 0;color:var(--mint)}.calorie-results{display:grid;gap:8px;margin:20px 0}.calorie-results>div{display:flex;justify-content:space-between;gap:10px;padding:12px;background:var(--card);border-radius:10px}.calorie-results>div:nth-child(3){border:1px solid var(--mint)}.weight-guide-important{background:#70e1d214!important;border-color:#70e1d266!important}.weight-guide-important p{color:var(--ink);font-weight:700}.measurement-diagram{margin:20px 0}.measurement-diagram img{display:block;width:100%;border-radius:14px}.photo-guide-highlight{border-color:#a88ada66;background:#9876cf12}.photo-guide-highlight summary>span{color:var(--violet);font-weight:600}.photo-guide-examples{display:grid;grid-template-columns:1fr 1fr;gap:14px}.photo-guide-examples figure{margin:18px 0}.photo-guide-example{margin:8px 0;max-height:none}.photo-pair{gap:5px}.photo-pair img,.photo-missing{aspect-ratio:16/9;width:100%;height:auto;max-height:none;object-fit:cover;object-position:center;border-radius:8px}.photo-missing{min-height:0;padding:8px;font-size:12px}.history-section{margin-top:18px;border:1px solid var(--line);border-radius:12px;padding:14px}.history-section>summary{cursor:pointer;font-weight:700;font-size:16px}.history-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:15px;font-size:13px}.history-pagination button{padding:9px;font-size:13px}.history-pagination button:disabled{opacity:.35;cursor:default}@media(max-width:700px){.photo-guide-examples{grid-template-columns:1fr}.photo-pair{gap:4px}.photo-missing>.ui-icon.icon-3d{width:25px;height:25px}.photo-missing{gap:2px}.history-pagination{font-size:12px}.calorie-results{font-size:14px}}

.measurement-guide-grid>.weight-guide-important{grid-column:1/-1}.measurement-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.measurement-guide-grid{grid-template-columns:1fr}}
/* Clear disclosure affordances across guides, progress, and history. */
details>summary{background:#ad91ed18;border:1px solid #ae90e540;border-radius:12px;padding:12px;transition:background .15s}details>summary:hover{background:#ad91ed29}details>summary:focus-visible{outline:2px solid var(--violet);outline-offset:3px}.guide>summary:after,.history-section>summary:after{content:'Открыть +';font-size:13px;font-weight:600;color:var(--violet);white-space:nowrap;margin-left:auto}.guide[open]>summary:after,.history-section[open]>summary:after{content:'Свернуть −';font-size:13px}.history-section>summary{display:flex;align-items:center;gap:12px;list-style:none}.total-toggle{font-size:0!important}.total-toggle:after{content:'Открыть +';font-size:13px;color:var(--violet);font-weight:600}.total-changes[open] .total-toggle:after{content:'Свернуть −';font-size:13px}.guide>summary::-webkit-details-marker,.history-section>summary::-webkit-details-marker{display:none}[data-theme=light] details>summary{background:#e9dff966;border-color:#bda4df66}@media(max-width:700px){.guide>summary:after{align-self:center}.total-toggle{padding-left:0;width:auto;margin-left:auto}.guide>summary>span{width:auto;flex-basis:100%;order:3}.guide>summary:after{margin-left:auto}.total-changes summary>span:first-child{min-width:0}}

.profile-under-name{margin-top:10px;color:var(--muted)}.profile-start-goal{display:flex;align-items:baseline;gap:8px 18px;margin-top:6px;font-size:13px;flex-wrap:wrap}.profile-start-goal small{display:inline;font-size:12px}.profile-start-goal strong{color:var(--ink);font-weight:600}.latest-measure-heading{justify-content:flex-start;gap:14px;flex-wrap:wrap}.measurement-guide-grid>.measurement-diagram{grid-column:1/-1;margin:0}.client-profile-title{align-items:center}.client-profile-title>div{min-width:0}@media(max-width:700px){.client-profile-title>div{flex-basis:calc(100% - 80px)}.profile-facts{font-size:12px}.profile-start-goal{font-size:12px;gap:4px 10px}.profile-start-goal small{font-size:11px}.latest-measure-heading{gap:8px}.latest-measure-heading .quiet{padding:8px}.client-profile-title>.measure-cta{width:100%;margin-top:2px}}

.profile-under-name{margin:-10px 0 18px;padding:0}.profile-start-goal{flex-wrap:nowrap}.profile-start-goal>span{white-space:nowrap}@media(max-width:700px){.profile-start-goal{font-size:11px;gap:8px}.profile-start-goal small{font-size:10px}.profile-facts{font-size:12px}.profile-under-name{margin-top:-8px}.client-profile-title>.measure-cta{width:auto}}
.client-profile-title{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:12px;align-items:center}.client-profile-title>.measure-cta{margin:0!important}.profile-start-goal>span:first-child{word-spacing:2px}@media(max-width:700px){.client-profile-title{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.profile-avatar-button .client-avatar{width:44px;height:44px}.client-profile-title h1{font-size:21px}.client-profile-title>.measure-cta{font-size:12px;padding:12px 10px!important}.profile-under-name{margin-top:-5px}}
.profile-under-name{width:100%;padding:14px 18px;background:var(--card);border:1px solid var(--line);border-radius:14px;margin:0 0 18px}.profile-under-name .profile-facts{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:16px;line-height:1.6}.profile-under-name .profile-facts>span{white-space:nowrap}.profile-under-name .profile-facts>span+span:before{display:none}.profile-under-name .profile-start-goal{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:15px;margin-top:8px}.profile-under-name .profile-start-goal small{font-size:13px;margin-left:5px}@media(max-width:700px){.profile-under-name{padding:12px}.profile-under-name .profile-facts{font-size:14px;gap:4px;flex-wrap:nowrap}.profile-under-name .profile-start-goal{font-size:13px;gap:8px}.profile-under-name .profile-start-goal small{font-size:12px;margin-left:3px}}@media(max-width:380px){.profile-under-name{padding:10px}.profile-under-name .profile-facts{font-size:13px}.profile-under-name .profile-start-goal{font-size:12px}.profile-under-name .profile-start-goal small{font-size:11px}}
.profile-under-name .profile-facts>span+span{position:relative}.profile-under-name .profile-facts>span+span:before{display:inline;content:'|';color:var(--muted);opacity:.6;margin:0 12px 0 0}.profile-under-name .profile-facts{justify-content:flex-start;gap:12px}@media(max-width:700px){.profile-under-name .profile-facts{justify-content:space-between;gap:4px}.profile-under-name .profile-facts>span+span:before{margin-right:7px}}@media(max-width:380px){.profile-under-name .profile-facts>span+span:before{margin-right:4px}}
/* Compact client workspace and weekly appointments */
.timing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.timing-grid label{min-width:0;font-size:14px}.timing-grid input{width:100%;min-width:0;height:48px;padding:10px 8px;box-sizing:border-box;font-size:14px}.repeat-control{display:flex;align-items:center;gap:10px}.repeat-control input{width:20px;height:20px;flex:0 0 20px}.format-online{--format-color:#f59487}.calendar-block.status-planned.format-online,.event.status-planned.format-online{background:#713e4e!important;color:#ffe1d5!important}[data-theme=light] .calendar-block.status-planned.format-online,[data-theme=light] .event.status-planned.format-online{background:#ffddd1!important;color:#783a47!important}
.client-profile-title{grid-template-columns:60px minmax(0,1fr)}.client-session-panel{margin:14px 0 18px;padding:16px 18px;background:linear-gradient(115deg,#29526755,#5f4d8733);border:1px solid #69bac344;border-radius:16px}.session-balance{display:flex;justify-content:space-between;align-items:center;gap:12px}.session-balance>span{display:flex;align-items:center;gap:8px}.session-balance>strong{font-size:28px;white-space:nowrap;color:var(--mint)}.session-balance strong small{display:inline;font-size:15px;font-weight:400;color:var(--muted)}.client-session-panel .session-actions{margin:12px 0 0}.compact-nutrition{padding:16px 18px}.compact-nutrition h2{font-size:18px;margin:0}.macro-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.macro-grid>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;background:#a88ada12;border:1px solid var(--line);border-radius:12px}.macro-grid span{font-size:14px;color:var(--muted)}.macro-grid strong{font-size:20px;white-space:nowrap}.macro-grid small{display:inline;font-size:13px;font-weight:400}.calculator-link{padding:8px 0 0;background:none;color:var(--violet);font-size:14px}.measure-full{width:100%;margin:0 0 18px;padding:16px}.trend-down-icon{display:inline-flex;flex:none}.trend-down-icon>.icon-3d{transform:scaleY(-1)}.fat-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;font-size:26px;font-weight:800;color:#ffdba7;text-shadow:1px 2px #a35c87,2px 3px #583d6a;filter:drop-shadow(0 3px 4px #0003)}.guide summary>.ui-icon.icon-3d{display:inline-block!important;width:32px!important;height:32px!important;min-width:32px;flex:0 0 32px;margin:0 8px 0 0;padding:0;aspect-ratio:1}.guide summary>.ui-icon.icon-3d>img{width:400%!important;height:300%!important;max-width:none!important;max-height:none!important;object-fit:fill!important}.supplement-card{border:1px solid var(--line);border-radius:14px;padding:16px;margin-top:14px}.supplement-card dl{margin:0;display:grid;gap:12px}.supplement-card dt{color:var(--muted);font-size:14px}.supplement-card dd{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.supplement-card a{color:var(--violet)}.library-item{display:flex;flex-direction:column;text-align:left;width:100%;gap:5px;margin:10px 0;padding:14px;background:var(--card);border:1px solid var(--line)}.library-item span{font-size:14px;color:var(--muted)}
@media(max-width:700px){.client-profile-title{grid-template-columns:44px minmax(0,1fr)}.client-session-panel,.compact-nutrition{padding:14px}.session-balance>span{font-size:15px}.session-actions button{font-size:13px!important;padding:10px!important}.macro-grid>div{padding:10px;align-items:flex-start;flex-direction:column;gap:3px}.macro-grid strong{font-size:21px}.timing-grid{gap:6px}.timing-grid input{font-size:13px;padding:8px 3px}.timing-grid label{font-size:12px}.tabs button{flex-shrink:0}.guide summary{flex-wrap:wrap}.guide summary>.ui-icon{align-self:center}}
/* Personal profile, compact daily targets */
.client-profile-title{grid-template-columns:60px minmax(0,1fr) minmax(100px,auto)}.profile-goal{max-width:180px;text-align:right}.profile-goal small{font-size:14px}.profile-goal strong{font-size:16px;color:var(--violet);line-height:1.35;display:block}.profile-start-goal{justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.health-shortcut{padding:5px 9px;border:1px solid #a88ada55;background:#a88ada18;color:var(--violet);font-size:13px;white-space:normal}.health-note{white-space:pre-wrap;color:var(--ink)}.client-session-panel{padding:10px 16px;background:linear-gradient(110deg,#23596c,#3f436b);border-color:#79d4de88}.session-balance>strong{font-size:25px}.client-session-panel .session-actions{margin-top:6px;gap:8px}.client-session-panel .session-actions button{padding:7px 10px!important}.session-balance>span>.ui-icon{width:28px;height:28px}.compact-nutrition .section-head{margin-bottom:12px}.macro-grid{gap:7px}.macro-grid>div{flex-direction:row;align-items:center;padding:9px 11px;gap:6px}.macro-grid strong{font-size:18px}.macro-grid small{font-size:12px}.macro-grid span{font-size:14px}.current-weight-stat>strong,.body-fat-stat>strong{display:flex;align-items:baseline;gap:6px}.current-weight-stat>strong em,.body-fat-stat>strong em{display:inline;margin:0}.stats .body-fat-stat.fat-high{background:linear-gradient(125deg,#75405f,#4e304c);border-color:#ed97bb77}.stats .body-fat-stat.fat-low{background:linear-gradient(125deg,#23605d,#22444e);border-color:#72dace77}.progress-charts{gap:22px;margin-bottom:22px}.progress-charts>.panel{margin-bottom:0}.mentor-belief{display:block;font-size:12px;line-height:1.5;margin-top:6px;color:var(--violet);max-width:155px}.mobile-mentor .mentor-belief{max-width:none}.aside-bottom{right:18px}.jar-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;font-size:25px;vertical-align:middle;margin-right:7px}.supplement-card{background:linear-gradient(120deg,#a78bea1f,#70e1d208);border:1px solid #a78bea66;border-left:4px solid #a78bea;padding:18px;margin-top:22px;box-shadow:0 4px 14px #00000015}.supplement-card h3{color:var(--violet);font-size:19px}.supplement-card .section-head{padding-bottom:12px;border-bottom:1px solid #a78bea33;margin-bottom:14px}[data-theme=light] .client-session-panel{background:linear-gradient(110deg,#c2e9ed,#d9d5f2);border-color:#68b5c2}[data-theme=light] .stats .body-fat-stat.fat-high{background:linear-gradient(125deg,#f9ccdf,#efdae8);color:#763552;border-color:#d590ad}[data-theme=light] .stats .body-fat-stat.fat-low{background:linear-gradient(125deg,#bcebe1,#d5eeef);color:#215951;border-color:#65b7a9}[data-theme=light] .body-fat-stat em{color:inherit}
@media(max-width:700px){.client-profile-title{grid-template-columns:44px minmax(0,1fr) minmax(86px,110px)}.profile-goal strong{font-size:14px}.profile-goal small{font-size:12px}.client-session-panel{padding:9px 12px}.macro-grid>div{flex-direction:row;align-items:center;padding:9px 8px;flex-wrap:wrap}.macro-grid strong{font-size:16px}.macro-grid span{font-size:13px}.macro-grid small{font-size:11px}.profile-start-goal{flex-wrap:wrap}.profile-start-goal .health-shortcut{font-size:12px}.compact-nutrition h2{font-size:16px}}
/* Clear recommendations and compact mobile cover */
.mentor-belief{margin:0;padding-left:12px;border-left:1px solid var(--line);max-width:160px;flex:1}.mobile-mentor>div{flex-shrink:0}.aside-bottom{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(0,1fr);gap:7px;left:12px;right:12px;font-size:12px}.aside-bottom .mentor-avatar{width:34px;height:34px}.aside-bottom .mentor-belief{font-size:11px;padding-left:7px}.aside-bottom small{font-size:11px}.latest-delta{display:inline-block;font-size:13px;margin-left:5px}.latest-delta.delta-down{color:#70dba5}.latest-delta.delta-up{color:#f0a3cb}.latest-delta.delta-flat{color:var(--muted)}[data-theme=light] .latest-delta.delta-down{color:#207448}[data-theme=light] .latest-delta.delta-up{color:#ab4279}.guide summary>span:not(.ui-icon){color:var(--violet);font-weight:600}.client-session-panel .session-actions .attendance-link{background:transparent!important;border-color:transparent;box-shadow:none;color:var(--muted);font-weight:400}.recommendations-text{white-space:pre-wrap;color:var(--ink)}.recommendations-panel{border-color:#a88ada55}.offline-period{padding:14px 18px}.offline-period h2{font-size:17px}
@media(max-width:700px){.profile-cover{height:auto;min-height:0;padding-bottom:12px}.cover-photo{position:relative;inset:auto;display:block;width:100%;height:clamp(125px,38vw,180px);object-fit:contain;object-position:center;z-index:-2}.cover-top{position:absolute;inset:0 0 auto;padding:7px 9px}.cover-logo img{width:75px;height:30px}.profile-cover #role{font-size:10px;padding:6px;min-height:30px}.profile-cover #theme{width:30px;height:30px;font-size:18px}.cover-caption{position:static;margin:5px 14px 0;font-size:11px;line-height:1.35}.cover-caption strong{display:inline;font-size:15px;margin-left:4px}.cover-motto{position:static;margin:5px 14px 0;padding:0 0 0 9px;font-size:11px;background:none;line-height:1.4;max-width:none}.cover-motto br{display:none}.mobile-mentor{gap:9px}.mobile-mentor .mentor-avatar{width:38px;height:38px}.mobile-mentor>div{font-size:12px}.mobile-mentor small{font-size:11px}.mobile-mentor .mentor-belief{font-size:12px;padding-left:9px}.profile-cover:after{background:linear-gradient(180deg,#0e0a2320,transparent 50%,#0e0a2355)}}
/* Full-width mobile hero and separated mentor footer */
@media(max-width:700px){main{padding-left:20px;padding-right:20px;padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}.profile-cover{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px;height:clamp(270px,65vw,350px);padding:0;border-radius:0 0 22px 22px}.cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}.cover-top{padding:14px 18px}.cover-logo img{width:96px;height:38px}.cover-caption{position:absolute;left:20px;right:20px;bottom:79px;margin:0;font-size:12px}.cover-caption strong{display:block;margin:3px 0 0;font-size:22px}.cover-motto{position:absolute;left:20px;right:20px;bottom:20px;margin:0;padding:8px 12px;font-size:14px;line-height:1.4;background:#15102280;border-left:3px solid #b5a3ff;max-width:none}.profile-cover:after{background:linear-gradient(180deg,#100d2340,transparent 35%,#100d23c9 100%)}body.client-view aside .aside-bottom{display:none!important}.mobile-mentor{position:relative;margin-top:30px;margin-bottom:20px;padding:18px 0 0;z-index:0}.mobile-mentor .mentor-belief{line-height:1.5}}
/* Small signature directly beneath the logo */
.cover-brand{display:flex;flex-direction:column;align-items:flex-start;max-width:170px;flex-shrink:0}.profile-cover .cover-caption{position:static;inset:auto;margin:3px 0 0;padding:0 6px;font-size:10px;line-height:1.4;text-shadow:0 1px 5px #0009}.profile-cover .cover-caption strong{display:block;margin:0;font-size:11px;line-height:1.4;letter-spacing:0;font-weight:500}.cover-top{align-items:flex-start}@media(max-width:700px){.cover-brand{max-width:135px}.profile-cover .cover-caption{padding:0;font-size:9px;margin-top:4px}.profile-cover .cover-caption strong{font-size:10px}}
/* Subtle planned online calls, balanced with offline appointments */
.calendar-block.status-planned.format-online,.event.status-planned.format-online{background:#44333f!important;color:#e7cbd3!important;--format-color:#b98490}[data-theme=light] .calendar-block.status-planned.format-online,[data-theme=light] .event.status-planned.format-online{background:#f1e5e9!important;color:#775965!important;--format-color:#bd8f9a}
/* Stable native date/time fields on mobile Safari */
#fields .timing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;width:100%;min-width:0}#fields .timing-grid>label{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;min-width:0;margin:14px 0 6px;font-size:12px;line-height:1.3}#fields .timing-grid input{display:block;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:48px;min-height:48px;margin:0;padding:8px 5px;font-size:14px;line-height:normal;border-radius:10px}#fields .timing-grid input::-webkit-date-and-time-value{text-align:left;min-width:0;margin:0}#fields .timing-grid input::-webkit-datetime-edit{padding:0;min-width:0}#fields .timing-grid input::-webkit-calendar-picker-indicator{margin:0;padding:0;flex-shrink:0}#fields .timing-grid>label{min-height:72px}@media(max-width:400px){#fields .timing-grid{gap:6px}#fields .timing-grid input{font-size:12px;padding:8px 3px}#fields .timing-grid>label{font-size:11px}}
/* Desktop progress: summary column and three matching charts */
.progress-layout{display:grid;grid-template-columns:minmax(250px, .75fr) minmax(0,1.7fr);gap:22px;align-items:start}.progress-summary{min-width:0}.progress-summary .total-changes{margin:0;padding:20px}.progress-summary .total-changes summary{display:flex;flex-wrap:wrap;gap:10px}.progress-summary .total-changes summary>span:first-child{min-width:0;width:100%;font-size:17px}.progress-summary .totals-grid{grid-template-columns:1fr;gap:10px}.progress-summary .total-toggle{width:100%;padding-left:0}.progress-chart-stack{display:grid;gap:22px;min-width:0}.progress-chart-stack>.equal-chart-panel{margin:0;min-width:0;padding:22px}.equal-chart-panel .section-head{height:48px;margin-bottom:10px}.equal-chart-panel .section-head h2{font-size:18px}.equal-chart-panel .change-pair{min-height:42px;margin:0 0 8px;display:flex;flex-wrap:wrap;align-content:center;gap:5px 15px;font-size:13px}.equal-chart-panel .dated-chart .chart{height:230px;width:100%}.equal-chart-panel .point-readout{min-height:26px}.equal-chart-panel .chart-tip{min-height:20px}@media(max-width:900px){.progress-layout{grid-template-columns:1fr}.progress-summary .totals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.progress-chart-stack>.equal-chart-panel{padding:18px}.equal-chart-panel .section-head h2{font-size:16px}.equal-chart-panel .dated-chart .chart{height:210px}.equal-chart-panel .metric-select{width:110px}.progress-summary .total-changes summary>span:first-child{font-size:16px}}
/* Align profile labels and values on shared rows */
.client-profile-title{align-items:start}.client-profile-title>div:not(.profile-goal)>small,.client-profile-title .profile-goal>small{font-size:12px;line-height:18px;margin:0 0 4px}.client-profile-title h1{margin:0;line-height:1.2}.client-profile-title .profile-goal{align-self:start}.client-profile-title .profile-goal>strong{line-height:1.2;padding-top:0;min-height:1.2em}.client-profile-title .profile-avatar-button{align-self:center}.client-profile-title .profile-goal>strong{font-size:clamp(14px,1.6vw,20px)}
.client-profile-title{grid-template-rows:auto auto;row-gap:4px}.client-profile-title>.profile-avatar-button{grid-column:1;grid-row:1 / 3}.client-profile-title>div{display:contents}.client-profile-title>div:not(.profile-goal)>small{grid-column:2;grid-row:1;margin:0}.client-profile-title h1{grid-column:2;grid-row:2;align-self:baseline}.client-profile-title .profile-goal>small{grid-column:3;grid-row:1;text-align:right;margin:0}.client-profile-title .profile-goal>strong{grid-column:3;grid-row:2;align-self:baseline;text-align:right;max-width:180px}
.recommendations-text.recommendations-empty{color:var(--muted);font-size:14px}
/* Balanced two-by-two desktop progress grid */
.desktop-totals{display:none}@media(min-width:901px){.progress-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:22px}.progress-chart-stack{display:contents}.progress-summary{display:contents}.progress-summary>details{display:none}.progress-summary>.desktop-totals{display:block;padding:22px;margin:0}.progress-chart-stack>.equal-chart-panel{margin:0}.desktop-totals .totals-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;margin-bottom:10px}.desktop-totals .totals-heading>span:first-child{font-size:17px;font-weight:700;line-height:1.3}.desktop-totals .totals-heading>strong{font-size:22px;color:var(--violet);white-space:nowrap}.desktop-totals .total-toggle{display:none}.desktop-totals .totals-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.desktop-totals .total-metric{padding:10px 12px}.desktop-totals .total-metric>span{font-size:13px;line-height:1.4}.desktop-totals .total-metric>strong{font-size:19px;margin-top:4px}.desktop-totals .total-explanation{font-size:12px;line-height:1.4;margin-top:12px}.desktop-totals>.sub{font-size:12px}.equal-chart-panel .section-head{height:auto;min-height:48px}.equal-chart-panel .section-head h2{font-size:17px}.equal-chart-panel .metric-select{width:110px;flex-shrink:0}}
/* Let plots use the full card width instead of a fixed-height viewport */
@media(min-width:901px){.progress-chart-stack>.equal-chart-panel{padding:18px;display:flex;flex-direction:column}.equal-chart-panel .section-head{margin-bottom:4px;min-height:40px}.equal-chart-panel .change-pair{min-height:28px;margin-bottom:2px}.equal-chart-panel .dated-chart{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0}.equal-chart-panel .dated-chart .chart{display:block;width:100%;height:auto;aspect-ratio:500/230;min-height:0;padding:0;margin:0}.equal-chart-panel .point-readout{margin-top:0}.equal-chart-panel .chart-tip{margin-top:3px}.progress-summary>.desktop-totals{padding:18px}.desktop-totals .total-metric{padding:8px 10px}.desktop-totals .totals-heading{min-height:40px;margin-bottom:4px}}
/* Larger plot areas and readable measurement tiles */
@media(min-width:901px){.equal-chart-panel .dated-chart{justify-content:flex-start}.equal-chart-panel .dated-chart .chart{height:340px;min-height:340px;aspect-ratio:auto}.progress-summary>.desktop-totals{display:flex;flex-direction:column}.desktop-totals .totals-grid{flex:1;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.desktop-totals .total-metric{padding:16px;display:flex;flex-direction:column;justify-content:center;gap:8px}.desktop-totals .total-metric>span{font-size:16px;line-height:1.45}.desktop-totals .total-metric>strong{font-size:26px;line-height:1.2;margin:0}.desktop-totals .total-metric>span b{font-size:17px}.desktop-totals>.sub{font-size:14px}}
@media(min-width:901px){.stats:has(>.current-weight-stat)>.stat:nth-child(1){order:1}.stats:has(>.current-weight-stat)>.stat:nth-child(3){order:2}.stats:has(>.current-weight-stat)>.stat:nth-child(2){order:3}.stats:has(>.current-weight-stat)>.stat:nth-child(4){order:4}}
.supplement-card h3{color:var(--mint)}
/* Plot coordinates now match the rendered viewport: keep text and dots undistorted. */
.dated-chart .responsive-chart text{font:12px Manrope,system-ui,sans-serif!important}.dated-chart .responsive-chart{padding:0!important;overflow:visible}.library-row{display:flex;align-items:center;gap:8px}.library-row[hidden]{display:none}.library-row .library-item{flex:1;min-width:0}.supplement-actions{display:flex;gap:7px;flex-wrap:wrap}.supplement-actions button{font-size:13px;padding:8px}.supplement-card .section-head{flex-wrap:wrap}

/* Equal photo-guide frames, preserving full-body examples. */
.photo-guide-examples{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.photo-guide-examples figure{min-width:0}
.photo-guide-examples .photo-guide-example{width:100%;max-width:none;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;background:#fff}
@media(max-width:700px){.photo-guide-examples{grid-template-columns:1fr}}
.cover-caption,.cover-motto,.mentor-belief,#copy-preview p{white-space:pre-line}
.copy-field textarea{min-height:100px;width:100%}.copy-field[hidden]{display:none}
#copy-preview{padding:18px;margin-top:14px;border:1px solid var(--line);border-radius:12px}
.content-editor-button{font-size:13px}

/* Legal links remain in document flow, clear of mobile navigation. */
.legal-footer{display:flex;flex-wrap:wrap;gap:10px 20px;margin:24px 0;font-size:13px}.legal-footer a,.cookie-notice a{color:var(--accent,#b6a1ff)}.cookie-notice{display:flex;align-items:center;gap:16px;padding:14px 18px;border:1px solid #8275b655;border-radius:16px;margin:16px 0;font-size:13px}.cookie-notice[hidden]{display:none}.cookie-notice p{margin:0;flex:1}.cookie-notice button{flex-shrink:0}.legal-draft{padding:14px;border-radius:12px;background:#aa763522}.auth:has(.legal-draft){width:min(800px,calc(100% - 32px))}.auth h2{font-size:19px;margin-top:24px}.auth p{line-height:1.6}

.photo-download { display:inline-flex; align-items:center; justify-content:center; margin:8px 0 2px; padding:7px 12px; text-decoration:none; font-size:13px; }

/* Explicit foreground for solid violet selections in either theme. */
.view-switch button[aria-pressed=true],.day-picker button[aria-pressed=true],
[data-theme=light] .view-switch button[aria-pressed=true],
[data-theme=light] .day-picker button[aria-pressed=true]{background:#6650ba;color:#fff}
.compact-nutrition .section-head{flex-wrap:wrap;align-items:center}
.compact-nutrition .section-head h2{flex:1 1 220px;min-width:0}
.compact-nutrition .section-head button{flex:0 0 auto}
.calculator-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;margin-top:12px;padding:9px 13px;border:1px solid var(--line);line-height:1.4;white-space:normal;text-align:center}
.calculator-modal{width:min(680px,92vw)}
.calculator-modal .modal-head h2{min-width:0;line-height:1.35}
.calculator-modal .modal-head button{flex-shrink:0}
.calculator-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:18px 0}
.calculator-fields label{min-width:0;margin:0;display:flex;flex-direction:column;justify-content:flex-end;gap:6px}
.calculator-fields input,.calculator-fields select{min-width:0;width:100%}
.calculator-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px}
.calculator-actions button{min-width:130px;margin:0}
.calculator-modal #form>.primary{display:none}
@media(max-width:520px){.calculator-fields{grid-template-columns:1fr}.calculator-actions button{flex:1 1 120px}}

/* Keep the cover flush with the top edge in either theme and at every breakpoint. */
main:has(> .profile-cover){padding-top:0}
main > .profile-cover{border-top-left-radius:0;border-top-right-radius:0}
.client-search-label{margin:0 0 6px;color:var(--muted)}
.client-search{display:block;width:100%;margin:0 0 20px;min-width:0}

/* Overview appointments share the daily calendar palette. */
.overview-event{flex-direction:row;align-items:center;gap:12px;border-left:4px solid var(--format-color);padding:14px 12px}
.overview-event .time{flex:0 0 78px;min-width:78px;padding:10px 6px;border-radius:8px;background:#ffffff18;color:inherit;font-size:23px;font-weight:800;text-align:center;line-height:1.2;letter-spacing:-.5px}
.overview-event .grow{min-width:0}.overview-event h3{overflow-wrap:anywhere}.overview-event small{color:inherit;opacity:.85}
[data-theme=light] .overview-event .time{background:#ffffff99}
@media(max-width:480px){.overview-event{flex-wrap:wrap}.overview-event .grow{flex:1}.overview-event .status-pill{margin-left:90px;max-width:calc(100% - 90px)}}

/* Original high-resolution logo; dark rendition uses the same sharp alpha mask. */
.brand-logo .logo-light{filter:brightness(0);width:131px;height:60px}
.cover-logo img,.brand-logo img{object-fit:contain}
