.dashboard-page:not([data-section="overview"]) .dash-stats,
.dashboard-page:not([data-section="overview"]) .dash-columns{display:none}
.dashboard-page:not([data-section="overview"]) .admin-workspace{margin-top:26px;min-height:600px}
.dashboard-page[data-section="calendar"] .admin-workspace{padding:0;overflow:hidden}
.dashboard-page[data-section="calendar"] .admin-workspace>.panel-head{display:none}
.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px;border-bottom:1px solid #e9edf1}
.calendar-header h2{margin:6px 0;font-size:25px;line-height:1.25}
.calendar-header p{margin:0;color:#72808c;font-size:12px}
.calendar-legend{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:12px;color:#53657a;font-size:12px;font-weight:700}
.calendar-legend span{display:inline-flex;align-items:center;gap:7px}
.calendar-legend span:before{content:'';width:11px;height:11px;border-radius:4px;background:#dceafa;border:1px solid #aac9ed}
.calendar-legend span:nth-child(2):before{background:#fff0df;border-color:#f2be8d}
.calendar-chip.scope-organization{background:#eaf3ff;color:#205492}
.calendar-chip.scope-group{background:#fff1e4;color:#92501d}
.calendar-chip.scope-personal{background:#f1f2f5;color:#5f6670}
.calendar-event.scope-organization{border-left-color:#3d78c6}
.calendar-event.scope-group{border-left-color:#ef8a36}
.calendar-scope-label{display:inline-flex;margin-left:7px;color:#53657a;font-size:11px;font-weight:700}
.calendar-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.calendar-pager{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #e5e9ec;border-radius:12px;background:#f7f9fa}
.calendar-pager button{border:0;border-radius:8px;background:transparent;padding:7px 12px;color:#45515c;font-size:13px;font-weight:700}
.calendar-pager button:first-child,.calendar-pager button:last-child{font-size:23px;line-height:16px;padding:7px 10px}
.calendar-pager button:hover{background:#fff;color:var(--orange)}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:660px}
.calendar-board{min-width:0;padding:20px 22px 26px}
.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-weekdays span{padding:9px 11px;text-align:left;color:#89939d;font-weight:700;font-size:11px}
.calendar-grid{border-top:1px solid #e9edf1;border-left:1px solid #e9edf1;border-radius:12px;overflow:hidden}
.calendar-day{min-width:0;min-height:102px;padding:9px;text-align:left;display:flex;flex-direction:column;gap:7px;border:0;border-right:1px solid #e9edf1;border-bottom:1px solid #e9edf1;background:#fff;color:#2d3944}
.calendar-day:hover{background:#fff9f4}
.calendar-day.outside{background:#fafbfc;color:#acb4bc}
.calendar-day.selected{background:#fff4eb;box-shadow:inset 0 0 0 2px #f37021}
.calendar-date{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:12px;font-weight:700}
.calendar-day.today .calendar-date{background:#162d40;color:#fff}
.calendar-day.selected .calendar-date{background:#f37021;color:#fff}
.calendar-day-events{min-width:0;display:grid;gap:4px;width:100%}
.calendar-chip{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 6px;border-radius:6px;background:#f1f3f6;color:#566170;font-size:10px;font-weight:600}
.calendar-chip.kind-deadline,.calendar-event.kind-deadline{background:#fff1e7;color:#ae4b14}
.calendar-chip.kind-meeting,.calendar-event.kind-meeting{background:#eaf2fc;color:#285f9c}
.calendar-chip.kind-event,.calendar-event.kind-event{background:#eaf8ef;color:#237546}
.calendar-day-events small{font-size:10px;color:#7a8792}
.calendar-detail{border-left:1px solid #e9edf1;background:#fbfcfd;min-width:0}
.calendar-detail-head{padding:25px 22px 17px;border-bottom:1px solid #e9edf1}
.calendar-detail-head h3{margin:9px 0;font-size:18px;line-height:1.4;text-transform:capitalize}
.calendar-detail-head>span:last-child{font-size:11px;color:#7e8993}
.calendar-detail-list{display:grid;align-content:start;gap:12px;padding:18px}
.calendar-event{padding:15px;border:1px solid #e7ebef;border-left:4px solid #9ba8b3;border-radius:11px;background:#fff;color:#24313d}
.calendar-event.kind-deadline{border-left-color:#f37021}
.calendar-event.kind-meeting{border-left-color:#3b82c4}
.calendar-event.kind-event{border-left-color:#34a665}
.calendar-event-time{display:block;color:#697783;font-size:11px;font-weight:700;margin-bottom:8px}
.calendar-event h4{margin:9px 0 6px;font-size:13px;color:#1b2935}
.calendar-event p{margin:5px 0;color:#66747f;font-size:11px;line-height:1.5;white-space:pre-wrap}
.calendar-event-actions{display:flex;gap:8px;margin-top:12px}
.calendar-event-actions button{border:1px solid #dce3e8;background:#fff;border-radius:7px;padding:6px 9px;color:#42505c;font-size:10px;font-weight:700}
.calendar-event-actions button:hover{border-color:#f4b184;color:#d75a1a}
.calendar-empty{padding:26px 12px;text-align:center;color:#687580}
.calendar-empty b{color:#2c3b47}
.calendar-empty p{font-size:11px;line-height:1.6}
.calendar-week-mobile{display:none}
@media(max-width:680px){
  .calendar-layout{min-height:0}
  .calendar-board{display:none}
  .calendar-week-mobile{display:block;padding:14px 16px 18px;background:#fff}
  .calendar-week-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;color:#153b73;font-size:13px}
  .calendar-week-controls button{width:44px;height:44px;border:1px solid #dce5ef;border-radius:10px;background:#fff;color:#153b73;font-size:24px}
  .calendar-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
  .calendar-week-days button{min-width:0;min-height:67px;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;border:1px solid #dce5ef;border-radius:10px;background:#fff;color:#35495f}
  .calendar-week-days button.selected{border-color:#3556ad;background:#ecf3ff;color:#153b73;box-shadow:inset 0 0 0 1px #3556ad}
  .calendar-week-days button.today b{color:#b94b00}
  .calendar-week-days button span{font-size:10px;font-weight:700}
  .calendar-week-days button b{font-size:14px}
  .calendar-week-days button i{width:5px;height:5px;border-radius:50%;background:#e76500}
}
@media(max-width:1180px){.calendar-layout{grid-template-columns:minmax(0,1fr) 280px}.calendar-day{min-height:88px}}
@media(max-width:980px){.calendar-layout{grid-template-columns:1fr}.calendar-detail{border-left:0;border-top:1px solid #e9edf1}.calendar-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.calendar-header{align-items:flex-start;flex-direction:column;padding:20px}.calendar-header-actions{width:100%;justify-content:space-between}.calendar-header h2{font-size:22px}.calendar-board{padding:10px}.calendar-weekdays span{text-align:center;padding:8px 2px}.calendar-day{min-height:66px;padding:5px;align-items:center;gap:4px}.calendar-date{width:23px;height:23px;font-size:10px}.calendar-day-events{display:flex;justify-content:center;gap:3px}.calendar-chip{width:7px;height:7px;min-width:7px;border-radius:50%;padding:0;font-size:0}.calendar-day-events small{display:none}.calendar-detail-list{grid-template-columns:1fr}.calendar-detail-head{padding:20px}.calendar-pager button{padding:7px 9px}.dashboard-page[data-section="calendar"] .admin-workspace{min-height:0}}
