/* CoursConnect V62.14.14 · Refonte ergonomique des écrans et détails.
 * Habillage uniquement : aucun état métier, aucune action de paiement modifiés.
 */
body.cc-v621413 {
  --cc-ux-ink: #2a2341;
  --cc-ux-secondary: #665f74;
  --cc-ux-border: #e7e3ec;
  --cc-ux-accent: #593f92;
  --cc-ux-soft: #f9f8fc;
  background: #faf9fc;
  color: var(--cc-ux-ink);
}
body.cc-v621413 :is(button, a, summary, input, select, textarea):focus-visible {
  outline: 3px solid #9575cd;
  outline-offset: 3px;
}
body.cc-v621413 :is(.tab-panel, .product-card, .cc-admin-panel) { min-width: 0; }
body.cc-v621413 .tab-panel :is(h1,h2,h3) { letter-spacing: -.025em; }
body.cc-v621413 .tab-panel :is(.muted, .teacher-booking-view-help-v48) { line-height: 1.55; }
body.cc-v621413 .cc-v60-mode-banner { border-radius: 12px; padding: 9px 13px; font-size: .82rem; margin-bottom: 18px; }
body.cc-v621413 .cc-v60-mode-banner strong { white-space: nowrap; }
body.cc-v621413 :is(.student-v52-heading, .teacher-section-header-bookings) { margin-bottom: 18px; }
body.cc-v621413 :is(.student-v52-heading, .teacher-section-header-bookings) h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 3px 0 5px; }
body.cc-v621413 :is(.student-v52-heading, .teacher-section-header-bookings) p { max-width: 55ch; }

/* Un parcours clair : demandes / à venir / historique avec des cibles tactiles. */
body.cc-v621413 :is(.student-v52-view-nav, .teacher-booking-tabs-v48) {
  display: flex; gap: 6px; flex-wrap: wrap; padding: 5px;
  background: #f1eff6; border: 1px solid #e6e1ec; border-radius: 15px;
  margin: 0 0 16px;
}
body.cc-v621413 :is(.student-v52-view-nav, .teacher-booking-tabs-v48) button {
  border: 0; border-radius: 11px; background: transparent; color: #584f68;
  min-height: 44px; padding: 9px 15px; font-weight: 720; cursor: pointer;
}
body.cc-v621413 :is(.student-v52-view-nav, .teacher-booking-tabs-v48) button:is(.is-selected,[aria-pressed="true"]) {
  color: #442b79; background: #fff; box-shadow: 0 2px 9px #251c3618;
}
body.cc-v621413 .student-v52-courses-list { box-shadow: none; background: transparent; border: 0; padding: 0; }
body.cc-v621413 .student-v52-more-filters { margin: 9px 0 15px; }

