/* Light desktop coaching workspace. The original narrow layouts use their own styles. */
.fc-court-note-preview-icon,
.fc-court-note-preview-arrow,
.fc-note-subject-icon,
.fc-note-clear-subject,
.fc-notes-editor .fc-note-remove-footer {
  display: none;
}

.fc-note-rich-group { display: contents; }

@media (min-width: 861px) {
  [data-theme="light"] body[data-space="coach"] #main > :is(.p-player, .fc-coach-workout, .fc-court-workout-summary) {
    --gap: clamp(16px, 1.7vw, 24px);
    max-width: 1080px;
    margin-inline: auto;
  }

  [data-theme="light"] #main > :is(.p-player, .fc-coach-workout, .fc-court-workout-summary) > .p-backbar {
    gap: 14px;
  }

  [data-theme="light"] #main > :is(.p-player, .fc-coach-workout, .fc-court-workout-summary) > .p-backbar h1 {
    font-size: clamp(27px, 3.1vw, 44px);
    line-height: 1.12;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  [data-theme="light"] #main > :is(.p-player, .fc-coach-workout, .fc-court-workout-summary) > .p-card,
  [data-theme="light"] .p-player :is(.p-wo-hero, .p-player-top, .p-wo-cur) {
    padding: clamp(16px, 2.15vw, 30px);
    border: 1px solid var(--court-desktop-line);
    border-radius: 22px;
    background: linear-gradient(138deg, #fcfdff, var(--court-desktop-card));
    box-shadow: 0 5px 16px #2337600b;
  }

  [data-theme="light"] .p-player .p-wo-hero {
    min-height: 0;
    gap: 10px;
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .p-player .p-wo-hero .art { display: none; }
  [data-theme="light"] .p-player .p-wo-hero .p-eyebrow,
  [data-theme="light"] .p-player .p-wo-hero .sub { color: var(--court-desktop-muted); }
  [data-theme="light"] .p-player .p-wo-hero .p-eyebrow { opacity: 1; }
  [data-theme="light"] .p-player .p-wo-hero .p-eyebrow > .ib { background: var(--p-lav-soft); color: var(--court-desktop-ink); }

  [data-theme="light"] .p-player .p-wo-hero h2 { display: none; }

  [data-theme="light"] .p-player .p-wo-hero > .p-btn {
    width: max-content;
    max-width: 100%;
    min-height: 48px;
    background: var(--court-desktop-lime);
    color: var(--court-desktop-ink);
    white-space: normal;
  }

  [data-theme="light"] #main :is(.p-player, .fc-court-workout-summary) .p-wo-ex {
    min-height: 76px;
    padding: 10px 16px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 16px;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] #main :is(.p-player, .fc-court-workout-summary) button.p-wo-ex:hover {
    background: #e9efff;
  }

  [data-theme="light"] .p-player .p-player-top { padding-block: 13px; }
  [data-theme="light"] .p-player .p-player-top b { font-size: clamp(19px, 2vw, 26px); }
  [data-theme="light"] .p-player > .p-progressbar { margin-top: calc(-.5 * var(--gap)); }
  [data-theme="light"] .p-player .p-set { grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1fr) 44px; }
  [data-theme="light"] .p-player .p-wo-rest:empty { display: none; }
  [data-theme="light"] .p-player .p-wo-status:empty { position: absolute; }

  [data-theme="light"] .p-player .p-exnav button {
    min-height: 42px;
    font-size: 14px;
  }

  [data-theme="light"] .p-player .p-exnav button > span { max-width: 32ch; }
  [data-theme="light"] .p-player .p-exnav button[aria-selected="true"] {
    background: var(--court-desktop-lime);
    border-color: var(--court-desktop-lime);
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .fc-assignment-detail .fc-assignment-weeks,
  [data-theme="light"] .fc-assignment-detail .fc-assignment-workout {
    background: var(--court-desktop-card);
    border-color: var(--court-desktop-line);
  }

  [data-theme="light"] .fc-assignment-detail .fc-assignment-exercise {
    grid-template-columns: clamp(72px, 9vw, 120px) minmax(0, 1fr) auto;
  }

  [data-theme="light"] .fc-assignment-detail .fc-assignment-open {
    width: auto;
    max-width: 100%;
    padding-inline: 23px;
    justify-self: end;
  }

  [data-theme="light"] body[data-space="coach"] dialog:where(:has(> .modal)) {
    color: var(--court-desktop-ink);
    background: #fbfcff;
    border-color: var(--court-desktop-line);
    border-radius: 24px;
    box-shadow: 0 18px 56px #17244932;
  }

  [data-theme="light"] body[data-space="coach"] dialog:where(:has(> .modal))::backdrop {
    background: #19274466;
  }

  [data-theme="light"] body[data-space="coach"] dialog > .modal > .modal-head {
    padding: 16px 18px 12px 24px;
    border-bottom: 1px solid var(--court-desktop-line);
  }

  [data-theme="light"] body[data-space="coach"] dialog > .modal > .modal-head h2 {
    margin-block: 0;
    font-size: clamp(21px, 2.1vw, 27px);
    line-height: 1.2;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }

  [data-theme="light"] body[data-space="coach"] dialog > .modal > .modal-body { padding: 16px 24px 24px; }
  [data-theme="light"] body[data-space="coach"] dialog > .modal > .modal-foot {
    padding: 12px 24px 16px;
    border-color: var(--court-desktop-line);
    background: #f2f5ff;
  }

  [data-theme="light"] dialog.cm-soon-dialog {
    background: #fbfcff;
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .cm-soon-dialog .modal { background: transparent; }
  [data-theme="light"] .cm-soon-dialog .modal-head h2 {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  [data-theme="light"] .cm-soon-dialog .modal-head .close { color: var(--court-desktop-muted); }
  [data-theme="light"] .cm-soon-copy :is(.cm-soon-brand, h3, ul) { display: none; }
  [data-theme="light"] .cm-soon-copy p { color: var(--court-desktop-muted); }
  [data-theme="light"] .cm-soon-dialog .modal-foot .btn {
    width: auto;
    padding-inline: 22px;
    background: var(--court-desktop-lime);
    color: var(--court-desktop-ink);
  }
}

@media (min-width: 1100px) {
  [data-theme="light"] .p-player .p-wo-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 24px;
  }

  [data-theme="light"] .p-player .p-wo-hero > :is(.p-eyebrow, .sub, .p-paused-in) { grid-column: 1; }
  [data-theme="light"] .p-player .p-wo-hero > .p-btn {
    grid-area: 1 / 2 / span 3 / 3;
    align-self: center;
    margin: 0;
  }

  [data-theme="light"] .p-player .p-wo-cur:has(> :is(.p-art-wrap, .p-art-hero, .p-media)) {
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }

  [data-theme="light"] .p-player .p-wo-cur-copy h2 { overflow-wrap: anywhere; }
}

@media (min-width: 861px) {
  body.fc-design #main > .fc-billing {
    gap: clamp(20px, 3.2vw, 45px);
    max-width: 1440px;
  }

  body.fc-design #main .fc-billing > :is(.p-backbar, .fc-billing-mobile, .fc-billing-mobile-status, .fc-billing-plans:not([data-open="true"])) { display: none; }

  .fc-billing > :is(.fc-court-billing-overview, .fc-court-billing-history) { display: grid; min-width: 0; }
  .fc-court-billing-overview { gap: clamp(20px, 3vw, 40px); }
  body.fc-design #main .fc-court-billing-overview .page-head { display: flex; align-items: center; margin: 0; }
  body.fc-design #main .fc-court-billing-overview .page-head h1 {
    margin: 0; font-size: clamp(35px, 4vw, 58px); line-height: 1.05; letter-spacing: -.055em;
  }
  body.fc-design #main .fc-court-billing-overview .page-head [data-bell] { display: inline-flex !important; }
  .fc-court-billing-current, .fc-court-billing-table {
    min-width: 0;
    background: var(--court-desktop-card, var(--p-card));
    border: 1px solid var(--court-desktop-line, var(--p-line));
    border-radius: 20px;
    box-shadow: 0 7px 18px #2337600c;
  }
  .fc-court-billing-current {
    display: grid; grid-template-columns: 1.06fr 1.25fr auto;
    align-items: center; gap: clamp(14px, 2.2vw, 30px);
    padding: clamp(15px, 2.3vw, 34px);
  }
  .fc-court-billing-plan-copy { display: flex; align-items: center; min-width: 0; gap: clamp(10px, 1.4vw, 21px); }
  .fc-court-billing-plan-copy > div { min-width: 0; }
  .fc-court-billing-plan-copy h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 44px); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
  .fc-court-billing-plan-copy small { display: block; margin-top: 7px; color: var(--p-text-2); }
  .fc-court-billing-icon {
    display: grid; place-items: center; flex: 0 0 clamp(50px, 6.4vw, 102px); aspect-ratio: 1;
    border-radius: 20px; background: var(--p-lav-soft); color: var(--p-text);
  }
  .fc-court-billing-icon svg { width: 56%; height: 56%; }
  .fc-court-billing-state, .fc-court-billing-payment-state {
    display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 12px;
    font-size: clamp(12px, 1.2vw, 16px); line-height: 1.3;
  }
  .fc-court-billing-state { background: var(--p-lime); color: var(--p-lime-ink); font-weight: 700; }
  .fc-court-billing-state svg, .fc-court-billing-payment-state svg { width: 17px; height: 17px; flex: none; }
  .fc-court-billing-usage {
    display: grid; min-width: 0; margin: 0;
    padding-inline: clamp(12px, 2.8vw, 40px);
    border-inline: 1px solid var(--court-desktop-line, var(--p-line));
  }
  .fc-court-billing-usage > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 49px; }
  .fc-court-billing-usage > div + div { border-top: 1px solid var(--court-desktop-line, var(--p-line)); }
  .fc-court-billing-usage dt { display: flex; gap: 9px; align-items: center; min-width: 0; font-size: clamp(13px, 1.35vw, 19px); }
  .fc-court-billing-usage dt svg { width: 21px; height: 21px; flex: none; }
  .fc-court-billing-usage dd { margin: 0; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
  .fc-court-billing-manage { min-height: 53px; gap: 8px; justify-self: end; }
  .fc-court-billing-mode { max-width: 192px; margin: 0; font-size: 15px; }
  .fc-court-billing-mode:empty { display: none; }
  .fc-court-billing-history { gap: 17px; }
  .fc-court-billing-history h2 { margin: 0; font-size: clamp(23px, 2.9vw, 39px); letter-spacing: -.04em; }
  .fc-court-billing-table { overflow-x: auto; }
  .fc-court-billing-table table { width: 100%; border-collapse: collapse; text-align: start; font-variant-numeric: tabular-nums; }
  .fc-court-billing-table :is(th, td) { padding: 14px clamp(10px, 2.1vw, 29px); text-align: start; }
  .fc-court-billing-table th { background: var(--p-raised); color: var(--p-text-2); font-size: 14px; font-weight: 650; }
  .fc-court-billing-table td { border-top: 1px solid var(--court-desktop-line, var(--p-line)); font-size: clamp(13px, 1.3vw, 18px); }
  .fc-court-billing-table td:first-child { white-space: nowrap; }
  .fc-court-billing-table td:first-child svg { vertical-align: middle; width: 20px; height: 20px; margin-right: 8px; }
  .fc-court-billing-table :is(th, td):last-child { text-align: end; white-space: nowrap; }
  .fc-court-billing-table > p { margin: 0; padding: 24px; color: var(--p-text-2); }
  .fc-court-billing-payment-state { color: var(--p-text-2); background: var(--p-raised); }
  .fc-court-billing-payment-state[data-status="succeeded"] { color: var(--p-ok); background: var(--p-ok-bg); }
  .fc-court-billing-payment-state[data-status="canceled"] { color: var(--p-danger); }
}

