.coaches-page {
    width: 100%;
}

.coaches-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.coaches-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    align-items: center;
    gap: 28px;
    min-height: 300px;
    margin-bottom: 24px;
    padding: 52px clamp(28px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 52%, rgba(154, 38, 170, 0.58), rgba(154, 38, 170, 0) 27%),
        linear-gradient(135deg, #111217 0%, #191620 60%, #26142a 100%);
    color: #fff;
    box-shadow: 0 32px 80px rgba(33, 31, 28, 0.2);
}

.coaches-hero h1 {
    max-width: 610px;
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 0.98;
}

.coaches-hero p {
    max-width: 560px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
}

.coaches-hero > img {
    width: min(220px, 100%);
    height: auto;
    justify-self: center;
    object-fit: contain;
    filter: drop-shadow(0 24px 44px rgba(154, 38, 170, 0.4));
}

.coach-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.coach-stat-item {
    display: grid;
    grid-template-columns: 34px auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 90px;
    min-width: 0;
    padding: 18px 22px;
}

.coach-stat-item + .coach-stat-item {
    border-left: 1px solid var(--line);
}

.coach-stat-icon {
    position: relative;
    width: 28px;
    height: 28px;
    color: var(--brand);
}

.coach-stat-icon::before,
.coach-stat-icon::after {
    position: absolute;
    content: "";
}

.coach-stat-icon-people::before {
    left: 2px;
    top: 2px;
    width: 9px;
    height: 9px;
    border: 3px solid currentColor;
    border-radius: 50%;
    box-shadow: 13px 0 0 -1px #fff, 13px 0 0 2px currentColor;
}

.coach-stat-icon-people::after {
    left: 0;
    bottom: 2px;
    width: 24px;
    height: 11px;
    border: 3px solid currentColor;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.coach-stat-icon-star::before {
    inset: 2px;
    clip-path: polygon(50% 0, 62% 35%, 99% 35%, 69% 57%, 81% 94%, 50% 72%, 19% 94%, 31% 57%, 1% 35%, 38% 35%);
    background: currentColor;
}

.coach-stat-icon-cup::before {
    left: 6px;
    top: 2px;
    width: 16px;
    height: 16px;
    border: 3px solid currentColor;
    border-radius: 3px 3px 10px 10px;
}

.coach-stat-icon-cup::after {
    left: 9px;
    bottom: 2px;
    width: 10px;
    height: 8px;
    border-bottom: 3px solid currentColor;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
}

.coach-stat-icon-target::before {
    inset: 1px;
    border: 3px solid currentColor;
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 8px currentColor;
}

.coach-stat-item strong {
    color: var(--brand);
    font-size: clamp(24px, 1.5vw, 31px);
    line-height: 1;
    white-space: nowrap;
}

.coach-stat-item p {
    min-width: 0;
    margin: 0;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.coach-grid {
    display: grid;
    gap: 28px 24px;
}

.coach-grid-detailed {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
}

.coach-card-detailed {
    display: grid;
    grid-template-columns: minmax(210px, 40%) minmax(0, 1fr);
    min-height: 300px;
    overflow: hidden;
    padding: 0;
}

.coach-card {
    border-color: rgba(33, 31, 28, 0.1);
    color: inherit;
    max-width: 720px;
    text-decoration: none;
}

.coach-card:hover {
    border-color: rgba(154, 38, 170, 0.32);
}

.coach-card-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #515151, #ececec);
}

.coach-card-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
    background: var(--line);
    transition: transform 220ms ease, filter 220ms ease;
}

.coach-card:hover .coach-card-photo {
    filter: saturate(1.08);
    transform: scale(1.025);
}

.coach-card-detailed .coach-card-photo {
    height: 100%;
    min-height: 300px;
    aspect-ratio: auto;
    object-position: center top;
}

.coach-card-detailed .coach-default-photo,
.coach-profile-photo.coach-default-photo {
    object-fit: contain;
    object-position: center center;
}

.coach-card-detailed .coach-default-photo {
    padding: 14px;
}

.coach-profile-photo.coach-default-photo {
    padding: 18px;
}

.coach-card-detailed .coach-card-body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    min-width: 0;
    padding: 26px 28px 24px 30px;
}

.coach-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.coach-card-detailed h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(26px, 1.7vw, 34px);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.coach-role {
    margin: 0;
    color: var(--brand);
    font-size: 15px;
    font-weight: 900;
}

.coach-card-meta {
    display: grid;
    gap: 11px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.38;
}

