/* FarmaTurnos: editor mensual de horarios individuales */
.staff-month-panel{margin:18px 0 26px;padding:clamp(16px,2vw,26px)}
.staff-month-panel .section-head{margin-bottom:18px}
.staff-month-panel .section-head h2{margin:0 0 6px}
.staff-month-panel .section-head p{max-width:920px;color:#556a77;line-height:1.55;margin:0}
.staff-month-toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:18px 0}
.staff-month-toolbar .field{min-width:140px;max-width:200px}
.staff-month-stats{display:flex;flex-direction:column;gap:2px;padding:7px 12px;border-left:1px solid #dce5e8}
.staff-month-stats strong{font-size:21px;color:#194c5d;font-variant-numeric:tabular-nums}
.staff-month-stats span{font-size:12px;color:#566d7b}
.staff-month-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.staff-month-person{display:flex;flex-direction:column;gap:10px;border:1px solid #dae5e8;border-radius:13px;padding:14px;background:#fbfdfd;min-width:0}
.staff-month-person-head{display:flex;flex-direction:column;gap:3px}
.staff-month-person-head b{font-size:15px;color:#183e4b}
.staff-month-person-head small{font-size:12px;color:#536b78}
.staff-month-person-values{display:flex;flex-direction:column;gap:3px;flex:1}
.staff-month-person-values span{font-size:13px;font-weight:650;color:#246a6a}
.staff-month-person-values small{font-size:12px;color:#5e7180}
.staff-month-person .button{align-self:start}
.staff-month-actions{margin-top:18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #dae5e8;padding-top:16px}
.staff-month-actions>span{max-width:590px;font-size:12px;line-height:1.5;color:#5c7180}
.staff-month-help{font-size:13px;color:#526b7b;line-height:1.55;margin:0 0 14px}
.staff-month-rows{display:flex;flex-direction:column;gap:12px;margin:14px 0;max-height:52vh;overflow:auto;padding:0 4px 6px 0}
.staff-month-week{border:1px solid #dce6eb;border-radius:12px;overflow:hidden}
.staff-month-week h3{font-size:13px;background:#edf4f5;color:#245262;padding:12px 13px;margin:0}
.staff-month-day{display:grid;grid-template-columns:minmax(100px,1fr) 1.75fr minmax(85px,auto) 1.75fr;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #e9eef0}
.staff-month-day:last-child{border-bottom:0}
.staff-month-day:nth-of-type(odd){background:#f9fbfc}
.staff-month-day-check,.staff-month-second{display:flex;align-items:center;gap:6px;font-size:12px}
.staff-month-day-check span{font-weight:650}
.staff-month-second span{white-space:nowrap}
.staff-month-time-pair{display:flex;align-items:center;gap:5px;min-width:0}
.staff-month-time-pair input{min-width:0;width:50%;font-size:12px;padding:7px 5px}
.staff-month-time-pair span{font-size:12px;color:#68808b}
.staff-month-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.staff-month-preview>div{padding:11px;border:1px solid #dfe8ec;border-radius:10px;display:flex;flex-direction:column}
.staff-month-preview b{font-size:23px;font-variant-numeric:tabular-nums;color:#1e5762}
.staff-month-preview small{font-size:12px;color:#607783}
.staff-month-panel button:focus-visible,.staff-month-rows input:focus-visible{outline:3px solid #e9ad5988;outline-offset:2px}
@media(max-width:760px){.staff-month-toolbar{gap:10px}.staff-month-stats{flex:1}.staff-month-actions>.button{flex:1}.staff-month-day{grid-template-columns:minmax(75px,1fr) 2fr;gap:8px}.staff-month-second{grid-column:1}.staff-month-time-pair{grid-column:2}.staff-month-preview{grid-template-columns:repeat(3,1fr)}}
@media(max-width:420px){.staff-month-people{grid-template-columns:1fr}.staff-month-rows{max-height:55vh}.staff-month-day{padding:9px 8px}.staff-month-time-pair input{font-size:12px}.staff-month-toolbar .field{flex:1;min-width:115px}.staff-month-preview b{font-size:19px}}