@media (min-width: 861px) and (max-width: 1130px) {
  .fc-court-billing-current { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .fc-court-billing-usage { border-right: 0; padding-right: 0; }
  .fc-court-billing-manage, .fc-court-billing-mode { grid-column: 1 / -1; justify-self: start; }
}

@media (min-width: 1380px) {
  [data-theme="light"] .fc-court-billing-current {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr) minmax(0, .93fr);
    min-height: clamp(240px, 17vw, 270px);
    padding-inline: clamp(18px, 1.6vw, 26px);
  }

  [data-theme="light"] .fc-court-billing-plan-copy h2 {
    font-size: clamp(32px, 4.2vw - 26px, 42px);
  }

  [data-theme="light"] .fc-court-billing-icon {
    flex-basis: clamp(104px, 7.6vw, 120px);
    background: color-mix(in srgb, var(--court-desktop-line) 74%, var(--court-desktop-card));
  }

  [data-theme="light"] .fc-court-billing-usage { padding-inline: clamp(16px, 2.2vw, 36px); }
  [data-theme="light"] .fc-court-billing-usage > div { min-height: clamp(54px, 4.14vw, 66px); }

  [data-theme="light"] #main .fc-court-billing-manage {
    width: 100%;
    min-height: 64px;
    justify-content: center;
    font-size: clamp(16px, 1.3vw, 20px);
  }

  [data-theme="light"] .fc-court-billing-table :is(th, td) { padding-block: 20px; }
  [data-theme="light"] .fc-court-billing-table th { background: #eaf0fd; font-size: 16px; }
}

@media (min-width: 1100px) {
  body.fc-design[data-route="settings"] #main .page.fc-profile-compact {
    width: 100%;
    max-width: 1440px;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: clamp(16px, 2vw, 28px);
  }

  body.fc-design #main .fc-profile-compact > .page-head {
    display: flex;
    min-height: 50px;
    align-items: center;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--court-desktop-line, var(--p-line));
  }

  body.fc-design #main .fc-profile-compact > .page-head h1 {
    margin: 0;
    letter-spacing: -.052em;
    font-size: clamp(34px, 3.7vw, 52px);
    line-height: 1.05;
  }

  body.fc-design #main .fc-profile-compact > .page-head [data-bell] { display: inline-flex !important; }

  body.fc-design[data-route="settings"] .shell[data-space="coach"] .rail-foot[aria-current="page"] {
    padding: 10px 12px;
    border: 1px solid var(--court-desktop-line, var(--p-line));
    border-radius: 14px;
    background: color-mix(in srgb, var(--p-lime) 45%, var(--p-raised));
  }

  .fc-court-profile-dashboard { display: grid; gap: clamp(18px, 2.6vw, 37px); min-width: 0; }

  .fc-court-profile-identity,
  .fc-court-profile-card {
    min-width: 0;
    background: var(--court-desktop-card, var(--p-card));
    border: 1px solid var(--court-desktop-line, var(--p-line));
    border-radius: 19px;
    box-shadow: 0 6px 16px #2337600c;
  }

  .fc-court-profile-identity {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(0, 3.4fr);
    gap: clamp(21px, 3.1vw, 44px);
    align-items: center;
    min-height: 295px;
    padding: clamp(18px, 2.5vw, 36px);
  }

  .fc-court-profile-dashboard.is-trainer .fc-court-profile-identity {
    grid-template-columns: minmax(200px, 1fr) minmax(0, 2.65fr);
  }

  .fc-court-profile-identity > .fc-profile-avatar { width: 100%; justify-self: center; max-width: 245px; }
  .fc-court-profile-identity > .fc-profile-avatar .fc-avatar-open { width: 100%; }
  .fc-court-profile-identity > .fc-profile-avatar .p-ava {
    width: 100%; height: auto; aspect-ratio: 1; flex-basis: auto;
    font-size: clamp(40px, 5vw, 76px);
  }
  .fc-court-profile-dashboard.is-trainer .fc-court-profile-identity > .fc-profile-avatar { max-width: 320px; }
  .fc-court-profile-dashboard.is-trainer .fc-court-profile-identity > .fc-profile-avatar :is(.p-ava, .fc-avatar-open) {
    aspect-ratio: 6 / 7;
    border-radius: 19px;
  }
  .fc-court-profile-identity > .fc-profile-avatar .fc-profile-avatar-add {
    right: 6px; bottom: 6px; color: var(--p-text);
    border: 1px solid var(--p-line); border-radius: 50%; background: var(--p-card);
    box-shadow: 0 3px 12px #23376022;
  }
  .fc-court-profile-identity > .fc-profile-avatar .fc-profile-avatar-add::before { display: none; }

  .fc-court-profile-form { display: grid; gap: clamp(16px, 2vw, 25px); min-width: 0; }
  .fc-court-profile-name h2 { margin: 0; font-size: clamp(27px, 3.5vw, 46px); letter-spacing: -.05em; overflow-wrap: anywhere; }
  .fc-court-profile-name p { margin: 2px 0 0; }
  .fc-court-profile-dashboard:not(.is-trainer) .fc-court-profile-form {
    border-left: 1px solid var(--court-desktop-line, var(--p-line));
    padding-left: clamp(18px, 2.5vw, 37px);
  }
  .fc-court-profile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px clamp(15px, 2vw, 30px); }
  .fc-court-profile-fields > .field { min-width: 0; }
  .fc-court-profile-fields > .field :is(label, .fc-court-profile-label) { font-size: 15px; font-weight: 650; }
  .fc-court-profile-fields .input {
    width: 100%; min-width: 0; min-height: 46px; box-sizing: border-box;
    color: var(--p-text); background: transparent; border-color: var(--p-line); border-radius: 11px;
    font-size: clamp(14px, 1.55vw, 21px);
  }
  .fc-court-profile-contact { display: flex; align-items: center; justify-content: space-between; gap: 7px; cursor: pointer; text-align: start; }
  .fc-court-profile-contact span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fc-court-profile-contact svg { flex: none; width: 18px; height: 18px; }
  .fc-court-profile-name-field { position: relative; }
  .fc-court-profile-name-field .input { padding-right: 38px; }
  .fc-court-profile-name-field > span {
    position: absolute; bottom: 0; right: 14px; height: 46px;
    display: grid; align-items: center; color: var(--p-text-2); pointer-events: none;
  }
  .fc-court-profile-name-field > span svg { width: 18px; height: 18px; }
  .fc-court-profile-save { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
  .fc-court-profile-save p { margin: 0; }
  .fc-court-profile-save p:empty { display: none; }
  .fc-court-profile-save .btn { min-height: 50px; min-width: min(100%, 200px); font-size: clamp(16px, 1.6vw, 22px); }
  .fc-court-profile-dashboard.is-trainer .fc-court-profile-save { flex-direction: row-reverse; justify-content: flex-end; }

  .fc-court-profile-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
  .fc-court-profile-dashboard.is-trainer .fc-court-profile-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-court-profile-card { display: grid; align-content: start; padding: clamp(12px, 1.6vw, 23px); }
  .fc-court-profile-card > h2 {
    display: flex; gap: 10px; align-items: center;
    margin: 0 0 6px; padding: 0 0 12px; border-bottom: 1px solid var(--court-desktop-line, var(--p-line));
    font-size: clamp(19px, 2vw, 29px); letter-spacing: -.035em;
  }
  .fc-court-profile-card > h2 svg { width: 26px; height: 26px; flex: none; }
  .fc-court-profile-card .settings { margin: 0; padding: 0; min-width: 0; border: 0; background: transparent; }
  .fc-court-profile-card .setting { min-height: 54px; padding: 8px 0; text-align: start; border-radius: 0; }
  .fc-court-profile-card .setting > .ico { width: 26px; height: 26px; background: transparent; color: inherit; }
  .fc-court-profile-card .setting-title { font-size: clamp(13px, 1.2vw, 16px); overflow-wrap: anywhere; }
  .fc-court-profile-card .settings > div + .setting { border-top: 1px solid var(--court-desktop-line, var(--p-line)); }
  .fc-court-profile-card .fc-court-profile-reminders + .setting { border-top: 1px solid var(--court-desktop-line, var(--p-line)); }
  [data-theme="light"] .fc-court-profile-card .switch input:checked + i { background: var(--p-lime-2); border-color: #9ebf26; }
  .fc-court-profile-card .setting:hover { background: color-mix(in srgb, var(--p-raised) 65%, transparent); }
  .fc-court-profile-coach { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 71px; color: inherit; text-decoration: none; }
  .fc-court-profile-coach strong { font-size: clamp(15px, 1.6vw, 22px); overflow-wrap: anywhere; }
  .fc-court-profile-card > .fc-court-profile-coach + .settings { border-top: 1px solid var(--court-desktop-line, var(--p-line)); }

  .fc-court-profile-extra-toggle { display: inline-flex; justify-self: start; }
  .fc-court-profile-extra-layout:not([hidden]) {
    display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 3fr); gap: 16px; align-items: start;
  }
  .fc-court-profile-extra-layout > .fc-profile-sidebar .fc-profile-identity { display: none; }
  .fc-court-profile-extra-layout .fc-profile-workspace > h2 { margin: 0; font-size: clamp(23px, 2.5vw, 34px); }
}