.coach-card-meta span {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.coach-meta-icon {
    position: relative;
    width: 14px;
    height: 14px;
    color: var(--brand);
}

.coach-meta-icon::before,
.coach-meta-icon::after {
    position: absolute;
    content: "";
}

.coach-meta-clock::before {
    inset: 1px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.coach-meta-clock::after {
    left: 6px;
    top: 3px;
    width: 4px;
    height: 5px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.coach-meta-medal::before {
    left: 3px;
    top: 1px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.coach-meta-medal::after {
    left: 4px;
    bottom: 0;
    width: 6px;
    height: 5px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 50% 62%, 22% 100%);
}

.coach-meta-team::before {
    left: 1px;
    top: 1px;
    width: 5px;
    height: 5px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: 6px 0 0 -1px #fff, 6px 0 0 1px currentColor;
}

.coach-meta-team::after {
    left: 1px;
    bottom: 1px;
    width: 12px;
    height: 6px;
    border: 2px solid currentColor;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.coach-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
}

.coach-card-actions p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 700;
}

.coach-card-actions strong {
    color: var(--text);
}

.coach-card-actions span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--brand);
    font-weight: 900;
}

.coach-card:hover .coach-card-actions span {
    background: var(--brand-soft);
}

.coaches-aside {
    position: sticky;
    top: 98px;
    display: grid;
    gap: 22px;
}

.coaches-info-card {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.coaches-info-card h2 {
    margin: 0;
    color: var(--text);
    font-size: 25px;
    line-height: 1.18;
}

.coach-benefit-list {
    display: grid;
    gap: 20px;
}

.coach-benefit-list > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
}

.coach-benefit-list > div > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 900;
}

.coach-benefit-list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.coach-benefit-list p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.coaches-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.coaches-phone-link:hover {
    background: var(--accent-dark);
    box-shadow: 0 12px 26px rgba(154, 38, 170, 0.22);
    transform: translateY(-1px);
}

.coaches-phone-link .ui-icon {
    filter: brightness(0) invert(1);
}

.coach-detail-page {
    width: 100%;
}

.coach-back-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 18px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.coach-back-link:hover {
    color: var(--accent-dark);
}

.coach-detail-hero {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: clamp(36px, 6vw, 72px);
    align-items: center;
    margin-bottom: 28px;
    padding: 22px;
}

.coach-detail-photo-wrap {
    min-width: 0;
}

.coach-profile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    background: var(--line);
}

.coach-detail-summary {
    display: grid;
    gap: 20px;
    max-width: 760px;
}

.coach-detail-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.coach-detail-heading h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

.coach-detail-meta {
    display: grid;
    gap: 14px;
    max-width: 720px;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
}

.coach-detail-meta span {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.coach-detail-price {
    margin: 8px 0 10px;
    color: var(--text);
    font-size: 16px;
}

.coach-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.coach-primary-button,
.coach-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 56px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.coach-primary-button {
    min-width: 300px;
    background: linear-gradient(135deg, var(--brand), var(--accent-dark));
    color: #fff;
    box-shadow: 0 18px 34px rgba(154, 38, 170, 0.2);
}

.coach-primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(154, 38, 170, 0.26);
}

.coach-secondary-button {
    min-width: 280px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

.coach-secondary-button:hover {
    border-color: rgba(154, 38, 170, 0.34);
    color: var(--brand);
}

.coach-about-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: clamp(32px, 6vw, 76px);
    align-items: stretch;
    margin-bottom: 28px;
    padding: clamp(28px, 4vw, 42px);
}

.coach-about-copy {
    display: grid;
    align-content: start;
    gap: 18px;
}

.coach-about-copy h2,
.coach-schedule-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 30px;
    line-height: 1.15;
}

.coach-about-copy h3 {
    margin: 10px 0 0;
    color: var(--text);
    font-size: 17px;
}

.coach-about-copy p {
    max-width: 780px;
    margin: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
}

.coach-check-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.coach-check-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
}

.coach-check-list li::before {
    position: absolute;
    left: 0;
    top: 0.05em;
    color: var(--brand);
    font-weight: 900;
    content: "✓";
}

.coach-summary-panel {
    display: grid;
    gap: 28px;
    padding: 32px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 8%, rgba(154, 38, 170, 0.16), rgba(154, 38, 170, 0) 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 232, 255, 0.78));
}

.coach-summary-panel > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px 18px;
    align-items: center;
}

.coach-summary-panel .coach-stat-icon {
    grid-row: span 2;
    align-self: start;
    width: 32px;
    height: 32px;
}

.coach-summary-panel strong {
    color: var(--text);
    font-size: 16px;
    line-height: 1.25;
}

