@media screen{
[data-admin-calendar]{min-width:0;border:1px solid #d4c9b6;border-radius:14px;background:#fff;padding:24px;color:#302e20;font-family:Cairo,Arial,sans-serif}
.calendar-toolbar,.calendar-navigation,.calendar-mode{display:flex;align-items:center;gap:10px}.calendar-toolbar{justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.calendar-mode{padding:4px;background:#f6eee5;border-radius:10px}.calendar-mode button,.calendar-navigation button,.calendar-week-days button{min-height:44px;padding:8px 16px;border:1px solid transparent;border-radius:7px;background:#fff;color:#474329;font:500 13px Cairo,Arial,sans-serif;cursor:pointer}.calendar-mode button[aria-pressed=true],.calendar-week-days button[aria-pressed=true]{background:#474329;color:#fff}.calendar-navigation button{border-color:#d4c9b6;min-width:44px;padding:8px 12px}.calendar-navigation h2{margin:0;min-width:180px;text-align:center;font-size:18px;font-weight:600}.calendar-filters{display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1.5fr) auto;gap:16px;align-items:end;margin-bottom:16px}.calendar-filters label{display:grid;gap:8px;font-size:12px}.calendar-filters input,.calendar-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 14px;border:1px solid #d4c9b6;border-radius:10px;background:#fff;color:#302e20;font:400 16px Cairo,Arial,sans-serif}.calendar-help{margin:0 0 14px;font-size:12px;line-height:1.9;color:#625e46}.calendar-legend{display:flex;flex-wrap:wrap;gap:12px 18px;padding:14px 0 20px;font-size:11px;color:#625e46}.calendar-legend>span,.calendar-agenda-times>div>span{display:flex;align-items:center;gap:7px}.cal-colour{display:inline-block;flex:0 0 9px;width:9px;height:9px;border-radius:2px;background:#474329}.cal-colour--preparation{background:#c8b89f}.cal-colour--transport{background:#5c7e85}.cal-colour--arrival{background:#85896c}.cal-colour--buffer{background:#d4c9b6;border:1px dashed #625e46}.cal-colour--blocked{background:repeating-linear-gradient(135deg,#f2e6e4 0 3px,#ac6a60 3px 4px)}
.calendar-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #d4c9b6;border-inline-start:1px solid #d4c9b6;border-radius:8px;overflow:hidden}.calendar-weekday{padding:14px 5px;background:#f6eee5;text-align:center;font-size:12px;border-bottom:1px solid #d4c9b6;border-inline-end:1px solid #d4c9b6}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;min-height:138px;padding:10px 7px;border:0;border-bottom:1px solid #d4c9b6;border-inline-end:1px solid #d4c9b6;background:#fff;color:#302e20;font:400 12px Cairo,Arial,sans-serif;text-align:start;cursor:pointer}.calendar-day:hover{background:#f6eee5}.calendar-day.is-outside{background:#fafaf8;color:#625e46}.calendar-day.is-selected{box-shadow:inset 0 0 0 2px #474329;background:#f6eee5}.calendar-day__number{display:grid;place-items:center;width:28px;min-height:28px;font-size:13px}.calendar-day.is-today .calendar-day__number{background:#474329;color:#fff;border-radius:50%}.calendar-day__items{display:grid;gap:5px;min-width:0}.calendar-month-event{display:grid;gap:2px;min-width:0;padding:5px;border-radius:4px;border-inline-start:3px solid #474329;background:#f0f1ec;color:#383d30}.calendar-month-event b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500}.calendar-month-event small{font-size:9px}.calendar-more{font-size:9px;color:#625e46}.calendar-day__count{display:none}
.cal-event--preparation{background:#f0e5db!important;border-color:#a89c87!important;color:#49453c!important}.cal-event--transport{background:#eaf1f1!important;border-color:#5c7e85!important;color:#354f55!important}.cal-event--arrival{background:#f0f1e9!important;border-color:#85896c!important;color:#4e533d!important}.cal-event--buffer{background:#f7f7f4!important;border:1px dashed #9d9f91!important;color:#56594d!important}.cal-event--blocked{background:repeating-linear-gradient(135deg,#f8eeee 0 6px,#efdfdc 6px 7px)!important;border-color:#ac6a60!important;color:#733e36!important}
.calendar-week-days{display:none}.calendar-week-scroll{max-height:660px;overflow:auto;border:1px solid #d4c9b6;border-radius:10px}.calendar-week-canvas{min-width:850px}.calendar-week-head,.calendar-week-body{display:grid;grid-template-columns:52px repeat(7,minmax(0,1fr))}.calendar-week-head{position:sticky;top:0;z-index:3;background:#f6eee5;box-shadow:0 1px #d4c9b6}.calendar-week-head>span{display:grid;place-items:center;font-size:10px;color:#625e46}.calendar-week-head button{min-height:48px;border:0;border-inline-start:1px solid #d4c9b6;background:transparent;color:#474329;font:500 11px Cairo,Arial,sans-serif;cursor:pointer}.calendar-week-head button[aria-pressed=true]{background:#e5e8dc}.calendar-hours{position:sticky;inset-inline-start:0;z-index:2;height:1152px;background:#fafaf8}.calendar-hours span{position:absolute;inset-inline:3px;text-align:center;font:10px/20px Cairo,Arial,sans-serif;color:#625e46}.calendar-week-column{position:relative;height:1152px;min-width:0;border-inline-start:1px solid #d4c9b6;background:repeating-linear-gradient(to bottom,transparent 0 47px,#d4c9b6 47px 48px)}.calendar-time-event{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:4px 5px;border:0;border-inline-start:3px solid #474329;border-radius:4px;background:#e9ecdf;color:#353d2a;font:400 10px/1.5 Cairo,Arial,sans-serif;text-align:start;overflow:hidden;cursor:pointer}.calendar-time-event b{font-weight:600}.calendar-time-event small{font-size:9px;direction:ltr}.calendar-time-event:hover{filter:brightness(.96);z-index:1}.calendar-time-event:focus-visible{min-height:44px!important;z-index:4;overflow:visible;outline:2px solid #474329}
.calendar-agenda{margin-top:28px}.calendar-agenda h3{margin:0 0 16px;font-size:17px;font-weight:600}.calendar-agenda-card{padding:18px;border:1px solid #d4c9b6;border-radius:10px;margin-top:12px}.calendar-agenda-card header{display:flex;justify-content:space-between;align-items:center;gap:16px}.calendar-agenda-card header>div{display:grid;gap:4px;min-width:0}.calendar-agenda-card strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.calendar-agenda-card header span{font-size:11px;color:#625e46}.calendar-agenda-card p{font-size:12px;line-height:1.9;color:#625e46;overflow-wrap:anywhere}.calendar-agenda-card .ghost-button{min-height:44px;font-size:12px}.calendar-agenda-times{display:grid;gap:10px;margin:16px 0}.calendar-agenda-times>div{display:flex;justify-content:space-between;gap:16px;font-size:12px}.calendar-agenda-times b{font-weight:500;white-space:nowrap}.calendar-logistics-note{white-space:pre-wrap;border-top:1px solid #d4c9b6;padding-top:12px}.calendar-agenda-card--blocked{border-inline-start:3px solid #ac6a60;background:#fbf7f6}.calendar-empty{padding:36px 18px;text-align:center;border:1px dashed #d4c9b6;border-radius:10px;color:#625e46;font-size:13px}.logistics-hint{font-size:12px;line-height:1.9;color:#474329}.calendar-day:focus-visible,.calendar-week-head button:focus-visible,[data-admin-calendar] button:focus-visible{outline:2px solid #474329;outline-offset:-2px}
@media(max-width:767px){[data-admin-calendar]{padding:16px}.calendar-toolbar{gap:16px}.calendar-navigation{width:100%;flex-wrap:wrap;gap:6px}.calendar-navigation h2{font-size:15px;flex:1;min-width:120px}.calendar-mode{width:100%}.calendar-mode button{flex:1}.calendar-filters{grid-template-columns:1fr}.calendar-help{font-size:11px}.calendar-legend{gap:10px 14px;font-size:10px}.calendar-weekday{font-size:10px;padding:12px 0}.calendar-day{padding:6px 2px;min-height:66px;align-items:center;gap:4px}.calendar-day__number{width:25px;min-height:25px;font-size:12px}.calendar-day__items{display:none}.calendar-day__count{display:grid;place-items:center;min-width:18px;height:18px;border-radius:9px;background:#e5e8dc;color:#4b503f;font-size:10px}.calendar-week-scroll{display:none}.calendar-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-week-days button{font-size:10px;padding:8px 2px;line-height:1.8}.calendar-agenda-card{padding:14px}.calendar-agenda-card header{align-items:flex-start;flex-wrap:wrap;gap:10px}.calendar-agenda-times>div{font-size:11px;gap:8px;flex-wrap:wrap}.calendar-agenda h3{font-size:15px}.calendar-agenda-card .ghost-button{width:100%}}
@media(prefers-reduced-motion:no-preference){.calendar-agenda-card{animation:calendar-fade .2s ease-out}@keyframes calendar-fade{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}}
}

@media screen{.dashboard.is-calendar-view .stats-caption,.dashboard.is-calendar-view .stats,.dashboard.is-calendar-view .stats-footnote{display:none}}
