/* Kalendarz trenerów w adminie (features/ptcal.js) — korzysta z siatki kalendarza Coach Hub (coachhub.css, klasy cc-*) */
.ac-coaches{display:flex; gap:6px; overflow-x:auto; padding:2px 0 10px; margin:0 -2px; scrollbar-width:none;}
.ac-coaches::-webkit-scrollbar{display:none;}
.ac-coaches button{flex:none; display:inline-flex; align-items:center; gap:6px; border:1px solid var(--stroke-2); background:var(--surface-2); color:var(--ink-100);
  border-radius:999px; padding:6px 12px; font:700 12px Inter,sans-serif; cursor:pointer;}
.ac-coaches button i{width:9px; height:9px; border-radius:50%; background:var(--c);}
.ac-coaches button.on{background:var(--grad); border-color:transparent; color:#fff;}
.ac-cell .cc-chip{font-size:8.5px;}
.cc-chip.ac-req,.cc-blk.ac-req{background:rgba(255,181,71,.10);}
.cc-blk.ac-free{background:color-mix(in srgb, var(--c) 14%, transparent); border:1px dashed color-mix(in srgb, var(--c) 55%, transparent);}
.cc-legend .ac-lgrp{background:rgba(124,156,255,.35);}
.cc-legend .ac-lreq{border:1px dashed #ffb547;}

/* Dzień: trener po trenerze */
.ac-coach{border-left:3px solid var(--c); padding:2px 0 4px 10px; margin-bottom:14px;}
.ac-chead{display:flex; align-items:center; gap:8px; margin-bottom:8px;}
.ac-chead i{width:10px; height:10px; border-radius:50%; background:var(--c); flex:none;}
.ac-chead b{font:600 14px 'Poppins',sans-serif; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.ac-chead small{font-size:11.5px; color:var(--ink-400); white-space:nowrap;}
.ac-add{margin-left:auto; flex:none; border:1px solid var(--stroke-2); background:var(--surface-2); color:var(--ink-100); border-radius:999px;
  font:700 11px Inter,sans-serif; padding:6px 11px; cursor:pointer;}
.ac-tile{width:100%; text-align:left; font:inherit; color:inherit;}
button.ac-tile{cursor:pointer;}
.ac-reqtile{border-style:dashed; border-color:rgba(255,181,71,.55);}
.ac-reqtile.declined{border-color:rgba(255,93,93,.5); opacity:.8;}
.ac-coach .cc-plus{border-color:color-mix(in srgb, var(--c) 60%, transparent); background:color-mix(in srgb, var(--c) 9%, transparent);}
.ac-coach .cc-plus span{background:var(--c);}
.ac-none{font-size:12px; color:var(--ink-600); margin:0 0 4px;}
.ac-reqrow{width:100%; text-align:left; font:inherit; color:inherit; cursor:pointer; background:none; border:none; border-bottom:1px solid var(--stroke);}

/* Formularz wpisu i prośba */
.ac-picked{display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:12px; background:var(--surface-2); margin-bottom:6px;}
.ac-picked[hidden]{display:none;}
.ac-picked b{flex:1; color:var(--ink-100);}
.ac-picked button{border:none; background:none; color:var(--violet-300); font:700 12px Inter,sans-serif; cursor:pointer;}
.ac-check{display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border-radius:12px; border:1px solid var(--stroke-2); margin:2px 0 12px; cursor:pointer;}
.ac-check input{width:20px; height:20px; margin:1px 0 0; flex:none;}
.ac-check span{display:flex; flex-direction:column;}
.ac-check b{font-size:13.5px; color:var(--ink-100);}
.ac-check small{font-size:11.5px; color:var(--ink-400);}
.ac-state{font-size:12.5px; line-height:1.4; border-radius:12px; padding:0; margin-bottom:12px;}
.ac-state:empty{display:none;}
.ac-state.free{padding:10px 12px; background:rgba(55,211,153,.10); color:#b8f0d9;}
.ac-state.unavailable{padding:10px 12px; background:rgba(255,181,71,.12); color:#ffd89c;}
.ac-state.busy{padding:10px 12px; background:rgba(255,93,93,.12); color:#ffb3b3;}
.ac-reqinfo{display:flex; flex-direction:column; gap:4px; background:var(--navy-900); border:1px solid var(--stroke); border-radius:var(--radius-md); padding:12px 14px; margin:8px 0 12px;}
.ac-reqinfo b{font:600 16px 'Poppins',sans-serif; color:#fff;}
.ac-reqinfo span{font-size:12.5px; color:var(--ink-300);}
.ac-reqinfo .capsbadge{align-self:flex-start; margin-top:4px;}
.ac-answer{display:flex; gap:8px; margin-top:6px;}
.ac-answer .btn{flex:1; min-height:50px;}
.ch-todo.ch-req{border-color:rgba(124,156,255,.55); background:linear-gradient(90deg, rgba(124,156,255,.14), transparent 70%), var(--navy-900);}
.ch-todo.ch-req .ch-ti{color:#9fb4ff; background:rgba(124,156,255,.14);}
.ch-todo.ch-req .ch-go{color:#9fb4ff;}
/* Koniec sesji PT: duży guzik „Trening cykliczny” */
.ptl-cycle{display:flex; flex-direction:column; align-items:center; gap:2px; min-height:56px;}
.ptl-cycle small{font-size:11.5px; font-weight:600; letter-spacing:0; text-transform:none; opacity:.9;}
.ac-idle{margin-top:4px;}
.ac-idle small{display:block; font-size:11.5px; color:var(--ink-600); margin:0 2px 8px;}
.ac-idlerow{display:flex; flex-wrap:wrap; gap:6px;}
.ac-idlerow button{display:inline-flex; align-items:center; gap:6px; border:1px dashed var(--stroke-2); background:none; color:var(--ink-300);
  border-radius:999px; padding:6px 11px; font:600 12px Inter,sans-serif; cursor:pointer;}
.ac-idlerow i{width:8px; height:8px; border-radius:50%; background:var(--c);}
/* Urlopy klientów w dniu (features/plansleave.js) */
/* Widok dnia (telefon): sam pasek tygodnia, bez kolumny godzin; kropka = dzień z treningami */
.ac-daystrip{grid-template-columns:repeat(7,minmax(0,1fr)); margin-bottom:10px;}
.ac-daystrip > span{display:none;}
.ac-daystrip button{padding:6px 0 8px;}
.ac-daystrip button i{width:5px; height:5px; border-radius:50%; background:var(--violet-300, #a68bff); margin-top:2px;}
/* Tydzień w adminie: szerokie kolumny dni, przewijanie w poziomie, nazwiska klientów i zajęcia w kafelkach */
.ac-wscroll{overflow-x:auto; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; padding-bottom:6px;}
.ac-wgrid{width:max-content; min-width:100%;}
.ac-whead > span,.ac-hours{position:sticky; left:0; z-index:3; background:var(--navy-900);}
.ac-hours span{font-size:10px;}
.ac-whead button{min-width:0;}
.cc-blk.ac-blk{display:flex; flex-direction:column; padding:2px 5px; z-index:1; box-shadow:0 1px 3px rgba(0,0,0,.25);}
.cc-blk.ac-blk b{padding:0; font:700 11px/13px Inter,sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.cc-blk.ac-blk small{font-size:9.5px; line-height:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:.85;}
.cc-blk.ac-pt b,.cc-blk.ac-pt small{color:#16173c;}
.cc-blk.ac-group b,.cc-blk.ac-group small{color:#fff;}
.cc-blk.ac-req b,.cc-blk.ac-req small{color:#ffd89c;}
