#notifications-panel { min-width:0; }
#notifications-panel .notification-layout {
  box-sizing:border-box; width:100%; max-width:64rem; margin-inline:auto;
  color:var(--crm-ink); overflow-wrap:anywhere;
}
#notifications-panel .notification-layout h1 { margin:0 0 1.25rem; }
#notifications-panel .notification-layout h2 { font-size:1.15rem; margin:0 0 .8rem; }
#notifications-panel .notification-service {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  background:var(--crm-secondary); padding:.85rem 1rem; border-radius:.65rem; margin-bottom:1.4rem;
}
#notifications-panel .notification-service p { margin:.2rem 0 0; color:var(--crm-muted); }
#notification-form:not(.hidden) { display:grid; gap:1.15rem; }
#notifications-panel .notification-schedule { display:grid; gap:.7rem; }
#notifications-panel .notification-schedule h2 { margin:0; }
#notifications-panel .notification-schedule .row {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap:.9rem; max-width:48rem;
}
#notifications-panel label.notification-toggle {
  display:flex; align-items:center; justify-content:flex-start; gap:.65rem; min-width:0;
  min-height:2.65rem; width:auto; margin:0; padding:.25rem .35rem; line-height:1.35; cursor:pointer;
}
#notifications-panel label.notification-toggle input[type=checkbox] {
  order:-1; flex:0 0 1.15rem; width:1.15rem; height:1.15rem; min-width:0; min-height:0;
  max-width:1.15rem; padding:0; margin:0; accent-color:var(--crm-primary);
}
#notifications-panel .notification-roles {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap:.35rem .75rem;
}
#notifications-panel .notification-roles label { border-radius:.45rem; background:var(--crm-secondary); padding:.35rem .65rem; }
#notifications-panel :is(.notification-group,.notification-event) {
  border:1px solid var(--crm-border); border-radius:.65rem; padding:0 .95rem; min-width:0;
}
#notifications-panel summary { cursor:pointer; font-weight:650; padding:.8rem 0; line-height:1.4; color:var(--crm-ink); }
#notifications-panel details[open] { padding-bottom:1rem; }
#notification-settings { display:grid; gap:.45rem; }
#notifications-panel .notification-event fieldset {
  display:grid; gap:.7rem; min-inline-size:0; margin:0; border:0; padding:.4rem 0 0;
}
#notifications-panel .notification-event :is(p,small) { margin:0; }
#notifications-panel :is(input,select,textarea) { box-sizing:border-box; max-width:100%; }
#notification-save { justify-self:start; }
#notification-result:empty,#staff-push-status:empty { display:none; }
#notification-result + details { margin-top:1.25rem; }
#notifications-panel :is(input,button,summary,select,textarea):focus-visible { outline:2px solid currentColor; outline-offset:2px; }
@media(max-width:600px) {
  #notifications-panel .notification-service { flex-wrap:wrap; }
  #notifications-panel .notification-schedule .row { grid-template-columns:1fr; }
}
#dispatch-form {display:grid;gap:1rem;max-width:48rem}
#dispatch-form label {display:grid;gap:.35rem;margin:0}
.dispatch-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem}
.dispatch-preview h3 {margin:0 0 .5rem;font-size:1rem}
.dispatch-landscape {border-radius:1rem;padding:clamp(1rem,4vw,2.25rem);background:linear-gradient(120deg,#12284a88,#36548166),url("/static/resort-brands/arkhyz-guest-turn.webp") center 48%/cover,#244870}
[data-resort-theme="polyana"] .dispatch-landscape {background:linear-gradient(120deg,#203a51,#467775)}
.dispatch-bubble {display:grid;gap:.25rem;width:min(100%,23rem);box-sizing:border-box;border-radius:.85rem;padding:.85rem 1rem;background:#f9fbffef;color:#11203a;white-space:pre-wrap;overflow-wrap:anywhere}
.dispatch-bubble small {color:#475873}
#dispatch-send,#dispatch-settings,#dispatch-back {justify-self:start}
#dispatch-settings {margin-top:1.25rem}
#dispatch-back {margin-bottom:1rem}
#dispatch-status:empty {display:none}
