@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#202629;--muted:#687579;--line:#e6ebed;--paper:#fafbfc;--green:#087f79;--lime:#d9f3ef;--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'DM Sans',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #14958c;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif}button{color:inherit}h1{font-size:31px;letter-spacing:-1.2px;font-weight:750}h2{font-size:18px;font-weight:750;letter-spacing:-.5px}h3{font-size:16px}small{font-size:12px}svg{flex-shrink:0}.app{display:flex;min-height:100vh}.sidebar{width:236px;background:#172522;color:#bac6c0;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:29px 18px 15px;z-index:30}.brand{display:flex;align-items:center;color:#fff;font-size:26px;letter-spacing:-1.2px;font-weight:650;padding:0 7px}.brand-dot{color:var(--lime)}.brandmark{font-size:32px;color:var(--lime);line-height:1;margin-right:10px;position:relative;font-weight:800}.brandmark span{font-size:20px;margin-left:-9px}.workspace{display:flex;align-items:center;gap:11px;background:#24332e;border:1px solid #3c4741;border-radius:9px;color:white;margin:31px 0 28px;padding:12px 10px;text-align:left;font-size:14px}.workspace small,.profile small{display:block;color:#91a197;margin-top:4px;font-size:12px}.workspace-avatar{border:1px solid #59695e;border-radius:6px;padding:7px;font-size:14px}.nav-label{font-size:12px;letter-spacing:1.6px;padding:0 14px;margin-bottom:12px;color:#82948a}nav{display:flex;flex-direction:column;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:7px;font-size:14px}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#263b30;color:#fff}.nav-link.active{background:var(--lime);color:#192923;font-weight:650}.nav-count{font-size:12px;background:#3b5144;border-radius:5px;padding:2px 6px;margin-left:auto;color:#d9f3ef}.nav-divider{height:1px;background:#34433b;margin:13px}.sidebar-bottom{margin-top:auto;padding-top:30px}.plan-box{padding:18px 14px;border:1px solid #3b4b3f;border-radius:10px;background:linear-gradient(135deg,#2b3d2f,#20312b)}.mini-tag{font-size:12px;letter-spacing:1.3px;color:var(--lime)}.plan-box p{font:600 20px Manrope,sans-serif;line-height:1.5;color:#f0f6eb;margin:12px 0}.plan-box small{color:#a7b8a7}.profile{display:flex;align-items:center;gap:10px;color:#e2e9e2;background:transparent;border:0;width:100%;padding:22px 3px 5px;text-align:left;font-size:14px}.profile>span:last-child{margin-left:auto}.avatar{width:37px;height:37px;border-radius:50%;background:#e8ece5;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:650;flex-shrink:0;color:#456044}.avatar.lime{background:#cbe2a7;color:#29472e}.avatar.peach{background:#f4e4d7;color:#916e51}.avatar.lavender{background:#e9e6f3;color:#766992}.avatar.blue{background:#dce9ef;color:#51768b}.main-shell{margin-left:236px;width:calc(100% - 236px)}header{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fff}.breadcrumb{font-size:14px;color:#818a83}.breadcrumb span{margin:0 12px;color:#b0b8af}.breadcrumb b{font-weight:500;color:#27392f}.header-right{display:flex;align-items:center;gap:20px}.demo-label{font-size:12px;letter-spacing:.4px;color:#879081}.icon-btn{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;padding:7px;font-size:18px}.notification{position:relative}.notification i{position:absolute;right:7px;top:6px;width:5px;height:5px;background:#88a849;border-radius:50%}.mobile-menu{display:none}main{padding:33px 38px 40px;max-width:1680px;margin:auto}.page-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px;gap:20px}.eyebrow{font-size:12px;letter-spacing:1.5px;color:#798473;margin-bottom:9px;text-transform:uppercase}.subtitle{color:var(--muted);font-size:14px;margin-top:9px;line-height:1.6}.button{border:1px solid #dce1d7;border-radius:7px;background:white;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:550;white-space:nowrap}.button:hover{background:#f0f4ea}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:#19392e}.button.lime-btn{background:var(--lime);border-color:var(--lime);color:#233321}.button.small{font-size:12px;padding:9px 12px}.actions{display:flex;gap:10px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:27px}.stat{padding:20px 21px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.stat-top{display:flex;justify-content:space-between;color:#748072;font-size:14px;align-items:center}.stat-top svg{width:18px;height:18px;color:#7f8e76}.stat-value{font-family:Manrope,sans-serif;font-size:31px;font-weight:650;letter-spacing:-1px;margin:16px 0 10px}.stat-value small{font-family:'DM Sans',sans-serif;color:#8a9483;font-size:14px;font-weight:400;letter-spacing:0}.stat-bottom{font-size:12px;color:#8a9287}.positive{color:#467653;font-weight:550;margin-right:5px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(285px,1fr);gap:23px}.card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);overflow:hidden}.card-head{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:15px}.card-head .subtitle{margin-top:5px;font-size:12px}.text-btn{border:0;background:none;color:#567047;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:9px;padding:4px}.text-btn:hover{text-decoration:underline}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;padding:0 23px 21px;border-bottom:1px solid var(--line)}.day{border:1px solid transparent;border-radius:9px;background:none;padding:10px 0;color:#929a8d;font-size:12px}.day b{display:block;font-size:17px;font-weight:600;color:#526147;margin:8px 0}.day i{display:block;width:4px;height:4px;background:#bcc5b5;margin:0 auto;border-radius:50%}.day.active{background:#294d3e;color:#cdd9cd}.day.active b{color:#fff}.day.active i{background:var(--lime)}.session-row{display:flex;gap:18px;padding:20px 23px;align-items:center;border-bottom:1px solid #eef0eb}.session-row:last-child{border:0}.time{font-size:14px;min-width:43px;align-self:flex-start;padding-top:4px}.time small{display:block;margin-top:7px;font-size:12px;color:#99a090}.session-line{width:3px;align-self:stretch;border-radius:3px;background:#9eaf81}.session-info{flex:1}.session-info strong{font-size:14px;font-weight:600}.session-info p{font-size:12px;color:#87917f;margin-top:7px}.session-row .avatar{width:33px;height:33px;font-size:12px}.badge{font-size:12px;padding:5px 8px;display:inline-flex;align-items:center;gap:4px;border-radius:5px;white-space:nowrap;color:#60704c;background:#edf3e4}.badge.orange{color:#a47b39;background:#fcf2e4}.badge.gray{color:#7c8773;background:#f0f2ed}.badge.purple{color:#817294;background:#f2eef8}.stack{display:flex;flex-direction:column;gap:23px}.attention{padding:1px 23px 11px}.attention-row{display:flex;align-items:flex-start;gap:11px;border-bottom:1px solid var(--line);padding:16px 0}.attention-row:last-child{border:0}.attention-row>div{flex:1}.attention-row strong{font-size:14px;font-weight:600}.attention-row p{font-size:12px;color:#8b9284;margin-top:5px;line-height:1.55}.attention-row button{margin-top:6px}.counter{font-size:12px;background:#f3efe3;color:#95885e;border-radius:5px;padding:5px 8px}.insight{background:#e9efdf;border-color:#e3e9d7;padding:23px}.insight-top{display:flex;justify-content:space-between;align-items:center}.insight-top span{font-size:12px;letter-spacing:1.4px;font-weight:650;color:#6c7c55}.insight h2{font-size:23px;margin:16px 0 9px;max-width:250px;line-height:1.5;letter-spacing:-.6px}.insight p{font-size:14px;color:#7a866a;line-height:1.7}.insight .text-btn{margin-top:15px;padding:0}.lower-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(285px,1fr);gap:23px;margin-top:23px}.chart-wrap{padding:0 23px 20px}.chart-meta{display:flex;gap:12px;align-items:baseline;margin-bottom:15px}.chart-meta b{font-size:26px;font-weight:600}.chart-meta span{font-size:12px;color:#829073}.bar-chart{height:120px;display:flex;gap:14px;align-items:flex-end;border-bottom:1px solid var(--line);padding:0 14px}.bar-chart .bar{flex:1;background:#dce6ce;border-radius:5px 5px 0 0;position:relative;min-width:15px}.bar-chart .bar.current{background:#098a80}.bar-chart .bar span{position:absolute;top:-19px;width:100%;text-align:center;font-size:12px;color:#78896a}.chart-labels{display:flex;justify-content:space-around;font-size:12px;color:#8a9680;padding-top:10px}.activity{padding:0 23px 18px}.activity-item{padding:11px 0;display:flex;gap:12px}.activity-icon{width:30px;height:30px;background:#f1f4ec;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#6a8354;flex-shrink:0}.activity-item p{font-size:12px;line-height:1.55}.activity-item small{color:#96a08d;font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:15px 22px;background:#f8faf6;font-size:12px;font-weight:550;color:#88937d;border-block:1px solid var(--line)}td{padding:18px 22px;border-bottom:1px solid #edf0f2;font-size:14px;white-space:nowrap}tr:last-child td{border:0}.client-name{display:flex;align-items:center;gap:12px}.client-name b{display:block;font-size:14px;font-weight:600}.client-name small{display:block;color:#8b9581;margin-top:5px}.progress{width:90px;height:5px;background:#edf1e7;border-radius:8px;overflow:hidden;margin-top:7px}.progress span{height:100%;display:block;background:#88a56a}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.search{position:relative}.search input{padding-left:37px;width:270px}.search>span{position:absolute;left:13px;top:11px;color:#8f9b82}input,select,textarea{background:white;border:1px solid #dfe5d7;border-radius:7px;padding:11px 12px;font-size:14px;color:#34482b;max-width:100%}textarea{min-height:95px;resize:vertical}input::placeholder{color:#99a18f}.segmented{display:flex;gap:3px;background:#eaf0e2;border-radius:7px;padding:4px}.segmented button{border:0;background:none;padding:8px 13px;border-radius:5px;color:#89947b;font-size:14px}.segmented button.selected{background:white;color:#314629;box-shadow:0 1px 3px #16331110}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.workout-card{padding:23px;display:flex;flex-direction:column;min-height:250px}.workout-icon{height:45px;width:45px;background:#edf3e5;color:#6a8056;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:24px}.workout-card h2{font-size:18px}.workout-card p{color:#8a937f;font-size:14px;margin:9px 0 22px}.workout-card .card-foot{border-top:1px solid var(--line);padding-top:16px;margin-top:auto;display:flex;justify-content:space-between;align-items:center}.workout-card .card-foot small{color:#839273}.calendar{display:grid;grid-template-columns:65px repeat(5,1fr);min-width:760px}.calendar-head{padding:18px 10px;text-align:center;border-bottom:1px solid var(--line);font-size:12px;color:#919d84}.calendar-head b{display:block;font-size:22px;margin-top:8px;color:#48613b}.calendar-head.today{background:#f0f6e7}.cal-hours{display:flex;flex-direction:column;padding-top:8px}.cal-hours span{height:86px;font-size:12px;color:#8d9c7e;padding:4px 12px}.cal-column{position:relative;height:524px;border-left:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent,transparent 85px,#edf0f2 85px,#edf0f2 86px)}.cal-event{position:absolute;left:7px;right:7px;background:#eaf0df;border:0;border-left:3px solid #96aa70;border-radius:5px;text-align:left;padding:11px 9px;font-size:12px;height:76px;overflow:hidden}.cal-event strong{display:block;font-size:12px;margin:5px 0}.cal-event.blue{background:#e6eff3;border-color:#83a8b9}.cal-event.purple{background:#f0eaf5;border-color:#ab8fbe}.inbox{display:grid;grid-template-columns:300px 1fr;min-height:490px}.conversation-list{border-right:1px solid var(--line)}.conversation{width:100%;border:0;border-bottom:1px solid var(--line);padding:20px;text-align:left;display:flex;gap:12px;background:#fff}.conversation.selected{background:#edf4e5}.conversation b{font-size:14px}.conversation p{font-size:12px;color:#8b987c;margin-top:7px}.chat{display:flex;flex-direction:column}.chat-body{padding:24px;flex:1;display:flex;flex-direction:column;gap:17px}.bubble{padding:14px 17px;background:#f0f4ea;border-radius:12px 12px 12px 0;max-width:80%;font-size:14px;line-height:1.7;align-self:flex-start}.bubble.mine{align-self:flex-end;border-radius:12px 12px 0 12px;background:#2b4d3e;color:white}.chat-form{display:flex;gap:10px;padding:18px;border-top:1px solid var(--line)}.chat-form input{flex:1;min-width:0}.empty{padding:40px;text-align:center;color:var(--muted)}footer{padding:15px 38px 25px;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#a1aa96;letter-spacing:.2px}.footer-dot{padding:0 8px}dialog{border:1px solid var(--line);padding:25px;border-radius:16px;width:min(560px,calc(100vw - 32px));max-height:90vh;color:var(--ink);box-shadow:0 20px 100px #10271e30}dialog::backdrop{background:#14251c65;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal-heading h2{font-size:21px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px}.field.full{grid-column:1/-1}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.detail-hero{display:flex;gap:17px;align-items:center;margin-bottom:22px}.detail-hero .avatar{height:60px;width:60px;font-size:19px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.detail-box{background:#f2f5ec;border-radius:10px;padding:17px}.detail-box small{display:block;color:#879379;margin-bottom:8px}.detail-box b{font-size:20px}.exercise-row{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.exercise-row .exercise-num{background:#eef6f5;width:31px;height:31px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:12px}.exercise-row>div{flex:1}.exercise-row b{font-size:14px}.exercise-row p{font-size:12px;color:#89957b;margin-top:4px}.exercise-row input{width:70px;padding:8px}.client-hero{background:#274b3b;color:white;border-radius:15px;padding:32px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.client-hero h2{font-size:29px;margin:13px 0}.client-hero p{color:#c0d0b8;font-size:14px}.client-hero .eyebrow{color:#cde598}.client-hero .big-number{font-size:95px;font-family:Manrope;font-weight:700;color:#b9d391;line-height:1;letter-spacing:-6px}.client-hero .button{margin-top:23px}.checklist label{display:flex;align-items:center;gap:12px;padding:14px 0;font-size:14px}.checklist input{accent-color:#567c43;width:18px;height:18px}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translate(-50%,20px);background:#203a2b;color:white;padding:14px 22px;border-radius:10px;font-size:14px;box-shadow:0 5px 25px #1e361d25;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}.builder-section{border:1px solid var(--line);border-radius:9px;padding:16px;margin-top:16px}.builder-section h3{font-size:14px;margin-bottom:8px}.muted{color:var(--muted)}@media(min-width:1500px){main{padding-top:40px}.session-row{padding-block:23px}.stat{padding:24px}}@media(max-width:1180px){.sidebar{width:205px;padding-inline:13px}.main-shell{margin-left:205px;width:calc(100% - 205px)}main{padding:26px 24px}.dashboard-grid,.lower-grid{grid-template-columns:1.45fr 1fr;gap:17px}.stats{gap:12px}.stat{padding:17px}.card-head,.session-row{padding-inline:18px}.week-strip{padding-inline:16px}.session-row{gap:10px}.session-row>.avatar{display:none}.header-right{gap:14px}.demo-label{display:none}.cards-grid{grid-template-columns:repeat(2,1fr)}header{padding-inline:24px}}@media(max-width:950px){.dashboard-grid,.lower-grid{grid-template-columns:1fr}.stack{display:grid;grid-template-columns:1.2fr 1fr;gap:17px}.stats{grid-template-columns:repeat(2,1fr)}.page-top{align-items:flex-start}.page-top>.actions{flex-direction:column;align-items:stretch}.inbox{grid-template-columns:240px 1fr}.session-row>.avatar{display:inline-flex}.insight h2{font-size:21px}.stat-value{margin-top:12px}.toolbar{flex-wrap:wrap}footer span:first-child{display:none}}@media(max-width:700px){.sidebar{transform:translateX(-100%);transition:.2s;width:236px}.menu-open .sidebar{transform:translateX(0);box-shadow:0 0 0 100vmax #16251d70}.main-shell{margin:0;width:100%}.mobile-menu{display:flex}.menu-open .mobile-menu{position:fixed;left:245px;top:20px;z-index:40;background:white;border-radius:6px}.breadcrumb{margin-right:auto;margin-left:12px;font-size:12px}.breadcrumb>span,.breadcrumb>b{display:none}header{height:68px;padding:0 16px}.header-right{gap:8px}.header-avatar{display:none}main{padding:25px 17px}h1{font-size:26px}.page-top{margin-bottom:22px}.page-top>.actions .button{font-size:12px;padding:10px}.page-top .subtitle{font-size:12px}.stats{gap:10px;margin-bottom:20px}.stat{padding:16px}.stat-value{font-size:28px}.stat-top{font-size:12px}.stat-bottom{font-size:12px}.stack{display:flex}.lower-grid{margin-top:17px}.session-row{padding:19px 15px}.session-row .badge{font-size:12px}.card-head{padding:19px 17px}.week-strip{padding:0 13px 16px;gap:3px}.day{font-size:12px}.day b{font-size:15px}.cards-grid{grid-template-columns:1fr}.toolbar .search,.search input{width:100%}.inbox{grid-template-columns:1fr}.conversation-list{display:flex;overflow:auto;border:0;border-bottom:1px solid var(--line)}.conversation{min-width:210px;padding:15px}.chat-body{min-height:270px}.client-hero{padding:24px}.client-hero h2{font-size:24px}.client-hero .big-number{display:none}.client-hero p{font-size:14px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}footer{padding:0 17px 25px;font-size:12px}#toast{left:50%;width:max-content}td{padding:15px}th{padding:15px}.header-right .small{font-size:12px}.calendar{min-width:750px}.insight h2{max-width:none}.notification{margin-left:4px}}
/* Self-hosted application additions */
.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:#172522;color:#fff;padding:10vw 7vw;display:flex;flex-direction:column;justify-content:center}.auth-brand h1{font-size:52px;max-width:450px;line-height:1.2;margin:60px 0 20px}.auth-brand p{color:#b5c4b4;max-width:390px;line-height:1.8}.auth-content{padding:45px;display:flex;justify-content:center;align-items:center}.auth-card{width:100%;max-width:430px}.auth-card h1{margin-bottom:12px}.auth-card form{margin-top:30px;display:flex;flex-direction:column;gap:17px}.auth-card .button{width:100%;margin-top:5px}.notice{padding:15px 18px;background:#fff4da;color:#77612f;border-radius:8px;line-height:1.6;font-size:14px;margin:15px 0}.error-box{padding:13px;background:#fff0ed;color:#a53d32;border-radius:7px;font-size:14px;line-height:1.6}.form-error:empty{display:none}.metric-list{padding:0 22px 22px}.metric-item{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.metric-item:last-child{border:0}.full-width{width:100%}.wide-dialog{width:min(900px,calc(100vw - 32px))}.builder-exercise{display:grid;grid-template-columns:2fr .65fr .8fr .7fr auto;gap:8px;margin:12px 0}.builder-exercise label{font-size:12px}.builder-exercise input{width:100%}.builder-exercise .video-field{grid-column:1 / -1}.form-stack{display:flex;flex-direction:column;gap:16px}.line-list{display:flex;flex-direction:column}.line-item{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:17px 22px;border-top:1px solid var(--line)}.line-item p{font-size:14px;line-height:1.6;color:var(--muted);margin-top:5px}.line-item h3{font-size:16px}.pill-nav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.history-chart{width:100%;height:160px;display:block}.field input[type=checkbox]{width:18px;height:18px}.client-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.section-top{display:flex;gap:12px;align-items:flex-end}.section-top .field{flex:1}.workspace-select{max-width:100%;width:100%;background:#25372d;color:#e2e9dc;border-color:#455647;font-size:14px;margin:28px 0}.button:disabled{opacity:.5;cursor:wait}.meta-line{font-size:12px;color:var(--muted);margin:10px 0 20px}.page-error{padding:28px;background:#fff;border:1px solid var(--line);border-radius:12px}.log-set{display:grid;grid-template-columns:1fr 90px 90px;align-items:end;gap:12px;margin-bottom:12px}.subtle{font-size:14px;color:var(--muted)}@media(max-width:700px){.auth-page{display:block}.auth-brand{padding:25px}.auth-brand h1{font-size:28px;margin:18px 0 8px}.auth-brand p{display:none}.auth-content{padding:30px 20px}.builder-exercise{grid-template-columns:1fr 1fr}.builder-exercise .name-field{grid-column:1 / -1}.section-top{flex-wrap:wrap}.line-item{align-items:flex-start;flex-wrap:wrap}.log-set{grid-template-columns:1fr 75px 75px}.auth-brand .brand{font-size:24px}}

