/* Planejamento: cards compactos e títulos em até duas linhas, sem truncamento precoce. */
#page-planejamento .fresh-plan-card{min-height:92px;gap:5px;padding:9px 9px 8px;position:relative;align-items:stretch;contain:layout paint;}
#page-planejamento .fresh-plan-copy{min-width:0;flex:1;}
#page-planejamento .fresh-plan-copy strong.td-wrap-title{font-size:12px;line-height:1.24;font-weight:700;color:#fafaff;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip;max-height:2.55em;}
#page-planejamento .fresh-plan-copy small{font-size:10px;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}
#page-planejamento .fresh-plan-card-head{align-items:flex-start;gap:7px;min-width:0;}
#page-planejamento .fresh-plan-card-head>.fresh-avatar-wrapper,#page-planejamento .fresh-plan-card-head>.fresh-avatar{margin-top:1px;}
#page-planejamento .fresh-plan-card-foot{margin-top:auto;min-height:18px;}
#page-planejamento .fresh-plan-status{margin-left:auto;}
#page-planejamento .fresh-plan-day{min-height:425px;}
#page-planejamento .fresh-plan-day.is-today{min-height:425px;}
#page-planejamento .fresh-plan-card[draggable="true"]{cursor:grab;}
#page-planejamento .fresh-plan-card.td-dragged{opacity:.47;cursor:grabbing;}
#page-planejamento .fresh-plan-day.td-drop-day{outline:2px solid #67edff;outline-offset:-3px;box-shadow:0 0 18px rgba(61,224,255,.38),inset 0 0 24px rgba(52,157,221,.22);}
/* Botão de criação de ocorrência, sem iconografia de atualização. */
#manageScheduleExceptions.td-add-card{display:inline-flex;align-items:center;gap:9px;justify-content:center;white-space:nowrap;}
#manageScheduleExceptions .td-add-plus{font-size:23px;font-weight:800;line-height:16px;color:#e6faff;display:inline-block;transform:translateY(-1px);}
/* Calendários nativos claros para melhorar contraste em macOS/Chromium. */
#modalContent input[type="date"],#modalContent input[type="time"],#page-planejamento input[type="date"],#page-planejamento input[type="time"]{color-scheme:light!important;background:#eaf0ff!important;color:#101a38!important;border:1px solid #809be5!important;box-shadow:inset 0 1px 2px rgba(13,34,84,.08);font-weight:650;}
#modalContent input[type="date"]::-webkit-calendar-picker-indicator,#modalContent input[type="time"]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;}
#modalContent input[type="date"]:focus-visible,#modalContent input[type="time"]:focus-visible{outline:2px solid #66dcf8;outline-offset:2px;}
/* Contenção do brilho: impedir que um repaint de hover da sidebar vaze pelo separador dos KPIs. */
#page-planejamento .planning-stats{position:relative;overflow:hidden!important;isolation:isolate;transform:none!important;filter:none!important;backface-visibility:visible;}
#page-planejamento .planning-stats::before,#page-planejamento .planning-stats::after{display:none!important;content:none!important;}
#page-planejamento .planning-stat{overflow:hidden;contain:paint;transform:none!important;filter:none!important;}
#page-planejamento .planning-stat:not(:last-child){border-right:1px solid rgba(139,164,247,.35);}
#page-planejamento .planning-stat::before,#page-planejamento .planning-stat::after{display:none!important;content:none!important;}
#page-planejamento .stat-icon{flex-shrink:0;overflow:hidden;isolation:isolate;}
#sidebar .nav-item:hover,#sidebar .nav-item:focus-visible{transform:none!important;filter:none!important;will-change:auto!important;}
.td-drop-confirm .td-drop-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px;}
@media (max-width:900px){#page-planejamento .fresh-plan-day{min-height:200px}#page-planejamento .fresh-plan-day.is-today{min-height:200px}}
