/* Agenda: keep today's date distinct from whichever day is selected. */
#dashboard-panel .agenda-panel{border:1px solid #547368;background:linear-gradient(145deg,#17382f,#142c2c)}
#dashboard-panel.dashboard-light .agenda-panel{background:#fff;border-color:#c4d7ce;box-shadow:0 8px 26px #25493c0a}
#dashboard-panel .agenda-controls{gap:8px;flex-wrap:wrap}
#dashboard-panel #agenda-month-label{font-size:18px;font-weight:800;letter-spacing:-.35px;text-transform:capitalize;color:#f1f7ed;margin:0 3px}
#dashboard-panel.dashboard-light #agenda-month-label{color:#173e34}
#dashboard-panel .agenda-controls button{min-width:36px;min-height:36px;border:1px solid #7b9d8b;background:#264c40;color:#fff;border-radius:10px;font-weight:750}
#dashboard-panel #agenda-today{background:#276b47;color:#fff;border-color:#3f885a;padding:8px 15px;box-shadow:0 3px 10px #1b59351a}
#dashboard-panel .calendar-grid{gap:7px;margin-top:17px}
#dashboard-panel .calendar-weekday{font-size:12px;font-weight:750;letter-spacing:.5px;color:#d0e0ca;padding:8px 3px;border-radius:8px;background:#ffffff0a}
#dashboard-panel.dashboard-light .calendar-weekday{color:#3d5d4d;background:#eaf1e8}
#dashboard-panel .calendar-day{min-height:76px;border:1px solid #5a7c6b!important;background:#234238!important;color:#f2f7ee!important;border-radius:12px!important;padding:10px!important;font-size:16px;font-weight:700;transition:background .15s,border-color .15s,box-shadow .15s}
#dashboard-panel.dashboard-light .calendar-day{background:#f1f5ee!important;color:#254637!important;border-color:#b6cbbd!important}
#dashboard-panel.dashboard-light .calendar-day.weekend{background:#e7efe5!important}
#dashboard-panel .calendar-day.muted{opacity:.62}
#dashboard-panel .calendar-day:hover{background:#365e48!important;border-color:#b7ce98!important}
#dashboard-panel.dashboard-light .calendar-day:hover{background:#ddebd8!important;border-color:#709466!important}
#dashboard-panel .calendar-day.selected{border-color:#b6d68f!important;box-shadow:inset 0 0 0 2px #b6d68f!important}
#dashboard-panel.dashboard-light .calendar-day.selected{border-color:#4475b1!important;box-shadow:inset 0 0 0 2px #4475b1!important;background:#e9f0fb!important}
#dashboard-panel .calendar-day.today,#dashboard-panel.dashboard-light .calendar-day.today{background:#236440!important;color:#fff!important;border:2px solid #4f945b!important;box-shadow:0 4px 13px #23644033!important;opacity:1;font-size:23px;font-weight:850}
#dashboard-panel .calendar-day.today.selected,#dashboard-panel.dashboard-light .calendar-day.today.selected{box-shadow:inset 0 0 0 2px #e0edb5,0 4px 13px #23644033!important}
#dashboard-panel .calendar-day.today:after{content:'HOJE';width:auto;height:auto;top:8px;right:7px;left:auto;bottom:auto;border-radius:5px;padding:3px 5px;background:#e2efc4;color:#204e32;font:800 9px/1 system-ui;letter-spacing:.3px}
#dashboard-panel .calendar-day.has-items:before{background:#2477bf;width:8px;height:8px;box-shadow:0 0 0 2px #ffffffb0}
#dashboard-panel .calendar-day.today.has-items:before{background:#e2efc4;box-shadow:none}
#dashboard-panel .calendar-legend{display:flex;flex-wrap:wrap;gap:16px;margin:5px 0 18px;font-size:11px;color:#d9e5d3}
#dashboard-panel.dashboard-light .calendar-legend{color:#46624f}
.calendar-legend span{display:inline-flex;gap:6px;align-items:center}
.calendar-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;background:#236440}.calendar-legend .legend-selected{background:transparent;border:2px solid #4475b1}.calendar-legend .legend-events{width:7px;height:7px;background:#2477bf;border-radius:50%}
@media(max-width:640px){#dashboard-panel .calendar-grid{gap:4px}#dashboard-panel .calendar-day{min-height:64px;padding:7px!important;font-size:14px;border-radius:9px!important}#dashboard-panel .calendar-day.today{font-size:21px}#dashboard-panel .calendar-day.today:after{top:auto;bottom:5px;left:5px;right:auto;font-size:8px;padding:3px 4px}#dashboard-panel .calendar-day.today.has-items:before{left:auto;right:5px;bottom:8px}#dashboard-panel .calendar-weekday{font-size:10px;letter-spacing:0}#dashboard-panel #agenda-month-label{font-size:15px}.calendar-legend{gap:10px!important}}
@media(prefers-reduced-motion:reduce){#dashboard-panel .calendar-day{transition:none}}
/* Holiday color is distinct from today's green, selection outline and event dot. */
#dashboard-panel .calendar-day{position:relative}
#dashboard-panel .calendar-holiday-mark{position:absolute;right:7px;bottom:4px;color:#ffd579;font:900 14px/1 system-ui}
#dashboard-panel.dashboard-light .calendar-holiday-mark{color:#915306}
#dashboard-panel .calendar-day.national-holiday{border-bottom:4px solid #e9b84f!important}
#dashboard-panel .calendar-day.religious-holiday{border-bottom:3px dashed #bfabed!important}
#dashboard-panel .calendar-day.religious-holiday .calendar-holiday-mark{color:#cfbdf5}
#dashboard-panel.dashboard-light .calendar-day.religious-holiday .calendar-holiday-mark{color:#71529d}
#dashboard-panel .calendar-legend .legend-holiday{background:#e9b84f;transform:rotate(45deg);border-radius:1px;width:8px;height:8px}
#dashboard-panel .calendar-legend .legend-religious{background:transparent;border:2px solid #ac87d6;border-radius:2px}
#dashboard-panel .agenda-holiday-selected{padding:15px 18px;border:1px solid #d9b363;border-left:4px solid #e9b84f;border-radius:12px;background:#54421a44;margin:12px 0}
#dashboard-panel .agenda-holiday-selected strong{display:block;color:#ffe1a6;font-size:15px}
#dashboard-panel .agenda-holiday-selected p{font-size:13px;line-height:1.65;margin:6px 0;color:#eee0c6}
#dashboard-panel .agenda-holiday-selected a{font-size:13px;color:#ffe1a6}
#dashboard-panel.dashboard-light .agenda-holiday-selected{background:#fff5db;border-color:#cfb275}
#dashboard-panel.dashboard-light .agenda-holiday-selected strong,#dashboard-panel.dashboard-light .agenda-holiday-selected a{color:#75460b}
#dashboard-panel.dashboard-light .agenda-holiday-selected p{color:#5e4c31}
#dashboard-panel .agenda-holiday-directory{border:1px solid #6c877b;border-radius:12px;padding:13px 16px;margin:12px 0 20px}
#dashboard-panel .agenda-holiday-directory summary{cursor:pointer;font-size:14px;font-weight:750}
#dashboard-panel .agenda-holiday-directory p{font-size:12px;line-height:1.7;color:inherit;opacity:.9}
#dashboard-panel .agenda-holiday-year-list{display:grid;gap:7px}
#dashboard-panel .agenda-holiday-entry{width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:10px 12px;font-size:12px;border:1px solid #bda362;border-radius:9px;background:#ffffff08;color:inherit}
#dashboard-panel .agenda-holiday-entry:hover{background:#bda36225}
#dashboard-panel .agenda-holiday-entry.religious{border-style:dashed;border-color:#ac87d6}
@media(max-width:640px){#dashboard-panel .calendar-holiday-mark{right:4px;bottom:5px;font-size:11px}#dashboard-panel .calendar-day.today.has-items:before{bottom:20px}#dashboard-panel .calendar-day.today:after{max-width:30px;font-size:7px}#dashboard-panel .agenda-holiday-directory{padding:12px}}
