.h4bs-calendar-admin{max-width:1500px}.h4bs-calendar-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin:1rem 0}.h4bs-calendar-header h1{margin:0}.h4bs-calendar-commands{display:flex;align-items:center;gap:.75rem}.h4bs-calendar-admin main{padding:1rem 0}.h4bs-calendar-toolbar{display:grid;grid-template-columns:minmax(16rem,1fr) minmax(10rem,auto) auto;gap:.75rem;align-items:end}.h4bs-calendar-toolbar label{display:grid;gap:.3rem}.h4bs-calendar-event-row,.h4bs-calendar-source-card{display:grid;grid-template-columns:minmax(12rem,1.4fr) minmax(10rem,1fr) auto;gap:.75rem;align-items:center;margin-top:.75rem;padding:.85rem;background:#fff;border:1px solid #c3c4c7;border-radius:6px}.h4bs-calendar-event-row.is-hidden{opacity:.62}.h4bs-calendar-event-row h3{margin:0 0 .25rem}.h4bs-calendar-pill{display:inline-block;margin-right:.35rem;padding:.15rem .42rem;border-radius:3px;background:#edf4fa;font-size:12px;font-weight:700}.h4bs-calendar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}.h4bs-calendar-source-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.h4bs-calendar-source-fields label{display:grid;gap:.25rem}.h4bs-calendar-admin dialog{width:min(680px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);padding:0;border:0;border-radius:6px;box-shadow:0 18px 70px rgba(0,0,0,.25)}.h4bs-calendar-admin dialog::backdrop{background:rgba(20,28,38,.55)}.h4bs-calendar-admin dialog header,.h4bs-calendar-admin dialog footer{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem;border-bottom:1px solid #dcdcde}.h4bs-calendar-admin dialog footer{justify-content:flex-end;border-top:1px solid #dcdcde;border-bottom:0}.h4bs-calendar-admin dialog h2{margin:0}.h4bs-calendar-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;padding:1rem}.h4bs-calendar-editor-grid label{display:grid;gap:.3rem}.h4bs-calendar-editor-grid .is-wide{grid-column:1/-1}.h4bs-calendar-preview{min-height:220px;padding:1rem;background:#fff;border:1px solid #c3c4c7}.h4bs-calendar-error{color:#b32d2e;font-weight:600}@media(max-width:782px){.h4bs-calendar-header,.h4bs-calendar-commands{display:grid}.h4bs-calendar-toolbar,.h4bs-calendar-event-row,.h4bs-calendar-source-card,.h4bs-calendar-source-fields,.h4bs-calendar-editor-grid{grid-template-columns:1fr}.h4bs-calendar-actions{justify-content:flex-start}.h4bs-calendar-editor-grid .is-wide{grid-column:auto}}
.h4bs-calendar-admin :is(button,.button,.nav-tab,input,select,summary){min-height:44px!important}.h4bs-calendar-admin :is(button,.button,.nav-tab,input,select,summary):focus-visible{outline:3px solid #2271b1;outline-offset:2px}.h4bs-calendar-admin [hidden]{display:none!important}.h4bs-calendar-commands :is([data-calendar-undo],[data-calendar-redo]):disabled{display:none!important}.h4bs-calendar-commands [data-h4bs-calendar-save]:disabled{cursor:default;opacity:.68}.h4bs-calendar-commands [data-h4bs-calendar-save-state]{padding:.35rem .55rem;border-radius:4px}.h4bs-calendar-commands [data-state="dirty"],.h4bs-calendar-commands [data-state="saving"]{background:#fcf9e8;color:#614c00}.h4bs-calendar-commands [data-state="clean"]{background:#edfaef;color:#005c12}.h4bs-calendar-commands [data-state="error"]{background:#fcf0f1;color:#8a2424}
