/* Adapt the demo's shared calendar stylesheet to the authenticated shell. */
#agenda-view .page-title{margin-bottom:20px}
#agenda-view .metrics{display:flex;gap:28px;margin:0 0 22px;padding:12px 0 18px;border-bottom:1px solid #e1e7da;flex-wrap:wrap}
#agenda-view .metrics article{display:flex;align-items:center;gap:12px;padding:0;background:none;border:0;border-radius:0}
#agenda-view .metrics strong{font-size:22px;margin:0;order:-1}
#agenda-view .metrics span{font-size:10px}
.calendar-shell h2{margin:0}
.calendar-shell label{margin:0}
.calendar-search{flex-direction:row;gap:8px}
.calendar-search input{padding:0;border-radius:0;box-shadow:none}
.calendar-holiday-controls label{flex-direction:row}
.calendar-mobile-tools label{flex-direction:row}
.calendar-footer span{float:none;font-size:inherit}
.calendar-toolbar-date>div:last-child{min-width:0}
.calendar-local-note .dot{width:5px;height:5px;border-radius:50%;background:#85a576}
.calendar-shell .button,.calendar-detail .button,.calendar-block-dialog .button{border:1px solid #dce5d6;border-radius:8px;padding:10px 14px;background:white;font-size:12px;color:#3d6448;font-weight:500}
.calendar-detail .button-primary,.calendar-block-dialog .button-primary{background:#2e5a47;color:white;border-color:#2e5a47}
.calendar-block-dialog .button-soft{background:#edf3e6}
.calendar-block-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px}
.calendar-block-dialog .control-note{font-size:11px;color:#8a987f}
.calendar-detail .status-pill,.calendar-search-results .status-pill{font-size:9px;padding:6px 8px;border-radius:5px;background:#e8f0fd;color:#42658d;white-space:nowrap}
.calendar-detail .status-pill.confirmed{background:#e5f3eb;color:#326c51}
.calendar-detail .status-pill.pending-change{background:#fbefd9;color:#8d6827}
.calendar-detail .calendar-block-pill{background:#ecf0e6;color:#7f8c70}
.calendar-detail .holiday-pill{background:#f0e7f7;color:#85639f}
.calendar-detail .error-message,.calendar-block-dialog .error-message{font-size:12px;color:#984f3c;background:#fff3ed;border:1px solid #edcfc6;border-radius:8px;padding:12px}
.calendar-search-results .status-pill.cancelled,.calendar-search-results .status-pill.no_show,.calendar-search-results .status-pill.attended,.calendar-detail .status-pill.cancelled,.calendar-detail .status-pill.no_show,.calendar-detail .status-pill.attended{background:#f1f2ef;color:#87937b}
@media(min-width:701px){.content:has(#agenda-view:not([hidden])){padding:28px 24px 40px}}
@media(max-width:1050px) and (min-width:901px){.calendar-toolbar{flex-wrap:wrap}.calendar-toolbar-date{flex-wrap:wrap}.calendar-toolbar h2{font-size:19px}.calendar-searchbar>span{display:none}}
@media(max-width:700px){#agenda-view .metrics{gap:15px;padding:6px 0 14px}#agenda-view .metrics article{gap:7px}#agenda-view .metrics span{font-size:9px;max-width:65px}#agenda-view .metrics strong{font-size:20px}.calendar-main{overflow:hidden}.calendar-searchbar{flex-wrap:wrap}.calendar-search{flex:1;min-width:140px}.calendar-toolbar h2{font-size:19px}}