.coach-summary-panel p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.coach-stat-icon-clock::before {
    inset: 2px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.coach-stat-icon-clock::after {
    left: 13px;
    top: 7px;
    width: 8px;
    height: 10px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
}

.coach-schedule-card {
    margin-bottom: 28px;
    padding: clamp(24px, 3.5vw, 36px);
}

.coach-schedule-head {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.coach-schedule-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-weight: 800;
}

.coach-day-list {
    display: grid;
    gap: 18px;
}

.coach-day {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.coach-day-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 14px 18px;
    color: var(--brand-dark);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.coach-day-summary::-webkit-details-marker {
    display: none;
}

.coach-day-summary span:last-child {
    color: var(--muted);
    font-size: 13px;
}

.coach-day[open] .coach-day-summary {
    border-bottom: 1px solid var(--line);
    background: var(--brand-soft);
}

.coach-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 22px;
}

.training-slot-card {
    display: grid;
    align-content: start;
    min-height: 270px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(24, 86, 163, 0.07);
}

.training-slot-card h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.3;
}

.slot-time {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
}

.slot-price {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
}

.slot-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    margin-bottom: 20px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.slot-status::before {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    content: "";
}

.slot-status-free {
    background: rgba(35, 197, 120, 0.12);
    color: #087147;
}

.slot-status-free::before {
    background: #23c578;
}

.slot-status-busy,
.slot-status-mine {
    background: rgba(229, 40, 93, 0.12);
    color: #b81748;
}

.slot-status-busy::before,
.slot-status-mine::before {
    background: #e5285d;
}

.coach-slot-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    border: 1px solid var(--brand);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand), var(--accent-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 15px 24px rgba(154, 38, 170, 0.16);
}

.coach-slot-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 30px rgba(154, 38, 170, 0.22);
}

.coach-slot-button-outline,
.coach-slot-button-disabled {
    background: #fff;
    color: var(--brand);
    box-shadow: none;
}

.coach-slot-button:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.coach-empty-schedule {
    margin: 0;
}

.coach-request-panel {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(154, 38, 170, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 8% 50%, rgba(154, 38, 170, 0.14), rgba(154, 38, 170, 0) 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 232, 255, 0.8));
}

.coach-request-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    background: var(--brand-soft);
}

.coach-request-icon .ui-icon {
    width: 34px;
    height: 34px;
}

.coach-request-panel h2 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 24px;
}

.coach-request-panel p {
    max-width: 620px;
    margin: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.coach-request-panel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid var(--brand);
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
    font-weight: 900;
    text-decoration: none;
}

.coach-manage-page {
    width: 100%;
}

.coach-manage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.coach-manage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 24px;
}

.coach-manage-form-card,
.coach-manage-slots {
    padding: 24px;
}

.coach-manage-form-card h2 {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 24px;
}

.coach-manage-form {
    display: grid;
    gap: 14px;
}

.coach-manage-form p {
    margin: 0;
}

.coach-manage-form textarea {
    min-height: 130px;
    resize: vertical;
}

.coach-manage-form ul {
    display: grid;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.coach-manage-form li label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 700;
}

.coach-manage-form .muted {
    display: block;
    margin-top: 6px;
}

.coach-weekday-field {
    display: grid;
    gap: 8px;
}

.coach-weekday-field > label {
    color: var(--text);
    font-weight: 800;
}

.coach-weekday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.coach-weekday-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-weight: 800;
    cursor: pointer;
}

.coach-weekday-chip:hover {
    border-color: rgba(154, 38, 170, 0.34);
    background: var(--brand-soft);
}

.coach-weekday-chip input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

.coach-manage-slots .profile-panel-head {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.coach-manage-slots .profile-panel-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 24px;
}

.coach-manage-slots .profile-list {
    display: grid;
    gap: 0;
}

.coach-manage-slots .profile-list-row {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.coach-manage-slots .profile-list-row div {
    display: grid;
    gap: 4px;
}

.coach-manage-slots .profile-list-row strong {
    color: var(--text);
}

.coach-manage-slots .profile-list-row span {
    font-size: 14px;
}

.coach-manage-day-list {
    display: grid;
    gap: 14px;
}

.coach-manage-day {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
}

.coach-manage-day summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
}

.coach-manage-day summary::-webkit-details-marker {
    display: none;
}

.coach-manage-day summary strong {
    color: var(--text);
}

.coach-manage-day summary span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.coach-manage-day[open] summary {
    border-bottom: 1px solid var(--line);
    background: var(--brand-soft);
}

.coach-manage-slot-table {
    display: grid;
}

.coach-manage-slot-row {
    display: grid;
    grid-template-columns: 96px minmax(180px, 1fr) 90px minmax(110px, 0.7fr);
    gap: 14px;
    align-items: center;
    min-height: 48px;
    padding: 10px 16px;
    border-top: 1px solid rgba(33, 31, 28, 0.06);
}

.coach-manage-slot-row:first-child {
    border-top: 0;
}

.coach-manage-slot-row time {
    color: var(--brand-dark);
    font-weight: 900;
}