/* Management and structured section editors */
.section-top{flex-wrap:wrap}.section-top .field{flex:1 1 150px;min-width:120px}.builder-exercise{grid-template-columns:2fr .65fr .8fr .7fr auto auto}.line-item input[type=checkbox]{width:20px;height:20px;flex-shrink:0}@media(max-width:700px){.builder-exercise{grid-template-columns:1fr 1fr}}

.calendar-grid{display:grid;gap:10px}.calendar-grid.week,.calendar-grid.month{grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{border:1px solid var(--line);border-radius:12px;background:white;padding:12px;min-height:160px}.calendar-day.today{border-color:#098a80;background:#f2faf8}.calendar-day h3{font-size:14px;margin-bottom:12px}.calendar-event{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;padding:10px;background:#eef8f6;border:0;border-left:3px solid #098a80;border-radius:6px;margin-bottom:8px;cursor:pointer;overflow-wrap:anywhere;font:inherit;font-size:12px}.calendar-event.cancelled{opacity:.5}.calendar-event span{font-size:11px;color:#526257}.exercise-filters{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px}.exercise-copy{white-space:pre-wrap;margin:8px 0 20px;line-height:1.7}.exercise-media{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.exercise-media img,.exercise-media video{max-width:100%;border-radius:10px}.qr-code svg{display:block;max-width:100%;height:auto;margin:20px auto}.calendar-grid.month .calendar-day{min-height:130px}.sidebar nav{overflow-y:auto;max-height:60vh}@media(max-width:1000px){.calendar-grid.week,.calendar-grid.month{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.calendar-grid.week,.calendar-grid.month,.exercise-filters,.exercise-media{grid-template-columns:1fr}}

@media(max-width:1000px){.calendar-placeholder{display:none}}

/* v0.3.1 grouped workspace navigation */
.sidebar nav{flex:1;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;gap:5px;padding-right:3px}
.sidebar .brand,.sidebar .workspace-select,.sidebar .nav-label,.sidebar-bottom{flex-shrink:0}
.nav-group{margin:2px 0}.nav-group-title{display:flex;align-items:center;gap:12px;padding:12px 14px;font-size:14px;font-weight:600;color:#bac6c0}
.nav-children{list-style:none;margin:3px 0 5px 23px;padding:0 0 0 12px;border-left:1px solid #405249;display:flex;flex-direction:column;gap:3px}
.nav-children li{margin:0;padding:0}.nav-link.nav-child{padding:9px 10px;font-size:13px;line-height:1.4}
.group-active>.nav-group-title{color:#d9f3ef}.nav-group.group-active>.nav-link:not(.active){background:#263b30;color:#eef5ec}

/* v0.3.2 session details and schedule badges */
.session-detail-layout{display:flex;flex-direction:column;gap:32px;padding:8px 0 6px}.session-overview{display:flex;flex-direction:column;gap:24px}.session-pills{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.session-pill{display:inline-flex;align-items:center;max-width:100%;padding:6px 10px;border:1px solid #e1e8e8;border-radius:8px;font-size:12px;font-weight:550;line-height:1.4;background:#f4f7f8;color:#466365;overflow-wrap:anywhere}.session-pill.pill-type{background:#e7f5f2;border-color:#d5eae5;color:#21685f}.session-pill.pill-status{background:#eaf7ec;border-color:#daedde;color:#357343}.session-pill.pill-location{background:#fff;border-color:#e1e8e8;color:#466365}.session-pill.pill-muted{background:#f1f3f4;border-color:#e1e5e7;color:#747c77}.session-pill.pill-fact{background:#f7fafa;padding:11px 14px;font-size:14px;border-color:#e2e9e9}.session-client-heading,.session-participant-person{display:flex;gap:14px;align-items:center}.session-client-heading .eyebrow{display:block;margin-bottom:7px;font-size:10px}.session-primary-facts{gap:10px}.session-detail-actions{gap:12px;flex-wrap:wrap}.session-section{border-top:1px solid #e6ebed;padding-top:28px;display:flex;flex-direction:column;gap:22px}.session-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.session-section-heading .eyebrow{display:block;margin-bottom:9px}.session-workout{background:#f7fafa;border:1px solid #e2e9e9;border-radius:14px;padding:24px}.session-workout-notes{font-size:14px;line-height:1.7;color:#657065;white-space:pre-wrap}.session-workout-sections{display:flex;flex-direction:column;gap:22px}.session-training-block{border:1px solid #e3e8eb;border-radius:10px;background:white;padding:20px;display:flex;flex-direction:column;gap:18px}.session-training-block h3{display:flex;align-items:center;gap:10px}.session-section-number{color:#70835e;font-size:12px;background:#eef6f5;padding:6px;border-radius:5px}.session-exercise{border-top:1px solid #edf0e9;padding-top:16px;display:flex;flex-direction:column;gap:12px}.session-exercise-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.session-exercise h4{font-size:15px;margin:0}.session-exercise p{font-size:13px;line-height:1.6;white-space:pre-wrap;color:#677169}.session-exercise .actions:empty{display:none}.session-workout-empty{padding:20px;background:white;border-radius:10px;color:#788272}.session-workout-empty h3{color:#44533e;margin-bottom:9px}.session-workout-empty p{font-size:14px;line-height:1.6}.session-participant-list{display:flex;flex-direction:column;gap:12px}.session-participant{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px;border:1px solid #e5eaec;border-radius:10px}.session-participant h3{margin-bottom:10px}.session-status-section .form-stack{gap:24px}.session-status-section .modal-actions{margin-top:0}.calendar-event.session-calendar-card{padding:14px 11px;gap:11px;margin-bottom:12px}.calendar-event .calendar-session-time{font-size:12px;font-weight:650;color:#42533b}.calendar-session-title{font-size:13px;line-height:1.55}.calendar-event .calendar-session-client{font-size:12px;font-weight:600;color:#294334}.calendar-event .calendar-session-pills{gap:6px;display:flex}.calendar-event .session-pill{font-size:10px;line-height:1.4;padding:4px 7px;color:#466365}.calendar-event .pill-status{color:#357343}.calendar-event .pill-type{color:#21685f}.calendar-day{padding:14px 12px}.calendar-day>h3{margin-bottom:18px}@media(max-width:600px){.session-detail-layout{gap:26px}.session-workout{padding:16px}.session-training-block{padding:15px}.session-participant{align-items:flex-start;flex-direction:column;padding:16px}.session-detail-actions .button{flex:1 1 140px}.session-primary-facts .pill-fact{font-size:13px}.session-section{padding-top:22px}.session-workout{padding-top:18px}}

/* v0.3.3 dedicated client workspace */
.client-profile-page{display:flex;flex-direction:column;gap:24px}.profile-back{margin-bottom:-8px}.profile-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;border:1px solid #e3e8eb;border-radius:16px;background:#fff}.profile-identity{display:flex;align-items:center;gap:20px;min-width:0}.profile-identity>.avatar{width:72px;height:72px;font-size:24px;flex-shrink:0}.profile-identity h1{margin:8px 0}.profile-identity p{color:#72806f;font-size:14px;margin-bottom:16px;overflow-wrap:anywhere}.profile-hero-actions{flex-wrap:wrap;max-width:380px;justify-content:flex-end}.profile-tabs{display:flex;flex-direction:row;gap:5px;overflow-x:auto;padding:6px;background:#f0f6f5;border-radius:12px}.profile-tab{white-space:nowrap;padding:12px 16px;font-size:14px;border-radius:8px;color:#586c51}.profile-tab:hover{background:#f5f8f0}.profile-tab.active{background:#087f79;color:#fff;font-weight:600}.profile-overview-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;margin:24px 0}.profile-card-body{padding:4px 24px 24px}.profile-session-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-bottom:1px solid #edf0f2}.profile-session-line:last-child{border-bottom:0}.profile-session-line h3{margin-bottom:12px}.profile-notes{white-space:pre-wrap;line-height:1.75;font-size:14px;color:#6c7768;margin:12px 0 22px}.profile-checkin{padding:24px;border-bottom:1px solid #e6ebed;display:flex;flex-direction:column;gap:16px}.profile-checkin:last-child{border-bottom:0}.profile-checkin>.button{align-self:flex-start}.profile-section-actions{margin-bottom:20px}.profile-content .page-top{margin-top:0}.profile-content .toolbar:has(select[name="progress_client"]),.profile-content .toolbar:has(select[name="chat_client"]){display:none}@media(max-width:850px){.profile-hero{align-items:flex-start;flex-direction:column}.profile-hero-actions{justify-content:flex-start;max-width:none}.profile-overview-grid{grid-template-columns:1fr}}@media(max-width:600px){.profile-hero{padding:20px}.profile-identity{align-items:flex-start;gap:14px}.profile-identity>.avatar{width:48px;height:48px;font-size:18px}.profile-identity h1{font-size:25px}.profile-tab{padding:11px 13px}.profile-session-line{align-items:flex-start;flex-direction:column}}

/* v0.3.4 client list summaries */
.clients-toolbar{align-items:flex-end;flex-wrap:wrap;gap:18px}.clients-toolbar>.field{min-width:170px}.clients-toolbar>.subtle{padding-bottom:13px}.clients-overview-table td{vertical-align:top}.client-package-summary{display:flex;flex-direction:column;gap:8px;min-width:190px;padding:3px 0}.client-package-summary+.client-package-summary{border-top:1px solid #e6ebed;margin-top:14px;padding-top:14px}.client-package-summary>b{font-size:13px}.client-package-summary small{font-size:12px;line-height:1.5;color:#76816f}.client-next-session{border:0;background:transparent;text-align:left;padding:3px 0;display:flex;flex-direction:column;gap:8px;min-width:150px;max-width:250px;color:#087f79}.client-next-session:hover b{text-decoration:underline}.client-next-session span{font-size:13px;line-height:1.5}.client-next-session small{color:#76816f;font-size:12px}@media(max-width:600px){.clients-toolbar>.search{width:100%}.clients-toolbar>.field{flex:1}.clients-overview-table{min-width:800px}}

.workout-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.workout-setting-row{padding:18px 22px;border-top:1px solid #e6ebed;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.workout-setting-row h3{font-size:15px;overflow-wrap:anywhere}.workout-setting-row small{display:block;margin-top:6px;color:#7b8575}.workout-setting-row .actions{gap:7px}@media(max-width:1100px){.workout-settings-grid{grid-template-columns:1fr}}

/* Compact schedule cards and day creation targets. */
.calendar-event.session-calendar-card{padding:8px;gap:5px;margin-bottom:6px}
.calendar-event .calendar-session-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 6px;line-height:1.3}
.calendar-event .calendar-session-time{font-size:11px;white-space:nowrap}
.calendar-session-title{font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.calendar-event .calendar-session-client{font-size:11px;line-height:1.3}
.calendar-event .calendar-session-pills{gap:3px}
.calendar-event .session-pill{font-size:10px;line-height:1.2;padding:2px 5px;border-radius:5px}
.calendar-day{padding:10px 8px}.calendar-day>h3{margin-bottom:10px}
.calendar-day-bookable{cursor:pointer}.calendar-day-bookable:hover{border-color:#91a482}
.calendar-day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:2px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.calendar-day-heading span{color:#658053;font-size:18px;font-weight:400}
.calendar-day-heading:focus-visible,.calendar-event:focus-visible{outline:2px solid #098a80;outline-offset:3px}

.package-heading{margin:28px 0 18px;font-size:20px}
/* Compact secondary actions, shared across cards, profiles, lists and dialogs. */
.compact-action-group{gap:8px!important;align-items:center;flex-wrap:wrap}
.action-dropdown-trigger{display:inline-flex;align-items:center;justify-content:center;gap:14px;white-space:nowrap;padding:8px 12px;min-height:36px;font-size:13px}
.action-dropdown-trigger[aria-expanded="true"]{background:#f0f6f5;border-color:#9cac8c}
.action-dropdown{position:fixed;inset:auto;margin:0;padding:6px;background:#fff;color:var(--ink);border:1px solid #e1e8e8;border-radius:12px;box-shadow:0 12px 38px #17252226;z-index:10000;overflow:auto;max-width:calc(100vw - 24px)}
.action-dropdown[hidden]{display:none!important}
.action-dropdown .action-dropdown-item{display:flex;width:100%;justify-content:flex-start;text-align:left;min-height:40px;height:auto;padding:10px 12px;margin:0;border:0;border-radius:7px;background:transparent;color:var(--ink);font:500 13px/1.4 'DM Sans',Arial,sans-serif;white-space:normal;box-shadow:none}
.action-dropdown .action-dropdown-item:hover{background:#f1f8f7}
.action-dropdown .destructive-action{color:#a13333}
.action-dropdown .destructive-action:hover{background:#fff0ee}
.action-dropdown .action-dropdown-item:focus-visible{outline:2px solid #14958c;outline-offset:-2px}
.profile-hero-actions.compact-action-group{flex-direction:row;justify-content:flex-end;flex:0 0 auto}
.workout-setting-row .compact-action-group{flex-shrink:0}
.session-detail-actions.compact-action-group .button{flex:0 0 auto}
@media(max-width:600px){.profile-hero-actions.compact-action-group{justify-content:flex-start}.action-dropdown .action-dropdown-item{min-height:44px}.compact-action-group>.button{max-width:100%}}
/* Package and subscription screens: explicit, independently versioned layout.
   Uses shared theme tokens; loaded after the older UI layers. */
html:root :is(.package-assign-shell,.ledger-dialog,.package-offer-card,.subscription-offer){box-sizing:border-box;min-width:0;color:var(--ink,#243446)}
html:root :is(.package-assign-shell,.ledger-dialog,.package-offer-card,.subscription-offer) *{box-sizing:border-box}

html:root .package-template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:18px;align-items:stretch}
html:root .package-offer-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--line,#dfe7ee);border-radius:20px;background:var(--surface,#fff);box-shadow:0 4px 18px #172a3c05}
html:root .package-watermark{position:absolute;z-index:-1;right:-20px;top:56px;transform:rotate(-14deg);font-size:64px;line-height:1;font-weight:800;letter-spacing:-3px;white-space:nowrap;pointer-events:none;opacity:.035;color:var(--ink,#243446)}
html:root .package-offer-content{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:24px;min-height:100%;min-width:0}
html:root .package-type-label{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:9px;background:var(--surface-soft,#edf4fa);color:var(--muted,#627889);font-size:11px;font-weight:650;line-height:1.4}
html:root .package-type-label :is(svg,img){width:17px;height:17px;flex:none}
html:root .package-offer-card h2{margin:0;font-size:21px;line-height:1.3;overflow-wrap:anywhere}
html:root .package-offer-card h2 a{color:inherit;text-decoration:none}
html:root .package-offer-price{display:flex;flex-direction:column;gap:5px;font-size:25px;font-weight:750;letter-spacing:-.6px;line-height:1.2}
html:root .package-offer-price small{font-size:11px;letter-spacing:0;font-weight:400;color:var(--muted,#627889)}
html:root .package-offer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;padding:14px 0;border-top:1px solid var(--line,#dfe7ee);border-bottom:1px solid var(--line,#dfe7ee)}
html:root .package-offer-facts>span{display:flex;flex-direction:column;gap:5px;font-size:11px;line-height:1.5;color:var(--muted,#627889);min-width:0;overflow-wrap:anywhere}
html:root .package-offer-facts b{font-size:17px;color:var(--ink,#243446);font-weight:700}
html:root .package-offer-note{margin:0;font-size:12px;line-height:1.6;color:var(--muted,#627889)}
html:root .package-offer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto;width:100%;padding-top:4px}
html:root .package-offer-actions>.button:first-child{grid-column:1/-1}
html:root .package-offer-actions>.button{width:100%;min-width:0;justify-content:center;min-height:44px;font-size:12px}

html:root #modal .package-assign-shell form{display:grid;gap:16px}
html:root #modal .package-assign-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px}
html:root #modal .package-assign-fields .field{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:12px}
html:root #modal .package-assign-fields :is(input,select){display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;font-size:16px}
html:root #modal .package-assign-fields input::-webkit-date-and-time-value{min-width:0;text-align:left}
html:root #modal .package-assign-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;border:1px solid var(--line,#dfe7ee);border-radius:12px;padding:14px;background:var(--surface-soft,#f5f8fa)}
html:root #modal .package-assign-summary>.package-type-label{justify-self:start}
html:root #modal .package-assign-summary>b{font-size:18px;font-variant-numeric:tabular-nums}
html:root #modal .package-assign-summary>span:last-child{grid-column:1/-1;font-size:12px;line-height:1.5;color:var(--muted,#627889)}
html:root #modal .package-client-picker{margin:0;padding:0;border:0;min-width:0;display:grid;gap:12px}
html:root #modal .package-client-picker legend{padding:0;margin:0 0 10px;max-width:100%;font-size:13px;font-weight:650;line-height:1.5;color:var(--ink,#243446)}
html:root #modal .package-client-picker legend span{display:inline-block;margin-left:8px;border-radius:999px;padding:3px 8px;background:var(--surface-soft,#edf4fa);color:var(--muted,#627889);font-size:10px;font-weight:500}
html:root #modal .package-client-search{display:flex;align-items:center;gap:9px;padding:0 12px;margin:0;border:1px solid var(--line,#dfe7ee);border-radius:11px;background:var(--surface,#fff);min-width:0}
html:root #modal .package-client-search :is(svg,img){width:18px;height:18px;flex:0 0 18px;color:var(--muted,#627889)}
html:root #modal .package-client-search input{width:100%;min-width:0;min-height:44px;border:0;background:transparent;padding:10px 0;margin:0;box-shadow:none;font-size:16px;outline:0}
html:root #modal .package-client-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:260px;overflow:auto;overscroll-behavior:contain;padding:2px;min-width:0}
html:root #modal .package-client-option{display:flex;align-items:center;gap:10px;padding:11px 12px;min-height:44px;border:1px solid var(--line,#dfe7ee);border-radius:10px;background:var(--surface,#fff);margin:0;min-width:0;cursor:pointer}
html:root #modal .package-client-option input{appearance:auto;display:block;margin:0;padding:0;width:19px;height:19px;min-height:19px;max-width:19px;flex:0 0 19px;accent-color:var(--accent,#7190ac)}
html:root #modal .package-client-option span{font-size:13px;line-height:1.4;overflow-wrap:anywhere;min-width:0;color:var(--ink,#243446)}
html:root #modal .package-client-option:has(input:checked){background:var(--surface-soft,#edf4fa);border-color:var(--accent,#7190ac)}
html:root #modal .package-client-option[hidden],html:root #modal .package-client-empty[hidden]{display:none!important}
html:root #modal :is(.package-client-search,.package-client-option):focus-within{outline:2px solid var(--accent,#7190ac);outline-offset:2px}
html:root #modal :is(.package-client-empty,.package-assign-help){margin:0;font-size:11px;line-height:1.6;color:var(--muted,#627889)}
html:root #modal .package-assign-shell .modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0}
html:root #modal .package-assign-shell .modal-actions .button{width:100%;min-width:0;justify-content:center;font-size:13px;min-height:44px}

html:root .ledger-dialog{display:grid;gap:16px}
html:root .ledger-summary{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line,#dfe7ee);border-radius:13px;background:var(--surface-soft,#f5f8fa)}
html:root .ledger-summary .refine-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:var(--surface,#fff);border-radius:10px}
html:root .ledger-summary .refine-icon :is(svg,img){width:22px;height:22px}
html:root .ledger-summary h3{margin:0 0 5px;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
html:root .ledger-summary small{font-size:12px;color:var(--muted,#627889)}
html:root .ledger-explanation{margin:0;font-size:11px;line-height:1.65;color:var(--muted,#627889)}
html:root .ledger-entries{display:grid;gap:8px;max-height:min(440px,50dvh);overflow:auto;overscroll-behavior:contain;padding:2px}
html:root .ledger-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--line,#dfe7ee);border-radius:11px;background:var(--surface,#fff)}
html:root .ledger-entry>div{min-width:0}
html:root .ledger-entry h3{margin:0 0 5px;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
html:root .ledger-entry small{font-size:11px;line-height:1.4;color:var(--muted,#627889)}
html:root .ledger-delta{display:flex;flex-direction:column;gap:3px;flex:0 0 54px;text-align:right;font-size:20px;font-variant-numeric:tabular-nums;line-height:1.2}
html:root .ledger-delta small{font-size:10px;font-weight:400}
html:root .ledger-delta.credit-added{color:#40705c}

html:root .commerce-panel .subscription-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;margin:18px 0 8px;align-items:stretch}
html:root .commerce-panel .subscription-offer{display:flex;flex-direction:column;border:1px solid var(--line,#dfe7ee);border-radius:17px;background:var(--surface,#fff);overflow:hidden}
html:root .commerce-panel .subscription-offer.is-current{border-color:var(--accent,#7190ac)}
html:root .subscription-offer-body{display:flex;flex-direction:column;gap:13px;padding:20px;flex:1;min-width:0}
html:root .subscription-offer-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
html:root .subscription-logo{position:relative;display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;overflow:hidden;border-radius:12px;border:1px solid var(--line,#dfe7ee);background:var(--surface-soft,#edf4fa);color:var(--ink,#243446);box-shadow:none}
html:root .subscription-logo>svg{position:absolute;inset:0;width:100%;height:100%}
html:root .subscription-logo b{font-size:14px;line-height:1}
html:root .subscription-logo img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;filter:none!important}
html:root .subscription-state{padding:6px 9px;border:1px solid var(--line,#dfe7ee);border-radius:999px;background:var(--surface-soft,#f5f8fa);color:var(--muted,#627889);font-size:10px;line-height:1.4;text-align:center;max-width:65%;overflow-wrap:anywhere}
html:root .commerce-panel .subscription-offer h3{margin:0;font-size:21px;line-height:1.3;overflow-wrap:anywhere;color:var(--ink,#243446)}
html:root .commerce-panel .subscription-description{margin:0;font-size:12px;line-height:1.65;color:var(--muted,#627889);overflow-wrap:anywhere}
html:root .subscription-features{display:grid;gap:8px;padding:0;margin:2px 0 0;list-style:none;font-size:12px;line-height:1.5}
html:root .subscription-features li{display:flex;align-items:flex-start;gap:8px;min-width:0;overflow-wrap:anywhere}
html:root .subscription-features li>span{flex:none;color:var(--muted,#627889)}
html:root .subscription-offer-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:18px 20px;border-top:1px solid var(--line,#dfe7ee);background:var(--surface-soft,#f5f8fa)}
html:root .subscription-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
html:root .subscription-price strong{font-size:27px;line-height:1.2;font-weight:750;color:var(--ink,#243446);letter-spacing:-.6px}
html:root .subscription-price>span{font-size:11px;color:var(--muted,#627889)}
html:root .commerce-panel .subscription-subscribe{width:100%;min-width:0;justify-content:center;min-height:44px;font-size:13px;border-radius:11px}
html:root .subscription-switch-note{font-size:10px;line-height:1.5;color:var(--muted,#627889);text-align:center;min-height:0}
html:root .subscription-switch-note:empty{display:none}
html:root[data-theme=midnight] .ledger-delta.credit-added{color:var(--night-ink,#fff)}

@media(max-width:700px){
 html:root .page-header-actions:has(.package-header-actions){width:100%;max-width:none}
 html:root .package-header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
 html:root .package-header-actions>.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-width:0;min-height:46px;font-size:12px;padding:10px;white-space:normal;line-height:1.3}
 html:root .package-header-actions>.button:first-child{grid-column:1/-1}
 html:root .package-header-actions>.button:last-child{grid-column:auto}
 html:root .package-header-actions .action-icon-tile{width:28px;height:28px;flex-basis:28px}
 html:root .package-command-bar{gap:12px;margin-bottom:16px}
 html:root .package-tabs{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;margin:0}
 html:root .package-tab{gap:6px;padding:10px 7px;min-width:0;min-height:58px;font-size:11px}
 html:root .package-tab>span{white-space:normal;text-overflow:clip;overflow:visible;line-height:1.3}
 html:root .package-tab :is(svg,img){width:18px;height:18px;flex:none}
 html:root .package-tab small{font-size:10px;flex:none;padding:4px 6px;min-width:22px}
 html:root .package-command-bar .package-type-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:7px}
 html:root .package-command-bar .package-filter-badge{display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:0;min-height:38px;margin:0;font-size:11px;padding:7px 10px}
 html:root .package-template-grid{grid-template-columns:1fr;gap:14px}
 html:root .package-offer-content{padding:20px;gap:16px}
 html:root .package-watermark{font-size:58px;top:60px;right:-16px}
 html:root #modal .package-assign-fields{grid-template-columns:1fr;gap:14px}
 html:root #modal .package-client-options{grid-template-columns:1fr;max-height:240px}
 html:root #modal .package-assign-shell .modal-actions{padding-inline:0}
 html:root .commerce-panel .subscription-card-grid{grid-template-columns:1fr;gap:13px}
 html:root .commerce-panel>.commerce-section{padding:16px}
 html:root .commerce-panel .commerce-heading{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:14px}
 html:root .commerce-panel .commerce-heading h3{font-size:16px;line-height:1.4}
 html:root .commerce-panel .commerce-heading p{font-size:12px;line-height:1.6}
 html:root .commerce-panel .commerce-heading>.button{width:100%;min-height:44px;justify-content:center}
 html:root .subscription-offer-body{padding:17px;gap:12px}
 html:root .subscription-offer-footer{padding:16px 17px}
 html:root .commerce-panel .subscription-offer h3{font-size:20px}
 html:root .ledger-entry{padding:12px}
}
/* Separate containers keep the mobile client selector above both tabs. */
html:root .trainer-history-header{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;align-items:center;margin-bottom:20px}
html:root .trainer-history-header>.trainer-history-client{grid-column:2;grid-row:1;min-width:0}
html:root .trainer-history-client>.field{margin:0;width:100%;min-width:0;max-width:none}
html:root .trainer-history-client select{width:100%;max-width:none;min-height:44px;box-sizing:border-box}
html:root .trainer-history-header>.trainer-history-command{grid-column:1;grid-row:1;margin:0}
@media(max-width:700px){
 html:root .trainer-history-header{grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:14px}
 html:root .trainer-history-header>.trainer-history-client{grid-column:1;grid-row:1;width:100%}
 html:root .trainer-history-header>.trainer-history-command{grid-column:1;grid-row:2;width:100%;margin:0}
 html:root .trainer-history-client select{font-size:16px}
}
/* Mobile workspace history: selector above tabs, compact session cards. */
@media(max-width:700px){
 html:root .progress-command-bar.trainer-history-command{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 html:root .progress-command-bar.trainer-history-command>.field{order:-1;width:100%;max-width:none;min-width:0;flex:none}
 html:root .progress-command-bar.trainer-history-command>.field select{width:100%!important;max-width:none!important;min-height:44px;font-size:16px;box-sizing:border-box}
 html:root .progress-command-bar.trainer-history-command>.progress-tabs{width:100%;flex:none;box-sizing:border-box}
 html:root .progress-command-bar.trainer-history-command .progress-tab{min-width:0;min-height:48px;overflow-wrap:normal;word-break:normal}
 html:root .trainer-session-history>.progress-panel-heading{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px}
 html:root .trainer-session-history .progress-history-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%}
 html:root .trainer-session-history .progress-history-filters .field{min-width:0;margin:0}
 html:root .trainer-session-history .progress-history-filters select{min-width:0;width:100%;min-height:44px}
 html:root .trainer-session-history .progress-table-wrap{max-height:460px}
 html:root .trainer-session-history .progress-table{display:block;width:100%;min-width:0}
 html:root .trainer-session-history .progress-table thead{display:none}
 html:root .trainer-session-history .progress-table tbody{display:grid;gap:8px;padding:0 12px 12px;background:transparent}
 html:root .trainer-session-history .progress-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);align-items:center}
 html:root .trainer-session-history .progress-table tbody td{display:block;min-width:0;padding:0;border:0;white-space:normal;text-align:left;font-size:12px;line-height:1.45}
 html:root .trainer-session-history .progress-table tbody td::before{display:none}
 html:root .trainer-session-history .progress-table tbody td:nth-child(1){grid-column:1;grid-row:2;color:var(--muted)}
 html:root .trainer-session-history .progress-table tbody td:nth-child(2){grid-column:1/-1;grid-row:1}
 html:root .trainer-session-history .progress-table tbody td:nth-child(3){grid-column:1;grid-row:3;color:var(--muted);overflow-wrap:anywhere}
 html:root .trainer-session-history .progress-table tbody td:nth-child(4){grid-column:2;grid-row:2/4;text-align:right}
 html:root .trainer-session-history .progress-table-link{display:block;max-width:100%;min-height:44px;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
 html:root .trainer-session-history .history-session-type{display:none}
 html:root .trainer-session-history .progress-table tbody td[colspan]{grid-column:1/-1;grid-row:1}
 html:root .trainer-workout-history>.line-item{padding:12px 16px;gap:12px}
 html:root .trainer-workout-history>.line-item h3{font-size:14px;line-height:1.4;margin:0 0 4px}
 html:root .trainer-workout-history>.line-item p{font-size:12px;line-height:1.45;margin:0}
}

/* Onboarding fallback for installations with an incomplete secondary stylesheet upload. */
/* Client onboarding and trainer-managed readiness questionnaires. */
html:root dialog.onboarding-dialog{width:min(960px,calc(100vw - 40px));max-width:960px;height:auto;min-height:0}
html:root .onboarding-client-shell,html:root .parq-settings-shell{display:grid;gap:20px;min-width:0;color:var(--ink)}
html:root .onboarding-client-shell .onboarding-welcome{align-items:center;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft);gap:16px}
html:root .onboarding-client-shell .onboarding-welcome h3{font-size:24px;line-height:1.25;margin:7px 0 8px}
html:root .onboarding-client-shell .onboarding-welcome p{font-size:13px;line-height:1.65;max-width:620px}
html:root .onboarding-client-shell .eyebrow{font-size:10px;letter-spacing:.12em}
html:root .onboarding-client-shell .onboarding-progress{margin:0;gap:10px}
html:root .onboarding-client-shell .onboarding-progress>div{font-size:12px}
html:root .onboarding-client-shell .onboarding-task-list{gap:9px}
html:root .onboarding-client-shell .onboarding-task{grid-template-columns:38px minmax(0,1fr) auto;gap:14px;padding:15px 16px;background:var(--surface);box-shadow:none;min-width:0}
html:root .onboarding-client-shell .onboarding-task-state{font-size:13px;font-weight:700;color:var(--muted);background:var(--surface-soft);border:1px solid var(--line)}
html:root .onboarding-client-shell .onboarding-task.is-complete .onboarding-task-state{color:var(--ink);background:var(--surface-soft);border-color:var(--line)}
html:root .onboarding-client-shell .onboarding-task-state :is(svg,img){width:18px;height:18px;padding:0;background:none}
html:root .onboarding-client-shell .onboarding-task b{font-size:14px;line-height:1.4}
html:root .onboarding-client-shell .onboarding-task small{font-size:11px;line-height:1.5;margin-top:3px}
html:root .onboarding-next{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
html:root .onboarding-next>.button{min-height:46px;gap:24px;padding-inline:22px}
html:root .onboarding-next small,html:root .onboarding-small-note{font-size:11px;line-height:1.6;color:var(--muted);margin:0}
html:root .onboarding-client-shell .onboarding-required-note{margin:0;font-size:11px;line-height:1.55;background:var(--surface-soft);border:1px solid var(--line);color:var(--muted)}
html:root .onboarding-step-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
html:root .onboarding-step-heading>span{font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--muted)}
html:root .onboarding-step-intro h3{font-size:22px;line-height:1.3;margin:0 0 7px}
html:root .onboarding-step-intro p{font-size:13px;line-height:1.65;color:var(--muted);margin:0;white-space:pre-line}
html:root .onboarding-panel{display:grid;gap:14px;align-content:start;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);min-width:0}
html:root .onboarding-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
html:root .onboarding-panel-heading>span{font-size:10px;font-weight:700;letter-spacing:.1em;color:var(--muted)}
html:root .onboarding-panel-heading>small{font-size:10px;color:var(--muted)}
html:root .onboarding-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html:root .onboarding-agreement-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px;align-items:start}
html:root .onboarding-reading .legal-document{height:420px;max-height:420px;margin:0;border:0;padding:0 10px 0 0;background:transparent!important;box-shadow:none!important;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
html:root .onboarding-client-shell .field,html:root .parq-settings-shell .field{font-size:12px;gap:7px;min-width:0;margin:0}
html:root :is(.onboarding-client-shell,.parq-settings-shell) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%;max-width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:14px;padding:10px 12px;min-height:44px}
html:root .onboarding-client-shell .signature-pad{margin:0;border:1px dashed #8997a7;border-radius:10px;background:#fff}
html:root .onboarding-client-shell .signature-pad svg{height:135px}
html:root .onboarding-client-shell .signature-pad .button{min-height:30px;padding:5px 9px;font-size:10px}
html:root .onboarding-client-shell .signature-status{font-size:10px;line-height:1.5;margin:0}
html:root :is(.onboarding-client-shell,.parq-settings-shell) .legal-accept{display:flex;align-items:flex-start;gap:10px;padding:10px 0;margin:0;font-size:12px;line-height:1.6;font-weight:500}
html:root :is(.onboarding-client-shell,.parq-settings-shell) .legal-accept input{position:static;appearance:auto!important;-webkit-appearance:checkbox!important;width:20px!important;height:20px!important;min-width:20px;flex:0 0 20px;min-height:20px!important;max-height:20px!important;margin:0!important;margin-top:1px!important;padding:0!important;accent-color:var(--accent,#708dab)}
html:root :is(.onboarding-client-shell,.parq-settings-shell) .legal-accept small{display:block;font-size:11px;color:var(--muted)}
html:root :is(.onboarding-client-shell,.parq-settings-shell) .modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:16px 0 0;border-top:1px solid var(--line)}
html:root :is(.onboarding-client-shell,.parq-settings-shell) .modal-actions>.button{width:100%;min-height:46px;justify-content:center}
html:root .parq-question-list{display:grid;gap:10px;min-width:0}
html:root .parq-question{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line);border-radius:12px;min-width:0;margin:0;background:var(--surface)}
html:root .parq-question .parq-question-title{margin:0;display:flex;align-items:flex-start;gap:12px;width:auto;max-width:calc(100% - 150px);font-size:13px;font-weight:550;line-height:1.6;padding:0;color:var(--ink);min-width:0}
html:root .parq-question .parq-question-title>span{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:7px;background:var(--surface-soft);color:var(--muted);font-size:11px}
html:root .parq-answer-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;flex:0 0 128px}
html:root .parq-answer-options label{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:6px 8px;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:12px;cursor:pointer}
html:root .parq-answer-options input{position:static;appearance:auto!important;-webkit-appearance:radio!important;width:14px!important;height:14px!important;min-width:14px;min-height:14px!important;max-height:14px!important;margin:0!important;padding:0!important;accent-color:var(--accent,#708dab)}
html:root .parq-answer-options label:has(input:checked){background:var(--surface-soft);border-color:var(--accent,#708dab);box-shadow:inset 0 0 0 1px var(--accent,#708dab)}
html:root .parq-answer-options label:has(input:focus-visible){outline:2px solid var(--accent,#708dab);outline-offset:3px}
html:root .parq-guidance{padding:13px 15px;border:1px solid var(--line);border-left:3px solid var(--accent,#708dab);border-radius:10px;background:var(--surface-soft);color:var(--ink);font-size:12px;line-height:1.7;white-space:pre-line}
html:root .parq-guidance[hidden]{display:none!important}
html:root .parq-settings-options{display:grid;grid-template-columns:1fr 1fr;gap:18px}
html:root .parq-editor-question{display:grid;grid-template-columns:24px minmax(0,1fr) 40px;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
html:root .parq-editor-question:last-child{border-bottom:0}
html:root .parq-editor-number{font-size:12px;color:var(--muted)}
html:root .parq-editor-question>.button{min-width:40px;width:40px;min-height:40px;padding:7px}
html:root .parq-editor-question textarea{min-height:64px}
html:root .parq-response-list{display:grid;gap:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}
html:root .parq-response-list>div{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:start;gap:15px;padding:12px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.6}
html:root .parq-response-list>div:last-child{border-bottom:0}
html:root .parq-yes{color:var(--accent,#708dab)}
html:root .parq-client-notes{font-size:12px;line-height:1.6;white-space:pre-line}
html:root .parq-submission .signed-agreement-body{display:grid;gap:14px}
html:root .parq-submission .signed-signature img{max-width:100%;background:#fff;border-radius:8px}
html:root .client-documents-shell{display:grid;gap:12px}
html:root .client-documents-shell>h3{font-size:14px;margin:6px 0}
html:root[data-theme=midnight] :is(.onboarding-panel,.parq-question,.parq-answer-options label){background:var(--night-surface);border-color:var(--night-border);color:var(--night-ink)}
html:root[data-theme=midnight] :is(.onboarding-welcome,.parq-guidance){background:var(--night-raised)!important;border-color:var(--night-border);color:var(--night-ink)}
@media(max-width:700px){
 html:root dialog.onboarding-dialog{width:100%;max-width:100%}
 html:root .onboarding-client-shell,html:root .parq-settings-shell{gap:16px}
 html:root .onboarding-client-shell .onboarding-welcome{padding:14px;gap:12px;align-items:flex-start}
 html:root .onboarding-client-shell .onboarding-welcome h3{font-size:20px}
 html:root .onboarding-client-shell .onboarding-welcome p{font-size:12px}
 html:root .onboarding-client-shell .onboarding-task{grid-template-columns:30px minmax(0,1fr) 20px;padding:13px 12px;gap:10px}
 html:root .onboarding-client-shell .onboarding-task-state{width:28px;height:28px}
 html:root .onboarding-client-shell .onboarding-task>span:last-child{grid-column:auto;font-size:0}
 html:root .onboarding-client-shell .onboarding-task>span:last-child:after{content:'→';font-size:14px}
 html:root .onboarding-client-shell .onboarding-task.is-complete>span:last-child:after{content:'✓'}
 html:root .onboarding-next{display:grid;gap:8px;text-align:center}
 html:root .onboarding-step-intro h3{font-size:20px}
 html:root .onboarding-panel{padding:14px}
 html:root .onboarding-profile-grid,html:root .onboarding-agreement-grid,html:root .parq-settings-options{grid-template-columns:1fr}
 html:root .onboarding-reading .legal-document{height:auto;max-height:36dvh;font-size:12px;padding-right:4px}
 html:root :is(.onboarding-client-shell,.parq-settings-shell) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px!important}
 html:root .parq-question{display:grid;gap:12px;padding:13px}
 html:root .parq-question .parq-question-title{max-width:100%;width:100%;font-size:12px}
 html:root .parq-answer-options{width:100%;margin-top:8px}
 html:root :is(.onboarding-client-shell,.parq-settings-shell) .modal-actions>.button{font-size:12px;padding-inline:8px}
}

html:root dialog:has(.parq-settings-shell){width:min(900px,calc(100vw - 40px));max-width:900px}
@media(max-width:700px){html:root dialog:has(.parq-settings-shell){width:100%;max-width:100%}}

/* Onboarding navigation: keep each arrow beside its card, never below its text. */
html:root .onboarding-client-shell .onboarding-task{display:grid;align-items:center;grid-template-columns:34px minmax(0,1fr) 24px;gap:12px;text-align:left;color:var(--ink);width:100%;box-sizing:border-box}
html:root .onboarding-client-shell .onboarding-task-state{display:grid;place-items:center;width:32px;height:32px;min-width:0;margin:0;padding:0;color:var(--ink);background:var(--surface-soft);border:1px solid var(--line);border-radius:50%;font-size:13px;font-weight:700;box-sizing:border-box}
html:root .onboarding-client-shell .onboarding-task>span:nth-child(2){display:grid;min-width:0;gap:4px}
html:root .onboarding-client-shell .onboarding-task .onboarding-task-trailing{display:grid;place-items:center;grid-column:3;grid-row:1;align-self:center;width:24px;height:24px;color:var(--muted);font-size:0}
html:root .onboarding-client-shell .onboarding-task .onboarding-task-trailing:after{content:none}
html:root .onboarding-client-shell .onboarding-task .onboarding-task-trailing svg{display:block;width:20px;height:20px;max-width:none;margin:0;padding:0;background:none}
html:root .onboarding-client-shell .onboarding-task.is-complete .onboarding-task-trailing{visibility:hidden}
html:root .onboarding-client-shell .onboarding-task.is-complete .onboarding-task-state{background:var(--accent-soft,var(--surface-soft));color:var(--ink);border-color:var(--line)}
html:root .onboarding-client-shell .onboarding-next{display:grid;grid-template-columns:1fr;gap:9px;margin-top:4px;text-align:center}
html:root .onboarding-client-shell .onboarding-next>.button{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;margin:0;padding:12px 18px;border-radius:14px;gap:14px;font-size:14px;font-weight:700;box-sizing:border-box;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:0 4px 14px #00000008}
html:root .onboarding-client-shell .onboarding-next>.button>span{display:grid;place-items:center;font-size:20px;line-height:1}
html:root .onboarding-client-shell .onboarding-next>small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin:0}
@media(max-width:700px){
 html:root .onboarding-client-shell .onboarding-task{padding:14px 12px;grid-template-columns:32px minmax(0,1fr) 24px;gap:10px}
 html:root .onboarding-client-shell .onboarding-task b{font-size:14px;line-height:1.4}
 html:root .onboarding-client-shell .onboarding-task small{font-size:12px;line-height:1.5}
 html:root .onboarding-client-shell .onboarding-welcome{display:block}
 html:root .onboarding-client-shell .onboarding-mark{display:none}
 html:root .onboarding-client-shell .onboarding-required-note{font-size:11px;padding:12px;margin:0}
}

html:root .onboarding-client-shell .onboarding-task>.onboarding-task-state{grid-column:1;grid-row:1}
html:root .onboarding-client-shell .onboarding-task>span:nth-child(2){grid-column:2;grid-row:1}

html:root .onboarding-client-shell .onboarding-task>span.onboarding-task-trailing:last-child:after{content:none!important;display:none}
 /* Role-aware in-app Help Center. */
html:root .help-center{display:grid;gap:24px;min-width:0;color:var(--ink)}
html:root .help-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:22px;padding:28px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
html:root .help-hero h1{font-size:30px;line-height:1.2;margin:8px 0 10px;color:var(--ink)}
html:root .help-hero p{font-size:14px;line-height:1.6;color:var(--muted);margin:0;max-width:650px}
html:root .help-audiences{display:flex;gap:6px;padding:5px;border-radius:13px;background:var(--surface-soft);border:1px solid var(--line)}
html:root .help-audiences>.button{padding:9px 12px;min-height:40px;box-shadow:none;font-size:12px;border-radius:9px;color:var(--muted);background:transparent;border:1px solid transparent}
html:root .help-audiences>.button[aria-pressed=true]{background:var(--surface);color:var(--ink);border-color:var(--line)}
html:root .help-audience-label{font-size:10px;font-weight:750;letter-spacing:.12em;color:var(--muted);padding:10px;border-radius:10px;background:var(--surface-soft)}
html:root .help-search{display:flex;align-items:center;gap:12px;grid-column:1/-1;margin:0;padding:0 16px;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);min-width:0;min-height:52px}
html:root .help-search>svg,html:root .help-search>img{width:21px;height:21px;flex:none;object-fit:contain}
html:root .help-search input{display:block;flex:1;min-width:0;width:100%;margin:0;padding:14px 0;min-height:50px;font-size:16px;color:var(--ink);border:0;background:transparent;box-shadow:none}
html:root .help-search input:focus{outline:none}
html:root .help-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}
html:root .help-search-clear{display:grid;place-items:center;flex:none;width:36px;height:36px;min-height:36px;padding:0;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:var(--surface);font-size:22px}
html:root .help-search-clear[hidden]{display:none!important}
html:root .help-layout{display:grid;grid-template-columns:215px minmax(0,1fr);align-items:start;gap:24px}
html:root .help-categories{display:grid;gap:5px;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface);min-width:0}
html:root .help-categories>button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 10px;min-height:44px;min-width:0;text-align:left;font:inherit;font-size:12px;font-weight:650;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);cursor:pointer}
html:root .help-categories>button[aria-pressed=true]{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}
html:root .help-categories small{font-size:10px;padding:3px 6px;min-width:24px;text-align:center;border-radius:6px;background:var(--surface-soft)}
html:root .help-results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
html:root .help-results-heading h2,html:root .help-related h2{font-size:17px;line-height:1.4;margin:0;color:var(--ink)}
html:root .help-results-heading>span{font-size:11px;color:var(--muted);white-space:nowrap}
html:root .help-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html:root .help-topic{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:start;gap:12px;padding:18px;border:1px solid var(--line);border-radius:16px;text-decoration:none;background:var(--surface);color:var(--ink);min-width:0;transition:border-color .15s,background .15s}
html:root .help-topic:hover{border-color:var(--accent);background:var(--surface-soft)}
html:root .help-topic>span:nth-child(2){display:grid;gap:6px;min-width:0}
html:root .help-topic small{font-size:10px;font-weight:650;color:var(--muted)}
html:root .help-topic strong{font-size:14px;line-height:1.45;color:var(--ink)}
html:root .help-topic>span:nth-child(2)>span{font-size:11px;line-height:1.6;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html:root .help-topic-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--surface-soft);color:var(--ink);flex:none}
html:root .help-topic-icon :is(svg,img){width:20px;height:20px;object-fit:contain;padding:0;margin:0;background:none}
html:root .help-chevron{font-size:20px;color:var(--muted);align-self:center}
html:root .help-empty{padding:30px;border:1px dashed var(--line);border-radius:16px;text-align:center;background:var(--surface)}
html:root .help-empty h3{font-size:17px}
html:root .help-empty p{font-size:13px;color:var(--muted)}
html:root .help-reader-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
html:root .help-reader-bar>span{font-size:11px;color:var(--muted)}
html:root .help-reader-bar .button{min-height:44px;padding:10px 16px;font-size:13px}
html:root .help-article{padding:30px;border:1px solid var(--line);border-radius:22px;background:var(--surface);max-width:900px;width:100%;box-sizing:border-box}
html:root .help-article-heading{display:flex;align-items:center;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--line)}
html:root .help-article-heading h1{font-size:28px;line-height:1.3;margin:7px 0 0;color:var(--ink)}
html:root .help-steps{list-style:none;margin:24px 0;padding:0;display:grid;gap:22px}
html:root .help-steps li{display:flex;align-items:flex-start;gap:14px}
html:root .help-steps li>span{display:grid;place-items:center;width:30px;height:30px;flex:none;background:var(--surface-soft);border:1px solid var(--line);border-radius:50%;font-size:12px;font-weight:750}
html:root .help-steps p{font-size:14px;line-height:1.8;margin:2px 0;color:var(--ink)}
html:root .help-important{padding:16px 18px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:12px;background:var(--surface-soft)}
html:root .help-important strong{font-size:12px}
html:root .help-important p{font-size:12px;line-height:1.75;color:var(--muted);margin:6px 0 0}
html:root .help-article-action{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}
html:root .help-article-action>.button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:12px 18px;font-size:13px;background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:12px}
html:root .help-article-action>.button :is(svg,img){width:20px;height:20px;object-fit:contain}
html:root .help-article-action>small{font-size:11px;line-height:1.5;color:var(--muted)}
html:root .help-related{display:grid;gap:14px}
html:root .help-contact{display:flex;align-items:flex-start;gap:14px;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft)}
html:root .help-contact>div{flex:1;min-width:0}
html:root .help-contact h2{font-size:15px;margin:0 0 6px;color:var(--ink)}
html:root .help-contact p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 10px;max-width:700px}
html:root .help-contact small{font-size:10px;color:var(--muted)}
html:root .help-contact>.button{flex:none;font-size:12px;min-height:44px;background:var(--surface);color:var(--ink);border-color:var(--line)}
html:root .help-center :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1100px){html:root .help-topic-grid{grid-template-columns:1fr}}
@media(max-width:700px){
 html:root .help-center{gap:18px}
 html:root .help-hero{grid-template-columns:1fr;padding:20px 16px;gap:16px}
 html:root .help-hero h1{font-size:25px}
 html:root .help-hero p{font-size:12px}
 html:root .help-audiences{width:100%;box-sizing:border-box}
 html:root .help-audiences>.button{flex:1;min-width:0;font-size:12px}
 html:root .help-audience-label{justify-self:start}
 html:root .help-search{padding-inline:12px}
 html:root .help-search input{font-size:16px}
 html:root .help-layout{grid-template-columns:1fr;gap:18px}
 html:root .help-categories{display:flex;flex-direction:row;align-items:center;overflow-x:auto;gap:6px;padding:6px;scrollbar-width:thin}
 html:root .help-categories>button{flex:none;padding:10px;font-size:11px;white-space:nowrap}
 html:root .help-topic{padding:15px 12px;gap:10px}
 html:root .help-reader-bar{align-items:flex-start;flex-direction:column}
 html:root .help-article{padding:20px 16px}
 html:root .help-article-heading{gap:12px;align-items:flex-start}
 html:root .help-article-heading h1{font-size:22px}
 html:root .help-steps p{font-size:13px;line-height:1.75}
 html:root .help-steps li{gap:11px}
 html:root .help-article-action{display:grid;gap:10px}
 html:root .help-article-action>.button{width:100%}
 html:root .help-contact{flex-wrap:wrap;padding:18px 14px}
 html:root .help-contact>.button{width:100%}
}
@media(max-width:900px){html:root .mobile-more-grid a[data-id=help]{grid-column:1/-1;min-height:60px}}
/* SPOTTER v0.22.59 · Platform Admin operations */
.admin-attention-centre{margin-bottom:24px;overflow:hidden}.admin-attention-item{width:100%;border:0;border-top:1px solid var(--border,#e5e7eb);background:transparent;padding:16px 22px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;text-align:left;align-items:center;cursor:pointer}.admin-attention-item:hover{background:rgba(127,127,127,.05)}.admin-attention-item b,.admin-attention-item small{display:block}.admin-attention-item small{margin-top:4px;color:var(--muted,#6b7280)}
.admin-ops-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:24px;margin-top:24px}.admin-backup-summary{padding:20px 23px}.admin-backup-summary .badge{margin-left:10px}.admin-backup-summary small{display:block;margin-top:8px;color:var(--muted,#6b7280)}
.admin-pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-top:1px solid var(--border,#e5e7eb);color:var(--muted,#6b7280)}.admin-pagination .actions{margin:0}.admin-workspace-detail{display:grid;gap:18px}.admin-workspace-detail .card{margin:0}.admin-health-strip{padding:0 22px 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.admin-health-strip span{padding:13px 14px;border:1px solid var(--border,#e5e7eb);border-radius:12px;display:flex;flex-direction:column;gap:4px}.admin-health-strip b{font-size:1.1rem}.admin-layout .admin-tabs{max-height:calc(100vh - 180px);overflow:auto;scrollbar-width:thin}
@media(max-width:900px){.admin-ops-grid{grid-template-columns:1fr}.admin-health-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.admin-attention-item{grid-template-columns:auto 1fr}.admin-attention-item>span:last-child{display:none}.admin-health-strip{grid-template-columns:1fr}.admin-pagination{align-items:flex-start;gap:12px;flex-direction:column}}