/* Cartes de cours : état / lieu / action / argent. Pas de mosaïque comptable. */
body.cc-v621413 .booking-card-v2 {
  background: #fff !important; border: 1px solid var(--cc-ux-border);
  border-left: 4px solid #c9bddf; border-radius: 18px !important;
  box-shadow: 0 7px 24px #34254f0b; padding: clamp(14px,2vw,20px) !important;
  margin: 0 0 12px !important;
}
body.cc-v621413 .booking-card-v2:is(.status-confirmed,.status-paid,.status-accepted_waiting_student) { border-left-color: #4e9b75; }
body.cc-v621413 .booking-card-v2:is(.status-pending,.status-counter_proposed,.status-hold) { border-left-color: #d69b4f; }
body.cc-v621413 .booking-card-v2:is(.status-declined,.status-canceled,.status-no_show_review,.status-completion_review) { border-left-color: #d17a75; }
body.cc-v621413 .booking-card-v2:is(.status-done,.status-completed) { border-left-color: #7295c9; }
body.cc-v621413 .booking-card-v2 .status-badge { display: inline-flex; align-items: center; max-width: 100%; }
body.cc-v621413 .booking-card-v2 > div:first-child { gap: 13px !important; }
body.cc-v621413 .booking-card-v2 :is(.booking-proposal-box, .booking-decision-deadline, .cc-completion-confirmed) { margin-top: 13px; }
body.cc-v621413 .booking-card-v2 .cc-course-header-v621413 { display:flex; gap:10px; justify-content:space-between; flex-wrap:wrap; align-items:flex-start; margin-bottom:5px; }
.cc-course-when-v621413 { display:flex; flex-wrap:wrap; gap:5px 10px; align-items:baseline; }
.cc-course-when-v621413 strong { font-size: 1.08rem; color: #29223c; }
.cc-course-when-v621413 span { color: #594c6c; font-weight: 630; font-variant-numeric:tabular-nums; }
.cc-course-badges-v621413 { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }

/* Carte rémunération : seul le total est visible avant ouverture. */
.cc-earning-card-v621413, .cc-student-price-lead-v621413 {
  border: 1px solid #e4dfeb; border-radius: 14px; background: #faf9fd;
  margin: 14px 0 8px; overflow:hidden; min-width: 0;
}
.cc-earning-lead-v621413, .cc-student-price-lead-v621413 {
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  padding: 13px 15px;
}
.cc-earning-lead-v621413 > span, .cc-student-price-lead-v621413 > span { display:grid; gap:3px; min-width:0; }
.cc-earning-lead-v621413 > span > strong, .cc-student-price-lead-v621413 > span > strong {font-size:.9rem;color:#514465;}
.cc-earning-lead-v621413 small, .cc-student-price-lead-v621413 small {font-size:.75rem;color:#736b7b;line-height:1.4;}
.cc-earning-lead-v621413 > b, .cc-student-price-lead-v621413 > b {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem); color:#302044;
  font-weight:800; letter-spacing:-.03em; font-variant-numeric:tabular-nums; white-space:nowrap;
}
.cc-money-details-v621413, .cc-course-more-details-v621413, .cc-course-more-actions-v621413 {
  background: #fff; border: 1px solid #e8e4ef; border-radius: 12px; overflow:hidden; min-width:0;
}
.cc-earning-card-v621413 .cc-money-details-v621413 {border:0;border-top:1px solid #e8e4ef;border-radius:0;}
.cc-money-details-v621413 > summary, .cc-course-more-details-v621413 > summary, .cc-course-more-actions-v621413 > summary {
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  min-height:43px; padding:10px 14px; font-weight:650; font-size:.83rem;
  color:#51446d; cursor:pointer; list-style:none;
}
.cc-money-details-v621413 > summary::-webkit-details-marker,
.cc-course-more-details-v621413 > summary::-webkit-details-marker,
.cc-course-more-actions-v621413 > summary::-webkit-details-marker { display:none; }
.cc-money-details-v621413 > summary::after,
.cc-course-more-details-v621413 > summary::after,
.cc-course-more-actions-v621413 > summary::after {content:'+';font-size:1.25rem;line-height:1;font-weight:500;color:#847592;}
.cc-money-details-v621413[open] > summary::after,
.cc-course-more-details-v621413[open] > summary::after,
.cc-course-more-actions-v621413[open] > summary::after {content:'−';}
.cc-money-details-v621413 > summary:hover,
.cc-course-more-details-v621413 > summary:hover,
.cc-course-more-actions-v621413 > summary:hover { background:#faf9fd; }
.cc-money-details-v621413[open] > summary, .cc-course-more-details-v621413[open] > summary, .cc-course-more-actions-v621413[open] > summary {border-bottom:1px solid #eae5f0;}
.cc-money-lines-v621413 { display:grid; gap:0; padding:6px 15px; }
.cc-money-lines-v621413 > div {display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid #f1eef5;font-size:.88rem;}
.cc-money-lines-v621413 > div:last-child {border-bottom:0;}
.cc-money-lines-v621413 span {color:#62596d;line-height:1.4;}
.cc-money-lines-v621413 strong {color:#352843;font-variant-numeric:tabular-nums;white-space:nowrap;}
.cc-money-lines-v621413 .cc-money-total-v621413 {font-weight:800;}
.cc-money-lines-v621413 .cc-money-total-v621413 span {color:#312747;}
.cc-money-caption-v621413 {margin:4px 15px 13px!important;font-size:.77rem!important;color:#706979!important;line-height:1.55;}
.cc-course-more-details-v621413 {margin:12px 0 0;}
.cc-detail-body-v621413 {padding:10px 14px 14px;min-width:0;}
.cc-detail-body-v621413 > :first-child {margin-top:0!important;}
.cc-detail-body-v621413 .cc-price-details-v62142 {margin:0 0 8px;}
.cc-detail-body-v621413 .cc-price-details-v62142 .booking-price-lines {display:grid;gap:3px;grid-template-columns:1fr;}
.cc-detail-body-v621413 .cc-price-details-v62142 .booking-price-lines > span {padding:5px 0;margin:0;background:transparent;}
.cc-detail-body-v621413 .cc-adjustment-626, .cc-detail-body-v621413 .cc-sharing-panel-v605 {box-shadow:none;margin:8px 0;}
.cc-detail-body-v621413 .booking-request-summary {margin:6px 0;}

/* Les actions de cours conservent leurs handlers : seule la présentation change. */
body.cc-v621413 .booking-card-v2 > div:first-child > .cc-course-actions-v621413 {
  width:100% !important; max-width:none !important; margin:12px 0 0 !important;
  padding-top:12px; border-top:1px solid #f0edf3;
}
body.cc-v621413 .booking-card-v2 .cc-course-actions-v621413 {
  display:flex!important; flex-direction:column; align-items:stretch!important; gap:9px;
}
.cc-course-actions-main-v621413, .cc-course-actions-extra-v621413 {display:flex; flex-wrap:wrap; align-items:center; gap:8px;}
.cc-course-actions-extra-v621413 {padding:11px 13px 14px;}
body.cc-v621413 .booking-card-v2 .cc-course-actions-main-v621413 > .btn.primary {min-width:155px;}
body.cc-v621413 .booking-card-v2 .cc-course-actions-v621413 .btn {min-height:42px;max-width:100%;}
.cc-course-more-actions-v621413 {align-self:stretch;max-width:600px;}
.cc-actions-count-v621413 {font-size:.72rem;font-weight:700;border-radius:100px;color:#675877;background:#f1edf5;padding:1px 7px;margin-left:auto;}
body.cc-v621413 .booking-card-v2:has(.cc-teacher-completion) > div:first-child {align-items:stretch!important;}
body.cc-v621413 .booking-card-v2 .cc-teacher-completion {max-width:100%;}
body.cc-v621413 .booking-card-v2 .cc-teacher-completion input {min-width:0;}
body.cc-v621413 .booking-card-v2 .cc-student-completion {margin:14px 0;}

/* Ajustements des grandes pages : même rythme, sans bousculer les formulaires. */
body.cc-v621413 :is(.teacher-v47-stat,.student-v52-teacher-card,.teacher-v47-next,.cc-admin-panel) {border-radius:16px;}
body.cc-v621413 :is(.student-v52-view-nav,.teacher-booking-tabs-v48) button:focus-visible {outline-offset:1px;}
body.cc-v621413.cc-admin-body .cc-admin-tabs {background:#f1eef6;border:1px solid #e9e4f0;}
body.cc-v621413.cc-admin-body .cc-admin-tabs button.active {color:#4b2d83;}
body.cc-v621413.cc-admin-body .cc-admin-metric {box-shadow:none;}
body.cc-v621413 .sb-panel, body.cc-v621413 .stripe-connect-panel {box-shadow:0 14px 34px #34234a0a;}
body.cc-v621413 #btn-stripe-sandbox-booking {min-height:48px;font-weight:750;}
body.cc-v621413 #booking-summary {background:#fff;border-radius:14px;border:1px solid #e5dfee;padding:17px;}
body.cc-v621413 .page-hero {padding-bottom:8px;}

@media (min-width: 761px) {
  body.cc-v621413.teacher-v47 .booking-card-v2 > div:first-child {
    flex-direction: column!important; align-items: stretch!important; gap:4px!important;
  }
  body.cc-v621413.teacher-v47 .booking-card-v2 > div:first-child > div:first-child {width:100%;}
}
@media (max-width: 760px) {
  body.cc-v621413 :is(.student-v52-view-nav,.teacher-booking-tabs-v48) {overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin;}
  body.cc-v621413 :is(.student-v52-view-nav,.teacher-booking-tabs-v48) button {flex:1 0 auto;white-space:nowrap;font-size:.81rem;padding-inline:12px;}
  body.cc-v621413 .booking-card-v2 > div:first-child {flex-direction:column!important;gap:8px!important;}
  body.cc-v621413 .booking-card-v2 .cc-student-course-body-v621413 {flex-direction:row!important;}
  body.cc-v621413 .booking-card-v2 .cc-student-course-body-v621413 img {width:46px!important;height:46px!important;}
  body.cc-v621413 .booking-card-v2 .cc-course-actions-main-v621413 > .btn {flex:1 1 auto;}
  body.cc-v621413 .booking-card-v2 .cc-course-actions-extra-v621413 > .btn {flex:1 1 auto;}
  body.cc-v621413 .booking-card-v2 .cc-course-actions-main-v621413 {width:100%;}
  body.cc-v621413 .student-v52-heading {gap:12px;}
  body.cc-v621413 .cc-earning-lead-v621413 > b,body.cc-v621413 .cc-student-price-lead-v621413 > b {font-size:1.4rem;}
  body.cc-v621413 .page-shell.narrow {padding-inline:12px;}
  body.cc-v621413 .page-shell.narrow .product-card {padding:16px;}
  body.cc-v621413 .page-shell.narrow .actions {display:grid;gap:9px;}
  body.cc-v621413 .page-shell.narrow .actions > :is(.btn,a) {width:100%;box-sizing:border-box;text-align:center;justify-content:center;}
  body.cc-v621413.cc-admin-body .cc-admin-tabs {position:sticky;top:0;z-index:10;}
}
@media (max-width:390px) {
  .cc-earning-lead-v621413, .cc-student-price-lead-v621413 {padding:11px;gap:9px;}
  .cc-earning-lead-v621413 > b, .cc-student-price-lead-v621413 > b {font-size:1.2rem!important;}
  .cc-course-when-v621413 {display:grid;gap:2px;}
}
@media (prefers-reduced-motion: reduce) {
  body.cc-v621413 *,body.cc-v621413 *::before,body.cc-v621413 *::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}
}

/* Récapitulatif de Checkout : 3 lignes utiles, prix reconnaissable d’un coup d’œil. */
.cc-booking-recap-v621413 { display:grid;gap:0; }
.cc-booking-recap-v621413 > div {display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:11px 0;border-bottom:1px solid #f1eef5;}
.cc-booking-recap-v621413 > div:last-child {border-bottom:0;}
.cc-booking-recap-v621413 span {color:#655b73;font-size:.86rem;line-height:1.45;}
.cc-booking-recap-v621413 strong {font-size:.95rem;font-variant-numeric:tabular-nums;text-align:right;}
.cc-booking-recap-v621413 .cc-booking-recap-price-v621413 {margin-top:5px;padding:14px;border-radius:12px;background:#f7f4fb;}
.cc-booking-recap-v621413 .cc-booking-recap-price-v621413 span {display:grid;gap:2px;font-weight:700;color:#49375c;}
.cc-booking-recap-v621413 .cc-booking-recap-price-v621413 small {color:#776d81;font-weight:500;font-size:.75rem;}
.cc-booking-recap-v621413 .cc-booking-recap-price-v621413 strong {font-size:1.37rem;color:#302044;white-space:nowrap;}
@media (max-width:400px) { .cc-booking-recap-v621413>div {align-items:flex-start;} .cc-booking-recap-v621413 strong {max-width:54%;} }

/* V62.14.14 — aide discrète sur la retenue unique Starter, sans montant trompeur. */
.cc-commission-rate-v621414 {font-size:.74rem;font-weight:500;color:#7a7185;white-space:nowrap;}
.cc-money-lines-v621413 > .cc-starter-monthly-line-v621414 {align-items:center;flex-wrap:wrap;gap:8px 14px;background:#faf9fd;border-radius:9px;padding:11px 10px;margin:4px -6px;}
.cc-starter-monthly-line-v621414 > span {display:inline-flex;flex-wrap:wrap;align-items:center;gap:7px;font-weight:650;color:#4c3b66;}
.cc-starter-monthly-line-v621414 > strong {margin-left:auto;text-align:right;font-size:.86rem;white-space:normal;}
.cc-starter-monthly-line-v621414 strong small {display:block;color:#84788d;font-size:.7rem;font-weight:500;line-height:1.5;}
.cc-starter-info-v621414 {position:relative;display:inline-flex;align-items:center;flex-wrap:wrap;max-width:100%;}
.cc-starter-info-v621414 > summary {display:grid;place-items:center;width:22px;height:22px;cursor:pointer;border:1px solid #b6a5ce;border-radius:50%;color:#5d3d86;background:white;font:bold 13px/1 sans-serif;list-style:none;}
.cc-starter-info-v621414 > summary::-webkit-details-marker {display:none;}
.cc-starter-info-v621414 > summary:focus-visible {outline:3px solid #7c62a6;outline-offset:2px;}
.cc-starter-info-v621414[open] {display:flex;flex-direction:column;flex:1 1 100%;align-items:flex-start;}
.cc-starter-info-v621414[open] > summary {display:inline-grid;}
.cc-starter-info-v621414 > p {flex:1 0 100%;width:100%;font-size:.79rem!important;line-height:1.6;color:#594a6b;background:#fff;border:1px solid #e7dff0;border-radius:10px;padding:11px 12px;margin:6px 0!important;}
@media (max-width:480px) {.cc-starter-monthly-line-v621414 > strong {width:100%;margin-left:0;text-align:left;}}

.cc-money-lines-v621413 > .cc-starter-commission-v621414 {align-items:center;}
.cc-starter-commission-v621414 > span {display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;min-width:0;}
.cc-starter-commission-v621414 .cc-starter-info-v621414[open] {display:flex;flex-wrap:wrap;flex-basis:100%;}
.cc-starter-commission-v621414 .cc-starter-info-v621414[open] > p {width:100%;margin:4px 0!important;}
