/* Calendar frame and v7 theme choices; native Bryntum owns widget structure. */
.v7-event-calendar:not(.v7-event-calendar--public) { min-width:0; width:100%; height:760px; max-height:85vh; min-height:480px; color:#20324a; font:14px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.v7-event-calendar [data-v7-calendar-canvas],.v7-calendar-surface { height:100%; width:100%; }
:host { font:14px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; --b-calendar-event-font-size:12px; }
/* Theme tokens remove the date badge without changing calendar interactions. */
.v7-calendar-surface .b-calendar { --b-calendar-today-border:0; --b-calendar-today-background:transparent; --b-calendar-today-hover-background:transparent; --b-calendar-today-color:#20324a; --am-calendar-today:#fff7d6; }
.v7-calendar-surface .b-month-view .b-calendar-cell.b-today { background:var(--am-calendar-today); --b-month-view-non-working-day-background:var(--am-calendar-today); }
.v7-calendar-surface .b-month-view .b-calendar-row .b-cal-cell-header.b-today { background:var(--am-calendar-today); }
.v7-event-calendar [data-v7-calendar-error] { padding:24px; color:#a61b1b; }
.v7-event-calendar-help { margin:12px 0 0; font-size:12px; color:#637085; }
.v7-event-calendar-summary { display:flex; flex-wrap:wrap; gap:14px; align-items:center; padding:12px 0; font-size:13px; }
@media(max-width:640px) { .v7-event-calendar { height:680px; min-height:440px; } }

/* Application-owned resource cell renderer; Bryntum owns the surrounding grid. */
.v7-calendar-room { display:flex; align-items:center; gap:10px; min-width:0; width:100%; }
.v7-calendar-room img,.v7-calendar-room-placeholder { width:52px; height:40px; object-fit:cover; border-radius:5px; flex:none; }
.v7-calendar-room-placeholder { display:grid; place-items:center; background:#edf1f5; color:#637085; }
.v7-calendar-room>span:last-child { white-space:normal; overflow-wrap:anywhere; line-height:1.35; font-size:12px; }

/* Application-owned toolbar buttons configured through Bryntum's widget API. */
.v7-calendar-surface .v7-calendar-tool { background:transparent; border-color:transparent; color:#202936; min-width:40px; min-height:40px; padding:8px 10px; gap:7px; font-size:13px; font-weight:500; box-shadow:none; border-radius:6px; position:relative; }
.v7-calendar-surface .v7-calendar-tool:hover,.v7-calendar-surface .v7-calendar-tool:focus-visible { background:#f0f3f6; color:#17212f; }
.v7-calendar-surface .v7-calendar-tool:focus-visible { outline:2px solid #587ba5; outline-offset:2px; }
.v7-calendar-surface .v7-calendar-tool-active::after { content:""; position:absolute; width:6px; height:6px; border-radius:50%; background:#2453a0; top:4px; right:4px; }
.v7-calendar-tool-tip { --b-tooltip-plain-background:#fff8e6; --b-tooltip-plain-color:#293a50; --b-tooltip-rich-background:#fff8e6; --b-tooltip-rich-color:#293a50; }

.v7-calendar-surface .v7-calendar-date-title { aspect-ratio:auto; height:40px; min-height:40px; padding:8px 12px; --b-button-icon-only-border-radius:6px; }

.v7-event-calendar--public{width:100%;min-width:0;height:1180px;color:#20324a;font:14px/1.4 system-ui,sans-serif}
@media(max-width:640px){.v7-event-calendar--public{height:490px}}
