/* Calendario pessoal: escopo exclusivo da pagina */
#calendarView .scan-module-card{background:transparent;box-shadow:none;border:0;padding:0}
#calendarView .scan-module-head{margin:0 0 24px}
#calendarView .tools-scroll{overflow:auto;padding:0 4px 24px}
#calendarView .calendar-shell{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);gap:16px;align-items:start;max-width:1240px}
#calendarView .calendar-panel{background:#20252e;border:1px solid #ffffff13;border-radius:24px;padding:22px;box-shadow:0 12px 28px #0000001a;min-width:0}
#calendarView .calendar-top{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:22px;flex-wrap:wrap}
#calendarView .calendar-month-controls{display:flex;align-items:center;gap:8px;min-width:0}
#calendarView .calendar-month-controls button{width:36px;height:36px;display:grid;place-items:center;padding:0;font-size:22px;background:#ffffff0b;border-radius:11px}
#calendarView #shiftMonth{width:185px;max-width:100%;height:38px;background:#171c25;border:1px solid #ffffff16;border-radius:12px;padding:6px 10px;font-weight:650}
#calendarView .calendar-view-toggle{display:flex;gap:3px;padding:3px;border:1px solid #ffffff13;border-radius:13px}
#calendarView .calendar-view-toggle button{font-size:12px;padding:7px 13px}
#calendarView .calendar-view-toggle button[aria-pressed=true]{background:#74415f;color:white}
#calendarView .shift-weekdays,#calendarView .shift-calendar{gap:7px}
#calendarView .shift-weekdays{margin-bottom:7px;font-size:12px}
#calendarView .shift-day{min-height:61px;border:1px solid #ffffff0a;border-radius:11px;background:#292e38;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;transition:background .18s,box-shadow .18s}
#calendarView .shift-day.work{background:#593449}
#calendarView .shift-day:hover{box-shadow:inset 0 0 0 1px #b991bd77}
#calendarView .shift-day.selected{outline:2px solid #d19fc7;outline-offset:-2px}
#calendarView .shift-day.today{box-shadow:inset 0 0 0 1px #d0a0c9}
#calendarView .shift-day strong{font-size:17px}
#calendarView .shift-day.holiday::after{bottom:7px}
#calendarView .calendar-dots{display:flex;gap:4px;min-height:6px}
#calendarView .calendar-dots i{width:6px;height:6px;border-radius:50%;background:#4daaf1}
#calendarView .calendar-dots i.reuniao{background:#e34a98}
#calendarView .calendar-dots i.treinamento{background:#9c83e5}
#calendarView .calendar-dots i.lembrete{background:#62c6b0}
#calendarView .calendar-legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:19px;font-size:12px;color:#d2d3db}
#calendarView .calendar-legend span{display:flex;gap:6px;align-items:center}
#calendarView .calendar-legend i{width:10px;height:10px;border-radius:4px;background:#593449}
#calendarView .calendar-legend i.off{background:#343943}
#calendarView .calendar-legend i.holiday{background:#f2c344;border-radius:50%}
#calendarView .calendar-legend i.event{background:#4daaf1;border-radius:50%}
#calendarView .calendar-legend i.meeting{background:#e34a98;border-radius:50%}
#calendarView .calendar-side-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
#calendarView .calendar-teams{display:flex;align-items:center;gap:8px;font-size:12px}
#calendarView #shiftTeam{width:82px;min-width:82px}
#calendarView .calendar-new{background:#7b4264!important;color:white!important;font-weight:650;padding:10px 16px!important}
#calendarView .calendar-section-title{font-size:16px;font-weight:700;margin:0 0 14px}
#calendarView .calendar-event-list{display:grid;gap:8px;max-height:330px;overflow:auto}
#calendarView .calendar-event-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#2b303a!important;padding:11px!important;border-radius:12px!important;border-left:3px solid #4daaf1!important}
#calendarView .calendar-event-row.reuniao{border-left-color:#e34a98!important}
#calendarView .calendar-event-row.treinamento{border-left-color:#9c83e5!important}
#calendarView .calendar-event-row.lembrete{border-left-color:#62c6b0!important}
#calendarView .calendar-event-date{min-width:54px;font-size:11px;color:#c2c4d0}
#calendarView .calendar-event-info{display:grid;gap:3px;min-width:0;flex:1}
#calendarView .calendar-event-info strong{font-size:13px;overflow-wrap:anywhere}
#calendarView .calendar-event-info small{font-size:11px;color:#b9bdc9}
#calendarView .calendar-empty{color:#adb1c0;font-size:13px;line-height:1.6;padding:14px 0}
#calendarView .calendar-side-divider{height:1px;background:#ffffff19;margin:22px 0}
#calendarView .calendar-layers{display:grid;gap:12px;font-size:13px}
#calendarView .calendar-layers label{display:flex;align-items:center;gap:10px;cursor:pointer}
#calendarView .calendar-layers input{width:16px;height:16px;accent-color:#995a85}
#calendarView .calendar-day-detail{font-size:12px;color:#bfc2ce;line-height:1.6;margin-top:12px}
#calendarView .calendar-dialog{border:1px solid #ffffff25;border-radius:20px;background:#292e38;color:#f5f4f8;padding:24px;width:min(440px,calc(100vw - 32px));box-shadow:0 25px 80px #0009}
#calendarView .calendar-dialog::backdrop{background:#0009}
#calendarView .calendar-form{display:grid;gap:12px}
#calendarView .calendar-form label{display:grid;gap:5px;font-size:12px;color:#d5d6de}
#calendarView .calendar-form input,#calendarView .calendar-form select,#calendarView .calendar-form textarea{width:100%;background:#1c222b;border:1px solid #ffffff24;color:white;border-radius:9px;padding:10px}
#calendarView .calendar-form textarea{min-height:70px}
#calendarView .calendar-form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}
#calendarView .calendar-form-actions button{padding:10px 14px}
#calendarView .calendar-form-actions .save{background:#824965;color:white}
#calendarView .calendar-form-actions .delete{margin-right:auto;color:#f0a1ae}
#calendarView .calendar-week-mode .shift-day{min-height:75px}
#calendarView .calendar-week-mode .shift-day:not(.week-visible){display:none}
#calendarView .calendar-week-mode .shift-calendar{grid-template-columns:repeat(7,minmax(0,1fr))}
#calendarView .calendar-week-mode .shift-calendar>[aria-hidden=true]{display:none}
#calendarView .calendar-week-mode .shift-weekdays{display:grid}
@media(max-width:1050px){#calendarView .calendar-shell{grid-template-columns:1fr}#calendarView .calendar-panel{padding:16px}}
@media(max-width:550px){#calendarView .shift-day{min-height:46px}#calendarView .shift-day strong{font-size:13px}#calendarView .calendar-top{gap:8px}#calendarView #shiftMonth{width:145px}#calendarView .calendar-panel{padding:12px;border-radius:16px}}
@media(prefers-reduced-motion:reduce){#calendarView .shift-day{transition:none}}
