/* PRIME 2 — acabamento final de legibilidade do Quadro de Horários */

/* Barra superior do quadro */
.p2-schedule-page .p2-board-toolbar{padding:16px 18px!important;margin-bottom:22px!important}
.p2-schedule-page .p2-board-toolbar>label{font-size:12px!important;font-weight:900!important;color:#2f4b5d!important}
.p2-schedule-page .p2-board-toolbar select{height:42px!important;font-size:13px!important;font-weight:850!important;color:#102f43!important}
.p2-schedule-page .p2-badge{font-size:11.5px!important;font-weight:900!important;color:#334f61!important}
.p2-schedule-page .p2-badge-money{font-size:11.5px!important;font-weight:900!important}
.p2-schedule-page .p2-badge-money b{font-size:12.5px!important;font-weight:950!important;color:#006f3b!important}

/* Salas mais compactas e com hierarquia mais forte */
.p2-schedule-stack{gap:18px!important}
.p2-schedule-room>header{min-height:52px!important;padding:0 16px!important}
.p2-schedule-room>header strong{font-size:15px!important;font-weight:950!important;letter-spacing:.01em!important}

/* Cabeçalhos e turnos */
.p2-schedule-grid thead th{height:42px!important;font-size:11.5px!important;font-weight:950!important;letter-spacing:.015em!important}
.p2-schedule-grid thead th:first-child{width:92px!important}
.p2-schedule-grid tbody>tr>th{width:92px!important}
.p2-schedule-grid tbody>tr>th b{font-size:12.5px!important;font-weight:950!important;letter-spacing:.01em!important}
.p2-schedule-grid tbody>tr>th small{font-size:9.2px!important;font-weight:800!important;margin-top:5px!important}

/* Células: menos espaço morto e texto realmente legível */
.p2-schedule-grid tbody td{height:78px!important;border-color:#ddd1d8!important}
.p2-schedule-grid tbody td.is-occupied{background:#e9f7f0!important}
.p2-schedule-grid .p2-board-cell{min-height:78px!important;padding:10px 10px 9px!important;gap:5px!important}
.p2-schedule-grid .p2-allocation>b{font-size:11.8px!important;font-weight:950!important;line-height:1.25!important;color:#082b40!important;letter-spacing:0!important}
.p2-schedule-grid .p2-allocation>small:not(.p2-allocation-rent){font-size:9.8px!important;font-weight:700!important;color:#536c7a!important}
.p2-schedule-grid .p2-cell-add{font-size:18px!important;font-weight:800!important;color:#708b9d!important}

/* Aluguel: vira a segunda informação principal da célula */
.p2-schedule-grid .p2-allocation-rent{margin-top:8px!important;padding-top:7px!important;gap:5px!important;border-top:1px solid #c7e2d4!important;line-height:1.2!important}
.p2-schedule-grid .p2-allocation-rent span{font-size:9.7px!important;font-weight:900!important;color:#355d4d!important;text-transform:uppercase!important;letter-spacing:.02em!important}
.p2-schedule-grid .p2-allocation-rent strong{font-size:11.6px!important;font-weight:950!important;color:#006c39!important;letter-spacing:-.01em!important}
.p2-schedule-grid .p2-allocation-rent em{font-size:9.2px!important;font-weight:800!important;color:#644f59!important}

/* Hover mais claro para mostrar que a célula é editável */
.p2-schedule-grid tbody td.is-editable:hover{background:#dff1e8!important;box-shadow:inset 0 0 0 2px rgba(123,23,67,.18)!important}

/* Modal: tipografia e distribuição mais firmes */
#p2-cell-dialog{width:min(860px,calc(100vw - 34px))!important;max-width:860px!important}
#p2-cell-dialog .p2-cell-dialog-head{padding:20px 22px!important}
#p2-cell-dialog .p2-cell-dialog-head h2{font-size:21px!important;font-weight:950!important;color:#0e3046!important}
#p2-cell-dialog .p2-kicker{font-size:10.5px!important;font-weight:950!important}
#p2-cell-dialog .p2-cell-dialog-body>.p2-muted{font-size:14px!important;font-weight:600!important;color:#536d7d!important}
#p2-cell-dialog .p2-cell-entry label,#p2-cell-dialog .p2-cell-note{font-size:10.5px!important;font-weight:950!important;color:#684f5b!important}
#p2-cell-dialog .p2-cell-entry input,#p2-cell-dialog .p2-cell-entry select,#p2-cell-dialog .p2-cell-note input{height:46px!important;font-size:13px!important;font-weight:750!important;border-color:#cfbdc7!important}
#p2-cell-dialog #p2-cell-add{height:46px!important;font-size:13.5px!important;font-weight:950!important}
#p2-cell-dialog .p2-cell-prof-row{min-height:64px!important;padding:12px 14px!important;background:#e9f7f0!important}
#p2-cell-dialog .p2-cell-prof-row b{font-size:15px!important;font-weight:950!important;color:#0c3045!important}
#p2-cell-dialog .p2-cell-prof-row small{font-size:12px!important;font-weight:700!important;color:#426c5b!important}
#p2-cell-dialog .p2-cell-choice{min-height:68px!important;padding:13px 15px!important}
#p2-cell-dialog .p2-cell-choice span b{font-size:14.5px!important;font-weight:950!important}
#p2-cell-dialog .p2-cell-choice span small{font-size:11px!important;font-weight:620!important;color:#627987!important}
#p2-cell-dialog .p2-cell-dialog-actions .p2-btn{font-size:13px!important;font-weight:950!important}

@media(max-width:760px){
  .p2-schedule-grid .p2-allocation>b{font-size:11px!important}
  .p2-schedule-grid .p2-allocation-rent strong{font-size:11px!important}
}
