:root{--bg:#121016;--panel:#1C1920;--panel2:#242029;--panel3:#2C2632;--border:#37303E;--text:#F6F4F0;--muted:#ABA2B2;--soft:#958A9E;--lilac:#CEBCE9;--purple:#76568C;--green:#B8D1BB;--orange:#DEBE94;--red:#EDAFAE;--radius:20px;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button{color:inherit}a{color:var(--lilac);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lilac);outline-offset:4px}button:focus:not(:focus-visible){outline:none}button svg{flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:34px;font-weight:540;line-height:1.18;letter-spacing:-1.1px}h2{font-size:20px;line-height:1.3;letter-spacing:-.4px;font-weight:560}h3{font-size:15px;line-height:1.4;font-weight:600}small{font-size:12px}.muted{color:var(--muted)}.soft{color:var(--soft)}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;text-transform:uppercase;color:var(--muted)}.skip-link{position:fixed;left:12px;top:-80px;background:var(--lilac);color:var(--bg);padding:10px;z-index:100}.skip-link:focus{top:12px}.loading{height:100vh;display:grid;place-content:center;justify-items:center;gap:20px;color:var(--muted)}.brand-mark{width:48px;height:48px;border-radius:50%;background:var(--lilac);color:var(--bg);font:24px Georgia,serif;display:inline-flex;align-items:center;justify-content:center;letter-spacing:-3px;padding-right:3px;flex-shrink:0}
.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#17141B;border-right:1px solid var(--border);padding:31px 18px 20px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 7px 32px}.brand-name{font-size:12px;font-weight:560;line-height:1.35;letter-spacing:.1px}.brand-name small{display:block;color:var(--soft);font-size:9px;text-transform:uppercase;letter-spacing:1.6px;margin-top:6px}.nav-group{margin:15px 0 8px 14px;font-size:9px;letter-spacing:1.8px;color:var(--soft);font-weight:600}.nav-item{display:flex;width:100%;gap:12px;align-items:center;border:0;border-radius:11px;padding:12px 14px;background:transparent;text-align:left;color:var(--muted);margin:3px 0;font-size:13px;transition:.15s}.nav-item:hover{background:var(--panel2);color:var(--text)}.nav-item.active{color:var(--lilac);background:#332B3E}.nav-item.active::after{content:"";width:5px;height:5px;margin-left:auto;border-radius:50%;background:var(--lilac)}.nav-item .count{font-size:10px;border:1px solid var(--border);padding:1px 5px;border-radius:5px;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:28px}.coach-profile{border-top:1px solid var(--border);margin:18px 8px 0;padding:20px 0 0;display:flex;gap:10px;align-items:center}.coach-profile .avatar{width:33px;height:33px;font-size:11px;background:#54415F}.coach-profile strong{font-size:12px;font-weight:500}.coach-profile p{font-size:10px;color:var(--soft)}.sidebar-note{margin:0 12px 20px;color:var(--soft);font-size:10px;line-height:1.7}.workspace{margin-left:230px;min-height:100vh}.topbar{height:82px;border-bottom:1px solid var(--border);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{font-size:11px;color:var(--soft);display:flex;gap:14px;align-items:center}.breadcrumb span:last-child{color:var(--muted)}.top-actions{display:flex;gap:14px;align-items:center}.top-actions .date{font-size:11px;color:var(--muted);margin-right:6px}.icon-button{border:1px solid var(--border);background:transparent;width:35px;height:35px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;position:relative}.icon-button:hover{background:var(--panel2);border-color:var(--soft)}.icon-button .dot{position:absolute;width:5px;height:5px;border-radius:50%;background:var(--lilac);right:7px;top:6px}.connection{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);background:var(--panel);padding:7px 11px;border-radius:30px;white-space:nowrap}.connection i{width:5px;height:5px;border-radius:50%;background:var(--orange)}.connection.cloud i{background:var(--green)}.mobile-toggle{display:none}.demo-strip{margin:0 38px;padding:9px 0 7px;border-bottom:1px solid #29232E;font-size:10px;letter-spacing:.1px;color:var(--soft);display:flex;justify-content:space-between;gap:10px}.demo-strip button{background:none;border:0;padding:0;color:var(--muted);font-size:10px}.demo-strip button:hover{color:var(--lilac)}main{padding:31px 38px 42px;max-width:1760px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.page-head .eyebrow{margin-bottom:10px}.page-head p{margin-top:9px;font-size:12px;color:var(--muted)}.head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--lilac);color:#241B2E;border:1px solid transparent;padding:10px 15px;min-height:39px;border-radius:9px;font-size:12px;font-weight:600;line-height:1.4}.button:hover{background:#DECEF2}.button.secondary{background:transparent;border:1px solid var(--border);color:var(--text);font-weight:500}.button.secondary:hover{background:var(--panel2);border-color:var(--soft)}.button.ghost{background:transparent;color:var(--lilac);font-weight:500;padding:6px 0;min-height:28px}.button.ghost:hover{color:#E4D6F5}.button.small{font-size:11px;padding:7px 11px;min-height:32px}.button.danger{background:#3C282F;border-color:#6B424D;color:var(--red)}.button.full{width:100%}.back-button{display:inline-flex;gap:6px;align-items:center;background:transparent;border:0;color:var(--muted);font-size:11px;padding:0;margin-bottom:18px}.back-button:hover{color:var(--lilac)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat{border:1px solid var(--border);background:var(--panel);padding:20px 21px 17px;border-radius:15px;min-height:120px;position:relative}.stat-head{display:flex;align-items:center;justify-content:space-between;gap:5px;color:var(--muted);font-size:11px}.stat-icon{color:var(--soft)}.stat-value{font-size:31px;font-weight:500;letter-spacing:-.8px;line-height:1.4;margin-top:10px}.stat-bottom{font-size:10px;color:var(--soft);display:flex;align-items:center;gap:6px;margin-top:4px}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:3px 7px;font-size:10px;white-space:nowrap;background:#312939;color:var(--lilac);font-weight:500}.pill.green{color:var(--green);background:#27332B}.pill.orange{color:var(--orange);background:#383027}.pill.gray{color:var(--muted);background:var(--panel3)}.pill.red{color:var(--red);background:#3B292E}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,1fr);gap:22px}.stack{display:flex;flex-direction:column;gap:22px;min-width:0}.card{border:1px solid var(--border);background:var(--panel);border-radius:var(--radius);padding:23px;min-width:0}.card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:21px}.card-head h2{font-size:17px}.card-head p{font-size:11px;color:var(--muted);margin-top:4px}.card-head .button{flex-shrink:0}.welcome-card{position:relative;overflow:hidden;background:var(--lilac);border:0;color:#241C2E;min-height:211px;padding:28px 30px}.welcome-card .eyebrow{color:#685173;font-size:9px;letter-spacing:1.4px}.welcome-card h2{font-size:30px;line-height:1.15;font-weight:500;max-width:300px;margin:15px 0 10px;letter-spacing:-.9px}.welcome-card p{color:#685173;font-size:11px;max-width:265px;line-height:1.7}.welcome-card .button{position:relative;background:#281E32;color:#F1EAF8;font-size:10px;padding:8px 11px;min-height:31px;margin-top:18px}.welcome-art{width:205px;height:205px;position:absolute;right:-15px;top:12px;opacity:.65;pointer-events:none}.welcome-art::before,.welcome-art::after{position:absolute;content:"";width:125px;height:185px;border:1px solid #8D6FA5;border-radius:50%;transform:rotate(35deg);right:30px;top:0}.welcome-art::after{transform:rotate(-35deg)}.welcome-art .orb{width:94px;height:94px;background:radial-gradient(circle at 28% 20%,#EAE1F5,#9D79B5 75%);border-radius:50%;position:absolute;top:46px;left:43px;box-shadow:16px 28px 38px #84629F33}.welcome-art .line{position:absolute;left:0;top:99px;width:225px;height:1px;background:#8D6FA5;transform:rotate(-20deg)}.chart-labels{display:flex;justify-content:space-between;color:var(--soft);font-size:9px;margin-bottom:16px}.bar-chart{display:flex;gap:16px;height:142px;border-bottom:1px solid var(--border);align-items:flex-end;background:repeating-linear-gradient(to top,transparent 0,transparent 46px,#2C2530 47px,#2C2530 48px)}.bar-cell{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;position:relative}.bar{width:55%;max-width:38px;background:#4C3E5B;border-radius:6px 6px 0 0;min-height:3px;position:relative}.bar.current{background:var(--lilac)}.bar-number{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-size:10px;color:var(--muted)}.bar-days{display:flex;gap:16px;justify-content:space-around;margin-top:10px;font-size:9px;color:var(--soft)}.bar-days span{flex:1;text-align:center}.chart-footer{display:flex;gap:7px;align-items:center;margin-top:20px;color:var(--muted);font-size:10px}.chart-footer i{width:6px;height:6px;border-radius:50%;background:var(--lilac)}.day-label{font-size:10px;font-weight:600;color:var(--soft);margin:22px 0 12px;text-transform:uppercase;letter-spacing:1px}.agenda-item{display:flex;gap:13px;margin:0 0 20px;align-items:flex-start}.agenda-time{font-size:12px;min-width:42px;padding-top:2px;line-height:1.35;color:var(--text)}.agenda-time small{display:block;color:var(--soft);font-size:9px;margin-top:4px}.agenda-body{border-left:2px solid #716080;padding-left:13px;flex:1;min-width:0}.agenda-body h3{font-size:12px;font-weight:500}.agenda-body p{font-size:10px;color:var(--muted);margin-top:5px}.agenda-body .pill{margin-top:8px}.agenda-item:last-child{margin-bottom:0}.attention-item{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #2E2734}.attention-item:last-child{border-bottom:0;padding-bottom:0}.attention-item:first-of-type{padding-top:0}.avatar{border:0;width:37px;height:37px;background:#42334F;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;font-size:11px;font-weight:500;color:var(--lilac);flex-shrink:0}.avatar.tone-1{color:#D6C6AB;background:#40382D}.avatar.tone-2{color:#BCD4C8;background:#293C36}.avatar.tone-3{color:#D5BBCB;background:#47303D}.avatar.large{width:68px;height:68px;font-size:21px}.attention-text{flex:1;min-width:0}.attention-text strong{font-size:12px;font-weight:500;display:block}.attention-text p{font-size:10px;color:var(--muted);margin-top:3px}.task-check{width:19px;height:19px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #54485E;background:none;color:var(--lilac);flex-shrink:0}.task-check:hover{border-color:var(--lilac)}.task-check.done{background:#3B3145;border-color:#665175}.task-done{text-decoration:line-through;color:var(--soft)}.row-link{display:flex;align-items:center;width:100%;border:0;background:none;text-align:left;padding:0;gap:10px}.row-link:hover strong{color:var(--lilac)}.mini-note{font-size:10px;color:var(--soft);line-height:1.6;margin-top:15px}.empty{text-align:center;color:var(--muted);padding:35px 20px;font-size:12px}.empty p{max-width:360px;margin:9px auto 18px;font-size:11px;color:var(--soft);line-height:1.7}.empty-icon{color:var(--soft);margin-bottom:10px}.empty-icon svg{width:29px;height:29px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--border);background:var(--panel);border-radius:10px;padding:10px 13px;max-width:350px;width:100%;color:var(--soft)}.search-field input{width:100%;min-width:0;background:none;color:var(--text);border:0;outline:none!important;font-size:12px;padding:0}.search-field:focus-within{border-color:var(--lilac)}.filters{display:flex;gap:4px;border:1px solid var(--border);padding:4px;border-radius:11px;background:var(--panel)}.filter-button{border:0;background:none;font-size:11px;padding:6px 10px;color:var(--muted);border-radius:7px;white-space:nowrap}.filter-button.active{background:#3B3047;color:var(--lilac)}.table-card{padding:0;overflow:hidden}.client-grid{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(120px,1fr) 100px 105px 102px 24px;gap:15px;align-items:center;padding:17px 23px}.table-header{color:var(--soft);font-size:10px;background:#211C26;padding-top:13px;padding-bottom:13px}.client-row{border-top:1px solid #302935;font-size:11px;cursor:pointer}.client-row:hover{background:#251F2B}.client-person{display:flex;gap:11px;align-items:center;min-width:0}.client-person strong{display:block;font-size:12px;font-weight:500}.client-person small{display:block;font-size:10px;color:var(--soft);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.cell-goal{font-size:11px;color:var(--muted);line-height:1.5}.progress-track{height:4px;width:76px;background:var(--panel3);border-radius:4px;margin-top:6px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--lilac);border-radius:4px}.table-foot{border-top:1px solid var(--border);padding:13px 23px;display:flex;justify-content:space-between;font-size:10px;color:var(--soft)}.profile-head{display:flex;align-items:center;gap:18px}.profile-head h1{font-size:29px}.profile-meta{display:flex;gap:12px;align-items:center;margin-top:10px;color:var(--muted);font-size:11px;flex-wrap:wrap}.tabs{display:flex;gap:23px;border-bottom:1px solid var(--border);overflow-x:auto;margin:28px 0 25px}.tab{background:transparent;border:0;border-bottom:2px solid transparent;padding:0 1px 13px;color:var(--muted);font-size:12px;white-space:nowrap}.tab.active{color:var(--lilac);border-color:var(--lilac)}.detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px}.keyvals{display:grid;grid-template-columns:1fr 1fr;gap:20px}.keyval span{font-size:10px;color:var(--soft);display:block;margin-bottom:5px}.keyval strong{font-size:12px;font-weight:500;line-height:1.6}.note{font-size:12px;color:var(--muted);line-height:1.8;white-space:pre-wrap}.divider{border:0;border-top:1px solid var(--border);margin:22px 0}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.metric-tile{background:#242029;border-radius:12px;padding:17px}.metric-tile span{font-size:10px;color:var(--soft);display:block}.metric-tile strong{font-size:24px;font-weight:500;display:block;margin:6px 0 1px}.metric-tile small{font-size:10px;color:var(--muted)}.plan-card{margin-bottom:19px}.plan-card .card-head{margin-bottom:18px}.plan-card h2{font-size:19px}.plan-day{margin-top:18px;border-top:1px solid var(--border);padding-top:17px}.plan-day h3{font-size:12px;color:var(--lilac);margin-bottom:12px}.exercise-row{display:flex;align-items:center;gap:13px;padding:11px 0;border-bottom:1px solid #2B2531}.exercise-row:last-child{border-bottom:0}.exercise-number{width:26px;height:26px;border-radius:8px;border:1px solid var(--border);color:var(--soft);display:flex;justify-content:center;align-items:center;font-size:9px;flex-shrink:0}.exercise-name{flex:1;min-width:0;font-size:12px}.exercise-name small{display:block;color:var(--soft);font-size:10px;margin-top:3px}.exercise-values{font-size:11px;color:var(--muted);white-space:nowrap}.exercise-values strong{font-weight:500;color:var(--text)}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.program-summary{border-top:1px solid var(--border);padding-top:17px;margin-top:20px;display:flex;gap:18px;color:var(--muted);font-size:11px}.program-summary span{display:flex;align-items:center;gap:6px}.log-item{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--border)}.log-item:last-child{border:0;padding-bottom:0}.log-date{font-size:21px;min-width:38px;color:var(--lilac);line-height:1.1;text-align:center}.log-date span{display:block;font-size:9px;color:var(--soft);margin-top:5px}.log-item h3{font-size:12px}.log-item p{font-size:11px;color:var(--muted);margin-top:6px}.rating{color:var(--orange);font-size:12px;letter-spacing:2px;margin-top:6px}.measure-table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}.measure-table th{text-align:left;font-size:9px;color:var(--soft);font-weight:500;border-bottom:1px solid var(--border);padding:10px}.measure-table td{padding:14px 10px;border-bottom:1px solid #302935}.measure-table tr:last-child td{border-bottom:0}.overflow{overflow-x:auto}.line-chart{height:170px;margin:20px 0 0}.line-chart svg{width:100%;height:100%;overflow:visible}.macro-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.macro{border:1px solid var(--border);border-radius:12px;padding:16px 12px;text-align:center}.macro strong{display:block;font-size:23px;font-weight:500;color:var(--lilac)}.macro span{font-size:10px;color:var(--muted)}.text-lines{white-space:pre-wrap;font-size:12px;line-height:1.9;color:var(--muted)}
.message-layout{display:grid;grid-template-columns:280px minmax(0,1fr);border:1px solid var(--border);background:var(--panel);border-radius:18px;overflow:hidden;min-height:540px;max-height:calc(100vh - 210px)}.thread-list{border-right:1px solid var(--border);overflow-y:auto;max-height:700px}.thread-search{padding:18px;border-bottom:1px solid var(--border);font-size:12px;color:var(--muted)}.thread{width:100%;display:flex;gap:11px;align-items:center;padding:18px;border:0;border-bottom:1px solid #302935;background:transparent;text-align:left}.thread.active{background:#332B3E}.thread:hover{background:#2A2331}.thread .thread-body{flex:1;min-width:0}.thread strong{font-size:12px;font-weight:500;display:block}.thread p{font-size:10px;color:var(--soft);margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation{display:flex;flex-direction:column;min-width:0;min-height:460px}.conversation-head{padding:18px 23px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:11px}.conversation-head strong{font-size:13px}.conversation-head p{color:var(--soft);font-size:10px}.bubbles{padding:23px;overflow-y:auto;flex:1;max-height:520px;min-height:270px;display:flex;flex-direction:column;gap:15px}.bubble{padding:12px 15px;max-width:83%;width:fit-content;border-radius:13px;background:#2B2432;align-self:flex-start}.bubble.coach{background:#493A57;align-self:flex-end;border-bottom-right-radius:3px}.bubble.client{border-bottom-left-radius:3px}.bubble p{font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.bubble time{display:block;text-align:right;color:#AC9EB9;font-size:9px;margin-top:5px}.compose{padding:15px 20px;border-top:1px solid var(--border);display:flex;gap:10px;align-items:flex-end}.compose textarea{resize:none;height:44px;max-height:120px;min-height:44px;flex:1;width:0;background:var(--panel2);border:1px solid var(--border);color:var(--text);padding:11px 13px;border-radius:10px;font-size:12px;line-height:1.6}.compose button{height:44px;min-width:44px}.client-chat{border:1px solid var(--border);border-radius:17px;background:var(--panel);overflow:hidden}.calendar-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:20px}.calendar-toolbar h2{margin-right:auto;font-size:21px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--border);border-radius:17px;overflow:hidden}.calendar-day-title{text-align:center;color:var(--soft);font-size:10px;padding:13px;background:var(--panel)}.calendar-cell{min-height:128px;padding:10px;border-top:1px solid var(--border);border-right:1px solid var(--border);background:#18151D;display:flex;flex-direction:column;gap:7px}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell.out{opacity:.42}.calendar-cell.today{background:#292230}.day-num{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;background:transparent;border:0;color:var(--muted)}.day-num:hover{background:var(--panel3)}.today .day-num{background:var(--lilac);color:var(--bg)}.calendar-event{border:0;border-left:2px solid var(--lilac);border-radius:4px;background:#352B3F;color:var(--lilac);padding:6px;text-align:left;font-size:9px;line-height:1.5;overflow:hidden;width:100%}.calendar-event span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-event:hover{background:#4A3A58}.calendar-agenda{display:none}.session-card{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px}.session-card + .session-card{margin-top:12px}.session-card h3{font-size:14px}.session-card p{font-size:11px;color:var(--muted);margin-top:5px}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.news-card time{font-size:10px;color:var(--soft)}.news-card h2{font-size:21px;line-height:1.35;margin:17px 0 12px}.news-card p{font-size:12px;line-height:1.8;color:var(--muted);white-space:pre-wrap}.news-card .button{margin-top:20px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.library-card{padding:21px}.library-icon{display:flex;align-items:center;justify-content:center;height:74px;background:linear-gradient(135deg,#3C3048,#29222F);border-radius:11px;color:#A58AB7;margin-bottom:18px}.library-icon svg{width:31px;height:31px}.library-card h3{font-size:13px}.library-card p{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.7}.library-card .pill{margin-top:13px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:23px}.settings-grid .card h2{font-size:19px;margin-bottom:12px}.settings-grid .card p{color:var(--muted);font-size:12px;line-height:1.8}.settings-form{margin-top:22px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;min-width:0}.form-field label,.field-label{font-size:11px;color:var(--muted);font-weight:500}.form-field input,.form-field select,.form-field textarea,.editor-input{background:#17131C;color:var(--text);border:1px solid var(--border);border-radius:9px;padding:10px 12px;width:100%;min-width:0;font-size:12px;line-height:1.5}.form-field textarea{min-height:90px;resize:vertical}.form-field input::placeholder,.form-field textarea::placeholder{color:#6E6478}.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.editor-input:focus{border-color:var(--lilac);outline:none}.form-field small{font-size:10px;color:var(--soft);line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .wide{grid-column:1/-1}.notice{padding:13px 15px;background:#2C2534;border:1px solid #493B56;border-radius:10px;color:#CABAD7;font-size:11px;line-height:1.8;margin:15px 0}.notice.error{border-color:#69404C;background:#342129;color:#F3B7BF}.notice.success{border-color:#405A47;background:#223028;color:#C4D7C9}.mode-options{display:flex;flex-direction:column;gap:10px;margin:20px 0}.mode-option{display:flex;text-align:left;align-items:center;gap:11px;background:#211B28;border:1px solid var(--border);border-radius:10px;padding:13px}.mode-option.selected{border-color:#9B7EAF;background:#352A40}.mode-option span{flex:1}.mode-option strong{font-size:12px;font-weight:500;display:block}.mode-option small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.radio-dot{width:14px;height:14px;border:1px solid var(--soft);border-radius:50%}.selected .radio-dot{background:var(--lilac);box-shadow:inset 0 0 0 3px #352A40;border-color:var(--lilac)}.status-block{display:flex;gap:10px;align-items:flex-start;margin:17px 0;font-size:12px}.status-block p{font-size:11px!important}.status-block svg{flex-shrink:0;color:var(--lilac);margin-top:3px}.settings-list{padding:0;list-style:none;font-size:11px;color:var(--muted);line-height:1.9}.settings-list li{border-bottom:1px solid var(--border);padding:10px 0}.settings-list li:last-child{border-bottom:0}.inline-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.badge-number{border:1px solid var(--border);border-radius:7px;padding:2px 7px;font-size:10px;color:var(--muted);margin-left:7px}.error-screen{max-width:530px;margin:12vh auto;text-align:center;padding:25px}.error-screen h1{font-size:26px;margin:20px 0}.error-screen p{color:var(--muted);font-size:13px;line-height:1.8}.error-screen .inline-actions{justify-content:center}.error-screen .notice{text-align:left}
.modal-backdrop{position:fixed;inset:0;z-index:100;background:#09070BC9;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:#211B27;border:1px solid #4D4059;border-radius:20px;width:100%;max-width:610px;max-height:90vh;overflow:auto;box-shadow:0 35px 120px #0008;outline:none}.modal.wide{max-width:900px}.modal-header{padding:24px 25px 20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;top:0;background:#211B27;z-index:2}.modal-header h2{font-size:22px}.modal-header p{font-size:11px;color:var(--muted);margin-top:5px}.modal-content{padding:24px 25px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 25px;border-top:1px solid var(--border);background:#211B27;position:sticky;bottom:0;z-index:2}.modal-footer .button{min-width:100px}.form-error{margin-bottom:17px;display:none}.form-error.visible{display:block}.editor-day{border:1px solid #493D53;border-radius:13px;padding:16px;margin:16px 0;background:#251E2D}.editor-day-head{display:flex;gap:12px;align-items:center;margin-bottom:17px}.editor-day-head input{flex:1}.editor-row{display:grid;grid-template-columns:2.5fr .7fr 1fr .8fr .8fr 26px;gap:8px;align-items:end;margin-bottom:12px;border-bottom:1px solid var(--border);padding-bottom:13px}.editor-row .form-field{margin:0;gap:5px}.editor-row label{font-size:9px}.editor-row .editor-input{padding:8px;font-size:11px}.editor-row .full-row{grid-column:1/-1;display:flex;gap:8px}.editor-row .full-row input{font-size:10px}.editor-remove{padding:0;border:0;background:none;color:var(--soft);display:flex;align-items:center;justify-content:center;width:26px;height:34px}.editor-remove:hover{color:var(--red)}.toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translate(-50%,20px);max-width:calc(100% - 30px);background:#E3D7EF;color:#291D34;border:1px solid #F2E7FB;border-radius:12px;box-shadow:0 10px 35px #0005;z-index:150;padding:13px 20px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:#452C34;color:#F3C9D0;border-color:#815562}.scrim{display:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1550px){main{padding-top:39px}.stats{gap:20px}.dashboard-grid{grid-template-columns:1.7fr 1fr}.welcome-card{min-height:230px}.welcome-art{right:25px;width:240px}.welcome-card h2{font-size:35px;max-width:365px}.sidebar{width:250px}.workspace{margin-left:250px}}
@media(max-width:1200px){.sidebar{width:204px;padding-left:12px;padding-right:12px}.workspace{margin-left:204px}.topbar{padding:0 26px}.demo-strip{margin:0 26px}main{padding:27px 26px 38px}.dashboard-grid{gap:17px;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.card{padding:20px}.welcome-card{padding:25px}.welcome-art{right:-45px;opacity:.42}.welcome-card h2{max-width:240px;font-size:27px}.stats{gap:10px}.stat{padding:16px}.stat-value{font-size:28px}.client-grid{grid-template-columns:minmax(155px,1.3fr) minmax(100px,1fr) 85px 90px 20px;gap:10px;padding-left:18px;padding-right:18px}.client-grid .client-workouts{display:none}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-cell{min-height:110px;padding:7px}.calendar-event{font-size:8px}.message-layout{grid-template-columns:235px minmax(0,1fr)}.detail-grid{grid-template-columns:minmax(0,1.2fr) minmax(240px,1fr);gap:16px}.profile-head h1{font-size:25px}}
@media(max-width:980px){.sidebar{width:190px}.workspace{margin-left:190px}.topbar{padding:0 22px;height:73px}.demo-strip{margin:0 22px}main{padding:25px 22px 35px}.top-actions .date{display:none}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.stack:last-child{display:grid;grid-template-columns:1fr 1fr;align-items:start}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-height:110px}.stat-value{margin-top:7px}.welcome-card{min-height:210px}.welcome-card h2{max-width:320px;font-size:30px}.welcome-art{right:20px;opacity:.75}.detail-grid,.settings-grid{grid-template-columns:1fr}.plan-grid{grid-template-columns:1fr}.client-grid{grid-template-columns:minmax(160px,1.4fr) minmax(100px,1fr) 80px 20px}.client-grid .client-access{display:none}.message-layout{grid-template-columns:200px minmax(0,1fr)}.thread{padding:15px 12px;gap:8px}.thread .avatar{width:30px;height:30px;font-size:9px}.thread strong{font-size:11px}.bubbles{padding:18px}.calendar-grid{display:none}.calendar-agenda{display:block}.news-grid{grid-template-columns:1fr}.page-head h1{font-size:30px}.head-actions .button{padding:9px 11px;font-size:11px}.tabs{gap:21px}.macro-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:248px;transition:transform .2s;padding:26px 18px;z-index:60}.sidebar.open{transform:translateX(0)}.scrim.open{display:block;position:fixed;inset:0;background:#07050BB3;z-index:50;backdrop-filter:blur(3px)}.workspace{margin-left:0}.mobile-toggle{display:inline-flex;border:0;width:26px;height:30px}.topbar{height:66px;padding:0 18px}.breadcrumb{gap:10px;flex:1}.breadcrumb .workspace-label{display:none}.top-actions{gap:9px}.top-actions .search-top{display:none}.top-actions .connection{font-size:9px;padding:6px 8px}.demo-strip{margin:0 18px;font-size:9px;align-items:center;line-height:1.6}.demo-strip .long-demo{display:none}main{padding:24px 18px 35px}.page-head{gap:13px;align-items:flex-start;margin-bottom:23px}.page-head h1{font-size:28px;line-height:1.2;letter-spacing:-.8px}.page-head .eyebrow{font-size:9px;margin-bottom:9px}.page-head p{font-size:11px;line-height:1.7;margin-top:7px}.head-actions{gap:6px;justify-content:flex-end}.head-actions .button{padding:9px 10px;min-height:36px}.head-actions .button .desktop-text{display:none}.stats{gap:10px;margin-bottom:19px}.stat{padding:15px;min-height:115px;border-radius:13px}.stat-head{font-size:10px}.stat-value{font-size:27px;letter-spacing:-.6px;margin-top:7px}.stat-bottom{font-size:9px}.stat-icon svg{width:14px;height:14px}.dashboard-grid{gap:18px}.stack{gap:18px}.dashboard-grid>.stack:last-child{display:flex}.welcome-card{padding:23px;min-height:211px}.welcome-card h2{font-size:29px;max-width:235px}.welcome-card p{max-width:220px;font-size:10px}.welcome-art{right:-62px;top:20px;opacity:.45}.card{padding:20px}.card-head{margin-bottom:20px}.card-head h2{font-size:16px}.card-head p{font-size:10px}.card-head .button{font-size:10px}.bar-chart{height:135px;gap:9px}.bar-days{gap:9px}.bar{width:65%}.toolbar{flex-direction:column;align-items:stretch;gap:12px}.search-field{max-width:none}.filters{width:fit-content;max-width:100%;overflow-x:auto}.filter-button{font-size:10px;padding:6px 11px}.table-card{padding:0}.table-header{display:none}.client-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:17px}.client-row{position:relative}.client-row:first-of-type{border-top:0}.client-grid .cell-goal{grid-column:1/-1;margin-left:45px;margin-top:-7px;font-size:10px}.client-grid .client-status{grid-column:2;grid-row:1}.client-grid .row-arrow{display:none}.client-person{gap:10px}.client-person .avatar{width:35px;height:35px;font-size:10px}.client-person strong{font-size:12px}.client-person small{font-size:9px;max-width:190px}.client-grid .client-status .pill{font-size:9px}.table-foot{font-size:9px;padding:13px 17px}.table-foot span:last-child{display:none}.profile-head{gap:13px;align-items:flex-start}.profile-head h1{font-size:23px}.profile-head .avatar.large{width:51px;height:51px;font-size:17px}.profile-meta{gap:6px;font-size:10px;line-height:1.6;margin-top:8px}.profile-meta .email-meta{display:none}.client-detail-head{flex-direction:column;gap:17px}.client-detail-head .head-actions{width:100%;justify-content:flex-start}.tabs{margin-top:21px;gap:22px;margin-bottom:21px}.tab{font-size:11px;padding-bottom:11px}.keyvals{gap:17px}.keyval strong{font-size:11px}.metrics-row{gap:8px}.metric-tile{padding:13px 10px}.metric-tile strong{font-size:22px}.metric-tile span,.metric-tile small{font-size:9px}.macro-grid{grid-template-columns:repeat(2,1fr)}.macro{padding:14px}.exercise-row{gap:9px}.exercise-name{font-size:11px}.exercise-values{font-size:10px}.exercise-number{width:23px;height:23px}.exercise-name small{font-size:9px}.plan-grid{gap:15px}.program-summary{gap:14px;font-size:10px}.message-layout{display:flex;flex-direction:column;max-height:none;min-height:unset}.thread-list{display:flex;overflow-x:auto;border:0;border-bottom:1px solid var(--border);max-height:none;flex-shrink:0;padding:10px;gap:5px}.thread-search{display:none}.thread{min-width:155px;width:155px;flex-shrink:0;padding:10px;border:0;border-radius:9px;align-items:center}.thread strong{font-size:10px}.thread p{font-size:9px}.conversation{min-height:470px}.conversation-head{padding:16px}.conversation-head strong{font-size:12px}.bubbles{padding:16px;max-height:410px}.bubble{max-width:90%;padding:10px 12px}.bubble p{font-size:11px}.compose{padding:12px}.compose textarea{font-size:11px}.compose .button{padding:10px}.compose .send-label{display:none}.calendar-toolbar{flex-wrap:wrap;gap:8px}.calendar-toolbar h2{font-size:20px;width:calc(100% - 105px)}.calendar-toolbar .today-button{display:none}.calendar-agenda .session-card{padding:16px;align-items:flex-start;gap:12px}.session-card h3{font-size:12px}.session-card p{font-size:10px}.session-card .button{font-size:10px;padding:6px 9px}.library-grid{grid-template-columns:1fr 1fr;gap:11px}.library-card{padding:15px}.library-card h3{font-size:12px}.library-card p{font-size:10px}.library-icon{height:65px}.library-card .pill{font-size:9px}.news-card h2{font-size:20px}.news-card p{font-size:11px}.settings-grid{gap:18px}.modal-backdrop{padding:10px;align-items:center}.modal{max-height:94vh;border-radius:16px}.modal-header{padding:19px 18px 16px}.modal-header h2{font-size:20px}.modal-header p{font-size:10px}.modal-content{padding:20px 18px}.modal-footer{padding:15px 18px}.form-grid{gap:0 12px}.form-field{margin-bottom:14px}.form-field label{font-size:10px}.form-field input,.form-field select,.form-field textarea{font-size:16px;padding:10px}.form-field small{font-size:9px}.editor-day{padding:12px}.editor-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;position:relative}.editor-row>.form-field:first-child{grid-column:1/-1;padding-right:30px}.editor-row .editor-remove{position:absolute;top:18px;right:0}.editor-row .editor-input{font-size:12px;padding:9px 6px}.editor-row .full-row{flex-direction:column}.editor-day-head input{font-size:13px}.editor-day-head .editor-remove{flex-shrink:0}.toast{left:50%;font-size:11px;bottom:20px;max-width:calc(100% - 30px);width:max-content}.notice{font-size:10px}.error-screen{margin-top:10vh}.inline-actions .button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Dated measurements and private progress photographs. */
.measurement-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.measure-unit{font-size:13px;color:var(--soft)}.measurement-chart-card{margin-bottom:27px}.measurement-chart-controls{display:flex;align-items:center;gap:10px}.measurement-chart-controls select{width:190px;font-size:11px}.measurement-history>.card-head{margin:26px 0 17px}.measurement-history>.card-head p{max-width:450px;line-height:1.6}.measurement-record{margin-bottom:18px}.measurement-record .card-head{align-items:center}.measurement-record .eyebrow{font-size:9px;margin-bottom:8px}.measurement-record .card-head h2{font-size:21px}.measurement-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;gap:0;border-top:1px solid var(--border)}.measurement-values>div{padding:16px 10px 15px 0;border-bottom:1px solid #302935;min-width:0}.measurement-values dt{font-size:11px;color:var(--muted);line-height:1.5}.measurement-values dd{margin:6px 0 0;font-size:21px;line-height:1.3;font-weight:500}.measurement-values dd small{font-size:10px;color:var(--soft);font-weight:400}.measurement-note{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);margin-top:19px}.measurement-photo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:650px;margin-top:22px}.measurement-photo{min-width:0}.measurement-photo>.field-label{display:block;margin-bottom:8px}.measurement-photo-thumb{position:relative;display:block;width:100%;padding:0;border:1px solid #51425F;background:#151219;border-radius:11px;overflow:hidden;aspect-ratio:4/5;cursor:zoom-in}.measurement-photo-thumb img{display:block;width:100%;height:100%;object-fit:cover}.measurement-photo-thumb>span{position:absolute;bottom:0;left:0;right:0;padding:20px 9px 9px;display:flex;align-items:center;justify-content:space-between;gap:5px;background:linear-gradient(transparent,#130F19BF);color:white;font-size:10px}.measurement-photo-thumb:hover{border-color:var(--lilac)}.measurement-photo-empty{border:1px dashed #4A3C55;background:#19151E;border-radius:11px;aspect-ratio:4/5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--soft);font-size:11px;padding:12px}.measurement-date-weight{display:grid;grid-template-columns:1fr 1fr;gap:16px}.measurement-form-heading{font-size:14px;margin:9px 0 16px}.measurement-form-heading span{font-size:11px;font-weight:400;color:var(--soft);margin-left:5px}.measurement-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 15px}.measurement-field-hint{margin-top:-2px;margin-bottom:24px}.measurement-photo-heading{display:flex;align-items:center;gap:10px;margin-top:5px}.measurement-photo-heading h3{font-size:14px}.measurement-photo-heading>span{font-size:10px}.measurement-photo-row.editing{margin-top:16px;max-width:none}.editing .measurement-photo-thumb,.editing .measurement-photo-empty{height:185px;aspect-ratio:auto}.measurement-photo-actions{display:flex;align-items:center;gap:7px;margin-top:9px}.measurement-photo-actions>.button{flex:1;min-width:0;white-space:nowrap;font-size:11px;position:relative;overflow:hidden;cursor:pointer}.measurement-photo-actions .icon-button{width:31px;height:31px;flex-shrink:0;border-radius:8px}.photo-file-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-file-button:focus-within{outline:2px solid var(--lilac);outline-offset:3px}.photo-file-button.disabled{opacity:.55;cursor:wait}.measurement-photo-viewer{position:fixed;inset:0;z-index:140;display:flex;align-items:center;justify-content:center;padding:22px;background:#08060BE8;backdrop-filter:blur(10px)}.measurement-photo-viewer section{width:min(1100px,100%);height:min(94vh,1100px);display:flex;flex-direction:column;min-height:0;outline:none}.measurement-photo-viewer header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 15px;flex-shrink:0}.measurement-photo-viewer h2{font-size:21px}.measurement-photo-viewer p{font-size:11px;color:var(--muted);margin-top:4px}.measurement-photo-viewer img{width:100%;height:0;flex:1;min-height:0;object-fit:contain;display:block;border-radius:12px}.measurement-photo-viewer .icon-button{width:42px;height:42px;background:var(--panel)}
@media(max-width:980px){.measurement-values{grid-template-columns:repeat(3,minmax(0,1fr))}.measurement-chart-card .card-head{flex-wrap:wrap}.measurement-chart-controls{margin-top:3px}.measurement-photo-row{gap:11px}}
@media(max-width:700px){.measurement-summary{gap:8px}.measurement-summary .stat{padding:13px 11px;min-height:105px}.measurement-summary .stat-value{font-size:25px}.measure-unit{font-size:10px}.measurement-chart-card .card-head{gap:15px}.measurement-chart-controls{width:100%;justify-content:space-between}.measurement-chart-controls select{width:auto;max-width:230px;font-size:12px;flex:1}.measurement-values{grid-template-columns:repeat(2,minmax(0,1fr))}.measurement-values>div{padding:13px 8px 12px 0}.measurement-values dt{font-size:10px}.measurement-values dd{font-size:20px}.measurement-record .card-head h2{font-size:19px}.measurement-record .eyebrow{font-size:8px;letter-spacing:1.5px}.measurement-record .card-head .button{font-size:10px;padding:7px 9px}.measurement-history>.card-head{align-items:flex-start}.measurement-history>.card-head h2{font-size:17px}.measurement-history>.card-head .pill{font-size:9px}.measurement-note{font-size:11px}.measurement-photo-row{gap:9px;margin-top:18px}.measurement-photo>.field-label{font-size:10px}.measurement-photo-thumb>span{font-size:8px;padding:15px 6px 6px}.measurement-photo-thumb>span svg{width:11px;height:11px}.measurement-photo-empty{font-size:9px;padding:8px;gap:7px;border-radius:9px}.measurement-date-weight{gap:12px}.measurement-date-weight input{min-width:0}.measurement-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.measurement-inputs label{font-size:11px}.editing .measurement-photo-thumb,.editing .measurement-photo-empty{height:135px}.measurement-photo-row.editing{gap:8px}.measurement-photo-actions{gap:5px;flex-wrap:wrap}.measurement-photo-actions>.button{font-size:9px;padding:7px 6px;min-height:31px;width:100%}.measurement-photo-actions>.icon-button{height:29px;min-width:100%;border-radius:8px}.measurement-photo-actions>.icon-button::after{content:"Удалить";font-size:9px;margin-left:5px}.measurement-photo-viewer{padding:15px}.measurement-photo-viewer section{height:calc(100dvh - 36px)}.measurement-photo-viewer h2{font-size:20px}.measurement-photo-viewer p{font-size:10px}}

/* Client card: dated access, reports, media and measurements. */
.overview-program{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--border)}.overview-program:first-of-type{padding-top:0}.overview-program:last-child{border-bottom:0;padding-bottom:0}.overview-program h3{font-size:13px}.overview-program p{font-size:10px;color:var(--muted);margin-top:5px}.program-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:0 0 16px}.plan-summary>.client-person{margin-bottom:23px}.plan-summary .card-head{align-items:flex-start;margin-bottom:20px}.plan-summary .card-head h2{font-size:20px}.plan-summary .card-head p{line-height:1.7}.plan-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.plan-date-grid span{display:block;color:var(--soft);font-size:10px;margin-bottom:6px}.plan-date-grid strong{font-size:12px;font-weight:500}.plan-card-actions{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin-top:21px}.plan-toggle{margin-left:auto;border:0;background:none;color:var(--muted);font-size:10px;display:flex;align-items:center;gap:7px;padding:5px 0}.plan-toggle i{width:30px;height:17px;border-radius:20px;background:#4B4253;position:relative;flex-shrink:0}.plan-toggle i::before{content:"";position:absolute;width:11px;height:11px;border-radius:50%;background:#D6CBDD;left:3px;top:3px;transition:transform .15s}.plan-toggle.on i{background:#A38AB8}.plan-toggle.on i::before{transform:translateX(13px);background:#201727}.plan-toggle.on{color:var(--lilac)}.modal-content>.plan-card{border:0;padding:0;background:none;margin:0}.report-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding-bottom:21px;border-bottom:1px solid var(--border);font-size:12px;color:var(--muted)}.workout-exercise-report{margin-top:24px}.workout-exercise-report h3{display:flex;gap:10px;align-items:center;font-size:14px;margin-bottom:12px}.workout-exercise-report h3>span{width:25px;height:25px;border:1px solid var(--border);color:var(--lilac);border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0}.workout-set-row{display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr;gap:10px;align-items:center;padding:11px 12px;border-bottom:1px solid #352B3D;font-size:12px}.workout-set-row.header{background:#2E2536;border-radius:8px;color:var(--soft);font-size:10px}.workout-set-row strong{font-weight:500}.workout-set-row span:last-child{color:var(--green)}.report-feedback{margin-top:24px;padding-top:22px;border-top:1px solid var(--border)}.report-feedback h3{font-size:13px}.report-feedback .rating{margin:10px 0}.log-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:600px}.access-summary{display:flex;align-items:center;gap:22px;margin-bottom:20px}.access-summary>div{flex:1}.access-summary h2{margin:8px 0}.access-summary p{font-size:12px;line-height:1.7;color:var(--muted);max-width:580px}.access-summary .button{flex-shrink:0}.payment-ledger{margin-bottom:20px}.payment-table-scroll{overflow-x:auto;padding-bottom:5px}.payment-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}.payment-table th{font-size:10px;color:var(--soft);font-weight:500;padding:12px 14px;border-bottom:1px solid var(--border);white-space:nowrap}.payment-table td{padding:18px 14px;border-bottom:1px solid #302935;vertical-align:middle;min-width:110px}.payment-table th:first-child,.payment-table td:first-child{padding-left:0;min-width:160px}.payment-table td:last-child{min-width:40px;padding-right:0}.payment-table td small{display:block;font-size:9px;color:var(--soft);margin-top:5px}.payment-amount{white-space:nowrap;font-size:13px;font-weight:500}.manual-access .card-head{align-items:flex-start}.latest-measurements{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:23px}.latest-measurement{border:1px solid var(--border);background:var(--panel);border-radius:13px;padding:17px 18px;min-width:0}.latest-measurement>span{display:block;font-size:11px;color:var(--muted)}.latest-measurement strong{display:block;font-size:25px;font-weight:500;line-height:1.3;margin:10px 0 6px}.latest-measurement strong small{font-weight:400;font-size:11px;color:var(--soft)}.latest-measurement time{font-size:10px;color:var(--soft)}.measurement-history-card{padding-bottom:17px}.measurement-table-scroll{overflow:auto;max-width:100%;border:1px solid var(--border);border-radius:12px;position:relative;isolation:isolate}.measurement-history-table{border-collapse:separate;border-spacing:0;font-size:12px;min-width:100%;text-align:center;table-layout:fixed}.measurement-history-table th,.measurement-history-table td{padding:15px 17px;min-width:155px;max-width:220px;border-bottom:1px solid #342B3B;border-right:1px solid #342B3B;vertical-align:middle}.measurement-history-table thead th{background:#292230;vertical-align:top;color:var(--text);font-size:11px;font-weight:500}.measurement-history-table thead th>span{display:block;white-space:nowrap}.measurement-history-table thead .button{font-size:9px;padding-top:7px;min-height:25px}.measurement-history-table th:first-child{position:sticky;left:0;z-index:2;background:#221C29;text-align:left;min-width:160px;width:160px;font-size:11px;font-weight:500;box-shadow:1px 0 #4C3D59}.measurement-history-table thead th:first-child{z-index:3;background:#302638}.measurement-history-table th small{display:block;font-size:9px;color:var(--soft);margin-top:4px}.measurement-history-table tr:last-child td,.measurement-history-table tr:last-child th{border-bottom:0}.measurement-history-table td:last-child,.measurement-history-table th:last-child{border-right:0}.history-photo-thumb{display:block;width:100%;max-width:100px;height:125px;margin:auto;padding:0;border:1px solid #5B4969;border-radius:8px;overflow:hidden;background:#130F19;cursor:zoom-in}.history-photo-thumb img{display:block;width:100%;height:100%;object-fit:cover}.history-note{text-align:left;font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.measurement-date-weight{grid-template-columns:repeat(3,minmax(0,1fr))}.nutrition-macros{grid-template-columns:repeat(5,minmax(0,1fr))}.derived-calories{display:block;font-size:9px;color:var(--soft);margin-top:6px;line-height:1.4}.nutrition-menu-card{margin-top:20px}.menu-image-preview{display:block;border:1px solid var(--border);padding:0;border-radius:12px;overflow:hidden;background:#17121D;max-width:520px;position:relative;margin-top:20px;cursor:zoom-in;width:100%}.menu-image-preview img{width:100%;max-height:370px;object-fit:contain;display:block}.menu-image-preview>span{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;font-size:11px;color:var(--lilac);background:#2A2232}.nutrition-menu-editor{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:17px 0}.photo-file-button{position:relative;overflow:hidden;cursor:pointer}.attachment-tile{display:flex;flex-direction:column;align-items:stretch;justify-content:center;text-align:left;padding:0;border:1px solid #635171;background:#201827;color:var(--text);border-radius:10px;overflow:hidden;max-width:230px;width:100%;min-width:0;cursor:pointer}.attachment-tile img{display:block;width:100%;height:145px;object-fit:cover}.attachment-tile>span:last-child{padding:8px 10px;font-size:10px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.attachment-tile.video{padding-top:15px;min-height:145px;background:linear-gradient(135deg,#51405F,#281E31);align-items:center;text-align:center}.attachment-tile.video .video-file-icon{width:38px;height:38px;display:flex;justify-content:center;align-items:center;background:#CEBCE926;border-radius:50%;padding-left:3px;color:var(--lilac);font-size:15px}.attachment-tile.video strong{font-size:12px;font-weight:500;margin-top:8px}.message-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 4px;max-width:420px}.message-attachments:has(>.attachment-tile:only-child){grid-template-columns:minmax(0,220px)}.bubble:has(.message-attachments){max-width:90%}.rich-compose{display:block;flex-shrink:0}.compose-input-row{display:flex;align-items:flex-end;gap:10px}.compose-file-row{display:flex;gap:11px;align-items:center;margin-top:10px}.compose-file-row>.button{height:auto;min-height:30px;flex-shrink:0;padding:6px 9px;font-size:10px}.compose-file-row>span{font-size:9px;color:var(--soft);line-height:1.5;max-width:300px}.message-draft-attachments{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.message-draft-attachments:empty{display:none}.draft-attachment{position:relative;width:110px;margin-bottom:12px}.draft-attachment .attachment-tile{max-width:110px}.draft-attachment .attachment-tile img{height:70px}.draft-attachment .attachment-tile.video{min-height:100px;padding-top:9px}.draft-attachment .attachment-tile.video .video-file-icon{height:25px;width:25px;font-size:10px}.draft-attachment .attachment-tile.video strong{font-size:10px;margin-top:4px}.draft-attachment .attachment-tile>span:last-child{font-size:8px;padding:5px 8px;max-width:110px}.draft-attachment>.icon-button{position:absolute;right:-5px;top:-5px;width:22px;height:22px;background:#24192E;border-color:#9275A8}.compose-error{font-size:10px;line-height:1.6;color:var(--red);margin-top:9px}.message-layout .conversation{min-height:0}.message-layout .bubbles{min-height:100px}.attachment-viewer video{width:100%;height:0;min-height:0;flex:1;background:#08070A;object-fit:contain;border-radius:12px}.attachment-viewer h2{overflow-wrap:anywhere;max-width:80vw;font-size:19px}.attachment-play-error{padding:12px 15px;background:#3B2730;color:var(--red)!important;border-radius:9px;margin-top:12px!important;line-height:1.7}
@media(max-width:1100px){.access-summary{flex-wrap:wrap}.access-summary>div{flex-basis:60%}.access-summary>.button{margin-left:auto}.nutrition-macros{grid-template-columns:repeat(3,minmax(0,1fr))}.latest-measurements{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.overview-program{gap:10px}.overview-program h3{font-size:12px}.overview-program p{font-size:9px}.overview-program .button{font-size:9px;flex-shrink:0}.plan-summary .card-head h2{font-size:18px}.plan-date-grid strong{font-size:11px}.plan-card-actions{gap:10px}.plan-card-actions .button{font-size:10px}.plan-toggle{font-size:9px}.program-summary{flex-wrap:wrap;gap:10px}.report-meta{font-size:10px;gap:8px 13px}.workout-exercise-report h3{font-size:12px}.workout-set-row{font-size:11px;padding:10px 8px;gap:7px;grid-template-columns:1fr 1.3fr 1fr 1fr}.workout-set-row.header{font-size:9px}.report-feedback .text-lines{font-size:11px}.access-summary{gap:15px;padding:18px}.access-summary>div{flex-basis:100%}.access-summary h2{font-size:23px}.access-summary p{font-size:11px}.access-summary>.pill{font-size:10px}.access-summary>.button{font-size:10px}.manual-access .card-head{flex-wrap:wrap}.payment-table th{font-size:9px}.payment-table td{font-size:10px;padding:15px 12px}.latest-measurements{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.latest-measurement{padding:14px 15px}.latest-measurement>span{font-size:10px}.latest-measurement strong{font-size:24px;margin:8px 0 5px}.latest-measurement time{font-size:9px}.measurement-history-card{padding:17px 13px}.measurement-history-table th,.measurement-history-table td{min-width:135px;padding:13px 12px;font-size:11px}.measurement-history-table th:first-child{min-width:125px;width:125px;font-size:10px}.measurement-history-table thead th{font-size:10px}.measurement-history-table thead .button{font-size:9px}.history-photo-thumb{height:112px;max-width:89px}.measurement-date-weight{grid-template-columns:1fr 1fr;gap:0 12px}.measurement-date-weight>.form-field:first-child{grid-column:1/-1}.nutrition-macros{grid-template-columns:repeat(2,minmax(0,1fr))}.nutrition-macros .macro:first-child{grid-column:1/-1}.nutrition-menu-editor{gap:10px}.nutrition-menu-editor .attachment-tile{max-width:160px}.menu-image-preview>span{font-size:10px}.attachment-tile img{height:120px}.message-attachments{max-width:310px}.message-attachments .attachment-tile>span:last-child{font-size:9px}.message-attachments:has(>.attachment-tile:only-child){grid-template-columns:minmax(0,200px)}.rich-compose{padding:12px}.compose-file-row{align-items:flex-start;gap:9px}.compose-file-row>span{font-size:8px}.compose-file-row>.button{font-size:9px;min-height:30px;padding:6px 8px}.message-layout .conversation{min-height:450px}.message-layout .bubbles{max-height:400px;min-height:150px}.attachment-viewer h2{font-size:16px}.attachment-play-error{font-size:10px!important}.modal-footer:has([data-action="copy-invitation-link"]){flex-wrap:wrap}.modal-footer:has([data-action="copy-invitation-link"]) .button{min-width:0;font-size:10px;padding:9px 11px}}
/* Keep media playback controls inside the viewport, including intrinsic 4:3 video. */
.attachment-viewer section{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:calc(100vh - 44px);height:calc(100dvh - 44px);max-height:calc(100dvh - 44px);overflow:hidden}.attachment-viewer video,.attachment-viewer img{display:block;width:100%;max-width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain;align-self:stretch;flex:none}.attachment-viewer video{max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px)}.attachment-viewer header{min-width:0}.attachment-viewer .attachment-play-error{margin-bottom:0}
@media(max-width:700px){.attachment-viewer section{height:calc(100dvh - 30px);max-height:calc(100dvh - 30px)}.attachment-viewer video{max-height:calc(100dvh - 120px)}}

@media(max-width:700px){.tabs{padding-bottom:14px;scrollbar-width:thin;scroll-padding-inline:8px}.tab{min-height:44px;padding-top:10px;padding-bottom:11px;flex-shrink:0}}

/* The theme switch stays reachable in shorter desktop and mobile sidebars. */
.sidebar{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sidebar>.brand,.sidebar>nav,.sidebar>.nav-group,.sidebar-bottom{flex-shrink:0}
.theme-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 8px 0;min-height:44px}
.theme-label{font-size:11px;font-weight:500;color:var(--text);line-height:1.4}
.theme-current{display:block;margin-top:3px;font-size:10px;font-weight:400;color:var(--soft)}
button.theme-toggle{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(2,32px);align-items:center;justify-content:center;flex-shrink:0;width:76px;min-width:76px;height:44px;min-height:44px;padding:5px;border:1px solid #594766;border-radius:24px;background:#292130;transition:background-color .18s,border-color .18s}
button.theme-toggle::before{content:"";position:absolute;left:5px;top:5px;width:32px;height:32px;border-radius:50%;background:#645071;box-shadow:0 2px 5px #07050B33;transform:translateX(32px);transition:transform .2s,background-color .18s;z-index:0}
button.theme-toggle:hover{border-color:var(--lilac)}
button.theme-toggle:focus-visible{outline:2px solid var(--lilac);outline-offset:4px}
button.theme-toggle[aria-checked="true"]::before{transform:translateX(0)}
.theme-icon{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:#B6A9C2;pointer-events:none;transition:color .18s}
.theme-icon svg{width:17px;height:17px}
button.theme-toggle[aria-checked="false"] .theme-icon:last-child{color:#F7F1FC}
button.theme-toggle[aria-checked="true"] .theme-icon:first-child{color:var(--lilac)}

/* Daylight palette. Every override is scoped so the original dark palette remains intact. */
html[data-theme="light"]{
  --bg:#FFFFFF;--panel:#FAF9FC;--panel2:#F1EDF5;--panel3:#EAE4F0;
  --border:#DCD5E2;--text:#271F30;--muted:#5F5568;--soft:#6B5C75;
  --lilac:#75518E;--purple:#76568C;--green:#28613D;--orange:#80501B;--red:#A63B4B;
  color-scheme:light;background:var(--bg);color:var(--text)
}
html[data-theme="light"] body,html[data-theme="light"] .workspace{background:var(--bg)}
html[data-theme="light"] .sidebar{background:#F6F3F9}
html[data-theme="light"] .topbar{background:#FFFFFF}
html[data-theme="light"] .nav-item.active{background:#E9DFF2}
html[data-theme="light"] .coach-profile .avatar{background:#E4D6EE;color:#67427F}
html[data-theme="light"] .demo-strip{border-color:var(--border)}
html[data-theme="light"] .button{color:#FFFFFF}
html[data-theme="light"] .button:hover{background:#634079}
html[data-theme="light"] .button.secondary{color:var(--text);background:transparent}
html[data-theme="light"] .button.secondary:hover{background:var(--panel2);border-color:var(--soft)}
html[data-theme="light"] .button.ghost{color:var(--lilac);background:transparent}
html[data-theme="light"] .button.ghost:hover{color:#503166;background:transparent}
html[data-theme="light"] .button.danger{background:#FBECEF;border-color:#D8A9B3;color:var(--red)}
html[data-theme="light"] .button.danger:hover{background:#F5DCE2;border-color:#BD7C8D}
html[data-theme="light"] .pill{background:#EEE5F6}
html[data-theme="light"] .pill.green{background:#E6F2E9}
html[data-theme="light"] .pill.orange{background:#FAEEDC}
html[data-theme="light"] .pill.red{background:#FBE8ED}
html[data-theme="light"] .pill.gray{background:#EDE9F0}
html[data-theme="light"] .welcome-card{background:#EDE3F6;color:#2B2034}
html[data-theme="light"] .welcome-card .button{background:#4E335E;color:#FFFFFF}
html[data-theme="light"] .welcome-card .button:hover{background:#3E264C}
html[data-theme="light"] .bar-chart{background:repeating-linear-gradient(to top,transparent 0,transparent 46px,#E6DFED 47px,#E6DFED 48px)}
html[data-theme="light"] .bar{background:#BBA2CF}
html[data-theme="light"] .bar.current{background:var(--lilac)}
html[data-theme="light"] .agenda-body{border-color:#AC8EC3}
html[data-theme="light"] .avatar{background:#E9DFF2;color:#684680}
html[data-theme="light"] .avatar.tone-1{background:#F1E8D8;color:#755621}
html[data-theme="light"] .avatar.tone-2{background:#DFEEE5;color:#37634D}
html[data-theme="light"] .avatar.tone-3{background:#F0DFE9;color:#87526D}
html[data-theme="light"] .task-check{border-color:#A38BAF}
html[data-theme="light"] .task-check.done{background:#EADFF2;border-color:#9975B0}
html[data-theme="light"] .filter-button.active{background:#E9DFF2}
html[data-theme="light"] .table-header{background:#F0EBF5}
html[data-theme="light"] .client-row:hover{background:#F2EDF7}
html[data-theme="light"] .metric-tile{background:var(--panel2)}
html[data-theme="light"] .attention-item,
html[data-theme="light"] .client-row,
html[data-theme="light"] .exercise-row,
html[data-theme="light"] .measure-table td,
html[data-theme="light"] .thread,
html[data-theme="light"] .measurement-values>div,
html[data-theme="light"] .workout-set-row,
html[data-theme="light"] .payment-table td{border-color:var(--border)}
html[data-theme="light"] .thread.active{background:#E9DFF2}
html[data-theme="light"] .thread:hover{background:#F0E9F6}
html[data-theme="light"] .thread.active:hover{background:#E4D7EF}
html[data-theme="light"] .bubble{background:#EEEAF2}
html[data-theme="light"] .bubble.coach{background:#E3D5F0}
html[data-theme="light"] .bubble time{color:#634F73}
html[data-theme="light"] .calendar-cell{background:#FCFBFD}
html[data-theme="light"] .calendar-cell.today{background:#EEE5F6}
html[data-theme="light"] .calendar-event{background:#E9DFF2;color:#54346B}
html[data-theme="light"] .calendar-event:hover{background:#DDD0E9}
html[data-theme="light"] .library-icon{background:linear-gradient(135deg,#E7DCF1,#F3EEF8);color:#85619E}
html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea,
html[data-theme="light"] .editor-input,
html[data-theme="light"] .compose textarea{background:#FFFFFF;border-color:#BCAFCA;color:var(--text)}
html[data-theme="light"] .form-field input::placeholder,
html[data-theme="light"] .form-field textarea::placeholder,
html[data-theme="light"] .editor-input::placeholder,
html[data-theme="light"] .compose textarea::placeholder{color:#74677D;opacity:1}
html[data-theme="light"] .notice{background:#F0E9F7;border-color:#CEBCDD;color:#624277}
html[data-theme="light"] .notice.error{background:#FCEBF0;border-color:#DDB1BD;color:#A1324A}
html[data-theme="light"] .notice.success{background:#EAF5EC;border-color:#AFCFB7;color:#2E6640}
html[data-theme="light"] .mode-option{background:#F8F5FB}
html[data-theme="light"] .mode-option.selected{background:#EEE4F6;border-color:#9772B0}
html[data-theme="light"] .selected .radio-dot{box-shadow:inset 0 0 0 3px #EEE4F6}
html[data-theme="light"] .modal-backdrop{background:#24162E66}
html[data-theme="light"] .modal{background:#FFFFFF;border-color:#CEBFD9;box-shadow:0 28px 90px #33213F2E}
html[data-theme="light"] .modal-header,
html[data-theme="light"] .modal-footer{background:#FCFBFD}
html[data-theme="light"] .editor-day{background:#F6F1FA;border-color:#D4C7DE}
html[data-theme="light"] .toast{background:#FFFFFF;color:#4F3163;border-color:#BEA6D0;box-shadow:0 10px 35px #36234426}
html[data-theme="light"] .toast.error{background:#FBE8EE;color:#9E3048;border-color:#CC99A8}
html[data-theme="light"] .scrim.open{background:#291C365C}
html[data-theme="light"] .measurement-photo-thumb,
html[data-theme="light"] .history-photo-thumb{background:#F2EDF6;border-color:#C3B1D0}
html[data-theme="light"] .measurement-photo-empty{background:#F5F1F9;border-color:#B7A3C7}
html[data-theme="light"] .measurement-photo-viewer{background:#F5F2FAF2}
html[data-theme="light"] .measurement-photo-viewer .icon-button{background:#FFFFFF}
html[data-theme="light"] .plan-toggle i{background:#D8CBDF}
html[data-theme="light"] .plan-toggle i::before{background:#FFFFFF}
html[data-theme="light"] .plan-toggle.on i{background:var(--lilac)}
html[data-theme="light"] .plan-toggle.on i::before{background:#FFFFFF}
html[data-theme="light"] .workout-set-row.header{background:#EDE6F3}
html[data-theme="light"] .measurement-history-table th,
html[data-theme="light"] .measurement-history-table td{border-color:var(--border)}
html[data-theme="light"] .measurement-history-table thead th{background:#EFE8F6}
html[data-theme="light"] .measurement-history-table th:first-child{background:#F6F2FA;box-shadow:1px 0 #D2C4DD}
html[data-theme="light"] .measurement-history-table thead th:first-child{background:#E8DDF2}
html[data-theme="light"] .menu-image-preview{background:#F6F2FA}
html[data-theme="light"] .menu-image-preview>span{background:#ECE3F4}
html[data-theme="light"] .attachment-tile{background:#FAF7FD;border-color:#C1ABCF}
html[data-theme="light"] .attachment-tile.video{background:linear-gradient(135deg,#E6D9F0,#F5EFFA)}
html[data-theme="light"] .attachment-tile.video .video-file-icon{background:#D4BFE778}
html[data-theme="light"] .draft-attachment>.icon-button{background:#FFFFFF;border-color:#AD90BF}
html[data-theme="light"] .attachment-play-error{background:#FBE8EE}
html[data-theme="light"] button.theme-toggle{background:#E9E1F1;border-color:#BDA9CC}
html[data-theme="light"] button.theme-toggle::before{background:#FFFFFF;box-shadow:0 2px 5px #472B5A21}
html[data-theme="light"] .theme-icon{color:#81728D}
html[data-theme="light"] button.theme-toggle[aria-checked="true"] .theme-icon:first-child{color:#69477F}
html[data-theme="light"] button.theme-toggle:hover{border-color:var(--lilac)}
@media(prefers-reduced-motion:reduce){button.theme-toggle,button.theme-toggle::before,.theme-icon{transition:none}}

/* Keep the account and theme controls visible at ordinary laptop/phone heights. */
@media(max-height:900px){
  .sidebar{padding-top:18px;padding-bottom:16px}
  .brand{padding-bottom:15px}
  .nav-group{margin-top:8px;margin-bottom:5px}
  .nav-item{padding-top:7px;padding-bottom:7px;margin-top:2px;margin-bottom:2px}
  .sidebar-bottom{padding-top:12px}
  .sidebar-note{display:none}
  .theme-row{margin-top:8px}
  .coach-profile{margin-top:12px;padding-top:12px}
}
@media(max-width:700px) and (max-height:900px){.nav-item{min-height:44px}}

/* Message delivery receipts and daily client nutrition reports. */
.message-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin-top:6px;color:var(--muted);font-size:9px;line-height:1.5}
.bubble .message-meta time{margin-top:0}
.message-status{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:9px;white-space:nowrap}
.message-status.sent{color:var(--muted)}
.message-status.read{color:var(--lilac)}
.message-status.pending{color:var(--orange)}
.message-status.failed{color:var(--red)}
.message-status svg{flex-shrink:0}
.double-check{display:inline-flex;align-items:center;padding-left:4px}
.double-check svg+svg{margin-left:-7px}
.message-read-at{flex-basis:100%;text-align:right;color:var(--lilac);font-size:9px;line-height:1.6}
.bubble.outbox{border:1px dashed var(--soft)}
.chat-sync-status{margin:0;padding:9px 16px;border-top:1px solid var(--border);color:var(--orange);font-size:10px;line-height:1.6}
.chat-sync-status[hidden]{display:none}
.mode-options[hidden],.settings-form>.form-field[hidden]{display:none}
.form-field .invitation-code{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.22em;line-height:1.5;text-align:center;padding:12px 15px}
.nutrition-log-card{margin-top:20px}
.nutrition-log-scroll{overflow:auto;max-height:490px;border:1px solid var(--border);border-radius:11px}
.nutrition-log-table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap;font-size:11px;text-align:left}
.nutrition-log-table th,.nutrition-log-table td{padding:13px 15px;border-bottom:1px solid var(--border);min-width:110px}
.nutrition-log-table thead th{position:sticky;top:0;z-index:1;background:var(--panel2);color:var(--muted);font-size:10px;font-weight:500}
.nutrition-log-table tbody th{font-size:11px;font-weight:500}
.nutrition-log-table td strong{font-size:13px;font-weight:500}
.nutrition-log-table td small{display:block;font-size:9px;color:var(--soft);margin-top:4px}
.nutrition-log-table tr:last-child th,.nutrition-log-table tr:last-child td{border-bottom:0}
@media(max-width:700px){.message-meta,.message-status,.message-read-at{font-size:8px}.nutrition-log-table th,.nutrition-log-table td{padding:11px 12px;min-width:100px}.nutrition-log-card .card-head{align-items:flex-start}.form-field .invitation-code{font-size:25px}}

/* Shared activity history. Values are supplied by the client's device, never browser permissions. */
.activity-filters{display:flex;gap:13px;align-items:flex-end;flex-wrap:wrap;margin-bottom:22px}
.activity-filters>label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:135px;max-width:210px}
.activity-filters>label.activity-filter-client{flex:2;min-width:200px;max-width:none}
.activity-filters label>span{font-size:10px;font-weight:500;color:var(--muted)}
.activity-filters input,.activity-filters select{width:100%;min-width:0;min-height:40px;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text);font-size:12px}
.activity-filters>.button{min-height:40px}
.activity-overview{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(215px,1fr);overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--panel)}
.activity-overview-main{padding:23px 25px}
.activity-overview-main>.eyebrow{font-size:9px;letter-spacing:1px}
.activity-overview-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:17px}
.activity-overview-values>div{min-width:0}
.activity-overview-values span{display:block;font-size:11px;color:var(--muted)}
.activity-overview-values strong{display:block;font-weight:500;font-size:29px;line-height:1.35;margin:6px 0;letter-spacing:-.6px;overflow-wrap:anywhere}
.activity-overview-values small{display:block;font-size:9px;color:var(--soft);line-height:1.6}
.activity-sync-info{display:flex;align-items:center;gap:13px;padding:23px;border-left:1px solid var(--border);background:var(--panel2)}
.activity-sync-info>svg{color:var(--lilac);flex-shrink:0}
.activity-sync-info strong{font-size:11px;font-weight:500;display:block;line-height:1.7}
.activity-sync-info p{font-size:11px;margin-top:8px;color:var(--muted);line-height:1.6}
.activity-sync-info small{display:block;margin-top:5px;color:var(--soft);font-size:9px;overflow-wrap:anywhere}
.activity-explainer{margin:16px 0 28px;font-size:10px;line-height:1.8;color:var(--soft);max-width:1050px}
.activity-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:29px 0 17px}
.activity-section-head h2{font-size:19px}
.activity-section-head p{margin-top:5px;font-size:11px;line-height:1.6;color:var(--muted)}
.activity-day-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.activity-day{border:1px solid var(--border);background:var(--panel);border-radius:16px;padding:21px;min-width:0}
.activity-day-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.activity-day-head h3{font-size:14px;font-weight:500}
.activity-day-head p{font-size:9px;color:var(--soft);margin-top:4px;overflow-wrap:anywhere}
.activity-captured{font-size:9px;color:var(--soft);line-height:1.6;text-align:right;max-width:155px}
.activity-day-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}
.activity-day-values>div{min-width:0}
.activity-day-values span{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}
.activity-day-values span svg{color:var(--lilac)}
.activity-day-values strong{display:block;font-size:27px;letter-spacing:-.6px;font-weight:500;line-height:1.4;margin:6px 0;overflow-wrap:anywhere}
.activity-day-values small{font-size:9px;line-height:1.6;color:var(--soft);display:block}
.activity-day-details{border-top:1px solid var(--border);padding-top:14px}
.activity-day-details summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none;color:var(--lilac);font-size:10px;min-height:28px}
.activity-day-details summary::-webkit-details-marker{display:none}
.activity-day-details summary:focus-visible{outline:2px solid var(--lilac);outline-offset:4px;border-radius:3px}
.activity-day-details[open] summary>svg{transform:rotate(180deg)}
.sleep-stages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 15px;margin-top:15px}
.sleep-stages>div{display:flex;flex-direction:column;gap:3px;font-size:10px;color:var(--muted)}
.sleep-stages strong{font-size:12px;color:var(--text);font-weight:500}
.activity-source-details{margin:17px 0 0}
.activity-source-details>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;padding:9px 0;border-bottom:1px solid var(--border)}
.activity-source-details>div:last-child{border-bottom:0}
.activity-source-details dt{font-size:10px;color:var(--soft)}
.activity-source-details dd{font-size:10px;color:var(--muted);line-height:1.7;margin:0;overflow-wrap:anywhere}
.activity-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;font-size:10px;color:var(--soft)}
.activity-pagination>div{display:flex;gap:8px}
.activity-pagination button:disabled{cursor:default}
.activity-empty .empty{padding-top:24px;padding-bottom:24px}
.bio-report-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bio-report-card{padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--panel);min-width:0}
.bio-report-heading{display:flex;gap:12px;align-items:flex-start}
.bio-report-icon{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:11px;background:var(--panel3);color:var(--lilac);flex-shrink:0}
.bio-report-heading>div{flex:1;min-width:0}
.bio-report-heading h3{font-size:14px;overflow-wrap:anywhere}
.bio-report-heading p{font-size:9px;margin-top:5px;line-height:1.7;color:var(--soft);overflow-wrap:anywhere}
.bio-report-heading>.pill{font-size:8px}
.bio-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:22px 0}
.bio-report-summary>span{font-size:9px;line-height:1.6;color:var(--soft);min-width:0}
.bio-report-summary strong{font-size:13px;color:var(--text);font-weight:500;display:block;margin-bottom:5px;overflow-wrap:anywhere}
.bio-report-footer{border-top:1px solid var(--border);padding-top:16px}
.bio-report-footer p{font-size:10px;color:var(--soft);line-height:1.7;overflow-wrap:anywhere;margin-bottom:13px}
.bio-report-footer .button{font-size:10px;max-width:100%;text-align:left}
.bio-report-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bio-report-times>div{min-width:0}
.bio-report-times span{display:block;font-size:10px;color:var(--soft);margin-bottom:6px}
.bio-report-times strong{display:block;font-size:13px;font-weight:500;line-height:1.7}
.bio-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:24px 0}
.bio-metric{min-width:0;padding:15px;border:1px solid var(--border);border-radius:11px;background:var(--panel)}
.bio-metric>span{display:block;font-size:10px;color:var(--soft);margin-bottom:8px}
.bio-metric strong{font-size:19px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.bio-heart-section,.bio-extra-section,.bio-source-section,.bio-link-section{border-top:1px solid var(--border);padding-top:22px;margin-top:24px}
.bio-heart-section h3,.bio-extra-section h3,.bio-source-section h3,.bio-link-section h3{font-size:14px}
.bio-heart-chart{width:100%;height:230px;margin-top:19px}
.bio-heart-chart svg{display:block;width:100%;height:100%;overflow:visible}
.bio-chart-empty{padding:25px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--soft)}
.bio-chart-empty p{font-size:12px;margin:13px 0 7px;color:var(--muted)}
.bio-chart-empty small{font-size:10px;line-height:1.7;max-width:350px}
.bio-extra-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px;margin:13px 0 0}
.bio-extra-metrics>div{min-width:0;border-bottom:1px solid var(--border);padding:14px 0}
.bio-extra-metrics dt{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.bio-extra-metrics dd{margin:7px 0 0;font-size:16px;font-weight:500;overflow-wrap:anywhere}
.bio-link-section>.note{margin-top:12px}
.bio-link-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:14px}
.bio-diary-entry{margin-top:24px}
.bio-diary-entry .button{max-width:100%;text-align:left}
.bio-link-options{margin-top:20px}
.bio-link-options>div{padding:17px 0;border-bottom:1px solid var(--border)}
.bio-link-options h3{font-size:13px;overflow-wrap:anywhere}
.bio-link-options p{font-size:10px;line-height:1.7;color:var(--soft);margin:6px 0 12px}
html[data-theme="light"] .activity-filters input,html[data-theme="light"] .activity-filters select{background:#FFFFFF;border-color:#BCAFCA}
@media(max-width:1100px){.activity-overview{grid-template-columns:1fr}.activity-sync-info{border-left:0;border-top:1px solid var(--border);padding:17px 23px}.activity-sync-info p{margin-top:4px}.activity-day-list,.bio-report-list{grid-template-columns:1fr}.bio-report-summary strong{font-size:15px}}
@media(max-width:700px){.activity-filters{gap:12px}.activity-filters>label{max-width:none;min-width:calc(50% - 8px)}.activity-filters>label.activity-filter-client{flex-basis:100%}.activity-filters input,.activity-filters select{font-size:16px;min-height:44px}.activity-filters>.button{min-height:36px;font-size:10px}.activity-overview-main{padding:20px 18px}.activity-overview-values{gap:10px}.activity-overview-values strong{font-size:24px}.activity-overview-values span{font-size:10px}.activity-overview-values small{font-size:8px}.activity-sync-info{padding:16px 18px}.activity-sync-info strong,.activity-sync-info p{font-size:10px}.activity-explainer{font-size:9px;line-height:1.8;margin-bottom:23px}.activity-section-head{margin-top:24px}.activity-section-head h2{font-size:17px}.activity-section-head p{font-size:10px}.activity-day{padding:18px}.activity-day-head h3{font-size:13px}.activity-captured{max-width:132px;font-size:8px}.activity-day-values strong{font-size:26px}.activity-day-details summary{min-height:35px}.activity-source-details>div{grid-template-columns:73px minmax(0,1fr)}.activity-source-details dt,.activity-source-details dd{font-size:9px}.activity-pagination{font-size:9px}.bio-report-card{padding:18px}.bio-report-icon{width:34px;height:34px}.bio-report-heading h3{font-size:13px}.bio-report-heading p{font-size:8px}.bio-report-summary{gap:9px}.bio-report-summary strong{font-size:12px}.bio-report-footer .button{width:100%;font-size:10px;min-height:40px}.bio-report-times{gap:12px}.bio-report-times strong{font-size:11px}.bio-report-times span{font-size:9px}.bio-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bio-metric{padding:13px 11px}.bio-metric>span{font-size:9px}.bio-metric strong{font-size:17px}.bio-heart-chart{height:180px}.bio-extra-metrics{gap:0 16px}.bio-extra-metrics dt{font-size:10px}.bio-extra-metrics dd{font-size:14px}.bio-diary-entry .button{font-size:10px;min-height:40px}.bio-link-actions{gap:10px}.bio-link-actions .button{font-size:10px}.bio-link-options .button{min-height:40px}}
/* The new Activity entry must not push theme/account controls off ordinary screens. */
@media(min-width:701px) and (max-height:820px){.sidebar{padding-top:16px;padding-bottom:14px}.brand{padding-bottom:12px}.nav-group{margin-top:6px;margin-bottom:4px}.nav-item{font-size:12px;padding-top:5px;padding-bottom:5px;margin-top:1px;margin-bottom:1px}}
@media(max-width:700px) and (max-height:900px){.sidebar{padding-top:16px;padding-bottom:12px}.brand{padding-bottom:10px}.nav-group{margin-top:6px;margin-bottom:4px}.sidebar-bottom{padding-top:8px}}

@media(max-width:700px){.bio-heart-chart svg text{font-size:21px}}

/* Monthly calendars and the private-media composer. */
.workout-month-card,.nutrition-month-card,.activity-month-card{margin-bottom:24px;min-width:0}
.month-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.month-heading h3{text-transform:capitalize;font-size:22px;margin:6px 0 0;font-weight:500}.month-controls{display:flex;align-items:center;gap:5px}.month-controls .icon-button{min-width:40px;min-height:44px}.month-controls .button{min-height:44px}
.month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0 16px}.month-weekday{padding:6px;font-size:11px;text-align:center;color:var(--muted)}.month-blank{min-width:0}.month-day{position:relative;min-width:0;min-height:94px;padding:11px 9px;text-align:left;border:1px solid var(--border);background:var(--surface-2,#211d27);color:var(--text);border-radius:10px;cursor:pointer;transition:background .18s,border-color .18s}.month-day:hover{border-color:var(--lilac)}.month-day:focus-visible{outline:2px solid var(--lilac);outline-offset:2px}.month-day-number{font-size:12px;display:block;margin-bottom:8px}.month-day.is-today .month-day-number{color:var(--lilac);font-weight:700;text-decoration:underline;text-underline-offset:5px}.month-day.future{background:transparent}.month-day-events{display:flex;flex-direction:column;gap:4px}.scheduled-chip{border-radius:5px;padding:5px;font-size:10px;border-left:2px solid var(--lilac);background:rgba(206,188,233,.09);display:flex;gap:5px;align-items:baseline}.scheduled-chip strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.scheduled-chip.green{border-color:#8fc8ae;background:rgba(97,162,127,.16)}.scheduled-chip.orange{border-color:#e4ae77;background:rgba(199,139,78,.16)}.scheduled-chip.red{border-color:#e69399;background:rgba(195,88,106,.16)}.month-day-events>small{font-size:9px;color:var(--muted)}
.calendar-legend{display:flex;gap:10px 22px;flex-wrap:wrap;margin:18px 0 10px}.calendar-legend>span{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.calendar-legend i{width:7px;height:7px;border-radius:2px;background:var(--lilac)}.calendar-legend i.green{background:#80bb9d}.calendar-legend i.orange{background:#d7a36d}.calendar-legend i.red{background:#cf7e8b}.calendar-legend i.missing{background:#8e8796;opacity:.45}.calendar-legend i.neutral{background:transparent;border:1px solid var(--soft)}
.scheduled-detail{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--border)}.scheduled-detail:first-child{padding-top:0}.scheduled-detail h3{margin:12px 0 6px}.scheduled-detail p,.scheduled-detail small{font-size:12px;color:var(--muted);line-height:1.7}.scheduled-detail>.button{align-self:flex-start}.scheduled-history{width:100%;background:var(--surface-2,#211d27);border-radius:10px;padding:12px 16px}.scheduled-history p{margin:3px 0}.scheduled-history summary{font-size:12px;padding:9px 0;cursor:pointer}.scheduled-history details p{margin-top:12px}.pill.red{color:#e39ca3;background:rgba(195,88,106,.14)}.pill.neutral{color:var(--muted);background:transparent;border:1px solid var(--border)}
.nutrition-calendar-day{min-height:97px}.nutrition-calendar-day>strong{display:block;font-size:18px;font-weight:500}.nutrition-calendar-day>small{font-size:9px;color:var(--muted)}.nutrition-calendar-day.green{background:rgba(91,145,117,.17);border-color:rgba(121,176,145,.3)}.nutrition-calendar-day.orange{background:rgba(180,125,72,.18);border-color:rgba(215,163,109,.3)}.nutrition-calendar-day.red{background:rgba(171,79,99,.18);border-color:rgba(207,126,139,.3)}.nutrition-calendar-day.missing,.nutrition-calendar-day.no-target{background:rgba(130,120,145,.05);border-color:rgba(130,120,145,.13);color:var(--soft)}.nutrition-day-empty{display:block;color:var(--soft);font-size:20px;opacity:.5}.nutrient-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}.nutrient-detail>div{display:flex;flex-direction:column;gap:9px;padding:18px;background:var(--surface-2,#211d27);border:1px solid var(--border);border-radius:12px}.nutrient-detail span{font-size:12px;color:var(--muted)}.nutrient-detail strong{font-size:22px;font-weight:500}.nutrient-detail small{font-size:11px;color:var(--soft)}.nutrient-detail b{font-size:13px;font-weight:500}.nutrient-detail .green{color:#91c4a5}.nutrient-detail .orange{color:#e5ad78}.nutrient-detail .red{color:#e193a0}.nutrition-report-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:25px}.nutrition-report-counts>div{padding:14px 8px;display:flex;align-items:center;flex-direction:column;gap:10px;background:var(--surface-2,#211d27);border-radius:10px}.nutrition-report-counts strong{font-size:26px;font-weight:500}.nutrition-report-counts small{color:var(--muted);font-size:10px}.nutrition-report-counts .pill{font-size:9px;white-space:normal;text-align:center}
.month-chart-scroll{overflow-x:auto;margin-top:22px;padding-top:12px;padding-bottom:5px;scrollbar-width:thin}.month-chart{display:flex;align-items:stretch;gap:3px;min-width:600px;height:198px;border-bottom:1px solid var(--border)}.month-chart-column{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px;align-items:center;padding:0;background:none;border:0;color:var(--soft);cursor:pointer;opacity:1}.month-chart-column:disabled{cursor:default;opacity:1}.month-chart-column:focus-visible{outline:2px solid var(--lilac);outline-offset:2px;border-radius:3px}.month-bar-track{display:flex;align-items:flex-end;justify-content:center;position:relative;height:172px;width:100%}.month-bar{width:64%;max-width:21px;border-radius:4px 4px 0 0;display:block;background:var(--lilac);opacity:.8;min-height:0}.month-bar.zero{height:2px!important;min-height:2px;background:var(--lilac)}.month-bar-missing{font-size:11px;color:var(--soft);opacity:.5}.month-chart-column.future .month-bar-missing{opacity:.2}.month-target-line{height:2px;background:#d1a470;width:95%;position:absolute;left:2.5%;z-index:1}.month-bar-date{font-size:10px;line-height:15px}.month-chart-caption{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:var(--muted);margin:12px 0 14px}.activity-month-charts{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}.activity-month-charts>section{min-width:0}.activity-month-charts .card-head{margin-bottom:0}.activity-month-charts>section+section{border-top:1px solid var(--border);padding-top:26px}.target-line-key{display:inline-block;width:14px;height:2px;background:#d1a470;vertical-align:middle;margin-right:4px}
.section-disclosure{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;min-height:44px;font-size:15px;font-weight:500}.section-disclosure::after{content:'+';color:var(--lilac);font-size:20px;margin-left:auto}details[open]>.section-disclosure{margin-bottom:20px}details[open]>.section-disclosure::after{content:'−'}.section-disclosure::-webkit-details-marker{display:none}.bio-report-disclosure{margin-top:25px;padding:20px 0;border-top:1px solid var(--border)}.bio-report-disclosure .bio-report-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bio-report-disclosure .bio-report-card{padding:17px;min-width:0}.bio-report-disclosure .bio-report-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}.bio-report-disclosure .bio-report-heading h3{font-size:14px}.bio-report-disclosure .bio-report-heading p{font-size:10px;line-height:1.5}.bio-report-disclosure .bio-report-summary{display:flex;flex-direction:column;gap:10px;margin:15px 0}.bio-report-disclosure .bio-report-summary span{font-size:10px}.bio-report-disclosure .bio-report-summary strong{font-size:15px}.bio-report-disclosure .bio-report-footer{flex-direction:column;align-items:stretch;gap:12px}.bio-report-disclosure .bio-report-footer .button{font-size:10px;white-space:normal;min-height:44px}.bio-report-disclosure .bio-report-icon{width:30px;height:30px;flex-shrink:0}.nutrition-log-card{margin-top:22px}
.attachment-tile.private-file{min-height:94px;justify-content:center;background:var(--surface-2,#211d27)}.private-file-icon{font-size:24px;color:var(--lilac)}.attachment-size{font-size:10px;color:var(--muted)}.upload-queue{display:flex;gap:8px;flex-wrap:wrap;width:100%;padding:6px 0}.upload-queue p{width:100%;margin:0;color:var(--muted);font-size:11px}.media-viewer-loading{padding:60px 25px;color:var(--muted);text-align:center}.attachment-viewer section>video{max-width:100%;max-height:calc(100dvh - 190px);object-fit:contain;align-self:center}.message-attachments{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.message-attachments .attachment-tile{min-width:0}.message-attachments .attachment-tile>span:last-child{overflow-wrap:anywhere}
html[data-theme="light"] .month-day,html[data-theme="light"] .scheduled-history,html[data-theme="light"] .nutrient-detail>div,html[data-theme="light"] .nutrition-report-counts>div,html[data-theme="light"] .attachment-tile.private-file{background:#faf8fc}html[data-theme="light"] .month-day.future{background:#fff}html[data-theme="light"] .nutrition-calendar-day.green{background:#e9f3ed;border-color:#cbdfd2}html[data-theme="light"] .nutrition-calendar-day.orange{background:#fbf0e4;border-color:#ebd7bf}html[data-theme="light"] .nutrition-calendar-day.red{background:#fae9ed;border-color:#ebc8d0}html[data-theme="light"] .nutrition-calendar-day.missing,html[data-theme="light"] .nutrition-calendar-day.no-target{background:#f6f5f7;border-color:#ebe8ee;color:#8b8392}html[data-theme="light"] .pill.red,html[data-theme="light"] .nutrient-detail .red{color:#a83e55}html[data-theme="light"] .nutrient-detail .orange{color:#9c5b20}html[data-theme="light"] .nutrient-detail .green{color:#397a54}html[data-theme="light"] .month-bar{background:#9578b5}html[data-theme="light"] .month-target-line,html[data-theme="light"] .target-line-key{background:#af6c28}
@media(min-width:1600px){.bio-report-disclosure .bio-report-list{grid-template-columns:repeat(4,minmax(0,1fr))}.activity-month-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-month-charts>section+section{border-top:0;border-left:1px solid var(--border);padding-top:0;padding-left:25px}}
@media(max-width:760px){.month-heading{align-items:flex-start;flex-wrap:wrap;gap:9px}.month-heading h3{font-size:19px}.month-controls{width:100%;justify-content:flex-end}.month-controls>.button:first-child{margin-right:auto}.month-grid{gap:3px}.month-day{padding:7px 4px;min-height:77px;border-radius:7px}.month-day-number{font-size:11px;margin-bottom:6px}.scheduled-chip{padding:3px 2px;flex-direction:column;gap:2px;font-size:9px}.scheduled-chip strong{width:100%;font-size:8px}.nutrition-calendar-day>strong{font-size:13px}.nutrition-calendar-day>small{font-size:8px}.calendar-legend{gap:9px 14px}.calendar-legend>span{font-size:10px}.month-chart{min-width:580px}.bio-report-disclosure .bio-report-list{grid-template-columns:repeat(2,minmax(0,1fr))}.nutrition-report-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.message-attachments{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.workout-month-card,.nutrition-month-card,.activity-month-card{padding:16px 11px}.bio-report-disclosure .bio-report-list{grid-template-columns:minmax(0,1fr)}.nutrient-detail>div{padding:13px}.nutrient-detail strong{font-size:19px}.workout-calendar-day{min-height:87px}.scheduled-detail{gap:12px}.month-controls .button{font-size:10px;padding:8px}.month-controls .icon-button{min-width:36px}.calendar-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.month-day{transition:none}}
.month-plot{display:flex;align-items:flex-start;gap:8px;margin-top:22px}.month-plot .month-chart-scroll{flex:1;min-width:0;margin-top:0}.month-y-axis{position:relative;width:42px;flex-shrink:0;height:172px;margin-top:12px;color:var(--soft);font-size:9px;text-align:right}.month-y-axis span{position:absolute;right:0;transform:translateY(-50%)}.month-y-axis span:nth-child(1){top:0}.month-y-axis span:nth-child(2){top:50%}.month-y-axis span:nth-child(3){top:100%}.month-plot .month-chart{position:relative;background:linear-gradient(to bottom,var(--border) 1px,transparent 1px) 0 0/100% 86px;background-repeat:repeat-y}.month-plot .month-bar-date{position:relative;background:var(--panel);width:100%}.activity-month-sync{justify-content:flex-start;margin:18px 0}.activity-month-sync>.button{margin-left:auto}.bio-period-label{margin-bottom:18px}html[data-theme="light"] .month-plot .month-bar-date{background:#fff}@media(max-width:480px){.month-y-axis{width:35px;font-size:8px}.month-plot{gap:6px}.activity-month-sync{gap:10px;flex-wrap:wrap}.activity-month-sync strong{font-size:11px}.activity-month-sync p{font-size:10px}}
/* Compact report tiles; complete metrics and source names remain in the dialog. */
.bio-report-disclosure .bio-report-card{padding:16px;display:flex;flex-direction:column;gap:0}.bio-report-disclosure .bio-report-heading{flex-wrap:nowrap}.bio-report-disclosure .bio-report-heading>div{min-width:0}.bio-report-disclosure .bio-report-heading h3{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bio-report-disclosure .bio-report-heading p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bio-report-disclosure .bio-report-heading>.pill{display:none}.bio-report-disclosure .bio-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0 12px;padding:0}.bio-report-disclosure .bio-report-summary span{font-size:9px;line-height:1.4;min-width:0}.bio-report-disclosure .bio-report-summary strong{font-size:14px;font-weight:500;display:block;margin-bottom:4px;line-height:1.25}.bio-report-disclosure .bio-report-footer{margin-top:auto;padding:0;gap:0;border-top:0}.bio-report-disclosure .bio-report-footer>p{display:none}.bio-report-disclosure .bio-report-footer .button{font-size:10px;line-height:1.4;padding:9px 10px;min-height:44px;width:100%}.bio-report-disclosure .bio-report-heading .bio-report-icon{width:28px;height:28px}
/* Shared calendar, pauses, financial records and ordered publication blocks. */
.interactive-stat{font:inherit;color:var(--text);text-align:left;cursor:pointer}.interactive-stat:hover{border-color:var(--lilac);background:var(--panel2)}.interactive-stat:focus-visible{outline:2px solid var(--lilac);outline-offset:3px}.unified-calendar .calendar-toolbar h2{text-transform:capitalize}.global-calendar-day{min-height:145px;align-self:stretch}.global-calendar-day .scheduled-chip{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 4px;line-height:1.35;padding:6px}.global-calendar-day .scheduled-chip small{grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}.scheduled-chip.neutral{border-color:var(--soft);background:color-mix(in srgb,var(--muted) 9%,transparent)}.scheduled-chip.meeting,.pill.meeting{border-color:var(--lilac);color:var(--lilac);background:color-mix(in srgb,var(--lilac) 16%,transparent)}.calendar-legend i.meeting{background:var(--lilac)}.calendar-client-label{margin:20px 0 0}.calendar-client-label:first-child{margin-top:0}.calendar-client-label .button{padding-left:0;text-align:left;font-size:13px}.client-pause-summary{display:block;color:var(--muted);line-height:1.5;margin-top:6px;font-size:10px;max-width:175px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pause-card{margin-bottom:22px}.pause-card .button{margin-top:12px}.pause-card .card-head .button{margin-top:0}.pause-history-row{padding:18px 0;border-bottom:1px solid var(--border)}.pause-history-row:first-child{padding-top:0}.pause-history-row h3{font-size:15px;margin:12px 0 8px}.pause-history-row small{color:var(--muted);display:block;margin-top:10px}.attention-item .missed-task-detail{line-height:1.5;color:var(--orange)}.attention-text>.button{padding:5px 0;min-height:34px}.finance-chart{margin-bottom:22px}.finance-chart .stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:23px}.finance-chart .stat{background:var(--panel2)}.finance-chart .month-bar{background:var(--green)}.finance-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:22px;align-items:center;border-bottom:1px solid var(--border);padding:17px 0}.finance-row:last-child{border-bottom:0}.finance-row>div:first-child>.button{padding:0;min-height:28px;text-align:left;font-size:13px}.finance-row p{font-size:12px;margin:4px 0;color:var(--muted)}.finance-row small{font-size:10px;color:var(--soft)}.finance-row>div:nth-child(2){display:flex;flex-direction:column;align-items:flex-end;gap:8px}.finance-row strong{font-size:18px;font-weight:500;white-space:nowrap}.cancellation-history{margin-top:22px;font-size:12px;color:var(--muted)}.cancellation-history summary{cursor:pointer;min-height:44px;padding:12px 0}.cancellation-history>div{padding:13px 0;border-top:1px solid var(--border)}.cancellation-history strong{color:var(--text)}.cancellation-history p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.cancellation-history small{color:var(--soft)}
.news-content{margin:18px 0 12px}.news-content .news-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0;line-height:1.75}.news-figure{margin:18px 0}.news-figure button{display:block;background:transparent;border:0;width:100%;padding:0;cursor:zoom-in}.news-figure img{display:block;width:100%;max-height:420px;object-fit:contain;border-radius:10px;background:var(--panel2)}.news-figure figcaption{font-size:11px;color:var(--muted);line-height:1.6;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.news-editor-block{border:1px solid var(--border);border-radius:12px;padding:15px;margin:14px 0;background:var(--panel2)}.news-editor-block header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:12px;color:var(--muted)}.news-editor-block header>div{display:flex;gap:3px}.news-editor-block .icon-button{height:38px;min-width:38px}.news-editor-block textarea,.news-editor-block input{width:100%;background:var(--input-bg,var(--panel));border:1px solid var(--border);color:var(--text);font:inherit;font-size:13px;padding:12px;border-radius:8px}.news-editor-block textarea{min-height:115px;resize:vertical;line-height:1.6}.news-editor-block>img{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:8px;margin-bottom:14px}.news-editor-block>label:not(.sr-only){display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.news-editor-controls{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.news-file-label{position:relative;overflow:hidden;cursor:pointer}.news-file-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.news-file-label:focus-within{outline:2px solid var(--lilac);outline-offset:3px}.news-file-label.processing{opacity:.5;cursor:wait}.news-editor-block button:disabled{opacity:.3;cursor:default}.news-card .news-content+p{margin-top:0}
html[data-theme="light"] .finance-chart .stat,html[data-theme="light"] .news-editor-block{background:var(--panel2)}
@media(max-width:760px){.unified-calendar{padding:17px 10px}.global-calendar-day{min-height:105px;padding:6px 3px}.global-calendar-day .scheduled-chip{display:flex;align-items:stretch;padding:3px;gap:1px}.global-calendar-day .scheduled-chip>span{font-size:8px}.global-calendar-day .scheduled-chip>strong{font-size:8px}.global-calendar-day .scheduled-chip>small{display:none}.global-calendar-day .month-day-events{gap:3px}.finance-chart .stats{grid-template-columns:1fr;gap:10px}.finance-chart .stat{min-height:90px;padding:15px}.finance-chart .stat-value{font-size:26px}.finance-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.finance-row>.button{grid-column:1/-1;justify-self:end;padding:5px;min-height:32px}.finance-row strong{font-size:16px}.finance-row>div:first-child>.button{font-size:12px;line-height:1.5}.news-editor-block{padding:12px}.news-editor-block .icon-button{height:44px;min-width:44px}.news-editor-block textarea,.news-editor-block input{font-size:16px}.news-editor-controls>.button{flex:1}.client-pause-summary{max-width:145px}.pause-card .card-head{margin-bottom:12px}}
.pause-switch{display:flex;align-items:center;gap:6px;min-height:44px;border:0;background:transparent;color:var(--muted);cursor:pointer;padding:3px 0;font:inherit}.pause-switch>span{width:29px;height:17px;border-radius:10px;background:var(--panel3);border:1px solid var(--border);position:relative;flex-shrink:0}.pause-switch>span::after{content:"";position:absolute;width:11px;height:11px;border-radius:50%;top:2px;left:2px;background:var(--muted);transition:transform .15s}.pause-switch[aria-checked="true"]>span{background:var(--lilac);border-color:var(--lilac)}.pause-switch[aria-checked="true"]>span::after{background:var(--panel);transform:translateX(12px)}.pause-switch small{font-size:10px}.pause-switch:focus-visible{outline:2px solid var(--lilac);outline-offset:2px;border-radius:5px}@media(prefers-reduced-motion:reduce){.pause-switch>span::after{transition:none}}
/* Per-metric changes and recorded nutrition/water deviations. */
.measurement-delta{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:3px 7px;color:var(--muted);font-size:10px;line-height:1.5;font-weight:400;margin-top:6px}.measurement-delta .delta-date{font-size:9px;color:var(--soft);white-space:nowrap}.measurement-delta.missing{color:var(--soft)}.latest-measurement .measurement-delta{justify-content:flex-start;margin:2px 0 8px;min-height:30px;align-content:center}.latest-measurement .measurement-delta.missing{min-height:30px}.measurement-history-table .measurement-value{font-size:13px}.measurement-history-table .measurement-delta .delta-date{flex-basis:100%}.nutrition-log-table .nutrition-deviation{display:inline-block;color:var(--muted);font-size:10px;font-weight:500;margin-left:7px}.nutrition-log-table td{vertical-align:top}.nutrition-log-table tbody th{vertical-align:top}.nutrient-detail .neutral{color:var(--muted)}.nutrient-detail .water-detail{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 15px}.water-detail>strong{grid-column:2;grid-row:1/3}.water-detail>b{grid-column:2;text-align:right}.water-month-report{margin-top:28px;padding-top:24px;border-top:1px solid var(--border)}.water-month-report>h3{margin-bottom:17px}.water-month-report .month-bar{background:var(--lilac)}
@media(max-width:700px){.measurement-delta{font-size:10px;gap:2px 5px}.measurement-delta .delta-date{font-size:9px}.latest-measurement .measurement-delta{min-height:33px}.nutrition-log-table .nutrition-deviation{font-size:10px}.nutrition-log-table th,.nutrition-log-table td{min-width:118px}.water-month-report{margin-top:22px;padding-top:20px}}
/* Coach-only access requests; mail delivery is distinct from review status. */
.intake-card .card-head{align-items:flex-start;gap:12px;margin-bottom:14px}.intake-card h2{font-size:16px;line-height:1.4}.intake-card .card-head p{font-size:10px}.intake-card .card-head>.pill{margin-top:3px;flex-shrink:0}.intake-row{width:100%;display:flex;gap:12px;align-items:flex-start;justify-content:space-between;text-align:left;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text);padding:14px 0;cursor:pointer;font:inherit;min-height:72px}.intake-row:hover .intake-person strong{color:var(--lilac)}.intake-row:focus-visible{outline:2px solid var(--lilac);outline-offset:4px;border-radius:5px}.intake-person{display:flex;flex-direction:column;gap:5px;min-width:0}.intake-person strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.intake-person>span{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.intake-person small{font-size:9px;color:var(--soft);line-height:1.5}.intake-row>.pill{font-size:9px;flex-shrink:0;margin-top:2px}.intake-empty{padding:15px 0;color:var(--text);font-size:12px;line-height:1.7}.intake-empty p{font-size:11px;color:var(--muted);margin-top:6px}.intake-card .notice{font-size:11px;margin-top:8px}.intake-card .notice>.button{display:flex;margin-top:7px}.intake-pagination{display:flex;justify-content:space-between;gap:8px;padding-top:18px;border-top:1px solid var(--border);margin-top:8px}.intake-detail h3{font-size:22px;margin:16px 0 8px;font-weight:500;overflow-wrap:anywhere}.intake-detail>a{display:inline-block;color:var(--lilac);font-size:14px;overflow-wrap:anywhere;min-height:38px}.intake-detail>p{font-size:11px;color:var(--muted);line-height:1.7}.intake-detail .notice{margin:20px 0;line-height:1.8}.intake-detail .notice p{margin-top:6px;font-size:11px;color:var(--muted)}.intake-detail-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.intake-detail .notice.error .button{display:flex;margin-top:10px}#access-request-list>.mini-note{margin-bottom:18px}#access-request-list .intake-row{padding:17px 0}#access-request-list .intake-person strong{font-size:14px}#access-request-list .intake-person>span{font-size:12px}.intake-pagination .button:disabled{opacity:.35;cursor:default}
@media(max-width:700px){.intake-card h2{font-size:16px}.intake-row{min-height:80px;gap:10px}.intake-person strong{font-size:13px}.intake-person>span{font-size:11px}.intake-person small{font-size:10px}.intake-detail-actions>.button{flex:1;min-height:44px}.intake-pagination .button{font-size:10px;padding:8px 10px;min-height:44px}.intake-detail h3{font-size:21px}.intake-row>.pill{white-space:normal;text-align:center;max-width:88px}}

/* Read-only dates, kept separate from the client's private diary. */
.cycle-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 19px}.cycle-section-heading p{font-size:11px;color:var(--muted);margin-top:8px}.cycle-shared{background:rgba(206,188,233,.1);color:var(--lilac)}.cycle-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:20px;align-items:start}.cycle-layout>.card{min-width:0}.cycle-calendar .month-heading{gap:10px}.cycle-calendar .month-heading h3{font-size:21px}.cycle-calendar .month-grid{gap:6px}.cycle-calendar .month-day.cycle-day{cursor:default;min-height:65px;background:var(--panel3);border:1px solid var(--border);padding:10px 11px;transition:none}.cycle-calendar .month-day.cycle-day:hover{border-color:var(--border)}.cycle-day .month-day-number{margin:0}.cycle-day-mark{position:absolute;bottom:8px;right:11px;font-size:10px;line-height:1}.cycle-calendar .month-day.cycle-day.actual{background:rgba(211,143,171,.17);border-color:rgba(220,162,185,.35);color:#f2c5d7}.cycle-calendar .month-day.cycle-day.predicted{background:rgba(206,188,233,.065);border:1px dashed rgba(206,188,233,.65);color:var(--lilac)}.cycle-legend{display:flex;flex-wrap:wrap;gap:12px 20px;margin:18px 0 11px}.cycle-legend>span{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:8px}.cycle-legend i{width:15px;height:15px;border-radius:4px;flex-shrink:0}.cycle-legend i.actual{background:rgba(211,143,171,.22);border:1px solid rgba(220,162,185,.5)}.cycle-legend i.predicted{background:rgba(206,188,233,.07);border:1px dashed var(--lilac)}.cycle-calendar>.mini-note{line-height:1.8}.cycle-forecast{padding:27px 24px}.cycle-forecast>.eyebrow{font-size:9px;line-height:1.7}.cycle-estimate{font-size:25px;font-weight:500;line-height:1.5;margin:12px 0 4px;overflow-wrap:anywhere}.cycle-forecast>.note{font-size:11px;margin-bottom:24px}.cycle-forecast .keyval{gap:15px;padding:12px 0}.cycle-forecast .keyval span,.cycle-forecast .keyval strong{font-size:11px;line-height:1.6}.cycle-forecast .keyval strong{text-align:right;flex-shrink:0;font-weight:500}.cycle-forecast .notice{font-size:11px;margin-top:18px;line-height:1.7}.cycle-forecast>.mini-note{line-height:1.8;margin-top:20px}.cycle-forecast-empty{padding:18px 0}.cycle-forecast-empty>span{color:var(--lilac);display:block;margin-bottom:20px}.cycle-forecast-empty h3{font-size:19px;font-weight:500;line-height:1.5;margin-bottom:12px}.cycle-forecast-empty p{font-size:12px;color:var(--muted);line-height:1.8}.cycle-empty{display:flex;align-items:center;flex-direction:column;text-align:center;min-height:300px;justify-content:center;padding:42px 30px}.cycle-empty>span{display:flex;align-items:center;justify-content:center;width:56px;height:56px;background:var(--panel3);color:var(--lilac);border-radius:18px;margin-bottom:22px}.cycle-empty h2{font-size:23px;font-weight:500;line-height:1.5;max-width:520px}.cycle-empty p{font-size:12px;line-height:1.9;color:var(--muted);max-width:550px;margin-top:12px}.cycle-empty .mini-note{font-size:10px;max-width:530px}.cycle-empty>.button{margin-top:24px;min-height:44px}.cycle-history{margin-top:22px}.cycle-history .card-head p{font-size:11px;line-height:1.7;margin-top:6px}.cycle-length-bars{display:grid;gap:15px;margin:24px 0}.cycle-length-bars>div{display:grid;grid-template-columns:130px minmax(0,1fr) 55px;align-items:center;gap:20px}.cycle-length-bars>div>span{font-size:11px;color:var(--muted)}.cycle-length-bars>div>strong{font-size:12px;font-weight:500;text-align:right}.cycle-length-track{height:11px;border-radius:4px;background:var(--panel3);overflow:hidden}.cycle-length-track i{height:100%;display:block;border-radius:4px;background:var(--lilac);opacity:.7}.cycle-period-list{border-top:1px solid var(--border);padding-top:8px;margin-top:22px}.cycle-period-list summary{font-size:12px;color:var(--lilac);min-height:44px;display:flex;align-items:center;cursor:pointer;list-style:none;gap:12px}.cycle-period-list summary::after{content:'+';margin-left:auto;font-size:18px}.cycle-period-list[open] summary::after{content:'−'}.cycle-period-list summary::-webkit-details-marker{display:none}.cycle-period-list summary:focus-visible{outline:2px solid var(--lilac);outline-offset:3px;border-radius:5px}.cycle-period-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;border-top:1px solid var(--border);padding:13px 0}.cycle-period-list strong{font-size:11px;font-weight:500;line-height:1.7}.cycle-period-list>div>span{font-size:10px;color:var(--muted);line-height:1.7;text-align:right}.cycle-period-list>.note{margin:12px 0}
html[data-theme="light"] .cycle-calendar .month-day.cycle-day{background:#fbfafc}html[data-theme="light"] .cycle-calendar .month-day.cycle-day.actual{background:#f8e7ee;border-color:#dfb4c5;color:#813e5a}html[data-theme="light"] .cycle-calendar .month-day.cycle-day.predicted{background:#f5f0fb;border-color:#aa90c6;color:#70508e}html[data-theme="light"] .cycle-legend i.actual{background:#f8e7ee;border-color:#d5a7ba}html[data-theme="light"] .cycle-legend i.predicted{background:#f5f0fb;border-color:#9d7dbc}
@media(max-width:1100px){.cycle-layout{grid-template-columns:minmax(0,1fr)}.cycle-forecast .keyvals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.cycle-forecast .keyval{align-items:flex-start}.cycle-forecast .keyval span{max-width:160px}.cycle-forecast>.mini-note{max-width:650px}}
@media(max-width:700px){.cycle-section-heading{align-items:flex-start;gap:10px}.cycle-section-heading p{font-size:10px;line-height:1.7;max-width:230px}.cycle-section-heading>.button{min-height:44px;font-size:10px}.cycle-calendar{padding:19px 12px}.cycle-calendar .month-heading{padding:0 5px}.cycle-calendar .month-heading h3{font-size:20px}.cycle-calendar .month-controls{margin-top:0}.cycle-calendar .month-grid{gap:4px;margin-top:15px}.cycle-calendar .month-day.cycle-day{min-height:53px;padding:9px 8px;border-radius:7px}.cycle-day-mark{bottom:8px;right:8px;font-size:8px}.cycle-legend{gap:10px 14px}.cycle-legend>span{font-size:9px}.cycle-calendar>.mini-note{font-size:9px}.cycle-forecast{padding:22px 18px}.cycle-forecast .keyvals{display:block}.cycle-estimate{font-size:24px}.cycle-forecast .keyval span{max-width:unset}.cycle-history{padding:22px 18px}.cycle-history .card-head h2{font-size:17px}.cycle-history .card-head p{font-size:10px}.cycle-length-bars>div{grid-template-columns:105px minmax(0,1fr) 48px;gap:10px}.cycle-length-bars>div>span{font-size:10px}.cycle-length-bars>div>strong{font-size:11px}.cycle-length-track{height:9px}.cycle-period-list>div{gap:12px;flex-wrap:wrap}.cycle-period-list>div>span{text-align:left}.cycle-empty{padding:35px 22px}.cycle-empty h2{font-size:21px}.cycle-empty p{font-size:11px}.cycle-empty .mini-note{font-size:10px}}
/* Birthdays are civil Moscow dates; these are reminders, not outgoing messages. */
.client-person>div{min-width:0}.client-person .client-age{color:var(--muted);font-size:10px;line-height:1.6;white-space:normal;overflow:visible;text-overflow:clip;max-width:none;margin-top:4px}.client-age.missing{color:var(--soft)}.client-age>button{font:inherit;line-height:1.5;text-align:left;color:var(--soft);background:none;border:0;border-bottom:1px dotted var(--border);padding:2px 0;min-height:24px;cursor:pointer}.client-age>button:hover{color:var(--lilac);border-color:var(--lilac)}.client-age>button:focus-visible{outline:2px solid var(--lilac);outline-offset:3px;border-radius:3px}.birthdays-card .card-head{align-items:flex-start;gap:12px;margin-bottom:12px}.birthdays-card .card-head h2{font-size:16px;line-height:1.5}.birthdays-card .card-head p{font-size:10px;line-height:1.7;margin-top:5px}.birthday-icon{display:flex;align-items:center;justify-content:center;width:35px;height:35px;border-radius:10px;background:var(--panel3);color:var(--lilac);flex-shrink:0}.birthday-row{display:flex;align-items:center;gap:11px;padding:15px 0;width:100%;min-height:83px;border:0;border-top:1px solid var(--border);background:none;color:var(--text);text-align:left;cursor:pointer;font:inherit}.birthday-row:hover .birthday-person>strong{color:var(--lilac)}.birthday-row:focus-visible{outline:2px solid var(--lilac);outline-offset:3px;border-radius:6px}.birthday-day{width:39px;min-height:45px;flex-shrink:0;border:1px solid var(--border);border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px 2px;background:var(--panel3)}.birthday-day>strong{font-size:18px;line-height:1.1;font-weight:500;color:var(--lilac)}.birthday-day>small{font-size:8px;line-height:1.5;color:var(--soft);margin-top:3px}.birthday-person{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.birthday-person>strong{font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.birthday-person>span{font-size:10px;color:var(--muted);line-height:1.5}.birthday-person>small{font-size:9px;color:var(--soft);line-height:1.5}.birthday-countdown{display:flex;align-items:center;justify-content:flex-end;gap:6px;max-width:83px;font-size:9px;line-height:1.6;text-align:right;color:var(--muted);flex-shrink:0}.birthday-countdown svg{flex-shrink:0;color:var(--soft)}.birthday-row.is-today .birthday-countdown{color:var(--lilac)}.birthday-row.is-today .birthday-day{border-color:var(--lilac);background:rgba(206,188,233,.08)}.birthday-empty{padding:13px 0 2px}.birthday-empty>p{font-size:12px;line-height:1.8;color:var(--muted)}.birthday-empty>small{display:block;font-size:10px;line-height:1.8;color:var(--soft);margin-top:8px}.birthday-empty>.button{margin-top:12px;min-height:44px;padding-left:0}.birthday-missing{margin-top:14px;padding-top:14px;border-top:1px solid var(--border);line-height:1.8}.birthday-text-link{display:inline;background:transparent;border:0;border-bottom:1px dotted var(--border);font:inherit;color:var(--lilac);padding:3px 0;min-height:24px;cursor:pointer}.birthday-text-link:focus-visible{outline:2px solid var(--lilac);outline-offset:3px;border-radius:3px}.birthday-card-footer{border-top:1px solid var(--border);padding-top:8px;margin-top:10px}.birthday-card-footer .button{min-height:44px;padding-left:0;font-size:11px}.birthday-list-note{margin:0 0 20px;line-height:1.8}#birthdays-list .birthday-row{gap:15px;min-height:91px}#birthdays-list .birthday-person>strong{font-size:14px}#birthdays-list .birthday-person>span{font-size:11px}#birthdays-list .birthday-person>small{font-size:10px}#birthdays-list .birthday-countdown{font-size:11px;max-width:110px}#birthdays-list .birthday-day{width:45px;min-height:49px}
html[data-theme="light"] .birthday-row.is-today .birthday-day{background:#f3edf9;border-color:#b49acb}html[data-theme="light"] .birthday-text-link,html[data-theme="light"] .client-age>button{border-bottom-color:#bcafca}
@media(max-width:700px){.client-person .client-age{font-size:10px}.client-age>button{font-size:9px;min-height:28px}.birthday-row{gap:10px;min-height:87px}.birthday-person>strong{font-size:12px}.birthday-person>span{font-size:10px}.birthday-person>small{font-size:10px}.birthday-countdown{font-size:9px;max-width:73px}.birthday-day{width:36px}.birthdays-card .card-head h2{font-size:17px}.birthday-empty>small,.birthday-missing{font-size:10px}#birthdays-list .birthday-row{gap:10px;min-height:90px}#birthdays-list .birthday-person>strong{font-size:12px}#birthdays-list .birthday-person>span{font-size:10px}#birthdays-list .birthday-countdown{font-size:9px;max-width:75px}#birthdays-list .birthday-day{width:36px;min-height:45px}}
/* A small civil birth-date line and conservative date-only cycle estimates. */
.profile-head>div{min-width:0}.profile-birthline{display:flex;align-items:center;flex-wrap:wrap;gap:7px 15px;color:var(--muted);font-size:12px;line-height:1.7;margin-top:7px}.profile-zodiac{display:inline-flex;align-items:center;gap:6px;color:var(--muted)}.zodiac-symbol{font-family:Arial,"Apple Symbols","Segoe UI Symbol",sans-serif;font-variant-emoji:text;font-size:17px;line-height:1;color:var(--lilac);font-weight:400}.profile-birthline.unknown>button{color:var(--soft);font:inherit;min-height:26px;line-height:1.5;border:0;border-bottom:1px dotted var(--border);background:none;padding:0;cursor:pointer}.profile-birthline.unknown>button:hover{color:var(--lilac)}.profile-birthline.unknown>button:focus-visible{outline:2px solid var(--lilac);outline-offset:3px;border-radius:3px}.cycle-phases{margin-top:22px}.cycle-phase-current{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.cycle-phase-current>div{min-width:0}.cycle-phase-current .eyebrow{font-size:9px}.cycle-phase-current h2{font-size:22px;font-weight:500;line-height:1.45;margin-top:8px}.cycle-phase-current p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:9px;max-width:630px}.cycle-phase-pill{white-space:nowrap;font-size:10px;color:var(--lilac);background:var(--panel3);margin-top:20px}.cycle-phase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.cycle-phase-card{--phase-color:#bda1d8;min-width:0;min-height:117px;padding:17px 14px;border:1px solid var(--border);border-radius:12px;background:var(--panel3);display:flex;flex-direction:column;gap:12px}.cycle-phase-card.menstrual{--phase-color:#d8a2b7}.cycle-phase-card.follicular{--phase-color:#95b8af}.cycle-phase-card.ovulatory{--phase-color:#d3b38c}.cycle-phase-card.luteal{--phase-color:#bda1d8}.cycle-phase-card.is-current{border-color:var(--phase-color);box-shadow:inset 0 3px 0 var(--phase-color)}.cycle-phase-kind{display:flex;align-items:center;gap:7px;font-size:10px;line-height:1.5;color:var(--muted)}.cycle-phase-kind>i{width:6px;height:6px;border-radius:50%;background:var(--phase-color);flex-shrink:0}.cycle-phase-card>strong{font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.cycle-phase-card>small{font-size:9px;line-height:1.6;color:var(--soft);margin-top:auto}.cycle-phase-caution{border-top:1px solid var(--border);padding-top:16px;margin-top:20px;line-height:1.8;max-width:850px}.cycle-phases-empty{display:flex;align-items:flex-start;gap:12px;padding:17px 18px;border:1px solid var(--border);background:var(--panel3);border-radius:12px}.cycle-phases-empty>span{color:var(--lilac);flex-shrink:0}.cycle-phases-empty p{font-size:12px;color:var(--muted);line-height:1.8}.cycle-phases>.card-head p{font-size:11px;margin-top:6px;line-height:1.7}.cycle-phases>.mini-note{line-height:1.8}
html[data-theme="light"] .cycle-phase-card.menstrual{--phase-color:#b77590}html[data-theme="light"] .cycle-phase-card.follicular{--phase-color:#608b80}html[data-theme="light"] .cycle-phase-card.ovulatory{--phase-color:#a77b42}html[data-theme="light"] .cycle-phase-card.luteal{--phase-color:#9470b4}
@media(max-width:1100px){.cycle-phase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.profile-birthline{gap:5px 12px;font-size:11px;margin-top:6px}.profile-zodiac{gap:5px}.zodiac-symbol{font-size:16px}.profile-birthline.unknown>button{min-height:28px}.cycle-phases{padding:22px 18px}.cycle-phase-current{flex-wrap:wrap;gap:9px;margin-bottom:19px}.cycle-phase-current h2{font-size:21px}.cycle-phase-current p{font-size:10px}.cycle-phase-pill{margin-top:0;font-size:9px}.cycle-phase-grid{gap:9px}.cycle-phase-card{padding:15px 11px;min-height:123px;gap:10px}.cycle-phase-kind{font-size:9px;gap:6px}.cycle-phase-card>strong{font-size:12px}.cycle-phase-card>small{font-size:9px}.cycle-phase-caution{font-size:9px;line-height:1.9}.cycle-phases-empty{padding:15px 12px}.cycle-phases-empty p{font-size:11px}.cycle-phases>.card-head h2{font-size:17px}.cycle-phases>.card-head p{font-size:10px}}

/* Client avatars contain only validated inline JPEGs; initials remain underneath as a fallback. */
.avatar.has-photo{position:relative;overflow:hidden;isolation:isolate}.avatar-initials{line-height:1;pointer-events:none}.avatar-photo{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;z-index:1;pointer-events:none}.avatar-photo[hidden]{display:none}

/* Coaching workflows share the existing dark/lilac and daylight palettes. */
.x-section{margin-bottom:22px}.x-section>.card-head{align-items:flex-start}.x-section .card-head:has(+.empty){margin-bottom:0}.x-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.x-grid>.x-section{height:100%;margin:0}.x-grid{margin-bottom:22px}.x-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.x-spaced{margin-top:16px!important}.x-four{grid-template-columns:repeat(4,minmax(0,1fr))}.x-page-actions{justify-content:flex-end;margin-bottom:16px}.x-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--border)}.x-line:last-child{border-bottom:0}.x-line h3{font-size:14px}.x-line p,.x-line small{color:var(--muted);font-size:12px;margin-top:4px}.x-signal{display:flex;gap:20px;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--border)}.x-signal:last-child{border-bottom:0}.x-signal-copy{min-width:0}.x-signal h3{margin:6px 0;font-size:14px}.x-signal p{font-size:12px;color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap}.x-signal small{display:block;color:var(--soft);font-size:11px;margin-top:6px}.x-filter{display:inline-flex;margin-bottom:20px}.x-toolbar{flex-wrap:wrap}.x-toolbar>label{font-size:12px;color:var(--muted)}.x-toolbar select{background:var(--panel);color:var(--text);padding:9px;border:1px solid var(--border);border-radius:8px;max-width:230px}.x-check{display:flex;align-items:center;gap:8px}.x-note{border-top:1px solid var(--border);padding:18px 0}.x-note:first-child{border-top:0}.x-note>small{display:block;color:var(--soft);margin:10px 0}.x-exercise-tools{grid-column:1/-1;width:100%;border-top:1px solid var(--border);padding-top:8px}.x-exercise-tools details{margin-top:10px}.x-exercise-tools summary{font-size:12px;color:var(--lilac);cursor:pointer;min-height:30px}.x-alternative{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;border:1px solid var(--border);padding:14px;border-radius:12px;margin:12px 0;background:var(--panel)}.x-alternative h4{grid-column:1/-1;margin:0;font-size:12px}.x-alternative label{display:grid;gap:5px;font-size:11px;color:var(--muted)}.x-alternative label:first-of-type{grid-column:span 2}.x-alternative input{min-width:0;width:100%;background:var(--panel2);border:1px solid var(--border);color:var(--text);padding:9px;border-radius:8px}.x-alternative>.button{grid-column:1/-1;justify-self:start}.x-diff{padding-left:20px;margin:20px 0;font-size:13px;color:var(--muted)}.x-diff li{margin:10px 0;overflow-wrap:anywhere}.x-version{border-bottom:1px solid var(--border);padding-bottom:12px}.x-version:last-child{border-bottom:0}.x-message-context{padding:10px 12px;margin-bottom:10px;border-left:2px solid var(--lilac);background:var(--panel2);font-size:12px;border-radius:6px}.x-message-context small{font-size:10px;color:var(--muted)}.x-week-bars{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.x-week-bars>div{display:flex;flex-direction:column;align-items:flex-start;min-width:0}.x-week-bars strong{font-size:26px;font-weight:500}.x-week-bars span{font-size:11px;color:var(--muted);margin:8px 0}.x-bar{max-height:110px;width:100%;background:var(--lilac);opacity:.65;border-radius:6px;margin-bottom:8px}.x-week-bars .button{font-size:10px;min-height:32px}.x-exercise-trend{padding:16px 0;border-bottom:1px solid var(--border)}.x-exercise-trend:last-child{border:0}.x-exercise-trend summary{cursor:pointer;color:var(--lilac);font-weight:550}.x-result-list{margin-top:14px}.x-result-list button{display:grid;grid-template-columns:100px 1fr 130px;gap:16px;align-items:center;background:transparent;color:var(--text);border:0;border-bottom:1px solid var(--border);width:100%;padding:12px 0;text-align:left}.x-result-list span{color:var(--soft);font-size:12px}.x-result-list i{height:5px;background:var(--lilac);border-radius:3px}.x-result-list strong{font-size:12px;font-weight:500;text-align:right}#form-error pre{white-space:pre-wrap;max-height:220px;overflow:auto;font-size:12px}#x-draft-status{margin:10px 0 20px}.plan-card-actions{flex-wrap:wrap}.plan-summary .plan-card-actions>.button{white-space:normal}.x-line[hidden]{display:none}
@media(max-width:1000px){.x-four{grid-template-columns:repeat(2,minmax(0,1fr))}.x-grid{grid-template-columns:1fr}.x-signal{align-items:flex-start;flex-direction:column}.x-signal>.x-actions{justify-content:flex-start}.x-alternative{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.x-line{flex-direction:column;align-items:flex-start;gap:14px}.x-section>.card-head{flex-wrap:wrap}.x-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.x-week-bars{gap:10px}.x-week-bars span{font-size:9px}.x-result-list button{grid-template-columns:70px 1fr 100px;gap:10px}.x-actions .button{min-height:44px}.x-filter{display:flex;width:100%;overflow:auto}.x-toolbar>label{width:100%}.x-toolbar select{max-width:100%}.x-alternative input{font-size:16px}.x-exercise-tools summary{min-height:44px;display:flex;align-items:center}}
.workout-set-row.x-five{grid-template-columns:repeat(5,minmax(0,1fr))}.workout-set-row.x-five.header{font-size:10px}
.x-week-bars{align-items:start}.x-week-bars>div{display:grid;grid-template-rows:40px 30px 100px;align-items:end}.x-week-bars .x-bar{align-self:end}.x-week-bars .button{justify-content:flex-start}
