/* Deux présentations du même planning. Styles limités à la page Planning. */
.planning-body [hidden]{display:none!important}
.planning-body .planning-view-switch{display:flex;gap:5px;width:fit-content;padding:5px;margin:14px 0 20px;background:#f0e8ed;border-radius:14px}
.planning-body .planning-view-switch a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:110px;padding:10px 16px;border-radius:10px;color:#665563;text-decoration:none;font:bold 14px Arial,Helvetica,sans-serif}
.planning-body .planning-view-switch a[aria-current]{background:#e6007e;color:#fff;box-shadow:0 4px 12px #e6007e18}
.planning-body .planning-view-switch svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.planning-body .planning-view-switch a:focus-visible,.planning-body .week-scroll:focus-visible,.planning-body .week-free a:focus-visible{outline:3px solid #17171d;outline-offset:3px}
.planning-body .week-view{padding:24px;background:#fff7fb;border:1px solid #f1e6ed;border-radius:26px;min-width:0;max-width:100%}
.planning-body .week-heading{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:14px}
.planning-body .week-heading h2{margin:0;color:#17171d;font-size:24px;line-height:1.2}
.planning-body .week-scroll-hint{display:none;font:12px/1.5 Arial,Helvetica,sans-serif;color:#756572;margin:0}
.planning-body .week-legend{display:flex;flex-wrap:wrap;gap:10px 20px;font:12px/1.5 Arial,Helvetica,sans-serif;color:#665563}
.planning-body .week-legend>span{display:flex;align-items:center;gap:7px}
.planning-body .week-legend i{display:block;width:12px;height:12px;border-radius:4px;border:1px solid #0000000d}
.planning-body .legend-free{background:#d8f3e3}.planning-body .legend-reserved{background:#e6007e}.planning-body .legend-past{background:#e7e4e8}
.planning-body .week-help{font:12px/1.5 Arial,Helvetica,sans-serif;color:#756572;margin:10px 0 16px}
.planning-body .week-scroll{overflow:auto;max-height:680px;border:1px solid #e9dce5;border-radius:16px;background:white;width:100%;isolation:isolate;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.planning-body .week-table{width:100%;min-width:670px;table-layout:fixed;border-collapse:separate;border-spacing:0;margin:0;font-family:Arial,Helvetica,sans-serif;text-align:center}
.planning-body .week-table th,.planning-body .week-table td{padding:0;border:0;border-right:1px solid #e9e1e7;border-bottom:1px solid #e9e1e7;white-space:normal}
.planning-body .week-table tr>:last-child{border-right:0}
.planning-body .week-table thead th{position:sticky;top:0;z-index:3;background:#fff0f7;padding:12px 6px;color:#a9005b;font-size:12px;font-weight:bold;height:58px}
.planning-body .week-table thead th>span{display:block;margin-top:4px;font-size:12px;color:#756572}
.planning-body .week-table thead .week-today{background:#eff000;color:#17171d}
.planning-body .week-table .week-time{position:sticky;left:0;z-index:2;width:68px;background:white;font-size:11px;color:#665563;font-weight:bold;padding:0 5px}
.planning-body .week-table thead .week-time{z-index:4;background:#fff0f7}
.planning-body .week-table tbody tr{height:48px}
.planning-body .week-cell{font-size:12px;line-height:1.2;vertical-align:middle;color:#756572}
.planning-body .week-free{background:#e7f7ed;color:#16613a}
.planning-body .week-free a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:48px;width:100%;height:100%;padding:5px;color:#16613a;text-decoration:none}
.planning-body .week-free a:hover{background:#d4efdf}
.planning-body .week-cell strong{display:block;font-size:12px;font-weight:bold}
.planning-body .week-cell small{display:block;margin-top:3px;font-size:10px}
.planning-body .week-reserved{background:#e6007e;color:white;border-bottom:3px solid white!important}
.planning-body .week-block{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:10px 5px}
.planning-body .week-block>span{font-size:10px}
.planning-body .week-block small{margin:0;color:#fff;font-size:10px}
.planning-body .week-reserved-past{background:#b67d9c}
.planning-body .week-past{background:#f0edf0;color:#80717c;font-size:11px}
.planning-body .week-short{background:#f0f8f2;color:#597561}
.planning-body .week-short strong{font-size:11px}
.planning-body .week-table tfoot th,.planning-body .week-table tfoot td{height:34px;background:white;color:#80717c;font-size:10px;border-bottom:0}
.planning-body .week-table tfoot .week-time{background:white}
.planning-body .planning-mobile-slot.short{background:#f2f4e5!important;color:#697043!important}
.planning-body .planning-load-error{padding:18px;border-left:4px solid #e6007e;background:white;border-radius:12px;color:#a9005b}
.planning-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.planning-body .week-view{padding:18px}.planning-body .week-heading{display:block}.planning-body .week-scroll-hint{display:block;margin-top:7px}.planning-body .week-heading h2{font-size:22px}}
@media(max-width:700px){.planning-body .planning-view-switch{width:100%;margin:14px 0 16px}.planning-body .planning-view-switch a{flex:1;min-width:0}.planning-body .week-view{padding:14px 12px;border-radius:22px}.planning-body .week-scroll{max-height:520px;border-radius:12px}.planning-body .week-heading h2{font-size:20px}.planning-body .week-table{min-width:650px}.planning-body .week-table .week-time{width:62px}.planning-body .week-help{font-size:12px}.planning-body .week-legend{gap:12px}.planning-body .week-table tbody tr{height:48px}}

/* Grille IDPADEL : cartes légères, sans quadrillage apparent. */
.planning-body .week-view{background:#fff;padding:24px;border:0;border-radius:24px}
.planning-body .week-heading h2{font-size:27px;letter-spacing:-.5px}
.planning-body .week-legend{gap:12px 22px;margin-top:4px}
.planning-body .week-legend i{border:0;border-radius:50%;width:9px;height:9px}
.planning-body .week-help{margin:12px 0 18px;font-size:12px;color:#706370}
.planning-body .week-scroll{border:0;border-radius:16px;padding:0 3px 3px;background:#fff}
.planning-body .week-table{background:#fff}
.planning-body .week-table th,.planning-body .week-table td{border:0;padding:4px}
.planning-body .week-table thead th{background:#fff7fb;color:#a9005b;border:4px solid white;border-radius:16px;height:70px;font-size:13px;padding:12px 6px}
.planning-body .week-table thead th>span{font-size:14px;color:#665563;margin-top:5px}
.planning-body .week-table thead .week-today{background:#eff000;color:#17171d}
.planning-body .week-table thead .week-time{background:#fff;border:0;color:#80717c}
.planning-body .week-table .week-time{background:white;font-size:12px;color:#756572;padding:0 6px}
.planning-body .week-table tbody tr{height:52px}
.planning-body .week-free,.planning-body .week-past,.planning-body .week-short,.planning-body .week-reserved,.planning-body .week-reserved-past{background:transparent}
.planning-body .week-free a{min-height:44px;border-radius:11px;background:#e7f7ed;color:#16613a;gap:2px;padding:6px}
.planning-body .week-free a:hover{background:#cdeedb}
.planning-body .week-cell strong{font-size:13px}
.planning-body .week-cell small{font-size:10px;margin-top:1px}
.planning-body .week-past>span{display:flex;align-items:center;justify-content:center;min-height:44px;background:#f3f0f3;border-radius:11px;color:#887986;font-size:11px;padding:6px;line-height:1.3}
.planning-body .week-short{vertical-align:middle}
.planning-body .week-short>strong{padding-top:5px;background:#f0f8f2;border-radius:11px 11px 0 0;font-size:12px;color:#667b6e}
.planning-body .week-short>small{background:#f0f8f2;border-radius:0 0 11px 11px;padding:3px 0 6px;margin:0;color:#667b6e}
.planning-body .week-reserved{border:0!important}
.planning-body .week-block{min-height:calc(var(--slot-rows,2)*52px - 8px);background:#e6007e;color:white;border-radius:14px;padding:12px 6px;gap:7px}
.planning-body .week-block strong{font-size:14px}
.planning-body .week-block>span{font-size:11px}
.planning-body .week-block small{font-size:11px;color:#fff}
.planning-body .week-reserved-past .week-block{background:#b67d9c}
.planning-body .week-table tfoot td{color:#887986;padding:12px 4px}
@media(max-width:900px){.planning-body .week-view{padding:18px}.planning-body .week-heading h2{font-size:24px}}
@media(max-width:700px){.planning-body .week-view{padding:16px 10px;border-radius:22px}.planning-body .week-heading h2{font-size:23px}.planning-body .week-legend{gap:9px 14px;font-size:11px}.planning-body .week-scroll{padding:0}.planning-body .week-table{min-width:680px}.planning-body .week-table .week-time{width:64px;font-size:11px}.planning-body .week-table thead th{font-size:12px}.planning-body .week-past>span{font-size:11px}}
