/* Approved Pulse/Coaching shell. Opt-in route scope preserves Progress and the
   calendar/player layouts; all data, menus and navigation remain API-owned. */
body[data-space=coach]{--bg:#fff;--bg-glow:transparent;--surface:#fff;--surface-2:#f5f6fa;--surface-3:#edf0f6;--text:#12173a;--text-2:#657091;--text-3:#77809a;--line:#e8ebf2;--line-strong:#d5dbe7;--primary:#12173a;--primary-ink:#fff;--accent:#dcfb7c;--accent-text:#3f520d;--accent-soft:#f1f7df;--accent-border:#d8e8b1;--p-bg:#fff;--p-card:#fff;--p-raised:#f5f6fa;--p-text:#12173a;--p-text-2:#657091;--p-text-3:#77809a;--p-blue:#12173a;--p-blue-text:#12173a;--p-blue-soft:#f1f3f8;--p-lav:#dcfb7c;--p-lav-soft:#f1f7df;--p-lav-text:#12173a;--p-lime:#dcfb7c;--p-lime-ink:#12173a;--p-line:#e8ebf2;--p-shadow:none;--p-shadow-lg:none;background:#fff;color:var(--p-text)}
:root[data-theme=dark] body[data-space=coach]{--bg:#101525;--surface:#151d30;--surface-2:#1c263c;--surface-3:#263249;--text:#f1f4fc;--text-2:#b4bdd2;--text-3:#9da8c2;--line:#2c374e;--line-strong:#46526d;--primary:#dcfb7c;--primary-ink:#12173a;--accent-text:#dcfb7c;--accent-soft:#263249;--accent-border:#46526d;--p-bg:#101525;--p-card:#151d30;--p-raised:#1c263c;--p-text:#f1f4fc;--p-text-2:#b4bdd2;--p-text-3:#9da8c2;--p-blue:#d8deee;--p-blue-text:#d8deee;--p-blue-soft:#263249;--p-lav:#dcfb7c;--p-lav-soft:#263249;--p-lav-text:#d8deee;--p-line:#2c374e;background:var(--p-bg)}
body[data-space=coach] :is(.shell,#main,.p-page,.page){background:var(--p-bg)}
body.fc-design #main{min-width:0}
body.fc-design :is(.p-page,.page){max-width:1120px;margin-inline:auto;gap:26px}
body.fc-design .rail{background:var(--p-card);border-right:1px solid var(--p-line);box-shadow:none;padding-top:28px}
body.fc-design .rail .brand{display:flex;align-items:center;justify-content:flex-start;padding:0 18px 26px;font-size:31px;font-weight:800;letter-spacing:-1.8px;color:var(--p-text)}
.fc-pulse-wordmark i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--p-lime,#dcfb7c);margin-left:2px;box-shadow:0 0 0 .5px #12173a33}
/* The same entry remains visible in protected Progress/athlete layouts too.
   Scope only the shared header; their cards, charts and data stay unchanged. */
.p-top.fc-coaching-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--p-line)}
.p-top.fc-coaching-header .p-brand{display:inline-flex!important;align-items:baseline;min-height:44px;gap:0;font-size:29px;line-height:34px;font-weight:800;letter-spacing:-1.5px;color:var(--p-text);text-decoration:none}
.p-top.fc-coaching-header .p-top-actions{margin-left:auto;gap:8px}
.p-top.fc-coaching-header .p-ava{width:36px;height:36px;font-size:13px}
.p-hello .p-motivation{margin:4px 0 0;font-size:16px;line-height:1.5;font-weight:500;letter-spacing:0;color:var(--p-text-2)}
body.fc-design .rail .nav-link{min-height:49px;margin:2px 10px;padding:11px 15px;border-radius:10px;font-size:14px;font-weight:500;color:var(--p-text-2);border:0;background:transparent;box-shadow:none}
body.fc-design .rail .nav-link[aria-current=page]{background:var(--p-raised);color:var(--p-text);font-weight:700;box-shadow:inset 3px 0 var(--p-lime)}
body .shell[data-space=coach] .rail .nav-link svg{width:21px;height:21px}
body.fc-design .rail-foot{border-top:1px solid var(--p-line);background:transparent;box-shadow:none;border-radius:0;padding-block:20px}
body.fc-design .rail .cm-space{margin-bottom:24px;padding:0 18px}
body.fc-design .p-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--p-line);margin-bottom:0}
body.fc-design .p-top .p-brand{display:flex!important;align-items:baseline;min-width:0;gap:0;font-size:29px;line-height:1;font-weight:800;letter-spacing:-1.5px;color:var(--p-text);text-decoration:none}
body.fc-design .p-top .p-top-actions{margin-left:auto;gap:8px}
body.fc-design .p-top .cm-space{display:flex;order:3;width:100%;margin:0;padding:0;justify-content:flex-start;gap:28px;border:0;background:transparent;border-radius:0;box-shadow:none}
body.fc-design .cm-space a{min-height:48px;padding:10px 0;gap:0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;font-size:21px;font-weight:650;letter-spacing:-.5px;color:var(--p-text-2)}
body.fc-design .cm-space a svg{display:none}
body.fc-design .cm-space a[aria-current="true"]{background:transparent;color:var(--p-text);border-bottom-color:var(--p-text);box-shadow:none}
body.fc-design .p-top .p-ava{width:36px;height:36px;font-size:13px}
/* Primary coaching titles use the same scale and weight as Today. */
body.fc-design{--fc-title-size:30px}
body.fc-design :is(.p-h1,.page-title,.hello h1,h1.p-display,h1.p-h2,h1.fc-studio-title,.page-head h1,.fc-pick-head h1){font-size:var(--fc-title-size);line-height:1.08;letter-spacing:-.03em;font-weight:800}
body.fc-design :is(.p-h2,.p-section-head h2){letter-spacing:-.4px}
body.fc-design #main :is(.p-card,.p-prog-card,.p-item,.list-item,.card,.panel){border-radius:0;border:0;border-bottom:1px solid var(--p-line);box-shadow:none;background:transparent;padding-block:20px}
body.fc-design #main .p-card{padding-inline:0!important}
body.fc-design #main :is(.p-row,.p-grow){min-width:0}
body.fc-design :is(.p-search,.search-box){border:0;border-radius:14px;background:var(--p-raised);box-shadow:none;min-height:50px}
body.fc-design :is(.p-filter,.p-tabs){gap:22px;border:0;border-bottom:1px solid var(--p-line);border-radius:0;padding:0;background:transparent;box-shadow:none}
body.fc-design .p-filter button,body.fc-design .p-tabs button.p-tab{min-height:48px;border:0;border-radius:0;background:transparent!important;box-shadow:none;padding:10px 0;color:var(--p-text-2);font-weight:500;white-space:nowrap}
body.fc-design .p-filter button[aria-pressed=true],body.fc-design .p-tabs button.p-tab[aria-selected=true]{background:transparent!important;color:var(--p-text);font-weight:700;box-shadow:inset 0 -3px var(--p-lime);border:0}
body.fc-design .p-conv,body.fc-design .p-conv.pinned{padding:20px 0;border-radius:0;border:0;border-bottom:1px solid var(--p-line);box-shadow:none;background:transparent}
body.fc-design .p-conv+.p-conv:before{display:none}
body.fc-design .p-conv .p-ava{width:50px;height:50px;font-size:16px}
body.fc-design .p-conv .top b{font-size:17px;letter-spacing:-.25px}
body.fc-design .p-conv .prev{font-size:14px;line-height:1.5}
body.fc-design .p-conv .unread{background:var(--p-lime);color:var(--p-lime-ink);min-width:24px;height:24px;border-radius:8px}
body.fc-design :is(.p-contact .new,.p-contact .p-ava-ring){box-shadow:none}
body.fc-design .p-thread-head{padding:8px 0 18px}
body.fc-design .p-msg{box-shadow:none}
body.fc-design .p-fab{box-shadow:none;width:56px;height:56px}
body.fc-design .p-chip{background:transparent;border:0;padding-left:0;padding-right:8px}
body.fc-design .p-chip.lime{color:#4b601b}
body.fc-design :is(.p-btn,.btn){box-shadow:none}
body.fc-design :is(.p-btn.lime,.p-btn.primary,.btn.primary){background:var(--p-lime);color:var(--p-lime-ink);border-color:transparent;border-radius:14px;font-weight:700}
body.fc-design :is(.p-btn.surface,.btn.surface,.btn.ghost){background:transparent;border-color:var(--p-line);color:var(--p-text)}
body.fc-design .p-today-next{box-shadow:none}
/* The inbox uses document scrolling: the search label is a sibling of the
   conversation list, so its sticky range spans the entire page. */
.p-page>.p-search.fc-chat-inbox-search{position:sticky;top:calc(var(--safe-t,0px) + 8px);z-index:12;align-self:start;isolation:isolate;background:var(--p-bg)}
.p-page>.p-search.fc-chat-inbox-search:before{content:"";position:absolute;inset:-8px 0;z-index:-1;background:var(--p-bg);pointer-events:none}
.fc-court-inbox-title,.fc-court-document-download{display:none}
.fc-chat-document-icon{display:inline-flex}
.fc-chat-inbox-search input::placeholder{color:transparent}
@media(min-width:861px){body.fc-design{--fc-title-size:40px}}
@media(min-width:861px){body.fc-design .shell{grid-template-columns:240px minmax(0,1fr)}body.fc-design #main{padding:30px 46px}body.fc-design .p-top .cm-space{width:auto;order:0;margin-left:24px}body.fc-design .rail>.cm-space{display:none}body.fc-design .p-top{padding-bottom:24px}body.fc-design .p-page{gap:28px}}
@media(max-width:860px){body.fc-design #main{padding-inline:22px}body .shell[data-space=coach] .rail{padding:7px;border:1px solid var(--p-line);border-radius:999px;background:var(--p-card);box-shadow:0 10px 34px rgba(20,30,80,.14);left:max(10px,var(--safe-l,0px));right:max(10px,var(--safe-r,0px));bottom:calc(8px + var(--safe-b));width:auto;max-width:none;transform:none;gap:2px}body .shell[data-space=coach] .rail .nav-link{margin:0;min-height:52px;padding:6px 1px;border-radius:999px;font-size:11px;gap:7px;color:var(--p-text-2)}body .shell[data-space=coach] .rail .nav-link[aria-current=page]{background:var(--p-lime)!important;box-shadow:none;color:var(--p-lime-ink)!important;font-weight:750}body .shell[data-space=coach] .rail .nav-link[aria-current=page] svg{stroke-width:2.5}body .shell[data-space=coach] .rail .brand{display:none}body.fc-design .p-top{padding-top:6px;gap:12px}body.fc-design .p-page{gap:22px}body.fc-design .p-conv{gap:12px}body.fc-design .p-conv .side time{font-size:12px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){body.fc-design *{scroll-behavior:auto}}

/* Calendar keeps its existing grid, date handlers and slots; only its surfaces
   join the current shell. Progress and the workout player remain outside. */
body.fc-design[data-route="calendar"]{--p-month-card:var(--p-card);--p-month-ink:var(--p-text);--p-month-muted:var(--p-text-3);--p-blue-2:var(--p-text)}
body.fc-design[data-route="calendar"] .p-month{background:var(--p-card);color:var(--p-text);border:1px solid var(--p-line);border-radius:18px;box-shadow:none}
body.fc-design[data-route="calendar"] :is(.p-slot,.p-dstrip button){background:var(--p-raised);color:var(--p-text);box-shadow:none}
body.fc-design[data-route="calendar"] .p-cal button.has{background:var(--p-raised);color:var(--p-text)}
body.fc-design[data-route="calendar"] .p-cal button[aria-pressed="true"]{background:var(--p-lime);color:var(--p-lime-ink);box-shadow:none}
body.fc-design[data-route="calendar"] .p-dstrip button[aria-pressed="true"]{background:var(--p-lime);color:var(--p-lime-ink)}
body.fc-design[data-route="calendar"] .p-ev{border:1px solid var(--p-line);border-radius:14px;background:var(--p-card);color:var(--p-text);box-shadow:none}
body.fc-design[data-route="calendar"] .p-ev.block{background:var(--p-raised)}
body.fc-design[data-route="calendar"] .p-ev .p-cap{color:var(--p-text-2)}
.fc-chat-folders:not(.fc-chat-folders-glass){overflow-x:auto;max-width:100%;flex-wrap:nowrap;scrollbar-width:thin}
.fc-chat-folders:not(.fc-chat-folders-glass) button{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:44px}
.fc-folder-picker{max-height:min(48vh,420px);overflow-y:auto;overscroll-behavior:contain}
.fc-folder-choice{min-height:48px;cursor:pointer}
.fc-folder-choice input{width:22px;height:22px;flex:none;accent-color:var(--p-text)}
.fc-invite{gap:16px;min-width:0;color:var(--p-text)}
.fc-invite-lead{margin:0;font-size:15px;line-height:1.5;color:var(--p-text-2)}
.fc-invite .btn.block{width:100%;min-height:48px}
.fc-invite-actions{display:grid}
.fc-invite-action{display:flex;align-items:center;gap:14px;min-height:58px;width:100%;padding:14px 0;border:0;background:transparent;color:var(--p-text);font:inherit;text-align:left;cursor:pointer}
.fc-invite-action+.fc-invite-action{border-top:1px solid var(--p-line)}
.fc-invite-action>span{flex:1;min-width:0;overflow-wrap:anywhere}
.fc-invite-action>svg{width:20px;height:20px;flex:none}
.fc-invite-action>svg:last-child{width:16px;height:16px;color:var(--p-text-2)}
.fc-invite-back{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;min-height:44px;padding:0;border:0;background:transparent;color:var(--p-text-2);font:inherit;font-size:14px;cursor:pointer}
.fc-invite-back>svg{width:18px;height:18px}
.fc-invite-form{gap:12px}
.fc-invite-form .field-error,.fc-invite-form .hint{margin:0}
.fc-invite-qr{align-self:center;padding:12px;border-radius:16px;background:#fff}
.fc-invite-qr svg{display:block;width:200px;height:200px;max-width:100%}
.fc-invite .fc-invite-link{border:0;background:transparent;box-shadow:none}
.fc-invite .fc-invite-code{font-size:22px;line-height:1.3;font-weight:700;letter-spacing:2px;text-align:center;background:transparent;color:var(--p-text);border-color:transparent;cursor:text}
.fc-invite-expires{text-align:center;margin:0}
.fc-contact-result{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--p-line)}
.fc-contact-result .grow{min-width:0;display:grid;gap:4px}
.fc-contact-result .btn{min-height:44px;flex:none}
@media(max-width:430px){.fc-contact-result{flex-wrap:wrap}.fc-contact-result .btn{margin-left:auto}}

/* Сохраняем стеклянный плавающий док принятой мобильной оболочки. */
@media(max-width:860px){
  @supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    body .shell[data-space=coach] .rail{
      background:color-mix(in srgb,var(--p-card) 82%,transparent);
      -webkit-backdrop-filter:blur(22px) saturate(160%);
      backdrop-filter:blur(22px) saturate(160%);
      box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 10px 34px rgba(0,0,0,.12);
    }
  }
}
@media(prefers-reduced-transparency:reduce){
  body .shell[data-space=coach] .rail{background:var(--p-card);-webkit-backdrop-filter:none;backdrop-filter:none;}
}
.p-meas.fc-coach-measurements{grid-template-columns:repeat(4,minmax(0,1fr))}
.fc-coach-measurements>button,.fc-coach-measurements>button small{min-width:0}
.fc-coach-measurements>button small{white-space:normal;overflow-wrap:anywhere}
@media(max-width:767px){.p-meas.fc-coach-measurements{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Coaching parity: quiet package summary, assigned plans and live workbench. */
.fc-training-package{background:var(--p-raised);border:1px solid var(--p-line);border-radius:24px;padding:22px;display:grid;gap:18px;min-width:0}
.fc-package-top,.fc-package-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.fc-package-top h2,.fc-package-top p{margin:0}.fc-package-top p,.fc-package-bottom{font-size:14px;color:var(--p-text-2)}.fc-package-top p{margin-top:5px}
.fc-package-count{display:grid;text-align:right;line-height:1.1}.fc-package-count strong{font-size:44px;letter-spacing:-2px}.fc-package-count span{font-size:13px;color:var(--p-text-2);margin-top:5px}
.fc-training-package .fc-package-coach-top{gap:4px 12px}
.fc-training-package .fc-package-coach-top .p-btn{min-height:44px;padding:0;background:transparent;border:0;box-shadow:none;font-size:13px}
.fc-training-package .fc-package-coach-balance{grid-column:1/-1;display:grid;gap:8px;min-width:0}
.fc-training-package .fc-package-coach-balance .fc-package-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 .3em;margin:0;text-align:left;font-size:13px;line-height:1.4}
.fc-training-package .fc-package-coach-balance .fc-package-count strong{font-size:inherit;font-variant-numeric:tabular-nums;letter-spacing:normal;line-height:inherit}
.fc-training-package .fc-package-coach-balance .fc-package-count span{margin:0;font-size:inherit}
.fc-training-package progress{width:100%;height:5px;border:0;border-radius:99px;overflow:hidden;accent-color:var(--p-lime)}.fc-training-package progress::-webkit-progress-bar{background:var(--p-line)}.fc-training-package progress::-webkit-progress-value{background:var(--p-lime)}
.fc-attendance{padding-top:16px;border-top:1px solid var(--p-line);display:grid;gap:12px;font-size:14px}.fc-attendance .p-row{flex-wrap:wrap}
.fc-library-control{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--p-line);flex-wrap:wrap}.fc-library-control h3,.fc-library-control p{margin:0}.fc-library-control p{margin-top:6px}
.fc-live-sessions:empty{display:none}.fc-live-sessions{display:grid;gap:10px}.fc-live-session{display:flex;width:100%;align-items:center;gap:14px;background:var(--p-raised);border:1px solid var(--p-line);border-radius:20px;padding:18px;color:var(--p-text);text-align:left}.fc-live-session-avatar{flex:none}.fc-live-session-open{display:flex;align-items:center;gap:14px;flex:1;min-width:0;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}.fc-live-session-copy{display:grid;gap:5px;flex:1;min-width:0}.fc-live-session-open>svg{width:20px;height:20px;flex:none}.fc-live-session small{color:var(--p-text-2)}.fc-live-session b{font-size:13px;white-space:nowrap}
.fc-assigned-workouts,.fc-workout-exercises{display:grid;gap:16px}.fc-assigned-workout{background:var(--p-raised);color:var(--p-text);border:1px solid var(--p-line);border-radius:20px;padding:24px;display:grid;gap:12px;text-align:left;cursor:pointer}.fc-assigned-workout strong{font-size:22px}.fc-assigned-workout small,.fc-assigned-workout span{color:var(--p-text-2)}
.fc-workout-context{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.fc-workout-exercise{padding:20px;border:1px solid var(--p-line);border-radius:20px;display:grid;gap:16px;min-width:0}.fc-workout-exercise-main{border:0;background:none;display:flex;gap:16px;align-items:center;text-align:left;color:var(--p-text);padding:0;cursor:pointer}.fc-workout-exercise-main>span{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}.fc-workout-exercise-main strong{font-size:18px}.fc-workout-exercise-main span span,.fc-workout-exercise-main small{font-size:14px;color:var(--p-text-2)}
.fc-workout-exercise-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fc-set-stepper{display:flex;align-items:center;gap:12px}.fc-set-stepper .p-btn{min-width:44px;min-height:44px;padding:8px}.fc-set-stepper>span{font-size:14px}
@media(min-width:1100px){.fc-assigned-workouts,.fc-workout-exercises{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-training-package{max-width:760px}.fc-coach-workout .fc-workout-context{padding-bottom:16px}}
@media(max-width:390px){.fc-training-package{padding:18px}.fc-live-session{flex-wrap:wrap}.fc-workout-exercise{padding:16px}.fc-library-control .p-row{flex-wrap:wrap}}
.fc-actual-sets{border-top:1px solid var(--p-line);padding-top:12px}.fc-actual-sets summary{cursor:pointer;font-size:14px;padding:8px 0;color:var(--p-text-2)}.fc-actual-set{display:grid;grid-template-columns:20px minmax(0,1fr) minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:8px}.fc-actual-set input{min-width:0;width:100%}.fc-actual-set .p-btn{font-size:12px;padding-inline:12px}
@media(max-width:390px){.fc-actual-set{grid-template-columns:16px minmax(0,1fr) minmax(0,1fr)}.fc-actual-set .p-btn{grid-column:2/4}}
.fc-package-body{display:grid;gap:18px}.fc-completed-visual{display:flex;gap:16px;align-items:flex-start;padding:18px 0;border-bottom:1px solid var(--p-line)}.fc-completed-visual>div{min-width:0}.fc-completed-visual strong{font-size:16px}.fc-completed-visual p{margin:7px 0 0}.fc-completed-facts{font-size:14px;line-height:1.6}.fc-completed-visual .thumb{flex-shrink:0}
.fc-workout-exercise-main>.thumb,.fc-completed-visual>.thumb{width:80px;height:80px;flex:0 0 80px;border-radius:14px;overflow:hidden}.fc-workout-exercise-main .fc-ex-art,.fc-completed-visual .fc-ex-art{width:100%;height:100%}
.fc-measure-date{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 0 22px;border-bottom:1px solid var(--p-line)}.fc-measure-date>span{font-size:14px;color:var(--p-text-2)}.fc-measure-date input{border-radius:14px;background:var(--p-raised);border:1px solid var(--p-line);padding:12px 16px;color:var(--p-text);font:inherit;max-width:100%;width:auto}.fc-metric-history{padding:18px 0 24px;display:grid;gap:18px}.fc-metric-history>.btn{justify-self:start}
.fp-macro-correction{border-top:1px solid var(--p-line);padding-top:16px}.fp-macro-correction summary{cursor:pointer;font-weight:600;padding:8px 0}.fp-macro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fp-macro-grid input{min-width:0;width:100%}
.fc-metric-date{display:block;font-size:11px;color:var(--p-text-2);font-weight:400;margin-top:4px}
.fc-avatar-open,.fc-conv-avatar{border:0;background:none;padding:0;display:inline-flex;border-radius:50%;cursor:pointer;color:inherit}.fc-avatar-photo{display:grid;place-items:center;min-height:180px}.fc-avatar-photo>img{max-width:100%;max-height:70vh;object-fit:contain;border-radius:18px}.fc-conv-split{grid-template-columns:auto minmax(0,1fr)}.fc-conv-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;border:0;background:none;padding:0;color:inherit;text-align:left;font:inherit;min-width:0;cursor:pointer}.fc-conv-avatar:focus-visible,.fc-avatar-open:focus-visible{outline:2px solid var(--p-text);outline-offset:4px}
.fc-profile-avatar{position:relative;display:inline-flex;flex:none;isolation:isolate}
.fc-profile-avatar-add{position:absolute;right:-16px;bottom:-16px;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--p-bg);display:grid;place-items:center;cursor:pointer;touch-action:manipulation;isolation:isolate}
.fc-profile-avatar-add::before{content:"";position:absolute;width:30px;height:30px;border:3px solid var(--p-card);border-radius:50%;background:var(--p-text);box-sizing:border-box;z-index:-1}
.fc-profile-avatar-add svg{width:18px;height:18px;pointer-events:none}
.fc-profile-avatar-add:focus-visible{outline:2px solid var(--p-text);outline-offset:2px;border-radius:50%}
.fc-profile-compact{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.fc-design .page.fc-profile-compact{gap:12px}
.fc-profile-compact .page-head{margin-bottom:0}
.fc-profile-compact .fc-profile-identity{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:16px;margin:0;text-align:left;border:0;border-radius:28px;background:#12173A;color:#fff}
:root[data-theme="dark"] .fc-profile-compact .fc-profile-identity{background:#2B3765}
.fc-profile-identity-copy{flex:1;min-width:0}
.fc-profile-compact .fc-profile-identity h2{margin:0;font-size:22px;font-weight:800;line-height:1.08;letter-spacing:-.035em;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.fc-profile-compact .fc-profile-identity p{margin:2px 0 0;font-size:13px;font-weight:500;line-height:1.3;color:#A8B1CC;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.fc-profile-menu{border:1px solid var(--p-line);border-radius:24px;background:var(--p-card);overflow:hidden}
.fc-profile-menu>.setting{border-bottom:1px solid var(--p-line)}
.fc-profile-account-actions{margin:0}
.fc-profile-section{border-bottom:1px solid var(--p-line)}
.fc-profile-section:last-child{border-bottom:0}
.fc-profile-section>summary{list-style:none;display:flex;align-items:center;gap:12px;min-height:58px;padding:10px 14px;cursor:pointer;font-size:16px;font-weight:600;color:var(--p-text)}
.fc-profile-section>summary::-webkit-details-marker{display:none}
.fc-profile-section>summary .ico{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:var(--p-blue-soft);color:var(--p-blue-text)}
.fc-profile-section>summary .ico svg{width:19px;height:19px}
.fc-profile-section-title{flex:1;min-width:0}
.fc-profile-section>summary>svg{flex:none;width:18px;height:18px;color:var(--p-text-3)}
.fc-profile-section[open]>summary>svg{transform:rotate(90deg)}
.fc-profile-section>summary:focus-visible{outline:2px solid var(--p-text);outline-offset:-4px;border-radius:12px}
.fc-profile-section-content{padding:0 12px 14px}
.fc-profile-section-content .settings-title{margin:8px 0 4px;font-size:14px}
.fc-profile-mode-switch{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:18px;background:var(--p-raised)}
.fc-profile-mode-switch>button{flex:1;min-height:48px;padding:8px;border:0;border-radius:15px;background:transparent;font:inherit;font-weight:700;color:var(--p-text);cursor:pointer}
.fc-profile-mode-switch>button[aria-checked=true]{background:var(--p-lime);color:var(--p-lime-ink)}
.fc-profile-mode-switch>button:disabled{opacity:.7;cursor:wait}
.fc-profile-mode-switch>.setting{flex-basis:100%}
.fc-notes-search{display:flex;align-items:center;gap:10px;min-height:50px;padding:0 14px;border:1px solid var(--p-line);border-radius:18px;background:var(--p-raised);min-width:0}
.fc-notes-search>svg{width:20px;height:20px;flex:none;color:var(--p-text-2)}
.fc-notes-search>.input{flex:1;min-width:0;min-height:48px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.fc-notes-search input::-webkit-search-cancel-button{display:none}
.fc-notes-clear{display:grid;place-items:center;flex:none;width:44px;height:44px;margin-right:-10px;padding:0;border:0;background:transparent;color:var(--p-text-2);cursor:pointer}
.fc-notes-clear[hidden]{display:none}
.fc-notes-clear svg{width:18px;height:18px}
.fc-notes-filters{display:flex;gap:8px;overflow-x:auto;min-width:0;max-width:100%;padding:1px 0 4px;scrollbar-width:thin}
.fc-notes-filters>button{flex:none;min-height:38px;max-width:100%;padding:8px 14px;border:1px solid var(--p-line);border-radius:999px;background:var(--p-card);color:var(--p-text-2);font:inherit;font-size:14px;font-weight:600;overflow-wrap:anywhere;cursor:pointer}
.fc-notes-filters>button[aria-pressed=true]{border-color:var(--p-lime);background:var(--p-lime);color:var(--p-lime-ink)}
.fc-notes-private{display:flex;align-items:center;gap:6px}
.fc-notes-private>svg{width:16px;height:16px;flex:none}
.fc-notes-page .p-backbar{gap:6px}
.fc-notes-page .fc-notes-detail{flex:none;min-height:44px;padding:8px 12px;font-size:14px}
@media(max-width:860px){body.fc-design .fc-notes-page .p-backbar>.p-h2{font-size:clamp(20px,5.64vw,22px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
.fc-notes-page>.muted{margin:0}
.fc-notes-page .note-card.pinned{border-color:var(--p-line);background:var(--p-card)}
body.fc-design .page.fc-notes-page{display:grid;grid-template-columns:minmax(0,1fr);max-width:840px;gap:12px}
.fc-notes-page>.quick-note{margin-bottom:0}
.fc-notes-page>.quick-note textarea.input{min-height:64px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.fc-move-picker{display:grid;gap:24px}.fc-move-month-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.fc-move-calendar .p-cal button{position:relative;min-height:40px}.fc-move-calendar .p-cal small{display:block;font-size:9px;color:var(--p-text-2)}.fc-move-calendar .p-cal [aria-pressed=true]{background:var(--p-lime);color:var(--p-lime-ink)}.fc-move-slots h3,.fc-move-roster-section h3{font-size:16px;margin:0 0 14px}.fc-move-roster{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;max-height:320px}.fc-move-roster-row{display:flex;align-items:center;gap:14px;min-height:76px;padding:12px 0;border-bottom:1px solid var(--p-line)}.fc-move-time{width:55px;flex-shrink:0;display:grid;gap:4px}.fc-move-time small,.fc-move-roster-row>span:last-child small{font-size:12px;color:var(--p-text-2);display:block;margin-top:4px}.fc-move-roster-row>span:last-child{min-width:0}.fc-move-roster-row>span:last-child strong{font-size:14px;overflow-wrap:anywhere}
@media(min-width:900px){.fc-move-picker{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.fc-move-calendar{grid-row:span 2}.fc-move-picker>p,.fc-move-picker>div:last-child{grid-column:1/-1}}
.fc-meeting-repeat{display:grid;gap:12px}.fc-meeting-repeat[hidden]{display:none}.fc-booking-confirm{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;margin-top:14px}.fc-booking-confirm input{width:18px;height:18px;flex-shrink:0;margin-top:2px;accent-color:var(--p-text)}.fc-package-warning p{margin:10px 0}
.fc-program-section-title{font-size:18px;margin:0 0 14px}.fc-athlete-current-program>.p-btn{margin-top:14px}

/* Measurement rows use the same compact disclosure affordance at every width. */
.fc-measurements .measure-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto 18px;align-items:center;gap:12px;padding:18px 0}
.fc-measurements .measure-row>span:first-child{min-width:0;overflow-wrap:anywhere}
.fc-measurements .measure-row>b,.fc-measurements .measure-row>.muted{white-space:nowrap}
.fc-measurements .measure-row>.muted{font-size:13px;text-align:right}
.fc-measurements .measure-row>svg{display:block;width:18px;height:18px;min-width:18px;max-width:18px;color:var(--p-text-2)}
@media(max-width:400px){.fc-measurements .measure-row{gap:8px;font-size:14px}.fc-measurements .measure-row>.muted{font-size:12px}}

/* Workout covers use an illustration from the assigned exercises. */
.fc-assigned-workout-heading{display:flex;align-items:center;gap:12px;min-width:0}
.fc-assigned-workout-heading>strong{flex:1;min-width:0;overflow-wrap:anywhere}
.fc-assigned-workout-cover{width:90px;height:64px;flex:none;border-radius:12px;overflow:hidden}
.fc-assigned-workout-cover .p-art{width:100%;height:100%}

.fc-coach-measure > span { display:grid; gap:6px; min-width:0; }
.fc-coach-measure > span > b { font-size:13px; color:var(--p-text-2); overflow-wrap:anywhere; }
.fc-coach-measure > span > span { font-size:18px; font-weight:650; font-variant-numeric:tabular-nums; }
.fc-coach-measure > span > small { color:var(--p-text-2); }
body[data-space=coach] .p-backbar .p-h2 { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; line-height:1.15; }
body[data-space=coach] .p-backbar > .p-iconbtn { flex:none; }

/* Native billing: feature checks, a framed current plan, and payment rows. */
.fc-court-billing-overview,
.fc-court-billing-history,
.fc-court-profile-dashboard,
.fc-court-profile-extra-toggle { display: none; }
.fc-billing-mobile:not(.panel),
.fc-court-profile-extra-layout { display: contents; }
.fc-billing{min-width:0}
.fc-billing .p-backbar{margin-bottom:0}
.fc-billing .fc-billing-plans{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.fc-billing .plan{min-width:0;padding:20px 0;border:0;border-bottom:1px solid var(--p-line);border-radius:0;box-shadow:none;background:transparent}
.fc-billing .plan.current{border:2px solid var(--p-blue);padding-inline:12px}
.fc-billing-plan-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.fc-billing-plan-head h2{flex:1;min-width:0;margin:0}
.fc-billing-plan-head .p-chip{white-space:nowrap}
body.fc-design #main .fc-billing-plan-head .p-chip.ok{padding:4px 12px;border:1px solid var(--p-ok-line);border-radius:999px;background:var(--p-ok-bg);color:var(--p-ok)}
.fc-billing .plan ul{list-style:none;padding:0;gap:10px;color:var(--p-text)}
.fc-billing .plan li{display:flex;align-items:center;gap:8px}
.fc-billing .plan li svg{width:16px;height:16px;flex:none;color:var(--p-ok)}
.fc-billing .plan .btn{white-space:normal}
.fc-billing .fc-billing-history{padding-block:20px;border-bottom:1px solid var(--p-line)}
.fc-billing-payment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-variant-numeric:tabular-nums}
.fc-billing-payment-date{display:grid;gap:4px}
.fc-billing-payment+.fc-billing-payment{border-top:1px solid var(--p-line)}
.fc-billing-payment b{white-space:nowrap}

dialog.fc-chat-booking-detail{
  width:min(480px,100%);max-height:min(76dvh,560px);margin:auto auto 0;border-radius:24px 24px 0 0;border-bottom:0
}
dialog.fc-chat-booking-detail .sheet-handle{
  display:block;width:40px;height:5px;margin:10px auto 0;border-radius:3px;background:var(--line-strong);flex:none
}
dialog.fc-chat-booking-detail .modal-body{padding-bottom:calc(18px + var(--safe-b,0px))}
.fc-chat-booking-summary{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:10px;background:var(--p-raised)}
.fc-chat-booking-summary .p-stack{gap:4px;min-width:0}

/* An actual aggregate state replaces two competing bulk-access buttons. */
.fc-library-control .fc-library-copy{flex:1;min-width:220px}
.fc-library-state{display:flex;align-items:center;gap:12px;margin-left:auto;color:var(--p-text-2);font-size:13px}
.fc-library-toggle{border:0;padding:7px 2px;min-width:56px;min-height:44px;background:transparent;cursor:pointer;display:grid;place-items:center;color:var(--p-text)}
.fc-library-toggle:disabled{cursor:default;opacity:.55}
.fc-library-toggle:focus-visible{outline:2px solid var(--p-blue);outline-offset:3px;border-radius:10px}
.fc-library-track{display:block;position:relative;width:52px;height:30px;border:1px solid var(--p-line);border-radius:999px;background:var(--p-raised)}
.fc-library-thumb{position:absolute;left:4px;top:3px;width:22px;height:22px;border-radius:50%;background:var(--p-text-2);transition:transform .15s ease,background .15s ease}
.fc-library-toggle[data-state=on] .fc-library-track{background:var(--p-lime);border-color:var(--p-lime)}
.fc-library-toggle[data-state=on] .fc-library-thumb{transform:translateX(20px);background:var(--p-lime-ink)}
.fc-library-toggle[data-state=mixed] .fc-library-thumb{transform:translateX(10px)}
.fc-library-toggle[data-state=mixed] .fc-library-thumb:after{content:"";position:absolute;width:10px;height:2px;left:6px;top:10px;background:var(--p-card)}
.fc-library-control>.p-error{flex-basis:100%}
@media(max-width:430px){.fc-library-control .fc-library-copy{min-width:0;flex-basis:100%}.fc-library-state{width:100%;justify-content:space-between;margin-left:0}}
@media(prefers-reduced-motion:reduce){.fc-library-thumb{transition:none}}

/* Approved desktop profile: one identity/navigation rail and a selected pane.
   The mobile disclosures use the exact same controls and DOM. */
.fc-profile-sidebar{display:contents}
.fc-profile-workspace[hidden],.fc-profile-desktop-form{display:none}
@media(min-width:1100px){
  body.fc-design[data-route=settings] .page.fc-profile-compact{max-width:1440px;display:grid;grid-template-columns:280px minmax(0,1fr);align-items:start;gap:20px}
  .fc-profile-compact>.page-head{display:none}
  .fc-profile-sidebar{display:grid;gap:16px;padding:20px 14px;border:1px solid var(--p-line);border-radius:20px;background:var(--p-card);min-width:0}
  .fc-profile-compact .fc-profile-identity{flex-direction:column;padding:0 8px 8px;background:transparent;color:var(--p-text);border-radius:0;text-align:center;gap:16px}
  :root[data-theme=dark] .fc-profile-compact .fc-profile-identity{background:transparent}
  .fc-profile-compact .fc-profile-identity h2{font-size:22px;line-height:1.2;color:var(--p-text);margin:0 0 8px}
  .fc-profile-compact .fc-profile-identity p{color:var(--p-text-2);white-space:normal;overflow-wrap:anywhere;margin-top:10px}
  .fc-profile-sidebar .fc-profile-role-copy,.fc-profile-sidebar .fc-profile-subscription-link{display:none}
  .fc-profile-compact .fc-profile-identity-copy{flex:auto;width:100%}
  .fc-profile-compact .fc-profile-avatar-add{right:-10px;bottom:-8px}
  .fc-profile-sidebar .fc-profile-mode-switch>button{min-height:40px;font-size:13px}
  .fc-profile-sidebar .fc-profile-menu{border:0;border-radius:0;background:transparent;overflow:visible}
  .fc-profile-sidebar .fc-profile-section,.fc-profile-sidebar .fc-profile-menu>.setting{border:0}
  .fc-profile-sidebar .fc-profile-section>summary,.fc-profile-sidebar .setting{padding:10px;min-height:44px;border-radius:12px;gap:10px;font-size:14px}
  .fc-profile-sidebar .fc-profile-section>summary .ico,.fc-profile-sidebar .setting>.ico{width:24px;height:24px;background:transparent;color:inherit}
  .fc-profile-sidebar .fc-profile-section>summary>svg,.fc-profile-sidebar .setting>.chev{display:none}
  .fc-profile-sidebar .fc-profile-section>summary[aria-current=page]{background:var(--p-lime);color:var(--p-lime-ink)}
  .fc-profile-sidebar .setting-title{font-size:14px}
  .fc-profile-sidebar .setting .small{font-size:12px}
  .fc-profile-sidebar .fc-profile-account-actions{border:0;border-top:1px solid var(--p-line);padding-top:12px;border-radius:0;background:transparent}
  .fc-profile-workspace:not([hidden]){display:grid;align-content:start;gap:24px;min-width:0;min-height:700px;padding:clamp(20px,2vw,32px);border:1px solid var(--p-line);border-radius:20px;background:var(--p-card)}
  .fc-profile-workspace>h1{margin:0;font-size:34px;line-height:1.15;letter-spacing:-.04em}
  .fc-profile-workspace .fc-profile-section-content{padding:0;min-width:0}
  .fc-profile-workspace .fc-profile-mobile-about{display:none}
  .fc-profile-desktop-form{display:grid;gap:20px;min-width:0}
  .fc-profile-desktop-form>p{margin:0}
  .fc-profile-form-group{display:grid;gap:16px;border:1px solid var(--p-line);border-radius:18px;padding:20px;min-width:0}
  .fc-profile-form-group h2{margin:0;font-size:22px;letter-spacing:-.025em}
  .fc-profile-personal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
  .fc-profile-form-group .input{min-width:0;width:100%;box-sizing:border-box}
  .fc-profile-form-group textarea{resize:vertical;min-height:140px}
  .fc-profile-form-group .btn{justify-self:start}
  .fc-profile-form-save{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
  .fc-profile-form-save p{margin:0}
  .fc-profile-workspace .settings-title{font-size:22px;font-weight:700;color:var(--p-text);margin:16px 0 4px}
}
@media(min-width:1100px) and (max-width:1280px){
  body.fc-design[data-route=settings] .page.fc-profile-compact{grid-template-columns:235px minmax(0,1fr);gap:14px}
  .fc-profile-personal-fields{grid-template-columns:minmax(0,1fr)}
  .fc-profile-workspace>h1{font-size:28px}
}

.fc-notes-workspace{display:none}
@media(min-width:1100px){
  body.fc-design .page.fc-notes-page{max-width:1440px;gap:16px}
  .fc-notes-page>.p-backbar{margin-bottom:0}
  .fc-notes-page .fc-notes-detail,.fc-notes-page>.fc-notes-mobile-quick,.fc-notes-page>.fc-notes-mobile-list{display:none}
  .fc-notes-page>.fc-notes-search{max-width:420px}
  .fc-notes-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);min-height:650px;border:1px solid var(--p-line);border-radius:20px;overflow:hidden;background:var(--p-card)}
  .fc-notes-list-pane{display:flex;flex-direction:column;gap:16px;padding:16px 10px;border-right:1px solid var(--p-line);min-width:0;background:color-mix(in srgb,var(--p-raised) 40%,var(--p-card))}
  .fc-notes-list-pane>.btn{margin:0 6px;align-self:stretch}
  .fc-notes-desktop-list{display:grid;align-content:start;gap:22px;max-height:calc(100vh - 300px);min-height:420px;overflow:auto;overscroll-behavior:contain;padding:0 2px}
  .fc-notes-date-group{display:grid;gap:4px;min-width:0}
  .fc-notes-date-group h2{font-size:13px;color:var(--p-text-2);padding:4px 12px;margin:0;font-weight:600}
  .fc-note-preview{display:grid;gap:5px;border:1px solid transparent;border-radius:12px;padding:13px 12px;background:transparent;color:var(--p-text);text-align:left;cursor:pointer;min-width:0;font:inherit}
  .fc-note-preview[aria-pressed=true]{background:color-mix(in srgb,var(--p-lime) 55%,var(--p-card));border-color:var(--p-lime)}
  .fc-note-preview strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .fc-note-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--p-text-2)}
  .fc-note-preview-meta svg{width:13px;height:13px;flex:none}
  .fc-note-preview-text{font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--p-text-2);overflow-wrap:anywhere}
  .fc-note-preview small{color:var(--p-text-2);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .fc-notes-editor{padding:24px 30px;min-width:0}
  .fc-note-form{display:flex;flex-direction:column;gap:16px;height:100%;min-width:0}
  .fc-note-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;color:var(--p-text-2);font-size:12px}
  .fc-note-title-input,.fc-note-text-input{border:0;box-shadow:none;border-radius:0;background:transparent;color:var(--p-text);font:inherit;resize:vertical;width:100%;min-width:0;box-sizing:border-box;padding:4px 0;outline-offset:4px}
  .fc-note-title-input{font-size:30px;font-weight:750;line-height:1.15;letter-spacing:-.035em;min-height:74px}
  .fc-note-text-input{font-size:16px;line-height:1.6;min-height:280px;flex:1}
  .fc-note-title-input::placeholder,.fc-note-text-input::placeholder{color:var(--p-text-3)}
  .fc-note-editor-options{display:flex;align-items:center;flex-wrap:wrap;gap:16px;border-top:1px solid var(--p-line);padding-top:16px}
  .fc-note-editor-options>.field{flex:1;min-width:160px;margin:0}
  .fc-note-editor-options .input{width:100%}
  .fc-note-form footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
  .fc-notes-editor-empty{display:grid;justify-items:center;align-content:center;gap:12px;min-height:440px;text-align:center}
  .fc-notes-editor-empty>svg{width:40px;height:40px;color:var(--p-text-2)}
  .fc-notes-editor-empty h2,.fc-notes-editor-empty p{margin:0}
}
@media(min-width:1100px) and (max-width:1280px){
  .fc-notes-workspace{grid-template-columns:240px minmax(0,1fr)}
  .fc-notes-editor{padding:20px}
  .fc-note-title-input{font-size:26px}
}

.fc-today-desktop-agenda,.fc-today-desktop-aside,.fc-today-desktop-assign{display:none}
@media(min-width:861px) and (max-width:1099px){.fc-trainer-today .fc-workspace-summary{order:-1}}
@media(min-width:1100px){
  body.fc-design .fc-trainer-today .fc-today-heading{display:flex;align-items:center;justify-content:flex-start;gap:20px}
  .fc-today-heading .fc-today-desktop-assign{display:flex;margin-left:auto}
  body.fc-design .fc-trainer-today .fc-today-layout{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:24px;align-items:stretch}
  body.fc-design .fc-trainer-today .fc-today-hero{grid-column:1;grid-row:1;min-height:0;padding:26px;border-radius:22px;display:flex;align-items:center}
  body.fc-design .fc-trainer-today .fc-today-copy{margin:0;padding:0;border:0;background:transparent;width:100%;border-radius:0}
  body.fc-design .fc-trainer-today .fc-today-time{display:flex;gap:12px;align-items:baseline;margin:12px 0}
  body.fc-design .fc-trainer-today .fc-today-time>time{font-size:36px;letter-spacing:-1px}
  body.fc-design .fc-trainer-today :is(.fc-today-copy,.fc-today-details)>h2{font-size:26px;line-height:1.2}
  body.fc-design .fc-trainer-today .fc-today-actions>.p-btn{flex:0 1 auto;padding-inline:20px}
  body.fc-design .fc-trainer-today .fc-workspace-summary{display:grid;grid-column:2;grid-row:1;grid-template-columns:1fr;gap:10px;padding:0;background:transparent;border:0;border-radius:0}
  .fc-trainer-today .fc-workspace-stat{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 16px;padding:16px 42px 16px 20px;border:1px solid var(--p-line);border-radius:16px;background:var(--p-card)}
  .fc-trainer-today .fc-workspace-stat+.fc-workspace-stat{border-left:1px solid var(--p-line)}
  .fc-trainer-today .fc-workspace-stat>strong{grid-column:2;grid-row:1/3;font-size:27px;letter-spacing:-.8px}
  .fc-trainer-today .fc-workspace-stat>span{font-size:14px;color:var(--p-text)}
  .fc-trainer-today .fc-workspace-stat>small{font-size:11px;grid-column:1}
  .fc-trainer-today .fc-workspace-stat>svg{right:16px;top:calc(50% - 8px)}
  .fc-trainer-today .fc-today-agenda{display:none}
  .fc-today-desktop-agenda{display:block;grid-column:1;grid-row:2;border:1px solid var(--p-line);border-radius:20px;padding:20px;background:var(--p-card);min-width:0;align-self:start}
  .fc-today-desktop-aside{display:grid;align-content:start;gap:18px;grid-column:2;grid-row:2;min-width:0}
  .fc-today-desktop-card{display:grid;gap:12px;border:1px solid var(--p-line);border-radius:20px;background:var(--p-card);padding:18px;min-width:0}
  .fc-today-desktop-card .p-section-head{margin:0}
  .fc-today-desktop-card .p-section-head h2{font-size:19px;line-height:1.25;letter-spacing:-.025em}
  .fc-today-desktop-card .p-section-head .p-link{font-size:12px;flex:none}
  .fc-today-note-preview{display:flex;align-items:start;gap:12px;padding:14px;border-radius:12px;background:var(--p-raised);color:var(--p-text);text-decoration:none;min-width:0}
  .fc-today-note-preview>svg{flex:none;width:20px;height:20px;margin-top:3px}
  .fc-today-note-preview>span{font-size:14px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
  .fc-today-table{display:grid;gap:10px;margin:16px 0}
  .fc-today-table-heading,.fc-today-table-row{display:grid;grid-template-columns:82px minmax(0,1fr) auto 16px;gap:14px;align-items:center;min-width:0}
  .fc-today-table-heading{font-size:12px;color:var(--p-text-2);padding:0 12px 8px;border-bottom:1px solid var(--p-line)}
  .fc-today-table-heading:after{content:""}
  .fc-today-table-row{border:1px solid var(--p-line);border-radius:14px;padding:14px 12px;color:var(--p-text);text-decoration:none;min-height:74px}
  .fc-today-table-time{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
  .fc-today-table-time>small{display:block;font-weight:400;color:var(--p-text-2);margin-top:4px;font-size:12px}
  .fc-today-table-person{display:flex;align-items:center;gap:10px;min-width:0}
  .fc-today-table-person>span{min-width:0}
  .fc-today-table-person strong{font-size:14px;line-height:1.3;overflow-wrap:anywhere;display:block}
  .fc-today-table-person small{font-size:11px;color:var(--p-text-2);line-height:1.4;margin-top:5px;display:block;overflow-wrap:anywhere}
  .fc-today-table-person>.p-ava{width:34px;height:34px;flex-basis:34px}
  .fc-today-table-person>svg{width:20px;height:20px;flex:none}
  .fc-today-table-status{font-size:11px;color:var(--p-text-2);background:var(--p-raised);border-radius:12px;padding:5px 8px}
  .fc-today-table-row>svg{width:16px;height:16px}
  .fc-today-desktop-agenda>.p-btn{margin-top:12px;width:100%}
  .fc-today-unread-list{display:grid}
  .fc-today-unread-row{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 0;border-bottom:1px solid var(--p-line);color:var(--p-text);text-decoration:none}
  .fc-today-unread-row:last-child{border-bottom:0}
  .fc-today-unread-row>span:not(.p-ava):not(.p-badge){display:grid;gap:5px;min-width:0;flex:1}
  .fc-today-unread-row strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .fc-today-unread-row small{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--p-text-2)}
}
@media(min-width:1100px) and (max-width:1390px){
  body.fc-design .fc-trainer-today .fc-today-layout{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:18px}
  .fc-today-table-heading,.fc-today-table-row{grid-template-columns:64px minmax(0,1fr) 14px;gap:10px}
  .fc-today-table-heading{display:none}
  .fc-today-table-status{display:none}
}
@media(min-width:1100px){
  body.fc-design:is([data-route=settings],[data-route=notes],[data-route=calendar]) #main,body.fc-design:has(.fc-trainer-today) #main{padding:24px 24px 40px}
  .fc-profile-sidebar .fc-profile-avatar .p-ava{width:120px;height:120px;flex-basis:120px;font-size:34px}
  body.fc-design .fc-trainer-today .fc-today-copy{-webkit-backdrop-filter:none;backdrop-filter:none}
  .fc-today-table-row,.fc-today-table-row *{text-decoration:none}
  .fc-today-table-heading>span{min-width:0}
  .fc-schedule-sidebar>[role=status]:empty{display:none}
}
.fc-notes-toolbar{display:grid;gap:12px;min-width:0}
.fc-notes-toolbar-anchor:empty{display:none}
@media(min-width:1100px){
  .fc-notes-list-pane .fc-notes-toolbar{padding:0 6px}
  .fc-notes-list-pane .fc-notes-filters{flex-wrap:wrap;max-height:130px;overflow:auto}
  .fc-notes-list-pane .fc-notes-filters button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
  .fc-notes-list-pane .fc-notes-search{padding-inline:12px}
  .fc-notes-list-pane .fc-notes-search input{font-size:13px}
  .fc-notes-list-pane .fc-notes-search>svg{width:16px;height:16px}
}
@media(min-width:1100px){
  .fc-profile-workspace .fc-profile-section-content>.stack{display:flex;flex-direction:column;gap:20px}
  .fc-profile-workspace .fc-profile-desktop-form{display:contents}
  .fc-profile-workspace .fc-profile-form-save{order:5}
  .fc-profile-workspace .gyms-block{border:1px solid var(--p-line);border-radius:16px;padding:18px}
}
.fc-today-desktop-idle-title{display:none}
@media(min-width:1100px){
  .fc-today-mobile-idle-title{display:none}
  .fc-today-desktop-idle-title{display:inline}
}
@media(min-width:1100px) and (max-width:1390px){
  .fc-today-table-row{grid-template-rows:auto auto}
  .fc-today-table-person{grid-column:2;grid-row:1}
  .fc-today-table-time{grid-column:1;grid-row:1/3}
  .fc-today-table-row>.fc-today-table-status{display:block;grid-column:2;grid-row:2;justify-self:start;font-size:10px}
  .fc-today-table-row>svg{grid-column:3;grid-row:1/3}
}

/* Owner-approved compact Notes concept; the mobile controls keep their layout. */
.fc-notes-compact-filter{display:none}
.fc-court-note-compose-label,.fc-court-note-saved{display:none}
@media(min-width:1100px){
  .fc-notes-page>.p-backbar{display:none}
  .fc-notes-workspace{grid-template-columns:320px minmax(0,1fr);gap:16px;border:0;overflow:visible;background:transparent;min-height:calc(100vh - 64px)}
  .fc-notes-list-pane{border:1px solid var(--p-line);border-radius:18px;background:var(--p-card);padding:20px 10px;gap:18px}
  .fc-notes-list-heading{display:flex;gap:10px;align-items:center;padding:0 8px;min-width:0}
  .fc-notes-list-heading>h1{font-size:28px;letter-spacing:-.04em;line-height:1.2;margin:0}
  .fc-notes-count{font-size:18px;color:var(--p-text-3)}
  .fc-notes-compose{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:10px;color:var(--p-lime-ink);background:var(--p-lime);margin-left:auto;cursor:pointer}
  .fc-notes-compose svg{width:20px;height:20px}
  .fc-notes-compact-filter{display:block;width:100%;height:38px;padding:7px 10px;font-size:13px;border-radius:9px}
  .fc-notes-list-pane .fc-notes-filters{display:none}
  .fc-notes-list-pane .fc-notes-toolbar{gap:10px;padding:0 8px}
  .fc-notes-list-pane .fc-notes-search{height:38px;border-radius:9px;padding-inline:10px}
  .fc-notes-list-pane .fc-notes-search input{min-height:36px;height:36px;padding-block:5px;font-size:13px}
  .fc-notes-desktop-list{gap:20px;max-height:calc(100vh - 245px)}
  .fc-notes-date-group{gap:0}
  .fc-notes-date-group h2{font-size:12px;font-weight:500;margin:0 0 8px;padding:2px 10px}
  .fc-note-preview{position:relative;gap:6px;border:0;border-bottom:1px solid var(--p-line);border-radius:0;padding:12px 10px;background:transparent}
  .fc-note-preview[aria-pressed=true]{background:color-mix(in srgb,var(--p-lime) 18%,var(--p-card));border-color:var(--p-line);border-radius:8px}
  .fc-note-preview[aria-pressed=true]:before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:2px;background:var(--p-lime)}
  .fc-note-preview-heading{display:flex;align-items:center;gap:7px;min-width:0}
  .fc-note-preview-heading strong{font-size:14px;line-height:1.35}
  .fc-note-preview-heading svg{width:13px;height:13px;flex:none}
  .fc-note-preview-text{font-size:12px;-webkit-line-clamp:1}
  .fc-note-preview-meta{font-size:10px;line-height:1.4;gap:10px}
  .fc-note-preview-meta>time{white-space:nowrap}
  .fc-note-preview-meta>small{font-size:10px;min-width:0;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .fc-notes-editor{border:1px solid var(--p-line);border-radius:18px;background:var(--p-card);padding:20px 28px}
  .fc-note-editor-toolbar{position:relative;justify-content:center;min-height:40px}
  .fc-note-toolbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
  .fc-note-editor-toolbar>time{margin-left:auto}
  .fc-note-toolbar-actions>.icon-btn{width:36px;height:36px;min-height:36px;border:1px solid var(--p-line);border-radius:9px}
  .fc-note-pin-action[aria-pressed=true]{background:var(--p-raised);color:var(--p-text)}
  .fc-note-title-input{font-size:30px;resize:none;min-height:76px}
  .fc-note-text-input{font-size:15px;resize:none}
  .fc-note-form footer{border-top:1px solid var(--p-line);padding-top:18px;gap:12px}
  .fc-note-association>.field{width:min(240px,100%);min-width:0;margin:0}
  .fc-note-association>.field>.input{width:100%;font-size:13px}
  .fc-note-association>.field>label{font-size:11px}
  .fc-note-form footer>.btn{margin-left:auto}
}
@media(min-width:1100px) and (max-width:1280px){
  .fc-notes-workspace{grid-template-columns:250px minmax(0,1fr);gap:12px}
  .fc-notes-editor{padding:18px}
  .fc-note-title-input{font-size:25px}
}
