.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 14px}.calendar-toolbar button,.calendar-tools button{border:1px solid #e4e7ee;background:white;border-radius:8px;padding:5px 10px;cursor:pointer;font:inherit;color:#475467}.calendar-toolbar strong{font-size:14px}.calendar-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:0 14px 12px;font-size:11px}.calendar-tools a{color:#6541b7;text-decoration:none}.calendar-events{max-height:420px;overflow:auto;padding:0 14px 10px}.calendar-event{padding:11px 0;border-bottom:1px solid #eef0f4;display:grid;gap:4px}.calendar-event a{font-weight:500;color:#26334b;text-decoration:none}.calendar-event small{font-size:11px;color:#7b8495}.calendar-event time{font-size:11px;color:#6541b7}.calendar-status{padding:8px 14px;color:#667085;font-size:12px}.calendar-message{border:1px solid #cfeadd;background:#f5fcf8;border-radius:10px;padding:12px;color:#08795b}.calendar-message.error{border-color:#fecaca;background:#fef2f2;color:#b42318}.calendar-choices{display:grid;gap:10px;margin:16px 0 20px}.calendar-choices label{display:flex;align-items:center;gap:8px;font-size:13px}.calendar-choices input{width:16px;height:16px;min-height:0;margin:0;accent-color:#6b46c1}
.calendar-view-choice{display:grid;gap:6px;max-width:300px;margin:18px 0;font-size:13px}.calendar-view-choice select{font:inherit;border:1px solid #dfe4ec;border-radius:9px;padding:8px;background:#fff}.calendar-events.is-grid{padding:0 8px 12px;max-height:none;overflow:auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));direction:rtl;border:1px solid #e7eaf0;border-radius:10px;overflow:hidden;background:#fff}.calendar-weekday{padding:7px 1px;text-align:center;background:#f7f8fb;font-size:10px;color:#667085}.calendar-day{min-width:0;min-height:82px;border-top:1px solid #eef0f4;border-left:1px solid #eef0f4;padding:3px;box-sizing:border-box}.calendar-day.is-outside{background:#fafbfc;color:#98a2b3}.calendar-day.is-today{background:#f5f2ff}.calendar-day-number,.calendar-more{font:inherit!important;background:transparent!important;border:0!important;min-height:0!important;height:auto!important;padding:3px!important;box-shadow:none!important;cursor:pointer;color:#475467!important;border-radius:5px!important}.calendar-day-number{font-size:11px!important}.calendar-day.is-today .calendar-day-number{background:#6b46c1!important;color:white!important}.calendar-grid-event{min-width:0;margin:2px 0;padding:3px 2px;border-radius:4px;background:#eee8fc;border-right:2px solid #8864d3}.calendar-grid-event a,.calendar-grid-event strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;font-weight:500;color:#513a87;text-decoration:none;line-height:1.4}.calendar-more{font-size:9px!important;color:#6541b7!important;white-space:nowrap}.calendar-week{min-width:560px}.calendar-week .calendar-day{min-height:210px}.calendar-day-dialog{direction:rtl;border:1px solid #e3e7ee;border-radius:14px;width:min(420px,85vw);max-height:75vh;padding:18px;color:#26334b;background:#fff}.calendar-day-dialog::backdrop{background:rgba(16,24,40,.3)}.calendar-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-dialog-head button{border:0;background:transparent;cursor:pointer;font-size:22px}.calendar-day-dialog [data-calendar-day-events]{overflow:auto;max-height:60vh}.calendar-day-number:focus-visible,.calendar-more:focus-visible{outline:2px solid #6b46c1!important;outline-offset:1px}

/* Calendar controls must override the shared action-button theme. */
html body #googleCalendar .calendar-day-number,
html body #googleCalendar .calendar-more {
  background:transparent!important;color:#667085!important;border:0!important;
  box-shadow:none!important;min-height:0!important;min-width:0!important;
  height:18px!important;line-height:18px!important;padding:0 3px!important;
  border-radius:4px!important;font-weight:400!important;
}
html body #googleCalendar .calendar-day-number {width:20px!important;font-size:10px!important;}
html body #googleCalendar .calendar-day.is-today .calendar-day-number {
  background:#ede9fe!important;color:#6d4bc0!important;font-weight:600!important;
}
html body #googleCalendar .calendar-day.is-outside .calendar-day-number {color:#a3aab8!important;}
html body #googleCalendar .calendar-more {width:auto!important;font-size:9px!important;}
html body #googleCalendar .calendar-toolbar button,
html body #googleCalendar .calendar-tools button {
  background:#f8fafc!important;color:#667085!important;border:1px solid #e9edf3!important;
  box-shadow:none!important;min-height:0!important;height:24px!important;
  padding:2px 8px!important;font-size:11px!important;border-radius:6px!important;
}
#googleCalendar .calendar-weekday {padding:5px 1px;background:#fafbfc;}
#googleCalendar .calendar-day {min-height:0;height:70px;padding:2px;background:#fff;}
#googleCalendar .calendar-day.is-outside {background:#fcfcfd;}
#googleCalendar .calendar-day.is-today {background:#faf8ff;}
#googleCalendar .calendar-grid-event {margin:1px 0;padding:1px 2px;background:#f5f2fb;border-right:1px solid #c9b9e9;}
#googleCalendar .calendar-grid-event a,#googleCalendar .calendar-grid-event strong {font-size:9px!important;line-height:13px;}
#googleCalendar .calendar-week .calendar-day {height:150px;}
#googleCalendar .calendar-toolbar {padding:7px 10px;}
#googleCalendar .calendar-tools {padding:0 10px 5px;}
#googleCalendar .calendar-status {padding:5px 10px;font-size:11px;}
.doty-dashboard-v4 .doty-dashboard-maincol {display:grid!important;gap:18px!important;align-content:start!important;}
.doty-dashboard-v4 .doty-dashboard-maincol > .doty-operational-charts {margin-top:0!important;min-width:0;}
@media(max-width:1250px){
  .doty-dashboard-v4 .doty-dashboard-maincol > .doty-operational-charts {grid-template-columns:1fr!important;}
}