@media (min-width: 861px) {
  body.fc-design .fc-court-training-page {
    max-width: 1440px;
    gap: 16px;
  }

  .fc-court-training-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .fc-court-training-header > h1 {
    margin: 0;
    font-size: clamp(31px, 3.5vw, 48px);
  }

  :is(.fc-court-training-content, .fc-court-training-week-body, .fc-court-training-group) {
    display: grid;
    gap: 16px;
    min-width: 0;
  }

  .fc-court-training-card {
    min-width: 0;
    border: 1px solid var(--court-desktop-line, var(--p-line));
    border-radius: 17px;
    background: var(--court-desktop-card, var(--p-card));
    color: var(--p-text);
  }

  .fc-court-training-card:where(button) {
    font: inherit;
    cursor: pointer;
  }

  .fc-court-training-plan {
    display: grid;
    grid-template-columns: minmax(128px, 22%) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    padding: 12px 18px;
    text-align: start;
  }

  .fc-court-training-plan img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 135px;
    object-fit: cover;
    border-radius: 11px;
  }

  .fc-court-training-plan-copy {
    display: grid;
    gap: 4px;
    overflow-wrap: anywhere;
  }

  .fc-court-training-plan-copy > strong {
    font-size: clamp(24px, 2.8vw, 37px);
    letter-spacing: -.04em;
  }

  :is(.fc-court-training-plan-copy, .fc-court-training-row-copy) > small {
    color: var(--p-text-2);
    font-size: 14px;
  }

  body.fc-design .fc-court-training-content > .p-tabs {
    display: flex;
    overflow-x: auto;
    margin: 0;
    padding: 3px;
    gap: 4px;
    border: 1px solid var(--court-desktop-line, var(--p-line));
    border-radius: 12px;
    background: var(--court-desktop-card, var(--p-card));
  }

  body.fc-design .fc-court-training-content > .p-tabs > .p-tab {
    flex: 1 0 auto;
    min-width: 86px;
    padding: 8px 12px;
    text-align: center;
    justify-content: center;
    border-radius: 9px;
  }

  body.fc-design .fc-court-training-content > .p-tabs > .p-tab[aria-selected="true"] {
    background: var(--p-lime) !important;
    color: var(--p-lime-ink);
    box-shadow: none;
  }

  .fc-court-training-hero {
    padding: 13px 18px;
  }

  .fc-court-training-week-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--court-desktop-line, var(--p-line));
    font-weight: 700;
  }

  .fc-court-training-week-status > svg {
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 50%;
    background: var(--p-raised);
  }

  .fc-court-training-week-status[data-finished="true"] > svg {
    background: var(--p-ok-bg);
    color: var(--p-ok);
  }

  .fc-court-training-hero-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding-top: 12px;
  }

  .fc-court-training-hero-main > div {
    min-width: 0;
  }

  .fc-court-training-hero-main h2,
  .fc-court-training-group > h2 {
    margin: 3px 0;
    font-size: clamp(21px, 2.1vw, 30px);
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }

  .fc-court-training-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }

  .fc-court-training-preview:empty {
    display: none;
  }

  .fc-court-training-preview-item {
    width: 92px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--court-desktop-line, var(--p-line));
    border-radius: 9px;
    background: var(--p-bg);
  }

  .fc-court-training-preview-item > .p-art {
    width: 100%;
    height: 100%;
  }

  .fc-court-training-group > ul {
    margin: 0;
    padding: 0 14px;
    list-style: none;
  }

  .fc-court-training-group li + li {
    border-top: 1px solid var(--court-desktop-line, var(--p-line));
  }

  .fc-court-training-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--p-text);
    text-align: start;
    font: inherit;
    cursor: pointer;
  }

  .fc-court-training-row-copy {
    flex: 1;
    display: grid;
    gap: 2px;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .fc-court-training-row-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 38px;
    border-radius: 8px;
    background: var(--p-raised);
  }

  .fc-court-training-row-icon svg {
    width: 20px;
    height: 20px;
  }

  .fc-court-training-row-icon > .p-art {
    display: none;
  }

  [data-theme="light"] .fc-court-training-row-icon {
    overflow: hidden;
  }

  [data-theme="light"] .fc-court-training-row-icon > svg {
    grid-area: 1 / 1;
  }

  [data-theme="light"] .fc-court-training-row-icon > .p-art {
    display: block;
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #fcfdff;
    opacity: 0;
  }

  [data-theme="light"] .fc-court-training-row-icon > .p-art.loaded {
    opacity: 1;
  }

  [data-theme="light"] .fc-court-training-row-icon:has(> .p-art.loaded) > svg {
    visibility: hidden;
  }

  .fc-court-training-library-link > .fc-court-training-library-chevron {
    display: none;
  }

  .fc-court-training-other-plans {
    padding: 10px 16px;
  }

  .fc-court-training-other-plans > button {
    margin: 8px 12px 0 0;
  }

  .fc-court-training-directory {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
  }

  .fc-court-training-directory > button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-align: start;
  }

  .fc-court-training-directory .thumb {
    flex: 0 0 46px;
    width: 46px;
    height: 40px;
  }

  .fc-court-training-directory strong {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  [data-theme="light"] {
    --court-desktop-bg: #f6f8ff;
    --court-desktop-card: #f2f5ff;
    --court-desktop-line: #d9e1f5;
    --court-desktop-ink: #141930;
    --court-desktop-muted: #566582;
    --court-desktop-lime: #dbfc72;
  }

  [data-theme="light"] body[data-space="coach"] {
    --p-bg: var(--court-desktop-bg);
    --p-text: var(--court-desktop-ink);
    --p-text-2: var(--court-desktop-muted);
    --p-line: var(--court-desktop-line);
    --p-lime: var(--court-desktop-lime);
  }

  [data-theme="light"] body .shell[data-space="coach"] {
    grid-template-columns: clamp(184px, 16.5vw, 236px) minmax(0, 1fr);
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail {
    background: linear-gradient(150deg, #f8faff, #eef3ff);
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .brand {
    font-size: clamp(31px, 3.1vw, 43px);
    letter-spacing: -.065em;
    line-height: 1.06;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link {
    color: var(--court-desktop-ink);
    font-size: clamp(13px, 1.25vw, 16px);
    overflow-wrap: anywhere;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link[aria-current="page"] {
    background: var(--court-desktop-lime);
    color: var(--court-desktop-ink);
    box-shadow: none;
  }
}

@media (min-width: 861px) and (max-width: 1390px) {
  [data-theme="light"] body .shell[data-space="coach"] {
    grid-template-columns: clamp(200px, 17.5vw, 236px) minmax(0, 1fr);
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link {
    gap: 6px;
    padding-inline: 8px;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link svg {
    width: 20px;
    height: 20px;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link .badge {
    flex: none;
    padding-inline: 4px;
  }
}

@media (min-width: 1100px) {
  [data-theme="light"] body.fc-design .fc-court-training-header > h1 {
    font-size: clamp(35px, 3.3vw, 48px);
    letter-spacing: -.045em;
    line-height: 1.1;
  }

  [data-theme="light"] .fc-court-training-plan-copy > small {
    font-size: clamp(14px, 1.18vw, 18px);
  }

  [data-theme="light"] .fc-court-training-page .fc-court-training-hero {
    padding-inline: clamp(18px, 2.1vw, 32px);
  }

  [data-theme="light"] .fc-court-training-hero-main > .p-btn {
    flex: 0 0 auto;
    align-self: center;
    justify-content: center;
    min-width: clamp(218px, 21vw, 325px);
    min-height: 58px;
    font-size: clamp(15px, 1.38vw, 21px);
  }

  [data-theme="light"] .fc-court-training-preview-item {
    width: clamp(92px, 8vw, 124px);
  }

  [data-theme="light"] .fc-court-training-row {
    min-height: 70px;
    gap: clamp(13px, 2vw, 26px);
  }

  [data-theme="light"] .fc-court-training-row-copy > strong {
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.3;
  }

  [data-theme="light"] #main > .fc-notifications {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1440px;
    margin-inline: 0;
    gap: 18px;
  }

  [data-theme="light"] body[data-space="community"][data-route="notifications"] {
    --p-bg: var(--court-desktop-bg);
    --p-text: var(--court-desktop-ink);
    --p-line: var(--court-desktop-line);
  }

  [data-theme="light"] body[data-space="community"][data-route="notifications"] .rail .nav-link[aria-current="page"] {
    background: var(--court-desktop-lime);
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .fc-notifications .page-head {
    min-height: 60px;
    border-bottom: 1px solid var(--court-desktop-line);
    padding-bottom: 12px;
  }

  [data-theme="light"] .fc-notifications .page-head h1 {
    margin: 0;
    font-size: clamp(34px, 3.15vw, 47px);
    letter-spacing: -.045em;
  }

  [data-theme="light"] .fc-court-notice-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  [data-theme="light"] .fc-court-notice-filters {
    display: flex;
    padding: 3px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 13px;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] :is(.fc-court-notice-filters button, .fc-court-notice-read-all) {
    min-height: 40px;
    padding: 6px 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--court-desktop-ink);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
  }

  [data-theme="light"] .fc-court-notice-filters button[aria-pressed="true"] {
    background: var(--court-desktop-lime);
  }

  [data-theme="light"] .fc-court-notice-tools .fc-court-notice-read-all {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--court-desktop-line);
    background: var(--court-desktop-card);
    white-space: nowrap;
  }

  [data-theme="light"] .fc-court-notice-read-all svg {
    flex: none;
    width: 24px;
    height: 24px;
  }

  [data-theme="light"] .fc-court-notice-read-all:disabled {
    opacity: .58;
    cursor: default;
  }

  [data-theme="light"] .fc-notifications .fc-notifications-section {
    padding: 0;
    border: 0;
    background: transparent;
  }

  [data-theme="light"] .fc-court-notice-day {
    margin: 12px 0 1px;
    font-size: 23px;
    letter-spacing: -.025em;
  }

  [data-theme="light"] .fc-notifications-row {
    align-items: center;
    min-height: 84px;
    padding: 12px 16px;
    border: 1px solid var(--court-desktop-line);
    background: var(--court-desktop-bg);
  }

  [data-theme="light"] .fc-notifications-row.is-unread {
    background: var(--court-desktop-card);
  }

  [data-theme="light"] .fc-notifications-row:hover {
    background: #eaf0ff;
  }

  [data-theme="light"] .fc-notifications-row .fc-notifications-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    flex: none;
    border-radius: 12px;
    background: #e8edfa;
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .fc-notifications-row .fc-notifications-face,
  [data-theme="light"] .fc-notifications-row .fc-notifications-face .avatar {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  [data-theme="light"] .fc-notifications-row .fc-notifications-person-glyph {
    position: absolute;
    bottom: -3px;
    right: -3px;
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border: 2px solid var(--court-desktop-card);
    border-radius: 50%;
    background: #e8edfa;
    color: var(--court-desktop-ink);
    pointer-events: none;
  }

  [data-theme="light"] .fc-notifications-person-glyph svg {
    width: 12px;
    height: 12px;
  }

  [data-theme="light"] .fc-notifications-row .fc-notifications-row-heading time {
    display: none;
  }

  [data-theme="light"] .fc-notifications-row .fc-court-notice-clock {
    display: block;
    min-width: 43px;
    text-align: end;
    color: var(--court-desktop-muted);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
  }

  [data-theme="light"] .fc-notifications-row .fc-notifications-action > b {
    font-size: 18px;
    font-weight: 750;
  }

  [data-theme="light"] .fc-notifications-row .fc-notifications-dot {
    align-self: center;
    width: 9px;
    height: 9px;
    flex-basis: 9px;
    margin: 0;
    background: #99c62f;
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-filters {
    display: grid;
    grid-template-columns: 1fr 1.65fr;
    width: min(44%, 470px);
    min-width: 320px;
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-filters button {
    min-height: 46px;
    font-size: clamp(16px, 1.22vw, 19px);
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-list { gap: 12px; }
  [data-theme="light"] .is-coaching-inbox .fc-court-notice-day { margin-block: 12px 4px; }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row {
    --notice-inset: clamp(15px, 1.45vw, 24px);
    gap: clamp(14px, 1.35vw, 22px);
    min-height: 102px;
    padding: 12px var(--notice-inset);
    border-radius: 18px;
    background: color-mix(in srgb, var(--court-desktop-bg) 78%, white);
    box-shadow: 0 4px 12px #23376009;
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row.is-unread {
    background: color-mix(in srgb, var(--court-desktop-card) 86%, white);
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row:hover { background: #eaf0ff; }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row :is(.fc-notifications-face, .fc-notifications-face .avatar) {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-icon svg { width: 27px; height: 27px; }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-action > b {
    font-size: clamp(19px, 1.45vw, 23px);
    line-height: 1.24;
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-excerpt {
    margin-top: 2px;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.42;
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row-heading {
    justify-content: flex-start;
    color: var(--court-desktop-muted);
    font-size: 14px;
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-kind {
    display: grid;
    flex: 0 0 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    background: #e8edfa;
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-kind svg { width: 24px; height: 24px; }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row:has(> .fc-court-notice-kind) .fc-notifications-person-glyph {
    display: none;
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-clock { font-size: 16px; }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row:not(.is-unread) > .fc-court-notice-clock {
    margin-inline-end: calc(9px + clamp(14px, 1.35vw, 22px));
  }

  [data-theme="light"] .is-coaching-inbox .fc-notifications-row:has(> .fc-court-notice-clock)::after {
    width: 8px;
    height: 8px;
    flex: none;
    margin-inline-end: 3px;
    border: solid var(--court-desktop-muted);
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
    content: "";
  }

  [data-theme="light"] .fc-court-notice-workspace {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  [data-theme="light"] .fc-court-notice-workspace .fc-notifications-row:has([aria-current="true"]) {
    border-color: #bdc9f7;
    background: #e7edff;
  }

  [data-theme="light"] .fc-court-notice-preview:not([hidden]) {
    display: grid;
    min-width: 0;
    padding: 16px;
    gap: 16px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 16px;
    background: var(--court-desktop-bg);
  }

  [data-theme="light"] .fc-court-notice-preview > img {
    width: min(100%, 220px);
    border-radius: 12px;
  }

  .fc-court-notice-preview-header,
  .fc-court-notice-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-wrap: anywhere;
  }

  .fc-court-notice-preview-copy {
    flex: 1;
    min-width: 0;
  }

  .fc-court-notice-preview-header > .avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .fc-court-notice-preview-header > time {
    align-self: start;
    font-size: 13px;
    color: var(--court-desktop-muted);
    white-space: nowrap;
  }

  .fc-court-notice-preview :is(h2, p) {
    margin: 0;
  }

  .fc-court-notice-preview h2 {
    font-size: 21px;
  }

  .fc-court-notice-preview p {
    color: var(--court-desktop-muted);
    margin-top: 5px;
  }

  .fc-court-notice-preview-extra:empty {
    display: none;
  }

  .fc-court-notice-profile {
    align-items: start;
    padding: 15px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 14px;
    background: var(--court-desktop-card);
  }

  .fc-court-notice-profile > button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    cursor: pointer;
  }

  .fc-court-notice-preview-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) {
    display: grid;
    align-items: start;
    gap: 16px;
    min-width: 0;
  }

  [data-theme="light"] .fc-court-trainer-chat {
    position: relative;
    grid-template-columns: minmax(246px, .53fr) minmax(0, 1fr);
  }

  [data-theme="light"] .fc-court-coach-chat {
    grid-template-columns: minmax(0, 1fr) minmax(214px, .43fr);
  }

  [data-theme="light"] :is(.fc-court-inbox-title, .fc-court-coach-chat-heading) {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    border-bottom: 1px solid var(--court-desktop-line);
  }

  [data-theme="light"] .fc-court-inbox-title {
    display: block;
    padding-inline-end: 212px;
    font-size: clamp(32px, 3vw, 46px);
    letter-spacing: -.045em;
  }

  [data-theme="light"] .fc-court-coach-chat-heading {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  [data-theme="light"] .fc-court-coach-chat-heading h1 {
    margin: 0;
    font-size: clamp(25px, 2.6vw, 36px);
    letter-spacing: -.035em;
  }

  [data-theme="light"] .fc-court-trainer-chat > .p-page {
    position: static;
    align-content: start;
    gap: 10px;
    height: calc(100dvh - 134px);
    min-height: 380px;
    padding: 12px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  [data-theme="light"] .fc-court-trainer-chat > .p-page > header.p-row {
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    min-height: 48px;
    align-items: center;
  }

  [data-theme="light"] .fc-court-trainer-chat > .p-page > header.p-row :is(.p-iconbtn, .p-ava-link) {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }

  [data-theme="light"] .fc-court-trainer-chat > .p-page > header.p-row .p-ava {
    width: 40px;
    height: 40px;
  }

  [data-theme="light"] .fc-court-trainer-chat > .p-page > .p-row > h1,
  [data-theme="light"] .fc-court-trainer-chat .p-search.fc-chat-inbox-search::before {
    display: none;
  }

  [data-theme="light"] .fc-court-trainer-chat .fc-reveal-slot {
    min-height: 50px;
  }

  [data-theme="light"] .fc-court-trainer-chat .p-search.fc-chat-inbox-search {
    position: relative;
    top: 0;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] .fc-court-trainer-chat .fc-chat-inbox-search input::placeholder {
    color: var(--court-desktop-muted);
  }

  [data-theme="light"] body.fc-design .fc-court-trainer-chat .p-conv {
    min-height: 88px;
    padding: 10px 9px;
    border-radius: 12px;
    gap: 10px;
  }

  [data-theme="light"] body.fc-design .fc-court-trainer-chat .p-conv .p-ava {
    width: clamp(50px, 4.4vw, 68px);
    height: clamp(50px, 4.4vw, 68px);
  }

  [data-theme="light"] .fc-court-trainer-chat .p-conv .top b {
    font-size: clamp(16px, 1.45vw, 21px);
  }

  [data-theme="light"] body.fc-design .fc-court-trainer-chat .p-conv[aria-current="true"] {
    background: color-mix(in srgb, var(--court-desktop-lime) 38%, white);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat > .p-page, .fc-court-trainer-chat > .p-thread, .fc-court-coach-chat > .p-thread, .fc-court-chat-context) {
    border: 1px solid var(--court-desktop-line);
    border-radius: 18px;
    background: var(--court-desktop-bg);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) > .p-thread {
    position: relative;
    top: auto;
    height: calc(100dvh - 134px);
    min-height: 380px;
    padding: 0;
    overflow: hidden;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) > .p-thread:has(> .p-msgs) {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  [data-theme="light"] body.fc-design :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-thread-head {
    min-height: 84px;
    padding: 12px clamp(16px, 1.7vw, 24px);
    gap: 14px;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-thread-head .p-ava {
    width: clamp(50px, 4.25vw, 64px);
    height: clamp(50px, 4.25vw, 64px);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-thread-head .who b {
    font-size: clamp(19px, 1.65vw, 25px);
    line-height: 1.15;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-thread-head .who small.on {
    color: #277541;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msgs {
    --fc-court-sender-size: clamp(30px, 2.75vw, 43px);
    --fc-court-sender-gutter: calc(var(--fc-court-sender-size) + 10px);
    grid-row: 3;
    gap: 11px;
    padding: clamp(12px, 1.5vw, 20px);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-divider {
    padding: 4px 15px;
    font-size: 13px;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msg {
    max-width: min(86%, 560px);
    font-size: clamp(15px, 1.15vw, 18px);
    padding: 10px 14px;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msg[data-court-sender] {
    max-width: min(calc(100% - var(--fc-court-sender-gutter)), 560px);
    min-height: var(--fc-court-sender-size);
    margin-inline-start: var(--fc-court-sender-gutter);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msg[data-court-sender]::before {
    content: attr(data-court-sender) / "";
    position: absolute;
    inset-inline-start: calc(-1 * var(--fc-court-sender-gutter));
    inset-block-start: 0;
    display: grid;
    place-items: center;
    width: var(--fc-court-sender-size);
    height: var(--fc-court-sender-size);
    border-radius: 50%;
    background: var(--p-lav-soft) var(--fc-court-sender-photo, none) center / cover no-repeat;
    color: var(--court-desktop-ink);
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msgs[data-court-sender-photo] .p-msg[data-court-sender]::before {
    color: transparent;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msgs[data-court-default-theme] {
    background: var(--court-desktop-bg);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msgs[data-court-default-theme] .p-msg:not(.deleted, .failed) {
    border: 1px solid var(--court-desktop-line);
    border-radius: 15px;
    background: #ebeffc;
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .fc-court-trainer-chat .p-msgs[data-court-default-theme] .p-msg.mine:not(.deleted, .failed) {
    background: #e6f5dc;
  }

  [data-theme="light"] .fc-court-coach-chat .p-msgs[data-court-default-theme] .p-msg.mine:not(.deleted, .failed) {
    background: var(--court-desktop-bg);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .fc-chat-thread-footer {
    grid-row: 4;
    padding: 0 14px 12px;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-composer:has(> .box) {
    grid-template-columns: 48px minmax(0, 1fr) 60px;
    column-gap: 0;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-composer:has(> .box) > .p-iconbtn:first-child {
    width: 48px;
    align-self: stretch;
    height: auto;
    min-height: 54px;
    border: 1px solid var(--court-desktop-line);
    border-inline-end: 0;
    border-radius: 18px 0 0 18px;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-composer .box {
    align-items: center;
    min-height: 54px;
    border-radius: 0 18px 18px 0;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-composer .send {
    height: 54px;
    width: 54px;
    justify-self: end;
    border-radius: 50%;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-composer:has(> .send[aria-label="Записать голосовое"]) .fc-chat-inner-mic {
    display: none;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .fc-chat-document {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    align-items: center;
    width: min(100%, 420px);
    min-width: min(290px, 100%);
    gap: 9px;
    text-align: start;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .fc-chat-document-icon {
    display: grid;
    place-items: center;
    height: 40px;
    border-radius: 8px;
    color: var(--court-desktop-muted);
    background: #e2e8f9;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .fc-chat-document-size {
    display: block;
    margin-top: 3px;
    color: var(--court-desktop-muted);
    font-size: 13px;
    font-weight: 450;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) [data-file-format="pdf"] .fc-chat-document-icon {
    color: #a72d3f;
    background: #fae3e6;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .fc-court-document-download {
    display: grid;
    place-items: center;
  }

  [data-theme="light"] .fc-court-coach-context {
    display: grid;
    gap: 14px;
    min-width: 0;
  }

  [data-theme="light"] .fc-court-chat-context {
    overflow: hidden;
  }

  [data-theme="light"] .fc-court-chat-context > h2 {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid var(--court-desktop-line);
    background: var(--court-desktop-card);
    font-size: clamp(17px, 1.65vw, 25px);
    letter-spacing: -.02em;
  }

  :is(.fc-court-chat-person, .fc-court-chat-session) {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
    overflow-wrap: anywhere;
  }

  :is(.fc-court-chat-person, .fc-court-chat-session) > span {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1;
  }

  .fc-court-chat-context :is(p, small) {
    color: var(--court-desktop-muted);
  }

  .fc-court-chat-person .p-ava {
    width: clamp(54px, 5vw, 74px);
    height: clamp(54px, 5vw, 74px);
  }

  .fc-court-chat-context p {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 8px 14px;
  }

  .fc-court-chat-context svg {
    flex: none;
  }

  :is(.fc-court-chat-session, .fc-court-coach-details) svg {
    width: 19px;
    height: 19px;
  }

  .fc-court-coach-details:not(:empty) {
    padding: 4px 0 6px;
    border-top: 1px solid var(--court-desktop-line);
  }

  .fc-court-coach-status[data-online="true"] {
    color: #277541;
  }

  [data-theme="light"] .fc-notes-workspace {
    grid-template-columns: minmax(218px, .43fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    gap: 14px 20px;
    align-content: start;
  }

  [data-theme="light"] .fc-notes-workspace .fc-notes-list-pane {
    display: contents;
  }

  [data-theme="light"] .fc-notes-workspace .fc-notes-list-heading {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 60px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--court-desktop-line);
  }

  [data-theme="light"] .fc-notes-list-heading > h1 {
    font-size: clamp(32px, 3.2vw, 46px);
  }

  [data-theme="light"] .fc-notes-list-heading > .fc-notes-count {
    display: none;
  }

  [data-theme="light"] .fc-notes-list-heading > .fc-notes-compose {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    height: auto;
    min-height: 46px;
    padding: 8px 15px;
    font: inherit;
    font-weight: 700;
  }

  [data-theme="light"] .fc-court-note-compose-label {
    display: inline;
  }

  [data-theme="light"] .fc-notes-list-pane > .fc-notes-toolbar {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
  }

  [data-theme="light"] .fc-notes-list-pane > .fc-notes-desktop-list {
    grid-column: 1;
    grid-row: 3;
    padding: 0;
  }

  [data-theme="light"] .fc-notes-workspace .fc-notes-month-rows {
    display: grid;
    gap: 8px;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview {
    grid-template-columns: 24px minmax(0, 1fr) 14px;
    grid-template-areas: "note title arrow" "note details arrow";
    align-items: center;
    align-content: center;
    min-height: 88px;
    gap: 4px 13px;
    padding: 14px clamp(12px, 1.3vw, 19px);
    border: 1px solid var(--court-desktop-line);
    border-radius: 15px;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview-heading { grid-area: title; }
  [data-theme="light"] .fc-notes-workspace .fc-note-preview-heading strong {
    font-size: clamp(16px, 1.4vw, 22px);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview-meta {
    grid-area: details;
    justify-content: start;
    gap: 6px 10px;
    font-size: clamp(10px, 1vw, 13px);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview-meta > :is(small, .fc-note-preview-text) {
    min-width: 0;
    font-size: inherit;
  }

  [data-theme="light"] .fc-notes-workspace :is(.fc-court-note-preview-icon, .fc-court-note-preview-arrow) {
    display: grid;
    place-items: center;
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .fc-notes-workspace .fc-court-note-preview-icon { grid-area: note; }
  [data-theme="light"] .fc-notes-workspace .fc-court-note-preview-arrow { grid-area: arrow; }
  [data-theme="light"] .fc-notes-workspace .fc-court-note-preview-icon > svg { width: 24px; height: 24px; }
  [data-theme="light"] .fc-notes-workspace .fc-court-note-preview-arrow > svg { width: 15px; height: 15px; }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview[aria-pressed="true"] {
    background: color-mix(in srgb, var(--court-desktop-lime) 45%, white);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview[aria-pressed="true"]::before {
    display: none;
  }

  [data-theme="light"] .fc-notes-workspace .fc-notes-editor {
    grid-column: 2;
    grid-row: 2 / 4;
    padding: clamp(18px, 1.7vw, 25px);
    border-color: var(--court-desktop-line);
    background: var(--court-desktop-card);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-form {
    position: relative;
    gap: 14px;
  }

  [data-theme="light"] .fc-note-form .fc-note-rich {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
  }

  [data-theme="light"] .fc-note-form .fc-note-rich-editor { flex: 1 0 auto; }
  [data-theme="light"] .fc-note-conflict:empty { display: none; }

  [data-theme="light"] .fc-notes-workspace .fc-note-editor-toolbar {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto auto;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-editor-toolbar > :is(time, span) {
    display: none;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-title-input {
    field-sizing: content;
    min-height: 56px;
    max-height: 146px;
    padding-inline-end: 60px;
    font-size: clamp(26px, 3vw, 40px);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-association {
    display: flex;
    align-items: center;
    width: min(346px, 100%);
    min-width: 0;
    padding-inline-start: 10px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 14px;
    background: #f9fbff;
  }

  [data-theme="light"] .fc-note-association:focus-within {
    border-color: var(--p-blue);
    box-shadow: 0 0 0 2px #525b8124;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-association > .field { flex: 1; min-width: 0; }
  [data-theme="light"] .fc-note-association > .field > label { display: none; }

  [data-theme="light"] .fc-notes-workspace .fc-note-association .input {
    min-height: 46px;
    padding-inline-start: 10px;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 650;
  }

  [data-theme="light"] .fc-note-subject-icon {
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--p-lav-soft);
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] .fc-note-subject-icon > .avatar { width: 30px; height: 30px; }
  [data-theme="light"] .fc-note-subject-icon > svg { width: 17px; height: 17px; }

  [data-theme="light"] .fc-note-association > .fc-note-clear-subject:not([hidden]) {
    display: inline-grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    min-height: 44px;
    color: var(--court-desktop-muted);
    border-radius: 12px;
  }

  [data-theme="light"] .fc-notes-editor .fc-note-remove-toolbar { display: none; }

  [data-theme="light"] .fc-notes-editor .fc-note-remove-footer {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 10px;
  }

  [data-theme="light"] .fc-note-form footer > .fc-note-save-status { margin-inline-end: auto; }

  [data-theme="light"] .fc-note-form footer > .btn {
    min-width: clamp(125px, 12vw, 184px);
    min-height: 48px;
    margin-inline-start: 0;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-text-input {
    min-height: 300px;
    padding: 16px;
    resize: vertical;
    border: 1px solid var(--court-desktop-line);
    border-radius: 12px;
    background: var(--p-bg);
  }

  .fc-notes-workspace .fc-note-rich {
    min-width: 0;
    border: 1px solid var(--court-desktop-line, var(--p-line));
    border-radius: 14px;
    background: var(--p-card);
    color: var(--p-text);
  }
  .fc-note-rich-tools, .fc-note-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--court-desktop-line, var(--p-line));
    background: var(--p-raised);
  }
  .fc-note-rich-tools { border-radius: 13px 13px 0 0; }
  .fc-note-rich-tools button, .fc-note-link button, .fc-note-rich-tools select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 33px;
    min-height: 36px;
    padding: 4px 7px;
    color: var(--p-text);
    background: transparent;
    border: 0;
    border-radius: 7px;
    font: inherit;
    cursor: pointer;
  }
  .fc-note-rich-tools select { width: auto; min-width: 95px; max-width: 135px; padding-inline: 7px; }
  .fc-note-rich-tools button { font-size: 17px; }
  .fc-note-rich-tools button:hover:not(:disabled), .fc-note-link button:hover:not(:disabled) { background: var(--p-card); }
  .fc-note-rich-tools button[aria-pressed="true"] { background: var(--p-lime); color: var(--p-lime-ink); }
  .fc-note-rich-tools button:disabled { opacity: .38; cursor: default; }
  .fc-note-rich-tools svg, .fc-note-link svg { width: 16px; height: 16px; }
  .fc-note-link[hidden] { display: none; }
  .fc-note-link > input {
    flex: 1;
    min-width: 140px;
    padding: 6px 8px;
    color: var(--p-text);
    background: var(--p-card);
    border: 1px solid var(--p-line);
    border-radius: 6px;
    font: inherit;
  }
  .fc-note-link > small { flex-basis: 100%; color: var(--p-warn); }
  .fc-note-link > small:empty { display: none; }
  .fc-note-rich-editor {
    position: relative;
    min-height: clamp(270px, 39vh, 460px);
    padding: 18px;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .fc-note-rich-editor[data-empty="true"]::before {
    content: attr(data-placeholder);
    position: absolute;
    color: var(--p-text-2);
    pointer-events: none;
  }
  .fc-note-rich-editor :is(h2,h3) { margin: 8px 0 4px; line-height: 1.28; }
  .fc-note-rich-editor :is(ul,ol) { margin-block: 6px; padding-inline-start: 24px; }
  .fc-note-rich-editor [data-note-check] { position: relative; padding-inline-start: 29px; }
  .fc-note-rich-editor .fc-note-check {
    position: absolute;
    inset-inline-start: 2px;
    inset-block-start: .28em;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 1px;
    border: 1px solid var(--p-text-2);
    border-radius: 4px;
    color: var(--p-text);
    background: var(--p-card);
    cursor: pointer;
  }
  .fc-note-check > svg { width: 13px; height: 13px; visibility: hidden; }
  .fc-note-rich-editor .fc-note-check[aria-checked="true"] { background: var(--p-lime); border-color: var(--p-lime); color: var(--p-lime-ink); }
  .fc-note-check[aria-checked="true"] > svg { visibility: visible; }
  .fc-note-rich-editor a { text-decoration: underline; }
  .fc-note-rich-editor:focus-visible { outline: 2px solid var(--p-blue); outline-offset: -2px; border-radius: 0 0 13px 13px; }

  [data-theme="light"] .fc-note-save-status > [role="status"]:empty + .fc-court-note-saved {
    display: inline;
    color: var(--court-desktop-muted);
    font-size: 13px;
  }

  [data-theme="light"] body.fc-design .fc-court-program-layout {
    --court-program-cover: url("../assets/desktop/training-program.01.1c1f734babdd491e.jpg");
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 1fr);
    gap: 18px;
    align-items: stretch;
  }

  [data-theme="light"] body.fc-design .fc-court-program-layout > .fc-court-program-library {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 11px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 17px;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] .fc-coach-studio:has(.fc-court-program-layout) .fc-studio-title {
    font-size: clamp(34px, 3.15vw, 47px);
  }

  [data-theme="light"] body.fc-design .fc-coach-studio:has(.fc-court-program-layout) {
    gap: 14px;
  }

  [data-theme="light"] body.fc-design .fc-coach-studio:has(.fc-court-program-layout) .fc-studio-toolbar {
    padding-bottom: 10px;
  }

  .fc-court-program-filters,
  .fc-court-program-filters > div,
  .fc-court-program-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .fc-court-program-filters {
    grid-column: 1 / -1;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
  }

  [data-theme="light"] body.fc-design .fc-court-program-filters > .p-btn {
    flex: none;
    width: auto;
    min-height: 50px;
    padding-inline: clamp(16px, 1.6vw, 25px);
    white-space: nowrap;
  }

  .fc-court-program-filters > label {
    display: flex;
    position: relative;
    flex: 1 1 240px;
    align-items: center;
  }

  .fc-court-program-filters > label > svg {
    position: absolute;
    inset-inline-start: 14px;
    width: 18px;
    height: 18px;
    color: var(--court-desktop-muted);
    pointer-events: none;
  }

  .fc-court-program-filters > label > input {
    width: 100%;
    min-height: 50px;
    padding-inline-start: 42px;
  }

  .fc-court-program-filters > div > button {
    min-height: 50px;
    padding-inline: clamp(12px, 1.5vw, 24px);
    border: 1px solid var(--court-desktop-line);
    border-radius: 9px;
    background: var(--p-bg);
    color: var(--p-text);
    font: inherit;
    cursor: pointer;
  }

  .fc-court-program-filters > div > button[aria-pressed="true"] {
    background: var(--court-desktop-lime);
  }

  [data-theme="light"] body.fc-design #main .fc-court-program-layout .library-programs {
    --library-columns: minmax(0, 1fr) clamp(71px, 6vw, 94px) clamp(48px, 4.6vw, 74px) clamp(78px, 6.25vw, 96px) 36px;
    --library-gap: 8px;
    --library-padding: 12px;
    border: 0;
    border-radius: 16px 16px 0 0;
    background: transparent;
  }

  [data-theme="light"] body.fc-design #main .fc-court-program-layout .fc-program-native-card[data-selected="true"] {
    background: color-mix(in srgb, var(--court-desktop-lime) 42%, white);
  }

  [data-theme="light"] .fc-court-program-layout .fc-library-table-head > span {
    font-size: clamp(10px, .82vw, 13px);
  }

  [data-theme="light"] .fc-court-program-layout .fc-library-table-head > span:last-child { font-size: 0; }

  [data-theme="light"] .fc-court-program-layout .fc-library-status {
    padding-inline: 6px;
    white-space: nowrap;
  }

  [data-theme="light"] .fc-court-program-layout .fc-program-native-foot > button:first-child {
    display: none;
  }

  [data-theme="light"] .fc-court-program-layout .fc-program-native-head {
    gap: clamp(8px, 1vw, 16px);
  }

  [data-theme="light"] .fc-court-program-layout .fc-program-native-head .thumb {
    width: clamp(48px, calc(11vw - 72px), 102px);
    height: auto;
    aspect-ratio: 4 / 3;
    flex: none;
    border-radius: 11px;
    background: var(--p-lav-soft);
  }

  [data-theme="light"] .fc-court-program-layout :is(.fc-program-desktop-cover .thumb, .fc-program-native-head .thumb .p-art:not(.loaded)) {
    background: var(--court-desktop-card) var(--court-program-cover) center / cover no-repeat;
  }

  [data-theme="light"] .fc-court-program-layout .fc-program-desktop-cover .p-thumb-ph {
    display: none;
  }

  [data-theme="light"] body.fc-design #main .fc-court-program-layout .fc-program-native-head h3 {
    font-size: clamp(16px, 1.4vw, 22px);
    overflow-wrap: anywhere;
  }

  [data-theme="light"] .fc-court-program-preview:not([hidden]) {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 0 16px 20px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 18px;
    background: var(--court-desktop-card);
  }

  .fc-court-program-heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(138px, 11vw, 174px);
    margin-inline: -16px;
    padding: clamp(15px, 2vw, 27px);
    border-radius: 17px 17px 0 0;
    background: linear-gradient(105deg, #1d2b4a, #3c5074);
    color: #f8faff;
    overflow-wrap: anywhere;
  }

  .fc-court-program-heading:not(:has(.fc-court-program-cover.loaded))::before {
    content: "";
    background: var(--court-program-cover) center / cover no-repeat;
    opacity: .65;
  }

  .fc-court-program-heading::before,
  .fc-court-program-cover {
    position: absolute;
    z-index: -1;
    inset-block: 0;
    inset-inline-end: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent 10%, #000 96%);
    opacity: .4;
  }

  .fc-court-program-cover.p-art {
    background: transparent;
  }

  .fc-court-program-heading h2,
  .fc-court-program-weeks h3 {
    margin: 0;
    letter-spacing: -.03em;
  }

  .fc-court-program-heading h2 {
    max-width: 75%;
    font-size: clamp(24px, 2.45vw, 38px);
    line-height: 1.12;
    color: inherit;
  }

  .fc-court-program-heading p {
    margin: 8px 0 0;
    color: inherit;
  }

  .fc-court-program-heading .fc-court-program-status { color: #d5e3f9; }

  .fc-court-program-weeks h3 {
    font-size: clamp(18px, 1.7vw, 25px);
  }

  .fc-court-program-weeks ol {
    display: grid;
    gap: 7px;
    margin: 9px 0 0;
    padding: 0;
    list-style: none;
  }

  .fc-court-program-weeks li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 58px;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 13px;
    background: var(--p-bg);
  }

  .fc-court-program-weeks li > svg {
    box-sizing: content-box;
    width: 21px;
    height: 21px;
    padding: 9px;
    border-radius: 10px;
    background: var(--p-lav-soft);
  }

  .fc-court-program-weeks li small {
    color: var(--court-desktop-muted);
  }

  .fc-court-program-weeks li > span { font-weight: 700; }

  [data-theme="light"] body.fc-design .fc-court-program-actions > .p-btn {
    flex: 1 1 124px;
    justify-content: center;
    min-height: 54px;
  }

  @media (max-width: 1300px) {
    [data-theme="light"] body.fc-design .fc-court-program-layout {
      grid-template-columns: minmax(0, 1.46fr) minmax(300px, 1fr);
    }

    [data-theme="light"] .fc-court-program-layout .fc-program-desktop-preview {
      display: none;
    }
  }

  [data-theme="light"] .fc-court-schedule-title {
    display: inline;
  }

  [data-theme="light"] .fc-court-schedule-original-title {
    display: none;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-schedule-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 12px;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-schedule:has(> .is-week-view) .fc-schedule-header {
    margin-bottom: 16px;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-schedule-title {
    flex-basis: 100%;
    min-height: 48px;
    padding-inline-end: 112px;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-schedule-desktop-actions {
    margin-inline-start: auto;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-court-calendar-slot {
    display: block;
    min-width: 0;
    max-width: 100%;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-schedule:has(> .is-week-view) .fc-schedule-title {
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.08;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-court-calendar-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px clamp(10px, 1.25vw, 20px);
  }

  .fc-court-calendar-range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    gap: 6px;
    padding-inline: 4px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 12px;
    background: var(--court-desktop-card);
  }

  .fc-court-calendar-range > .p-iconbtn {
    flex: none;
    min-width: 40px;
    min-height: 44px;
    border: 0;
    background: transparent;
  }

  .fc-court-calendar-period {
    min-width: 11ch;
    padding-block: 5px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
  }

  .fc-court-calendar-views {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 12px;
    background: var(--court-desktop-card);
  }

  .fc-court-calendar-views > button {
    min-height: 38px;
    padding-inline: 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--p-text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .fc-court-calendar-views > button[aria-pressed="true"] {
    background: var(--court-desktop-lime);
  }

  body.fc-design[data-route="calendar"] .fc-schedule-layout.is-week-view {
    display: block;
  }

  .fc-schedule-layout.is-week-view > .fc-schedule-sidebar {
    display: none;
  }

  .fc-court-week {
    --court-hour-height: 54px;
    --court-week-outline: #a4d32f;
    overflow: auto;
    max-height: clamp(360px, calc(100vh - 190px), 860px);
    border: 1px solid var(--court-desktop-line);
    border-radius: 14px;
    background: var(--p-bg);
  }

  .fc-court-week-head,
  .fc-court-week-body {
    display: grid;
    grid-template-columns: 62px repeat(7, minmax(86px, 1fr));
    min-width: 664px;
  }

  .fc-court-week-head {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid var(--court-desktop-line);
    background: #eaf0fd;
  }

  .fc-court-week-head > button {
    padding: 8px 3px;
    border: 0;
    border-left: 1px solid var(--court-desktop-line);
    background: transparent;
    color: var(--p-text);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
  }

  .fc-court-week-head small {
    display: block;
    font-size: 12px;
    color: var(--court-desktop-muted);
  }

  .fc-court-week-head > button[aria-pressed="true"] {
    border-left-color: transparent;
    border-radius: 8px 8px 0 0;
    background: color-mix(in srgb, var(--court-desktop-lime) 48%, #f6faff);
    box-shadow: inset 0 1px var(--court-week-outline),
      inset 1px 0 var(--court-week-outline), inset -1px 0 var(--court-week-outline);
  }

  .fc-court-week-head > button:focus-visible,
  .fc-court-week-event:focus-visible {
    outline-offset: -2px;
  }

  .fc-court-week-hours {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--court-desktop-muted);
  }

  .fc-court-week-hours > span {
    display: block;
    height: var(--court-hour-height);
    padding: 6px 10px;
    border-bottom: 1px solid var(--court-desktop-line);
  }

  .fc-court-week-column {
    position: relative;
    min-height: calc(24 * var(--court-hour-height));
    border-left: 1px solid var(--court-desktop-line);
    background: repeating-linear-gradient(to bottom, transparent 0 calc(var(--court-hour-height) - 1px),
      var(--court-desktop-line) calc(var(--court-hour-height) - 1px) var(--court-hour-height));
  }

  .fc-court-week-column[data-selected="true"] {
    border-left-color: transparent;
    background-color: color-mix(in srgb, var(--court-desktop-lime) 5%, var(--p-bg));
  }

  .fc-court-week-column[data-selected="true"]::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    border: 1px solid var(--court-week-outline);
    border-block-start: 0;
    border-radius: 0 0 8px 8px;
    pointer-events: none;
    content: "";
  }

  .fc-court-week-event {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    padding: 1px 4px;
    border: 1px solid #c9d6f2;
    border-radius: 7px;
    background: #e4edff;
    color: var(--p-text);
    font: inherit;
    line-height: 1.15;
    text-align: start;
    cursor: pointer;
  }

  .fc-court-week-event[data-kind="block"] {
    background: #edf0f6;
  }

  .fc-week-event-copy {
    display: grid;
    flex: 1;
    min-width: 0;
  }

  .fc-week-event-copy > :is(small, strong) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fc-week-event-copy > small {
    font-size: 10px;
  }

  .fc-week-event-copy > strong {
    font-size: 12px;
  }

  .fc-court-week-event[data-compact] .fc-week-event-copy {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .fc-court-week-event[data-compact] { padding-block: 0; }
  .fc-court-week-event[data-compact] strong { font-size: 10px; }
  .fc-court-week-event[data-compact] .fc-week-event-copy > small { flex: none; }
  .fc-week-event-format { color: var(--court-desktop-muted); }

  .fc-week-symbol, .fc-week-event-status { display: grid; flex: none; place-items: center; }
  .fc-week-symbol :is(.p-ava, svg) { width: 22px; height: 22px; }
  .fc-week-symbol .p-ava { font-size: 9px; }
  .fc-week-symbol svg { padding: 2px; }
  .fc-week-event-status svg { width: 13px; height: 13px; }
  .fc-court-week-event[data-status="attended"] .fc-week-event-status { color: #2c731d; }
  .fc-court-week-event[data-status="no_show"] .fc-week-event-status { color: #a84727; }

  @media (min-width: 1380px) {
    .fc-court-week-event:not([data-compact]) { gap: 6px; padding-block: 0; }
    .fc-court-week-event:not([data-compact]) .fc-week-event-copy > small { font-size: 11px; line-height: 11px; }
    .fc-court-week-event:not([data-compact]) .fc-week-event-copy > strong { font-size: 13px; line-height: 14px; }
    .fc-court-week-event:has(.fc-week-event-format) .fc-week-symbol :is(.p-ava, svg) { width: 29px; height: 29px; }
    .fc-court-week-hours { font-size: 14px; }
  }

  [data-theme="light"] body.fc-design:is([data-route="team"], [data-route="calendar"]) #main > .p-page {
    position: relative;
  }

  [data-theme="light"] body.fc-design:is([data-route="team"], [data-route="calendar"]) #main > .p-page > .p-top.fc-header-duplicate {
    position: absolute;
    z-index: 1;
    inset-block-start: 0;
    inset-inline-end: 0;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
  }

  [data-theme="light"] body.fc-design:is([data-route="team"], [data-route="calendar"]) #main > .p-page > .p-top :is([data-bell], .p-ava-link) {
    display: inline-flex !important;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
  }

  [data-theme="light"] body.fc-design:is([data-route="team"], [data-route="calendar"]) #main > .p-page > .p-top .p-ava {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) max-content minmax(265px, 1fr);
    gap: clamp(12px, 1.2vw, 18px);
    align-items: center;
  }

  [data-theme="light"] body.fc-design[data-route="team"] #main .fc-team-invite-mobile { display: none; }
  [data-theme="light"] body.fc-design[data-route="team"] #main .fc-court-team-add { display: inline-flex; }

  [data-theme="light"] body.fc-design[data-route="team"] :is(.fc-court-team-tools > .fc-reveal-slot, .fc-court-team-tools > .fc-library-control) {
    max-width: none;
    margin: 0;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools > .fc-library-control {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 14px;
    background: var(--court-desktop-card);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools .fc-library-copy {
    min-width: 0;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools .fc-library-copy :is(.fc-library-title-default, p) {
    display: none;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools .fc-court-library-title {
    display: inline;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-layout:has(.fc-court-team-preview:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(360px, 1.2fr) minmax(280px, 1fr);
    gap: 18px;
    align-items: start;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-layout > .p-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-layout:has(.fc-court-team-preview:not([hidden])) > .p-list {
    padding: 13px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--court-desktop-card) 70%, white);
    box-shadow: 0 4px 14px #21365d0a;
  }

  [data-theme="light"] body.fc-design[data-route="team"] #main .fc-team-row {
    --team-avatar-size: clamp(58px, 5.9vw, 94px);
    --team-row-inset: clamp(13px, 1.25vw, 20px);
    --team-row-gap: clamp(12px, 1.6vw, 24px);
    position: relative;
    display: grid;
    grid-template-columns: var(--team-avatar-size) minmax(0, 1fr) 18px;
    align-content: center;
    column-gap: var(--team-row-gap);
    row-gap: 0;
    min-height: clamp(84px, 7.05vw, 112px);
    padding: 8px var(--team-row-inset) !important;
    border-color: var(--court-desktop-line);
    background: var(--court-desktop-card);
  }

  [data-theme="light"] body.fc-design[data-route="team"] #main .fc-team-row[data-selected="true"] {
    background: color-mix(in srgb, var(--court-desktop-lime) 27%, #f6faff);
  }

  [data-theme="light"] body.fc-design[data-route="team"] #main .fc-team-open {
    grid-column: 1 / -1;
    display: block;
    min-height: 44px;
    padding-block: 2px;
    padding-inline: calc(var(--team-avatar-size) + var(--team-row-gap)) calc(18px + var(--team-row-gap));
    border-radius: 8px;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-team-open .fc-team-avatar {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: var(--team-row-inset);
    transform: translateY(-50%);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-team-open .p-ava {
    width: var(--team-avatar-size);
    height: var(--team-avatar-size);
    flex-basis: var(--team-avatar-size);
    font-size: clamp(20px, 1.9vw, 29px);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-team-open .p-grow {
    display: block;
    font-size: clamp(19px, 1.75vw, 28px);
    line-height: 1.18;
    letter-spacing: -.025em;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-team-open::after {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: calc(var(--team-row-inset) + 6px);
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    transform: translateY(-50%) rotate(45deg);
    content: "";
  }

  [data-theme="light"] body.fc-design[data-route="team"] :is(.fc-team-legacy-date, .fc-team-meeting-time > b, .fc-team-meeting-time > small) {
    display: none;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-team-meeting-time {
    grid-column: 2;
    justify-self: start;
    min-width: 0;
    min-height: 32px;
    padding: 4px 0;
    border-radius: 5px;
    text-align: left;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-meeting {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 8px;
    padding-inline-start: 24px;
    color: var(--court-desktop-muted);
    font-size: clamp(13px, 1.13vw, 18px);
    overflow-wrap: anywhere;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-meeting::before {
    position: absolute;
    inset-block-start: .24em;
    inset-inline-start: 0;
    width: .73em;
    height: .65em;
    border: 1px solid currentColor;
    border-radius: 3px;
    background: linear-gradient(currentColor, currentColor) 0 23% / 100% 1px no-repeat;
    content: "";
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-meeting b {
    color: var(--p-text);
    font-size: inherit;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-team-meeting-time:hover .fc-court-team-meeting {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-preview {
    display: grid;
    align-content: start;
    align-self: stretch;
    gap: clamp(12px, 1.2vw, 20px);
    min-height: min-content;
    max-height: max(620px, calc(100svh - 220px));
    padding: clamp(16px, 2vw, 27px);
    border: 1px solid var(--court-desktop-line);
    border-radius: 20px;
    background: var(--court-desktop-card);
    box-shadow: 0 4px 14px #21365d0a;
  }

  .fc-court-team-person {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 24px);
  }

  .fc-court-team-person .p-ava {
    width: clamp(72px, 8.6vw, 138px);
    height: clamp(72px, 8.6vw, 138px);
    flex: none;
    font-size: clamp(26px, 2.7vw, 42px);
  }

  .fc-court-team-preview > .p-btn {
    width: 100%;
    min-height: clamp(46px, 3.45vw, 55px);
    justify-content: flex-start;
    padding-inline: 16px;
    font-size: clamp(15px, 1.26vw, 20px);
  }

  .fc-court-team-preview > .p-btn::after {
    width: 7px;
    height: 7px;
    margin-inline-start: auto;
    border: solid currentColor;
    border-width: 1px 1px 0 0;
    transform: rotate(45deg);
    content: "";
  }

  .fc-court-team-person > h2 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(23px, 2.35vw, 37px);
    letter-spacing: -.035em;
    line-height: 1.15;
  }

  .fc-court-team-next {
    display: grid;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: clamp(70px, 5.8vw, 92px);
    padding: 14px clamp(15px, 1.65vw, 25px);
    border: 1px solid var(--court-desktop-line);
    border-radius: 14px;
    background: #eaf0fd;
  }

  .fc-court-team-next > div {
    display: grid;
    gap: 3px;
  }

  .fc-court-team-next span {
    color: var(--court-desktop-muted);
    font-size: clamp(13px, 1.14vw, 18px);
  }

  .fc-court-team-next strong { font-size: clamp(15px, 1.3vw, 21px); overflow-wrap: anywhere; }
  .fc-court-team-next > svg { width: 100%; height: auto; }

  .fc-court-team-facts {
    display: grid;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--court-desktop-line);
    font-size: 14px;
  }

  .fc-court-team-facts > :is(button, div) {
    display: grid;
    grid-template-columns: 18px minmax(0, auto) minmax(0, 1fr) 14px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 44px;
    padding: 8px 3px;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .fc-court-team-facts > button {
    border: 0;
    border-bottom: 1px solid var(--court-desktop-line);
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
  }

  .fc-court-team-facts > div { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .fc-court-team-facts > :is(button, div) > svg { width: 100%; }
  .fc-court-team-facts > button:hover { background: var(--court-desktop-card); }
  .fc-court-team-facts > button:focus-visible { outline: 2px solid var(--p-blue); outline-offset: 2px; }

  .fc-team-fact-value {
    text-align: right;
    font-weight: 600;
  }

  .fc-team-fact-value > small { display: block; color: var(--court-desktop-muted); font-weight: 400; }
  .fc-team-fact-access { border-radius: 9px; padding: 5px 10px; background: #eaf0fd; }
  .fc-team-fact-access[data-enabled="true"] { background: color-mix(in srgb, var(--court-desktop-lime) 55%, white); }

  [data-theme="light"] body.fc-design #main > :is(.fc-trainer-today, .fc-athlete-today) {
    position: relative;
    isolation: isolate;
    gap: 22px;
  }

  [data-theme="light"] body.fc-design :is(.fc-trainer-today, .fc-athlete-today) .fc-today-heading {
    position: relative;
    display: grid;
    justify-content: start;
    align-content: start;
    gap: 6px;
    min-height: 138px;
    padding: 8px 116px 14px 0;
  }

  [data-theme="light"] body.fc-design :is(.fc-trainer-today, .fc-athlete-today) .fc-today-heading::before {
    content: "";
    position: absolute;
    inset-block-start: -5px;
    inset-inline-end: clamp(88px, 8vw, 128px);
    z-index: -1;
    block-size: clamp(104px, 9vw, 140px);
    aspect-ratio: 226 / 300;
    pointer-events: none;
    background: url("../assets/desktop/court-today-runner.6e3414f6c760a397.webp") center / contain no-repeat;
    background-image: image-set(url("../assets/desktop/court-today-runner.6e3414f6c760a397.webp") 1x, url("../assets/desktop/court-today-runner.a7d1b01bc8c21794.webp") 2x);
    filter: saturate(.7);
    opacity: .32;
    mask-image: linear-gradient(#000 0 64%, #0009 88%, transparent);
  }

  [data-theme="light"] body.fc-design :is(.fc-trainer-today, .fc-athlete-today) .fc-today-heading > h1 {
    margin: 0;
    font-size: clamp(44px, 4.35vw, 65px);
    letter-spacing: -.06em;
    line-height: 1.04;
  }

  [data-theme="light"] body.fc-design :is(.fc-trainer-today, .fc-athlete-today) .fc-today-heading > time {
    font-size: clamp(15px, 1.6vw, 22px);
    font-weight: 600;
    text-transform: none;
  }

  [data-theme="light"] body.fc-design :is(.fc-trainer-today, .fc-athlete-today) > .p-top.fc-header-duplicate {
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 0;
    display: flex;
    border: 0;
    padding: 0;
    background: transparent;
  }

  [data-theme="light"] body.fc-design :is(.fc-trainer-today, .fc-athlete-today) > .p-top :is([data-bell], .p-ava-link) {
    display: inline-flex !important;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-heading .fc-today-desktop-assign,
  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-cover,
  [data-theme="light"] body.fc-design .fc-today-desktop-agenda > .p-btn {
    display: none;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-layout {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 18px;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-hero {
    --today-ink: var(--court-desktop-ink);
    --today-muted: var(--court-desktop-muted);
    padding: clamp(18px, 2vw, 28px);
    align-items: start;
    color: var(--today-ink);
    background: var(--court-desktop-card);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-copy {
    display: grid;
    gap: 6px;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-copy:has(.fc-today-athlete-avatar) {
    --today-portrait: clamp(72px, 9vw, 146px);
    grid-template-columns: var(--today-portrait) minmax(0, 1fr) 44px;
    column-gap: clamp(14px, 1.65vw, 26px);
    row-gap: clamp(16px, 1.8vw, 28px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-details {
    display: grid;
    grid-area: 2 / 2 / 3 / -1;
    align-self: center;
    gap: 5px;
    min-width: 0;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-details > h2 {
    order: -3;
    font-size: clamp(19px, 2.05vw, 33px);
    letter-spacing: -.04em;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-desktop-meta {
    order: -2;
    margin: 0;
    font-size: clamp(13px, 1.3vw, 19px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-time {
    order: -1;
    gap: 0;
    flex-wrap: wrap;
    margin: 2px 0 0;
  }

  [data-theme="light"] body.fc-design :is(.fc-trainer-today, .fc-athlete-today) .fc-court-training-heading {
    display: block;
    color: var(--p-text);
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.17;
    letter-spacing: -.04em;
    margin: 0 0 6px;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-copy:has(.fc-today-athlete-avatar) > .fc-court-training-heading {
    grid-area: 1 / 1 / 2 / 3;
    margin: 0;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-time > time {
    font-size: clamp(32px, 3.95vw, 62px);
    letter-spacing: -.055em;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-time > span {
    margin: 0;
    color: var(--today-ink);
    font-size: clamp(21px, 2.65vw, 42px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.055em;
    white-space: nowrap;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-range-word {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-time .fc-today-range-dash { display: inline; }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-actions > .p-btn {
    flex: 1 1 auto;
    min-height: 54px;
    background: var(--court-desktop-lime);
    font-size: clamp(15px, 1.35vw, 20px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-actions > .p-iconbtn {
    border-color: var(--court-desktop-line);
    background: var(--p-bg);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-copy:has(.fc-today-athlete-avatar) > .fc-today-actions {
    display: contents;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-actions > .fc-today-primary {
    grid-area: 3 / 1 / 4 / -1;
    justify-content: space-between;
    min-height: clamp(54px, 4.95vw, 78px);
    padding-inline: clamp(18px, 2.15vw, 34px);
    border-radius: 999px;
    text-align: start;
    font-size: clamp(16px, 1.65vw, 26px);
    font-weight: 750;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-primary > svg {
    order: 1;
    display: block;
    flex: none;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-actions > .fc-today-calendar {
    grid-area: 1 / 3 / 2 / -1;
    justify-self: end;
    align-self: start;
    min-width: 44px;
    min-height: 44px;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-actions > .fc-today-athlete-avatar {
    grid-area: 2 / 1 / 3 / 2;
    align-self: center;
    width: var(--today-portrait);
    height: var(--today-portrait);
    padding: clamp(4px, .5vw, 8px);
    border-radius: 50%;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-athlete-avatar > .p-ava {
    width: 100%;
    height: 100%;
    font-size: clamp(24px, 3vw, 48px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-court-today-assign {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    font-weight: 700;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-desktop-agenda {
    grid-column: 2;
    grid-row: 1 / 3;
    padding: clamp(16px, 1.6vw, 25px);
    background: var(--court-desktop-card);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-desktop-agenda .p-section-head {
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px 14px;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-desktop-agenda .p-section-head h2 {
    margin: 0;
    font-size: clamp(22px, 2.1vw, 32px);
    line-height: 1.14;
    letter-spacing: -.04em;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table {
    margin: 18px 0 0;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-heading { display: none; }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-row {
    gap: clamp(8px, 1vw, 16px);
    min-height: clamp(74px, 5.75vw, 92px);
    background: color-mix(in srgb, var(--court-desktop-card) 75%, white);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person > .p-ava {
    width: clamp(32px, 3.25vw, 52px);
    height: clamp(32px, 3.25vw, 52px);
    flex-basis: clamp(32px, 3.25vw, 52px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person strong {
    font-size: clamp(14px, 1.2vw, 19px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person small {
    font-size: clamp(11px, .98vw, 15px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-workspace-summary {
    grid-column: 1;
    grid-row: 3;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-desktop-aside {
    grid-column: 2;
    grid-row: 3;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-desktop-column :is(.fc-athlete-coach-links, .fc-athlete-next, .fc-athlete-booking-link) {
    background: var(--court-desktop-card);
    border-color: var(--court-desktop-line);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-desktop-calendar {
    display: none;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-shortcuts > [aria-label="Календарь тренировок"] {
    display: inline-flex;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-training-content > .p-btn {
    justify-self: stretch;
    width: 100%;
    min-height: 54px;
    background: var(--court-desktop-lime);
    font-size: clamp(15px, 1.35vw, 20px);
  }
}

@media (min-width: 1391px) {
  [data-theme="light"] body.fc-design #main:has(> .fc-court-training-page) {
    padding-block-start: 22px;
  }

  [data-theme="light"] .fc-court-training-content {
    gap: 18px;
  }

  [data-theme="light"] .fc-court-training-plan {
    grid-template-columns: minmax(155px, 20%) minmax(0, 1fr) auto;
    gap: clamp(18px, 1.9vw, 30px);
  }

  [data-theme="light"] .fc-court-training-plan img {
    aspect-ratio: 1.9;
  }

  [data-theme="light"] .fc-court-training-plan-copy {
    line-height: 1.25;
  }

  [data-theme="light"] body.fc-design .fc-court-training-content > .p-tabs {
    scroll-padding-inline: 4px;
    scroll-snap-type: none;
  }

  [data-theme="light"] body.fc-design .fc-court-training-content > .p-tabs > .p-tab {
    flex-basis: 0;
    min-width: 104px;
    font-size: clamp(17px, 1.28vw, 20px);
  }

  [data-theme="light"] body.fc-design .fc-court-training-content > .p-tabs > .p-tab:not(:last-child, [aria-selected="true"]) {
    border-inline-end: 1px solid var(--court-desktop-line);
    border-start-end-radius: 0;
    border-end-end-radius: 0;
  }

  [data-theme="light"] body.fc-design .fc-court-training-content > .p-tabs > .p-tab:focus-visible {
    outline-offset: -2px;
  }

  [data-theme="light"] .fc-court-training-week-status {
    font-size: clamp(16px, 1.26vw, 20px);
  }

  [data-theme="light"] .fc-court-training-week-status > svg {
    flex: none;
    width: 36px;
    height: 36px;
  }

  [data-theme="light"] .fc-court-training-hero-main > div > :is(small, .p-cap),
  [data-theme="light"] .fc-court-training-row-copy > small {
    font-size: clamp(15px, 1.14vw, 18px);
  }

  [data-theme="light"] .fc-court-training-hero-main h2 {
    line-height: 1.2;
  }

  [data-theme="light"] .fc-court-training-hero-main:has(.fc-court-training-preview:not(:empty)) > .p-btn {
    align-self: flex-end;
    margin-block-end: 20px;
  }

  [data-theme="light"] .fc-court-training-row-icon {
    flex: 0 0 clamp(64px, 4.8vw, 78px);
    height: 46px;
  }

  [data-theme="light"] .fc-court-training-row-icon > svg {
    width: 26px;
    height: 26px;
  }

  [data-theme="light"] body.fc-design .fc-court-training-content > .fc-court-training-library-link {
    justify-self: start;
    gap: 12px;
    min-height: 44px;
    font-size: clamp(17px, 1.22vw, 20px);
  }

  [data-theme="light"] .fc-court-training-library-link > svg:first-of-type {
    width: 24px;
    height: 24px;
    order: -1;
  }

  [data-theme="light"] .fc-court-training-library-link > .fc-court-training-library-chevron {
    display: block;
  }

  [data-theme="light"] body.fc-design[data-route="team"] #main > .p-page > .p-title-row .p-h1 {
    font-size: clamp(40px, 3.05vw, 49px);
    line-height: 1.08;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-team-count {
    font-size: clamp(17px, 1.28vw, 20px);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools {
    grid-template-columns: minmax(0, 1fr) clamp(166px, 13.25vw, 212px) minmax(322px, 1.05fr);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools > .fc-reveal-slot {
    top: 0;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools input[type="search"] {
    min-height: 54px;
    font-size: clamp(16px, 1.24vw, 20px);
  }

  [data-theme="light"] body.fc-design[data-route="team"] #main .fc-court-team-add {
    justify-content: center;
    min-height: 54px;
    font-size: clamp(17px, 1.32vw, 21px);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools > .fc-library-control {
    min-height: 44px;
    padding: 0 0 0 clamp(14px, 1.4vw, 22px);
    border: 0;
    border-inline-start: 1px solid var(--court-desktop-line);
    border-radius: 0;
    background: transparent;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-tools .fc-court-library-title {
    font-size: clamp(16px, 1.18vw, 19px);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-preview {
    gap: 14px;
    padding: 24px;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-preview > .p-btn {
    min-height: 57px;
    padding-inline: 20px;
    font-size: clamp(18px, 1.38vw, 22px);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-preview > .p-btn > svg {
    flex: none;
    width: 22px;
    height: 22px;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-next {
    margin-block: 4px 8px;
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-facts {
    font-size: clamp(16px, 1.14vw, 18px);
  }

  [data-theme="light"] body.fc-design[data-route="team"] .fc-court-team-facts > :is(button, div) {
    min-height: 52px;
    padding-inline: 12px;
  }

  [data-theme="light"] .fc-court-trainer-chat .p-search.fc-chat-inbox-search {
    background: color-mix(in srgb, var(--court-desktop-card), var(--court-desktop-line) 30%);
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .p-msg .voice {
    width: clamp(270px, 23vw, 400px);
    max-width: 100%;
  }

  [data-theme="light"] :is(.fc-court-trainer-chat, .fc-court-coach-chat) .vp-wave {
    justify-content: space-between;
    color: var(--p-blue);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-rich-tools {
    justify-content: space-between;
    gap: 0;
    padding: 9px 12px;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-rich-tools select {
    min-width: 124px;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-rich-group {
    display: flex;
    align-items: center;
    padding-inline-start: clamp(6px, .7vw, 12px);
    border-inline-start: 1px solid var(--court-desktop-line);
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-rich-group button {
    min-width: 44px;
    min-height: 44px;
    font-size: 22px;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-rich-group svg {
    width: 20px;
    height: 20px;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview-meta {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 2px 10px;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview-meta > time {
    grid-area: 1 / 1;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview-meta > small {
    grid-area: 1 / 2;
    text-align: start;
  }

  [data-theme="light"] .fc-notes-workspace .fc-note-preview-meta > .fc-note-preview-text {
    grid-area: 2 / 1 / auto / -1;
  }

  [data-theme="light"] body .shell[data-space="coach"] {
    grid-template-columns: clamp(246px, 17.65vw, 282px) minmax(0, 1fr);
  }

  [data-theme="light"] body.fc-design .shell[data-space="coach"] > #main {
    padding-inline: clamp(30px, 2.5vw, 44px);
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail {
    padding-block: 29px 18px;
    overflow-y: auto;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .brand {
    padding: 0 34px 31px;
    flex-shrink: 0;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link {
    min-height: 57px;
    padding: 10px 17px;
    gap: 18px;
    border-radius: 16px;
    font-size: clamp(18px, 1.28vw, 21px);
    line-height: 1.2;
    flex-shrink: 0;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link svg {
    width: 27px;
    height: 27px;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link:has(.badge) {
    padding-inline: 14px 38px;
    gap: 8px;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail .nav-link .badge {
    position: absolute;
    inset-inline-end: 8px;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail-foot {
    min-height: 70px;
    padding: 10px 12px;
    gap: 12px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 18px;
    flex-shrink: 0;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail-foot .avatar {
    width: 47px;
    height: 47px;
    font-size: 16px;
    flex: none;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail-foot-text b {
    font-size: 16px;
    line-height: 1.3;
  }

  [data-theme="light"] body .shell[data-space="coach"] .rail-foot::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-inline: auto 4px;
    border: solid currentColor;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
    flex: none;
  }

  [data-theme="light"] body.fc-design[data-route="notifications"] .shell[data-space="coach"] > #main {
    padding-block-start: 21px;
  }

  [data-theme="light"] #main > .is-coaching-inbox {
    gap: 12px;
  }

  [data-theme="light"] .is-coaching-inbox .page-head {
    min-height: 56px;
    border: 0;
    padding-bottom: 0;
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-tools {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--court-desktop-line);
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-filters {
    width: min(44%, 394px);
  }

  [data-theme="light"] .is-coaching-inbox .fc-court-notice-day {
    margin-block: 7px 6px;
    font-size: 28px;
  }

  [data-theme="light"] body[data-role="trainer"] .is-coaching-inbox .fc-notifications-row :is(.fc-notifications-face, .fc-notifications-face .avatar) {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }

  [data-theme="light"] body[data-role="trainer"] .is-coaching-inbox .fc-notifications-row:has(> .fc-notifications-face) {
    position: relative;
  }

  [data-theme="light"] body[data-role="trainer"] .is-coaching-inbox .fc-notifications-row:has(> .fc-notifications-face) > .fc-notifications-copy {
    margin-inline-start: 13px;
  }

  [data-theme="light"] body[data-role="trainer"] .is-coaching-inbox .fc-notifications-row:has(> .fc-notifications-face) > .fc-notifications-dot {
    position: absolute;
    inset-inline-start: calc(var(--notice-inset) + 88px);
    inset-block-start: 34px;
  }

  [data-theme="light"] body[data-role="trainer"] .is-coaching-inbox .fc-notifications-row:has(> .fc-notifications-face) > .fc-court-notice-clock {
    margin-inline-end: 0;
  }

  [data-theme="light"] .fc-court-profile-dashboard:not(.is-trainer) .fc-court-profile-identity {
    min-height: 350px;
  }

  [data-theme="light"] .fc-court-profile-dashboard:not(.is-trainer) .fc-court-profile-identity > .fc-profile-avatar {
    max-width: 226px;
  }

  [data-theme="light"] .fc-court-profile-dashboard:not(.is-trainer) .fc-court-profile-identity > .fc-profile-avatar .p-ava.has-photo {
    outline: 2px solid var(--court-desktop-line);
    outline-offset: 2px;
  }

  [data-theme="light"] .fc-court-profile-identity > .fc-profile-avatar .fc-profile-avatar-add {
    width: 52px;
    height: 52px;
  }

  [data-theme="light"] .fc-court-profile-identity .fc-profile-avatar-add > svg {
    width: 22px;
    height: 22px;
  }

  [data-theme="light"] .fc-court-profile-save .btn {
    min-width: min(100%, 270px);
    min-height: 56px;
  }

  [data-theme="light"] .fc-court-profile-coach > .p-ava {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  [data-theme="light"] .fc-court-profile-card .setting-title {
    font-size: clamp(16px, 1.18vw, 18px);
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-court-calendar-toolbar {
    column-gap: 10px;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-schedule-desktop-actions {
    gap: 8px;
  }

  [data-theme="light"] body.fc-design[data-route="calendar"] .fc-schedule-desktop-actions .p-btn {
    padding-inline: 12px;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today.is-coached .fc-today-heading {
    min-height: clamp(148px, 11vw, 170px);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today.is-coached .fc-athlete-desktop-columns {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today.is-coached :is(.fc-athlete-coach-links, .fc-athlete-balance .fc-training-package) {
    min-height: clamp(144px, 11vw, 178px);
    padding: clamp(20px, 1.8vw, 28px);
    background: var(--court-desktop-card);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-coach-profile {
    gap: clamp(16px, 1.7vw, 26px);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-coach-profile .p-ava {
    width: clamp(72px, 6.6vw, 106px);
    height: clamp(72px, 6.6vw, 106px);
    flex: none;
    font-size: clamp(20px, 2.2vw, 34px);
    box-shadow: 0 0 0 4px var(--court-desktop-card), 0 0 0 5px var(--court-desktop-line);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-coach-profile small {
    font-size: clamp(15px, 1.25vw, 20px);
    font-weight: 650;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-coach-profile b {
    font-size: clamp(22px, 1.9vw, 30px);
    font-weight: 740;
    line-height: 1.2;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-shortcuts {
    align-items: center;
    gap: 10px;
    padding-inline-start: 16px;
    border-inline-start: 1px solid var(--court-desktop-line);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-shortcuts .p-iconbtn {
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 15px;
    background: transparent;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-shortcuts .p-iconbtn:hover {
    background: var(--p-raised);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-shortcuts svg {
    width: 30px;
    height: 30px;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-desktop-chat-label {
    display: none;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-balance .fc-training-package {
    align-content: center;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-package-count > .fc-athlete-package-icon {
    display: inline-grid;
    place-items: center;
    padding-inline-end: 18px;
    margin-inline-end: 6px;
    border-inline-end: 1px solid var(--court-desktop-line);
    color: var(--court-desktop-ink);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-package-icon svg {
    width: 44px;
    height: 44px;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-package-count > span:last-child {
    max-width: none;
    font-size: clamp(18px, 1.6vw, 25px);
    font-weight: 700;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-booking-link {
    gap: clamp(18px, 1.4vw, 22px);
    min-height: clamp(172px, 12.8vw, 202px);
    padding: clamp(20px, 1.8vw, 28px);
    border: 1px solid var(--court-desktop-line);
    font-size: clamp(24px, 2.1vw, 33px);
    line-height: 1.15;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-booking-link > span {
    max-inline-size: 13ch;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-booking-link > svg {
    width: 36px;
    height: 36px;
    padding: 0 18px 0 0;
    border-inline-end: 1px solid var(--court-desktop-line);
    border-radius: 0;
    background: transparent;
    flex: none;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-next {
    display: grid;
    grid-template-columns: clamp(82px, 7.55vw, 120px) minmax(0, 1fr);
    gap: 8px clamp(16px, 1.5vw, 24px);
    padding: clamp(18px, 1.5vw, 24px);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-next > .fc-court-training-heading {
    grid-column: 2;
    order: -3;
    margin: 0;
    font-size: clamp(25px, 2.15vw, 34px);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-training-portrait {
    display: block;
    grid-area: 1 / 1 / 4 / 2;
    align-self: center;
    order: -4;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-training-portrait > .p-ava {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    font-size: clamp(24px, 2.65vw, 42px);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-training-content { display: contents; }

  [data-theme="light"] body.fc-design .fc-athlete-today :is(.fc-athlete-next > .p-row, .fc-athlete-training-content > :not(.p-btn)) {
    grid-column: 2;
    margin: 0;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-next > .p-row {
    justify-content: flex-start;
    padding: 0;
    gap: 8px 16px;
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-training-content > strong {
    order: -2;
    font-size: clamp(22px, 1.7vw, 28px);
    font-weight: 600;
    line-height: 1.25;
  }
  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-training-content h2 small { color: var(--court-desktop-muted); }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-training-content > .fc-athlete-open {
    grid-column: 1 / -1;
    width: 100%;
    min-height: clamp(68px, 5vw, 78px);
    margin-top: 8px;
    padding-inline: clamp(24px, 2.2vw, 35px);
    border-radius: 20px;
    justify-content: space-between;
    text-align: start;
    font-size: clamp(24px, 1.9vw, 30px);
  }

  [data-theme="light"] body.fc-design .fc-athlete-today .fc-athlete-open > svg {
    display: block;
    width: 26px;
    height: 26px;
    flex: none;
    order: 1;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-heading {
    min-height: clamp(154px, 10.65vw, 170px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-heading > h1 {
    font-size: clamp(48px, 3.8vw, 60px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-heading > time {
    font-size: clamp(22px, 1.7vw, 26px);
  }

  [data-theme="light"] :is(.fc-trainer-today, .fc-athlete-today) .fc-today-full-date { display: none; }
  [data-theme="light"] :is(.fc-trainer-today, .fc-athlete-today) .fc-today-weekday-date { display: inline; }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-layout {
    grid-template-rows: auto 1fr auto;
    margin-inline: calc(-1 * clamp(10px, 1vw, 16px));
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-hero {
    padding: 20px 24px 24px;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-copy:has(.fc-today-athlete-avatar) {
    row-gap: clamp(16px, 1.25vw, 20px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-details {
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: baseline;
    gap: 3px 12px;
  }

  [data-theme="light"] .fc-trainer-today .fc-today-details > :not(.fc-today-kicker, .fc-today-location) {
    grid-column: 1 / -1;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-details :is(.fc-today-workout-title, .fc-today-location) {
    margin: 0;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-court-today-assign {
    min-height: clamp(62px, 4.85vw, 78px);
    gap: 18px;
    border: 1px solid var(--court-desktop-line);
    border-radius: 19px;
    font-size: clamp(20px, 1.6vw, 25px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-court-today-assign > svg {
    width: 26px;
    height: 26px;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-row {
    grid-template-columns: clamp(150px, 11.4vw, 181px) clamp(52px, 4.05vw, 64px) minmax(0, 1fr) 16px;
    grid-template-rows: auto auto;
    gap: 2px clamp(10px, 1.1vw, 17px);
    padding: 10px clamp(12px, 1.1vw, 18px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-time {
    grid-area: 1 / 1 / 3 / 2;
    display: flex;
    align-items: center;
    align-self: stretch;
    padding-inline-end: 12px;
    border-inline-end: 1px solid var(--court-desktop-line);
    font-size: clamp(21px, 1.6vw, 26px);
    white-space: nowrap;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-time > :is(small, .fc-today-range-dash) {
    display: inline;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person {
    display: contents;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person > :is(.p-ava, svg) {
    grid-area: 1 / 2 / 3 / 3;
    justify-self: center;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person > span {
    grid-area: 1 / 3 / 2 / 4;
    align-self: end;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person > .p-ava {
    width: clamp(52px, 4.05vw, 64px);
    height: clamp(52px, 4.05vw, 64px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person strong {
    font-size: clamp(18px, 1.4vw, 22px);
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-person small {
    margin-top: 2px;
    font-size: clamp(12px, .9vw, 14px);
    line-height: 1.35;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-status {
    grid-area: 2 / 3 / 3 / 4;
    align-self: start;
    background: none;
    padding: 0;
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  [data-theme="light"] body.fc-design .fc-trainer-today .fc-today-table-row > svg {
    grid-area: 1 / 4 / 3 / 5;
  }
}
