/* All styles are scoped to this plugin. No theme or page-wide overrides. */
.word-explainer-enabled .vdwe-controls { margin: 0 0 18px; padding: 12px 16px; background: #f2f6ff; border: 1px solid #d9e4f7; border-radius: 8px; color: #253246; font: 14px/1.5 system-ui, sans-serif; }
.word-explainer-enabled .vdwe-controls p { margin: 0 0 8px; font: inherit; color: inherit; }
.word-explainer-enabled .vdwe-controls .vdwe-privacy { margin: 8px 0 0; color: #4c5a6d; font-size: 12px; }
.word-explainer-enabled .vdwe-selected { appearance: none; display: inline-block; position: static; margin: 0 10px 0 0; min-height: 44px; padding: 9px 14px; border: 1px solid #0959db; border-radius: 6px; background: #fff; color: #0959db; font: 600 13px/1.4 system-ui, sans-serif; cursor: pointer; box-shadow: none; }
.word-explainer-enabled:focus-visible, .word-explainer-enabled .vdwe-selected:focus-visible { outline: 3px solid #0959db; outline-offset: 3px; }
.vdwe-dialog, .vdwe-dialog * { box-sizing: border-box; }
.vdwe-dialog { position: fixed; z-index: 2147483646; width: min(440px, calc(100vw - 24px)); overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 18px; border: 1px solid #c9d7eb; border-radius: 12px; background: #fff; color: #172536; box-shadow: 0 12px 45px #15253a33; font: 15px/1.6 system-ui, -apple-system, sans-serif; text-align: start; }
.vdwe-dialog .vdwe-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 12px; color: #172536; }
.vdwe-dialog .vdwe-head strong { font-size: 18px; }
.vdwe-dialog .vdwe-close { appearance: none; display: inline-flex; align-items: center; justify-content: center; position: static; flex: 0 0 44px; min-height: 44px; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #d3dbe6; border-radius: 7px; background: #fff; color: #26364b; font: 28px/1 system-ui, sans-serif; cursor: pointer; box-shadow: none; }
.vdwe-dialog .vdwe-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; color: #26364b; font: 14px/1.5 system-ui, sans-serif; }
.vdwe-dialog .vdwe-helper { appearance: auto; display: inline-block; width: auto; max-width: 100%; height: auto; min-height: 44px; margin: 0; padding: 8px; border: 1px solid #9aaac0; border-radius: 6px; background: #fff; color: #172536; font: 14px/1.4 system-ui, sans-serif; }
.vdwe-dialog button:focus-visible, .vdwe-dialog select:focus-visible { outline: 3px solid #0959db; outline-offset: 3px; }
.vdwe-dialog .vdwe-section { margin: 0; padding: 14px 0; border-top: 1px solid #e1e7ef; }
.vdwe-dialog .vdwe-section p { margin: 6px 0 0; font: inherit; color: #172536; }
.vdwe-dialog .vdwe-section .vdwe-language { margin: 0 0 3px; color: #526480; font: 600 12px/1.5 system-ui, sans-serif; }
.vdwe-dialog .vdwe-section .vdwe-word { margin: 0 0 8px; color: #0b438f; font: 700 21px/1.3 system-ui, sans-serif; overflow-wrap: anywhere; }
.vdwe-dialog .vdwe-explanation, .vdwe-dialog .vdwe-example { overflow-wrap: anywhere; }
.vdwe-dialog .vdwe-cache { margin: 8px 0; color: #526480; font: 12px/1.5 system-ui, sans-serif; }
.vdwe-dialog .vdwe-loading, .vdwe-dialog .vdwe-error { margin: 14px 0; font: inherit; }
.vdwe-dialog .vdwe-error { color: #8b2020; }
.vdwe-dialog .vdwe-footer { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #e1e7ef; color: #526480; font: 12px/1.5 system-ui, sans-serif; }
.vdwe-dialog .vdwe-footer p { margin: 0 0 3px; color: inherit; font: inherit; }
