.xywx-entry[hidden], .xywx-mobile[hidden], .xywx-dialog [hidden] { display: none !important; }
.xywx-entry { display: inline-flex; min-width: 0; }
.xywx-mobile { margin: 8px 12px; }
.xywx-trigger { font: inherit; cursor: pointer; min-height: 28px; padding: 4px 8px; border: 1px solid #b8c9db; border-radius: 5px; background: #f6f9fc; color: #174878; white-space: nowrap; }
.xywx-trigger.is-bound { border-color: #b9d8cc; background: #edf7f2; color: #155b44; }
.xywx-mobile .xywx-trigger { min-height: 44px; padding-inline: 12px; }
.xywx-dialog { width: min(420px, calc(100vw - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid #d8e0e9; border-radius: 8px; color: #17263c; background: #fff; box-shadow: 0 12px 44px #132a443b; font-size: 14px; line-height: 1.5; }
.xywx-dialog::backdrop { background: #0b19268a; }
.xywx-content { padding: 18px; }
.xywx-heading, .xywx-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.xywx-heading { justify-content: space-between; }
.xywx-heading h2 { margin: 0; font-size: 17px; font-weight: 650; }
.xywx-heading form { margin: 0; }
.xywx-message { margin: 8px 0 16px; font-size: 14px; line-height: 1.5; }
.xywx-code { margin: 0 auto 16px; width: 190px; max-width: 100%; }
.xywx-code img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.xywx-actions { justify-content: flex-end; }
.xywx-dialog button { box-sizing: border-box; font-family: inherit; font-size: 14px; line-height: 1.4; white-space: nowrap; cursor: pointer; min-height: 44px; padding: 6px 10px; border: 1px solid #b8c9db; border-radius: 5px; background: #fff; color: #174878; }
.xywx-dialog .xywx-primary { border-color: #1664b5; background: #1664b5; color: #fff; }
.xywx-dialog .xywx-close { border-color: transparent; font-size: 24px; min-width: 44px; }
.xywx-dialog button:disabled { opacity: .55; cursor: default; }
.xywx-dialog button:focus-visible, .xywx-trigger:focus-visible { outline: 2px solid #15549c; outline-offset: 2px; }
