/* Alpha 0.35.17: additive styles used only by the opt-in Core services. */
body.lw-core-scroll-locked { overflow: hidden; }
dialog.lw-core-dialog {
  border: 0; padding: 0; background: transparent; color: inherit;
  position: fixed; inset: 0; margin: auto;
  max-width: none; max-height: none; width: 100%; height: 100dvh;
  overflow: auto; box-sizing: border-box;
}
dialog.lw-core-dialog[open] { display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
dialog.lw-core-dialog::backdrop { background: rgba(0,0,0,.7); }
.lw-core-dialog-panel { box-sizing: border-box; max-width: min(680px, 100%); width: 100%; max-height: min(88dvh, 100%); min-height: 0; overflow: auto; overscroll-behavior: contain; background: var(--panel, #18202b); color: var(--text, #f4f4f4); border: 1px solid var(--line, #87909a); border-radius: 12px; box-shadow: 0 12px 45px #0008; }
.lw-core-dialog-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; }
.lw-core-dialog-panel h2 { margin: 0; font-size: 1.15rem; }
.lw-core-dialog-content { padding: 0 16px 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.lw-core-dialog-close { cursor: pointer; padding: 8px 14px; }
@media (max-width: 600px) { .lw-core-dialog-panel { max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); } }
