/* Only the H3.4.3 admin dialog. Existing Starkwood page styles are untouched. */
.sw-admin-modal-v343 {
  box-sizing: border-box;
  width: min(1160px, calc(100vw - 32px));
  height: min(88vh, 920px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f2f4f9;
  color: #0b1739;
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(5, 15, 42, .32);
}
.sw-admin-modal-v343::backdrop { background: rgba(7, 16, 42, .68); }
.sw-admin-modal-v343 * { box-sizing: border-box; }
.sw-admin-modal-v343-panel { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.sw-admin-modal-v343-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px; flex: 0 0 auto; padding: 12px 18px 12px 24px;
  background: #132152; color: white;
}
.sw-admin-modal-v343-headings { min-width: 0; }
.sw-admin-modal-v343-headings h2 { font: 700 17px/1.25 system-ui, sans-serif; margin: 0; color: white; }
.sw-admin-modal-v343-headings p { font: 12px/1.5 system-ui, sans-serif; margin: 3px 0 0; color: #cbd7f3; }
.sw-admin-modal-v343-close {
  appearance: none; flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid #56628a;
  border-radius: 9px; background: #203365; color: white;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.sw-admin-modal-v343-close:hover { background: #2c427e; }
.sw-admin-modal-v343-close:focus-visible { outline: 3px solid #a8c4ff; outline-offset: 2px; }
.sw-admin-modal-v343-content { position: relative; display: flex; flex: 1; min-height: 0; }
.sw-admin-modal-v343-loading {
  position: absolute; z-index: 1; top: 15px; left: 50%; transform: translateX(-50%);
  font: 13px system-ui, sans-serif; color: #64748b;
}
.sw-admin-modal-v343-loading[hidden] { display: none; }
.sw-admin-modal-v343 iframe { width: 100%; height: 100%; border: 0; display: block; background: #f2f4f9; }
@media (max-width: 700px) {
  .sw-admin-modal-v343 { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 10px; }
  .sw-admin-modal-v343-header { padding: 10px 13px; min-height: 60px; }
  .sw-admin-modal-v343-headings h2 { font-size: 15px; }
}