.coach-manage-slot-row span {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.coach-manage-slot-row strong,
.coach-manage-slot-row em {
    justify-self: end;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.coach-manage-slot-row strong {
    color: var(--brand);
}

.coach-manage-slot-row em {
    color: #087147;
}

@media (max-width: 1500px) {
    .coaches-page {
        width: 100%;
    }

    .coaches-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 32px;
    }

    .coaches-hero {
        grid-template-columns: minmax(0, 1fr) 220px;
        min-height: 286px;
        padding: 48px clamp(28px, 5vw, 60px);
    }

    .coaches-hero > img {
        width: min(200px, 100%);
    }

    .coach-stat-item {
        grid-template-columns: 30px auto minmax(0, 1fr);
        gap: 10px;
        padding: 16px 16px;
    }

    .coach-grid-detailed {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    }

    .coach-detail-page {
        width: 100%;
    }
}

@media (max-width: 1120px) {
    .coaches-page {
        width: 100%;
        margin-left: 0;
    }

    .coaches-layout {
        grid-template-columns: 1fr;
    }

    .coaches-aside {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .coaches-info-card {
        min-height: 100%;
    }

    .coach-detail-page {
        width: 100%;
        margin-left: 0;
    }

    .coach-detail-hero {
        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
        gap: 32px;
    }

    .coach-about-card {
        grid-template-columns: 1fr;
    }

    .coach-summary-panel {
        grid-template-columns: 1fr 1fr;
    }

    .coach-slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .coach-request-panel {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .coach-request-panel a {
        grid-column: 2;
        justify-self: start;
    }

    .coach-manage-page {
        width: 100%;
        margin-left: 0;
    }

    .coach-manage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .coaches-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 36px 22px;
        border-radius: 18px;
    }

    .coaches-hero h1 {
        font-size: clamp(36px, 11vw, 52px);
    }

    .coaches-hero p {
        font-size: 16px;
    }

    .coaches-hero > img {
        width: 150px;
    }

    .coach-stat-strip {
        grid-template-columns: 1fr 1fr;
    }

    .coach-stat-item {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
    }

    .coach-stat-item strong {
        grid-column: 2;
    }

    .coach-stat-item p {
        grid-column: 2;
    }

    .coach-stat-item:nth-child(odd) {
        border-left: 0;
    }

    .coach-stat-item:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .coaches-layout {
        grid-template-columns: 1fr;
    }

    .coach-grid-detailed {
        grid-template-columns: 1fr;
    }

    .coach-card-detailed {
        grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
        min-height: 260px;
    }

    .coach-card-detailed .coach-card-photo {
        min-height: 260px;
    }

    .coach-card-detailed .coach-card-body {
        padding: 22px 20px;
    }

    .coach-card-detailed h2 {
        font-size: 25px;
    }

    .coach-card-meta {
        font-size: 14px;
    }

    .coaches-aside {
        position: static;
        grid-template-columns: 1fr;
    }

    .coach-detail-hero {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .coach-detail-photo-wrap {
        max-width: 360px;
    }

    .coach-detail-heading h1 {
        font-size: clamp(34px, 10vw, 48px);
    }

    .coach-detail-actions,
    .coach-primary-button,
    .coach-secondary-button {
        width: 100%;
        min-width: 0;
    }

    .coach-about-card,
    .coach-schedule-card {
        padding: 22px;
    }

    .coach-summary-panel {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .coach-schedule-head {
        align-items: stretch;
        flex-direction: column;
    }

    .coach-schedule-head > span {
        justify-content: flex-start;
        width: 100%;
    }

    .coach-slot-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .training-slot-card {
        min-height: 240px;
        padding: 22px;
    }

    .coach-request-panel {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .coach-request-panel a {
        grid-column: auto;
        width: 100%;
        min-width: 0;
    }

    .coach-manage-actions,
    .coach-manage-actions .button-link {
        width: 100%;
    }

    .coach-manage-slots .profile-panel-head,
    .coach-manage-slots .profile-list-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .coach-manage-slot-row {
        grid-template-columns: 1fr 1fr;
    }

    .coach-manage-slot-row strong,
    .coach-manage-slot-row em {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .coach-stat-strip {
        grid-template-columns: 1fr;
    }

    .coach-stat-item + .coach-stat-item {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .coach-card-detailed {
        grid-template-columns: 1fr;
    }

    .coach-card-detailed .coach-card-photo {
        max-height: none;
        min-height: 320px;
        aspect-ratio: 1 / 1;
    }

    .coach-card-detailed h2 {
        font-size: 28px;
    }

    .coach-detail-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .coach-profile-photo {
        aspect-ratio: 4 / 5;
    }

    .coach-day-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .slot-time {
        font-size: 24px;
    }

    .coach-manage-page {
        padding-right: 16px;
        padding-left: 16px;
    }

    .coach-weekday-grid {
        grid-template-columns: 1fr;
    }

    .coach-manage-slot-row {
        grid-template-columns: 1fr;
        gap: 6px;
        align-items: start;
    }
}
