:root{font-family:'Segoe UI',Arial,sans-serif;color:#1d1936;background:#f6f3fe;font-size:15px;--ink:#1d1936;--muted:#78718e;--purple:#7950f2;--line:#e8e1f5;--card:#ffffffbf}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 80% 4%,#d8c7f9ad,transparent 44%),radial-gradient(ellipse at 15% 70%,#ddd7ffad,transparent 50%),radial-gradient(ellipse at 98% 88%,#e9d3ec99,transparent 45%),#f7f4fd;background-attachment:fixed}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a{color:inherit;text-decoration:none}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e1d6fc;border-radius:13px;padding:12px 17px;min-height:46px;background:#f7f3ff;color:#7047d5;font-weight:600;cursor:pointer;transition:transform .18s,background .18s}button:hover,.button:hover{background:#eee6ff;transform:translateY(-1px)}button:disabled{opacity:.55;cursor:wait;transform:none}button.primary,.button.primary{background:linear-gradient(120deg,#8a61ff,#7142e8);border-color:transparent;color:white;box-shadow:0 7px 18px #7750dd19}button.danger{color:#b34259;background:#fff0f0;border-color:#f1d6dc}button svg,.button svg{width:19px;height:19px;flex-shrink:0}input,select,textarea{width:100%;min-width:0;min-height:46px;border:1px solid #ddd4f1;border-radius:12px;padding:11px 12px;background:#ffffffc9;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#9b7df3;box-shadow:0 0 0 3px #7950f215}input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:var(--purple);margin:0;flex-shrink:0}input[type=color]{width:60px;padding:5px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}form{display:grid;gap:16px}textarea{resize:vertical;min-height:84px}h1,h2,h3,p{margin:0}h1{font-size:36px;letter-spacing:-1.1px;line-height:1.2}h2{font-size:21px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.65}.muted,small{color:var(--muted)}small{font-size:12px;line-height:1.6}.skip{position:fixed;top:-80px;left:16px;z-index:100}.skip:focus{top:10px;background:white;padding:15px}:focus-visible{outline:3px solid #a089f2;outline-offset:3px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:29px;letter-spacing:-1.3px;font-weight:800}.brand img{flex-shrink:0}.sidebar{position:fixed;inset:16px auto 16px 16px;width:230px;display:flex;flex-direction:column;padding:27px 18px;background:#ffffff6e;border:1px solid #fff;border-radius:26px;z-index:10;backdrop-filter:blur(18px)}.sidebar .brand{padding:0 6px}.sidebar small{margin:11px 8px 32px;font-size:11px}.nav{display:grid;gap:7px}.nav a{display:flex;align-items:center;gap:14px;min-height:48px;padding:12px 15px;border-radius:14px;color:#655d80;font-weight:600;transition:transform .18s,background .18s}.nav svg{width:21px;height:21px}.nav a:hover{transform:translateX(3px) scale(1.015);background:#f0e9ff}.nav .active{color:#7843f0;background:#e9e0ff}.sidebar-bottom{margin-top:auto;padding-top:24px;border-top:1px solid var(--line)}.sidebar-bottom p{font-size:11px;color:#8b81a0;margin:16px 12px 0}.shell{margin-left:266px;max-width:1580px;padding:24px 38px 60px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:35px;min-height:56px}.topbar>span{font-size:12px;color:var(--muted)}.profile{background:#ffffffb3;border:1px solid white;border-radius:19px;padding:9px 13px;display:flex;align-items:center;gap:10px;color:var(--ink);text-align:left}.profile strong{font-size:13px;display:block}.profile small{font-size:10px}.avatar{width:46px;height:46px;border-radius:50%;background:color-mix(in srgb,var(--avatar-color,#7950f2) 10%,transparent);color:var(--avatar-color,#7950f2);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:650;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.avatar.large{width:92px;height:92px;border-radius:24px;font-size:27px}.avatar.small{width:36px;height:36px;font-size:12px}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.heading p{color:var(--muted);font-size:14px;margin-top:9px}.heading-actions{display:flex;gap:8px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{display:flex;align-items:center;gap:15px;padding:22px;background:var(--card);border:1px solid white;border-radius:22px}.stat>span{display:grid;place-items:center;width:48px;height:48px;border-radius:17px;background:#ede3ff;color:#8b59f5}.stat:nth-child(2)>span{background:#e4f3ed;color:#45947f}.stat:nth-child(3)>span{background:#ffede3;color:#bd8067}.stat svg{width:25px;height:25px}.stat strong{font-size:27px;display:block;margin-top:4px}.stat small{font-size:12px}.columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.stack{display:grid;gap:20px;min-width:0}.card{padding:24px;border:1px solid #fff;border-radius:24px;background:var(--card);box-shadow:0 12px 35px #7e5bba05;min-width:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.card-head a{font-size:12px;color:#7950f2;font-weight:600}.card-head p{font-size:12px;color:var(--muted);margin-top:5px}.sessions{display:grid;gap:12px}.session{display:grid;grid-template-columns:59px 46px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border:1px solid #fff;background:#ffffffc4;border-radius:18px;cursor:pointer;text-align:left;color:var(--ink);width:100%;font-weight:400}.session:hover{background:#f5efff;transform:translateY(-2px)}.session-time{font-weight:750;font-size:17px}.session-time small{display:block;font-size:10px;font-weight:400}.session strong{font-size:14px;display:block;overflow-wrap:anywhere}.session p{font-size:12px;color:var(--muted);margin-top:3px}.session .session-tag{font-size:11px;color:#7852c0;background:#f1e9ff;padding:9px 11px;border-radius:10px;max-width:140px}.session-tag svg{width:14px;height:14px;vertical-align:middle}.attention{display:grid;gap:15px}.attention-row{padding:15px;background:#ffffff8c;border:1px solid white;border-radius:17px}.person-line{display:flex;align-items:center;gap:11px;margin-bottom:12px}.person-line strong{font-size:13px}.attention-row small{display:block;margin-top:4px}.attention-row button{width:100%;font-size:12px;min-height:40px}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:8px;font-size:11px;line-height:1.4;color:#7950c6;background:#f0eaff}.badge.warn{background:#fff0e8;color:#ab6644}.badge.good{background:#e8f5ee;color:#3e8c65}.badge.cancelled{background:#f1eff4;color:#8a8397}.empty{text-align:center;padding:32px 18px}.empty>svg{width:42px;height:42px;color:#a58bd6;margin-bottom:12px}.empty h3{margin-bottom:8px}.empty p{color:var(--muted);font-size:13px;margin-bottom:18px}.empty .button, .empty button{margin:4px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.toolbar input[type=search]{max-width:360px}.toolbar .date{width:170px}.segmented{display:flex;padding:4px;background:#eee8f8;border-radius:13px;gap:3px}.segmented button{border:0;background:transparent;min-height:36px;padding:8px 13px;font-size:12px}.segmented .active{background:white;box-shadow:0 3px 9px #45336a09}.client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.client-card{color:var(--ink);display:flex;align-items:flex-start;flex-direction:column;padding:22px;border-radius:23px;gap:14px;background:var(--card);border:1px solid white;font-weight:400;text-align:left;min-width:0}.client-card:hover{background:#fff;transform:translateY(-3px)}.client-card .avatar{width:65px;height:65px;border-radius:20px;font-size:21px}.client-card strong{font-size:17px}.client-card p{font-size:12px;color:var(--muted)}.client-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-header{display:flex;gap:22px;align-items:center;margin-bottom:24px}.profile-header .info{flex:1;min-width:0}.profile-header h1{font-size:28px}.profile-header p{font-size:13px;color:var(--muted);margin-top:7px}.profile-header .heading-actions{flex-wrap:wrap;justify-content:flex-end}.tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin:10px 0 24px;overflow:auto}.tabs button{border:0;background:transparent;border-radius:0;color:#736788;font-weight:500;padding:14px 18px;flex-shrink:0}.tabs .active{color:var(--purple);box-shadow:inset 0 -3px var(--purple)}.exercise{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.exercise>span{width:40px;height:40px;background:#eee5ff;border-radius:13px;display:grid;place-items:center;color:#8c66dd}.exercise svg{width:22px;height:22px}.exercise strong{font-size:13px}.exercise small{display:block}.exercise>b{font-size:13px}.full{width:100%;margin-top:18px}.big-balance{font-size:29px;letter-spacing:-1px;font-weight:750;margin:15px 0}.progress{height:8px;background:#e9e0f7;border-radius:10px;overflow:hidden;margin:14px 0}.progress>span{display:block;height:100%;background:linear-gradient(90deg,#b28cf8,#8251ea)}.detail-line{display:flex;align-items:center;gap:8px;font-size:13px;margin:13px 0;color:#675d7b}.detail-line svg{width:17px;height:17px}.calendar-week{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-bottom:24px}.calendar-week button{display:flex;flex-direction:column;gap:6px;border:1px solid white;background:#ffffffaa;color:#766b89;padding:13px 5px;font-weight:400}.calendar-week b{font-size:20px;color:var(--ink)}.calendar-week .active{background:#7950f2;color:white}.calendar-week .active b{color:white}.calendar-week i{width:4px;height:4px;background:currentColor;border-radius:50%}.program-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.program-card>svg{width:28px;height:28px;color:#895aec;margin-bottom:16px}.program-card h3{font-size:19px;margin-bottom:6px}.program-card p{font-size:13px;color:var(--muted);margin-bottom:17px}.program-card .actions{margin-top:20px}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{font-size:12px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:13px}.table th{text-align:left;font-weight:500;color:var(--muted);padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:15px 12px;border-bottom:1px solid #ede7f4}.table tr:last-child td{border-bottom:0}.table button{font-size:11px;padding:5px 10px;min-height:34px}.payment-list{display:grid;gap:13px}.payment-row{display:flex;align-items:center;gap:12px;padding:16px;border-radius:16px;background:#ffffffa3}.payment-row .grow{flex:1;min-width:0}.payment-row strong{font-size:14px}.payment-row small{display:block}.payment-row>b{font-size:15px;text-align:right}.set-table{display:grid;gap:9px}.set-row{display:grid;grid-template-columns:45px minmax(0,1fr) minmax(0,1fr) 44px;align-items:center;gap:10px}.set-row input{padding:10px 8px;text-align:center}.set-head{font-size:11px;color:var(--muted);margin:16px 0 10px}.workout-exercise{margin-bottom:17px}.workout-exercise summary{cursor:pointer;list-style:none;font-weight:650;display:flex;align-items:center;gap:12px}.workout-exercise summary svg{width:24px;color:var(--purple)}.workout-exercise summary small{display:block;font-weight:400;margin-top:4px}.sticky-actions{position:sticky;bottom:20px;padding:14px;background:#fffef5ed;border:1px solid #fff;border-radius:18px;box-shadow:0 8px 30px #55387f12;display:flex;gap:12px;align-items:center;z-index:8}.sticky-actions .primary{margin-left:auto}.sticky-actions p{font-size:12px;color:#77698c}.result-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.result-pills span{background:#f0e9ff;padding:8px 10px;border-radius:10px;font-size:12px}.note{padding:14px 16px;background:#f0e9fb;border-radius:13px;color:#78638e;font-size:12px;line-height:1.65}.chart{display:flex;align-items:flex-end;gap:14px;height:170px;margin-top:20px;padding:15px 0 25px}.chart>div{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.chart span{background:linear-gradient(#a98af5,#7950f2);width:100%;max-width:60px;border-radius:8px 8px 3px 3px;min-height:3px}.chart small{font-size:10px;white-space:nowrap}.chart b{font-size:11px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .wide{grid-column:1/-1}.photo-label{display:flex;flex-direction:row;align-items:center;gap:16px}.photo-label input{max-width:250px;font-size:11px}.check-label{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;line-height:1.6}.check-label a{color:var(--purple);text-decoration:underline}.error{color:#aa4157;background:#fff0f3;border-radius:11px;padding:12px;font-size:13px}.error:empty{display:none}.auth-page{max-width:1060px;min-height:100vh;margin:auto;padding:34px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.auth-intro h1{font-size:45px;margin:33px 0 20px}.auth-intro h1 em{font-style:normal;color:#7950f2}.auth-intro p{color:var(--muted);margin-bottom:23px}.auth-card{padding:30px;background:#ffffffd6;border:1px solid white;border-radius:26px}.auth-card h2{font-size:25px;margin-bottom:8px}.auth-card>p{font-size:13px;color:var(--muted);margin-bottom:22px}.auth-card .check-label{font-size:11px}.auth-switch{margin-top:20px;text-align:center;font-size:13px}.auth-switch a{color:#7950f2}.auth-back{display:block;margin-top:24px;font-size:13px;color:#8e82a1}dialog{width:620px;max-width:calc(100% - 24px);max-height:90dvh;border:1px solid white;border-radius:25px;box-shadow:0 35px 100px #39275b30;background:#fdfcff;padding:27px;color:var(--ink)}dialog::backdrop{background:#3d2c5750;backdrop-filter:blur(5px)}dialog h2{margin:4px 35px 9px 0}dialog .intro{color:var(--muted);font-size:13px;margin-bottom:22px}.dialog-close{float:right;font-size:23px;padding:0;width:36px;min-height:36px}.icon-button{padding:9px;min-width:40px}.editor-exercise{padding:14px;background:#f4effb;border-radius:14px;display:grid;gap:10px;margin-bottom:12px}.editor-exercise .form-grid{grid-template-columns:repeat(4,1fr);gap:8px}.editor-exercise label{font-size:10px}.editor-exercise input{padding:8px;font-size:12px}.editor-top{display:flex;gap:9px}.editor-top input{flex:1}.loading{display:grid;place-items:center;min-height:80vh;color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#29213c;color:white;padding:15px 22px;border-radius:14px;box-shadow:0 8px 30px #21122d33;font-size:13px;z-index:1000}.mobile-nav{display:none}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{cursor:pointer;font-weight:600;font-size:15px}.faq p{font-size:13px;color:var(--muted);padding-top:12px}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:10px;color:var(--muted)}.onboarding{display:flex;align-items:center;gap:18px;margin-bottom:25px}.onboarding p{font-size:13px;color:var(--muted);margin-top:6px}.onboarding .actions{margin-left:auto}.back-link{display:inline-flex;gap:7px;align-items:center;color:#8a70ae;font-size:12px;margin-bottom:19px}.back-link svg{width:16px}.mobile-brand{display:none}.filter-count{font-size:12px;color:var(--muted)}
@media(min-width:1500px){.columns{grid-template-columns:minmax(0,1fr) 340px}.shell{padding-left:50px;padding-right:50px}.session{gap:19px;padding:22px}.client-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:200px;padding:24px 12px}.shell{margin-left:214px;padding:20px}.columns{grid-template-columns:minmax(0,1fr) 260px}.session{grid-template-columns:50px 38px minmax(0,1fr);gap:10px;padding:15px}.session .session-tag{grid-column:3;font-size:10px;padding:5px 7px}.session .avatar{width:38px;height:38px}.client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-header{flex-wrap:wrap}.profile-header .heading-actions{width:100%;justify-content:flex-start}}
@media(max-width:850px){.sidebar{display:none}.shell{margin:0;padding:16px 20px 100px}.topbar{margin-bottom:26px}.topbar>span{display:none}.mobile-brand{display:block}.mobile-brand .brand{font-size:24px}.mobile-brand img{width:28px;height:28px}.profile{padding:6px 9px;border-radius:16px}.profile strong{font-size:12px}.profile small{font-size:9px}.columns{grid-template-columns:minmax(0,1fr) 260px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:#fffffff2;border-top:1px solid #ece5f8;backdrop-filter:blur(18px);padding:8px 8px max(10px,env(safe-area-inset-bottom));z-index:30}.mobile-nav a,.mobile-nav button{background:none;border:0;display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px 9px;color:#7a6e8e;font-size:10px;font-weight:500;min-height:47px}.mobile-nav svg{width:22px;height:22px}.mobile-nav .active{color:#7950f2}.mobile-nav .active svg{stroke-width:2.2}.sticky-actions{bottom:80px}#toast{bottom:90px}.auth-page{gap:25px;padding:24px}.auth-intro h1{font-size:34px}}
@media(max-width:620px){body{background:radial-gradient(ellipse at 100% 0,#dbcafa99,transparent 45%),radial-gradient(ellipse at 5% 70%,#e2dcffb0,transparent 48%),#f7f4fd;background-attachment:fixed}.shell{padding:16px 16px 100px}.topbar{margin-bottom:27px}.profile .avatar{width:31px;height:31px;font-size:11px}.profile small{display:none}.profile strong{max-width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.heading{gap:10px;margin-bottom:22px;align-items:flex-start}h1{font-size:29px}.heading p{font-size:12px;line-height:1.5}.heading-actions .button,.heading-actions button{padding:10px 12px;font-size:12px;min-height:42px}.heading-actions svg{width:16px}.stats{gap:8px;margin-bottom:18px}.stat{padding:14px 10px;gap:7px;display:block;border-radius:18px}.stat>span{width:32px;height:32px;border-radius:11px;margin-bottom:9px}.stat svg{width:19px;height:19px}.stat small{font-size:10px;display:block;min-height:15px}.stat strong{font-size:25px}.columns{grid-template-columns:1fr;gap:17px}.card{padding:18px;border-radius:21px}h2{font-size:19px}.card-head{margin-bottom:16px}.session{grid-template-columns:45px 38px minmax(0,1fr);gap:10px;padding:14px 11px;border-radius:15px}.session-time{font-size:14px}.session strong{font-size:13px}.session p{font-size:11px;line-height:1.5}.session .session-tag{grid-column:3;justify-self:start}.attention{gap:10px}.attention-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px}.attention-row .person-line{margin:0}.attention-row button{width:auto;font-size:11px;padding:9px}.attention-row .avatar{width:35px;height:35px;font-size:11px}.person-line strong{font-size:12px}.client-grid{grid-template-columns:1fr 1fr;gap:10px}.client-card{padding:16px 13px;border-radius:19px;gap:11px}.client-card .avatar{width:53px;height:53px;border-radius:17px}.client-card strong{font-size:14px}.client-card p{font-size:11px}.client-card .badge{font-size:10px}.toolbar{gap:10px}.toolbar input[type=search]{max-width:none}.toolbar .date{width:auto;flex:1}.profile-header{gap:14px}.profile-header h1{font-size:23px}.profile-header p{font-size:12px}.avatar.large{width:74px;height:74px;border-radius:21px}.profile-header .heading-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.profile-header .heading-actions button{font-size:11px;padding:10px}.tabs{margin-bottom:18px;gap:0}.tabs button{font-size:13px;padding:13px 14px}.program-grid{grid-template-columns:1fr}.calendar-week{gap:4px}.calendar-week button{border-radius:12px;padding:11px 3px;font-size:10px}.calendar-week b{font-size:17px}.form-grid{gap:12px}.table{font-size:11px}.table td,.table th{padding:11px 7px}.payment-row{padding:12px;gap:9px}.payment-row .avatar{width:35px;height:35px;font-size:11px}.payment-row>b{font-size:13px}.payment-row strong{font-size:12px}.payment-row small{font-size:10px}.auth-page{display:block;padding:22px 17px}.auth-intro h1{font-size:32px;margin:22px 0 12px}.auth-intro p{font-size:13px;margin-bottom:22px}.auth-card{padding:23px 20px}.auth-intro .note{display:none}.auth-card h2{font-size:24px}.sticky-actions{bottom:76px;gap:8px;flex-wrap:wrap;padding:12px}.sticky-actions p{width:100%;font-size:11px}.sticky-actions button{flex:1;font-size:12px;padding:11px 10px}.sticky-actions .primary{margin-left:0}.set-row{grid-template-columns:35px minmax(0,1fr) minmax(0,1fr) 44px;gap:8px}.workout-exercise{padding:17px}.workout-exercise summary{font-size:15px}.workout-exercise summary small{font-size:11px}.onboarding{display:block}.onboarding .actions{margin-top:15px}.editor-exercise .form-grid{grid-template-columns:1fr 1fr}.photo-label{flex-wrap:wrap}dialog{padding:22px 18px;max-height:90dvh}.note{font-size:11px}.exercise{gap:10px;grid-template-columns:32px 1fr auto}.exercise>span{width:32px;height:32px}.exercise>b{font-size:12px}.exercise strong{font-size:12px}}
@media(max-width:360px){.profile{padding:8px;gap:7px}.profile>span:not(.avatar){display:none}.card-head{align-items:flex-start}.card-head h2{font-size:17px}.card-head a{flex-shrink:0}.attention-row{grid-template-columns:1fr}.attention-row button{justify-self:stretch}.heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}button:hover,a:hover{transform:none!important}}
.client-card.tinted,.session.tinted {
  background:color-mix(in srgb,var(--client-color) 16%,white);
  border-color:color-mix(in srgb,var(--client-color) 35%,white);
}
.client-card.tinted:hover,.session.tinted:hover {background:color-mix(in srgb,var(--client-color) 23%,white);}
.report-stats {grid-template-columns:repeat(4,minmax(0,1fr));}
.report-rings {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0;}
.ring-layout {display:flex;align-items:center;gap:clamp(12px,3vw,26px);margin-top:18px;}
.ring {width:clamp(74px,9vw,112px);aspect-ratio:1;flex:none;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#7651da 0 var(--cash-share),#268774 var(--cash-share) 100%);}
.ring span {width:69%;aspect-ratio:1;border-radius:50%;background:#fff;}
.ring-key {display:grid;gap:7px;min-width:0;font-size:13px;}
.ring-key>strong {font-size:20px;}
.ring-key div::before {content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#7651da;}
.ring-key div:last-child::before {background:#268774;}
.ring-key b {white-space:nowrap;}
.month-compare {margin-bottom:18px;}
.compare-bar {display:block;height:4px;border-radius:4px;background:#7651da;margin-top:5px;}
.compare-bar.earned {background:#268774;}
@media(max-width:900px){.report-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px){.report-rings{grid-template-columns:minmax(0,1fr);}.report-stats .stat{min-width:0;}.report-stats strong{overflow-wrap:anywhere;}}

.workout-exercise summary {
  min-height: 44px;
}
.workout-exercise summary::-webkit-details-marker { display: none; }
.workout-exercise summary::after {
  content: '';
  flex: 0 0 9px;
  height: 9px;
  margin: 0 5px 4px auto;
  border: solid var(--purple);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.workout-exercise[open] summary::after { transform: rotate(225deg); }
.workout-exercise summary:focus-visible,
.set-completion input:focus-visible + .set-completion-face {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.set-head span:last-child { text-align: center; }
.set-row .set-completion {
  display: grid;
  position: relative;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  cursor: pointer;
}
.set-completion input[type=checkbox] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: inherit;
}
.set-completion-face {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid #aaa4bc;
  border-radius: 50%;
  background: white;
  pointer-events: none;
}
.set-completion input:checked + .set-completion-face {
  background: #d5f5e3;
  border-color: #408863;
}
.set-completion input:checked + .set-completion-face::after {
  content: '';
  width: 9px;
  height: 17px;
  margin-top: -4px;
  border: solid #176742;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.set-completion input:disabled { cursor: default; }

/* Client overview: clear fields and package summary, shared by both themes. */
.profile-header .info{min-width:0}
.profile-header .portal-actions{margin:12px 0 0;gap:8px}
.profile-header .portal-actions:empty{display:none}
.profile-header .portal-actions button{min-height:40px;padding:8px 13px;font-size:12px}
.client-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 0}
.client-facts>div{min-width:0;border:1px solid var(--line);border-radius:16px;padding:15px 17px;background:var(--field,#ffffff70)}
.client-facts .client-fact-goal{grid-column:1/-1}
.client-facts dt{font-size:12px;color:var(--muted);margin-bottom:7px}
.client-facts dd{margin:0;color:var(--ink);font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.client-package{border:1px solid var(--line)}
.package-heading{display:flex;align-items:center;gap:10px}
.package-heading h2{margin:0}
.package-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--accent-surface,#eee7ff);color:var(--purple);flex:none}
.package-icon svg{width:19px;height:19px}
.package-remaining{display:flex;flex-direction:column;gap:8px;background:var(--accent-surface,#f0e9ff);border-radius:20px;padding:20px;margin:20px 0}
.package-remaining>span,.package-paid>span{color:var(--muted);font-size:12px}
.package-remaining>strong{font-size:44px;line-height:1.1;color:var(--purple);letter-spacing:-1px}
.package-progress-label{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted)}
.package-progress-label strong{color:var(--ink)}
.client-package .progress{margin:10px 0 0}
.package-paid{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--line);padding-top:18px;margin:20px 0}
.package-paid strong{font-size:24px;color:var(--ink)}
@media(max-width:600px){
 .client-facts{grid-template-columns:minmax(0,1fr)}
 .profile-header .info{overflow-wrap:anywhere}
 .tabs[role=tablist]{overflow-x:auto;max-width:100%}
 .tabs[role=tablist] button{flex-shrink:0;white-space:nowrap}
}
