/* A small booking surface within the learner's three-tab journey. */
.coaching-page { max-width: 820px; margin: 0 auto; color: #1c2737; }
.coaching-page * { box-sizing: border-box; }
.coaching-page h2, .coaching-page h3 { overflow-wrap: anywhere; }
.coaching-page h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.035em; }
.coaching-page h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.025em; }
.coaching-page p { font-size: 14px; line-height: 1.65; }
.coaching-page button, .coaching-page input, .coaching-page textarea, .coaching-page select { font-family: inherit; }
.coaching-page button:focus-visible, .coaching-page input:focus-visible, .coaching-page textarea:focus-visible, .coaching-page select:focus-visible, .coaching-page summary:focus-visible { outline: 2px solid #225bd7; outline-offset: 4px; }
.coaching-page .coaching-timezone { color: #626e80; font-size: 12px; margin: 0 0 19px; }
.coaching-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.coaching-section-heading h2 { font-size: 20px; }
.coaching-button { min-height: 48px; border: 1px solid #225bd7; border-radius: 10px; padding: 12px 20px; background: #225bd7; color: #fff; font-size: 14px; font-weight: 650; line-height: 1.5; }
.coaching-button:hover { background: #164bbf; }
.coaching-button.secondary { color: #345278; background: #fff; border-color: #dce3ee; }
.coaching-button.secondary:hover { background: #f3f6fc; }
.coaching-button:disabled { opacity: .5; }
.coaching-text { min-height: 44px; padding: 9px 0; background: transparent; color: #285da9; font-size: 14px; line-height: 1.5; text-align: left; }
.coaching-text:hover { color: #12489e; text-decoration: underline; text-underline-offset: 3px; }
.coaching-coaches { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.coaching-card, .coaching-empty { padding: 27px; border-radius: 17px; border: 1px solid #e0e5ed; background: #fff; min-width: 0; }
.coaching-card { display: flex; flex-direction: column; align-items: flex-start; }
.coaching-card > .coaching-button { margin-top: auto; }
.coaching-person { display: flex; gap: 13px; align-items: flex-start; width: 100%; }
.coaching-person > div:last-child { min-width: 0; }
.coaching-initial { flex-shrink: 0; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #eef3fb; color: #456ba3; font-size: 19px; font-weight: 600; }
.coaching-focus { color: #365c92; font-size: 14px; line-height: 1.6; margin-top: 7px; overflow-wrap: anywhere; }
.coaching-bio { color: #626e80; margin: 16px 0 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
.coaching-empty { padding-block: 32px; }
.coaching-empty h3 { font-size: 21px; }
.coaching-empty p { margin-top: 10px; color: #626e80; max-width: 45ch; }
.coaching-request .coaching-card { display: block; }
.coaching-back { margin: -8px 0 12px; }
.coaching-request fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.coaching-request legend { font-size: 17px; font-weight: 650; padding: 0; margin-bottom: 14px; }
.coaching-times { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.coaching-time-choice { display: flex; gap: 11px; align-items: center; border: 1px solid #dce3ee; border-radius: 10px; padding: 14px; cursor: pointer; min-height: 75px; }
.coaching-time-choice:has(input:checked) { background: #f0f5ff; border-color: #225bd7; }
.coaching-time-choice input { flex: 0 0 17px; width: 17px; height: 17px; margin: 0; padding: 0; accent-color: #225bd7; }
.coaching-page time { display: block; font-size: 14px; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; }
.coaching-page time > span { display: block; font-size: 12px; font-weight: 400; color: #626e80; margin-top: 4px; }
.coaching-field { display: flex; flex-direction: column; gap: 8px; margin: 17px 0; min-width: 0; }
.coaching-field > span { font-size: 14px; font-weight: 600; color: #43536a; }
.coaching-field input, .coaching-field textarea, .coaching-field select { width: 100%; min-width: 0; min-height: 47px; padding: 12px; background: #fff; border: 1px solid #d8e0eb; border-radius: 8px; color: #22354b; font-size: 16px; box-shadow: none; }
.coaching-field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.coaching-field input::placeholder, .coaching-field textarea::placeholder { color: #6e7a8c; font-size: 14px; }
.coaching-note { color: #626e80; font-size: 13px !important; margin-top: 14px; line-height: 1.7; }
.coaching-error { color: #a13831; font-size: 14px; margin: 12px 0; overflow-wrap: anywhere; }
.coaching-error:empty { display: none; }
.coaching-load-error { background: #fff6f3; border: 1px solid #ead5cf; border-radius: 10px; padding: 15px; }
.coaching-load-error .coaching-button { display: block; margin-top: 12px; }
.coaching-bookings { margin-top: 34px; }
.coaching-booking { background: #fff; border: 1px solid #e0e5ed; border-radius: 15px; padding: 25px; margin-bottom: 14px; min-width: 0; }
.coaching-booking-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }
.coaching-booking-heading h3 { overflow-wrap: anywhere; }
.coaching-status { padding: 5px 10px; background: #eef2f8; border-radius: 6px; font-size: 12px; color: #536682; line-height: 1.5; }
.coaching-status.status-confirmed { background: #eaf4ee; color: #306744; }
.coaching-status.status-pending { background: #f4f0e6; color: #786130; }
.coaching-goal { margin-top: 19px; }
.coaching-goal > span { font-size: 12px; color: #626e80; }
.coaching-goal > p { margin-top: 5px; color: #42526a; white-space: pre-wrap; overflow-wrap: anywhere; }
.coaching-meeting { margin-top: 20px; padding: 18px; background: #f0f5fd; border-radius: 10px; }
.coaching-meeting h4 { margin: 0 0 7px; font-size: 14px; font-weight: 650; }
.coaching-meeting p { white-space: pre-wrap; overflow-wrap: anywhere; }
.coaching-cancel { font-size: 13px; color: #626e80; margin-top: 11px; }
.coaching-management { border-top: 1px solid #dde4ee; margin-top: 34px; padding-top: 6px; }
.coaching-management > summary { min-height: 55px; padding: 15px 0; font-size: 15px; font-weight: 650; color: #3f5678; cursor: pointer; }
.coaching-management-body { padding: 19px 0; }
.coaching-management-body > section { padding: 25px; border: 1px solid #e0e5ed; border-radius: 16px; background: #fff; margin-bottom: 20px; }
.coaching-check { display: flex; align-items: center; gap: 11px; min-height: 44px; margin-top: 17px; font-size: 14px; color: #44546c; cursor: pointer; }
.coaching-check input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: #225bd7; flex-shrink: 0; }
.coaching-slot-fields { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(130px,1fr); gap: 15px; }
.coaching-availability .coaching-timezone { margin-top: 12px; }
.coaching-availability-list { list-style: none; padding: 0; margin: 24px 0 0; }
.coaching-availability-list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid #e4e9f1; }
.coaching-availability-list .coaching-text { flex-shrink: 0; font-size: 13px; }
.coaching-management-body > .coaching-bookings { padding: 0; background: transparent; border: 0; }
.coaching-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.coaching-response-form { border-top: 1px solid #e2e7ef; margin-top: 23px; padding-top: 3px; }
.coaching-dialog { width: min(440px, calc(100vw - 36px)); padding: 27px; border: 1px solid #dce3ee; border-radius: 16px; box-shadow: 0 15px 70px #1e2b4230; color: #253951; background: #fff; }
.coaching-dialog::backdrop { background: #17223175; }
.coaching-dialog h2 { font-size: 24px; }
.coaching-dialog p { margin-top: 14px; color: #626e80; }
.coaching-dialog .coaching-actions { justify-content: flex-end; margin-top: 23px; }
.coaching-today-card { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 22px 25px; margin-top: 18px; border: 1px solid #e0e5ed; background: #fff; border-radius: 16px; }
.coaching-today-card h2 { font-size: 18px; line-height: 1.35; }
.coaching-today-card p { color: #626e80; font-size: 14px; line-height: 1.6; margin-top: 5px; }
.coaching-today-card button { font-size: 14px; min-height: 44px; flex-shrink: 0; background: transparent; color: #225bd7; padding: 8px 0; }
.coaching-drills-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid #dde5f0; margin: -8px 0 25px; padding: 3px 0 16px; }
.coaching-drills-link p { font-size: 14px; color: #626e80; }
.coaching-drills-link button { min-height: 44px; background: transparent; color: #225bd7; padding: 8px 0; font-size: 14px; flex-shrink: 0; }
@media(max-width:680px) {
  .coaching-coaches, .coaching-times, .coaching-slot-fields { grid-template-columns: 1fr; }
  .coaching-card, .coaching-empty, .coaching-booking, .coaching-management-body > section { padding: 21px; border-radius: 14px; }
  .coaching-page h2 { font-size: 22px; }
  .coaching-section-heading h2 { font-size: 19px; }
  .coaching-section-heading { gap: 12px; align-items: flex-start; }
  .coaching-section-heading > button { flex-shrink: 0; font-size: 12px; }
  .coaching-slot-fields { gap: 0; }
  .coaching-slot-fields .coaching-field { margin-bottom: 7px; }
  .coaching-slot-fields + .coaching-button { margin-top: 17px; }
  .coaching-availability-list li { flex-wrap: wrap; gap: 3px; }
  .coaching-management-body { padding-top: 12px; }
  .coaching-time-choice { padding: 12px; }
  .coaching-page time { font-size: 14px; }
  .coaching-response-form .coaching-button { width: 100%; }
  .coaching-today-card { flex-direction: column; align-items: flex-start; gap: 7px; padding: 20px 22px; }
  .coaching-drills-link { flex-wrap: wrap; gap: 2px; }
}
