
/* PhysioAgent 0.5 — gestione disponibilità, calendario e cicli */
.time-range-help{font-size:12px;color:#55737d}
.tool-line{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.tool-line .actions{margin-top:0}
.av-controls{border:1px solid #dce9ec;border-radius:12px;padding:12px;margin:14px 0}
.av-controls .form-row{align-items:end}
.av-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start}
.av-row input[type=checkbox]{width:19px;height:19px;margin-top:5px;cursor:pointer}
.av-row .actions{margin:0;justify-content:flex-end}
.av-row .actions button{font-size:13px;padding:7px 10px}
.av-row strong{font-size:14px}
.av-list-summary{margin:10px 0}
#avPager{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:12px}
#avPager button{padding:8px 14px}
.time-box{border:1px solid #dce6e9;border-radius:10px;padding:12px;background:#f8fbfc}
.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.weekdays label{margin:0}
.weekdays label span{font-size:13px}
.weekday-choice{display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 4px;border:1px solid #d0e0e4;border-radius:9px;cursor:pointer}
.weekday-choice input{width:18px;height:18px;margin:0}
#cycleDraft .item{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#cycleDraft .item .actions{margin:0}
.calendar{max-width:580px;margin:14px 0;border:1px solid #d4e4e9;border-radius:12px;padding:12px}
.calendar-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.calendar-header button{padding:7px 10px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.calendar-weekday{text-align:center;color:#617784;font-size:12px;font-weight:650;padding:7px 0}
.calendar-day{padding:10px 0;min-height:42px;text-align:center;border-radius:8px;background:#e5f6ee;color:#0b694b;border:1px solid #a4d9be;font-size:14px}
.calendar-day:disabled{background:#f2f5f6;color:#a7b6be;border:1px solid #e3eaed;opacity:1;cursor:not-allowed}
.calendar-day.selected{background:#116a80;color:white;border-color:#116a80;font-weight:750}
.calendar-empty{min-height:42px}
.calendar-legend{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;color:#55737d;margin-top:10px}
.calendar-legend .available-dot{display:inline-block;width:11px;height:11px;background:#bce4cc;border:1px solid #68aa88;border-radius:3px}
.calendar-legend .unavailable-dot{display:inline-block;width:11px;height:11px;background:#eef0f2;border:1px solid #d7e1e5;border-radius:3px}
#ptSlot{min-height:46px}
.wa-note{font-size:12px;color:#6a7880;padding:7px 0}
.wa-cta{background:#18784b}
#ptWhatsApp{margin-top:12px}
.form-inline-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0}
#ptSelectedDate{font-size:13px;color:#2c586a;font-weight:700;margin:8px 0}
@media(max-width:600px){
  .av-row{grid-template-columns:26px minmax(0,1fr);gap:6px}
  .av-row .actions{grid-column:2;justify-content:flex-start}
  .av-controls .form-row{grid-template-columns:1fr}
  .calendar-grid{gap:3px}
  .calendar-day{min-height:39px;padding:9px 0}
  .weekdays{gap:3px}
  .weekday-choice span{font-size:11px!important}
}