/* Contextual vocabulary: inline, one non-modal popover panel on demand, no extra permanent bar.
 * X03 (0.2.4): the panel is a <div role="dialog" aria-modal="false"> positioned
 * near the tapped term (position:fixed, placed by JS), NOT a modal dialog,
 * so the term underneath stays tappable and a second tap can close it. Class names kept from 0.2.3 (.sal-vocab-dialog,
 * .sal-vocab-term, .sal-vocab-head, .sal-vocab-definition, .sal-vocab-audio,
 * .sal-vocab-close) so nothing that relied on them breaks. */
button.sal-vocab-term{display:inline!important;appearance:none!important;background:transparent!important;border:0!important;border-radius:2px!important;color:inherit!important;font:inherit!important;font-weight:700!important;text-decoration:none!important;border-bottom:2px dotted currentColor!important;padding:0 .08em!important;margin:0!important;min-width:0!important;min-height:0!important;line-height:inherit!important;box-shadow:none!important;cursor:help;vertical-align:baseline;white-space:normal;overflow-wrap:anywhere}button.sal-vocab-term:focus-visible{outline:2px solid currentColor;outline-offset:3px}button.sal-vocab-term[aria-expanded="true"]{text-decoration-style:dotted}
.sal-vocab-dialog{position:fixed;left:8px;top:8px;color:#f4fbfa;background:#12333f;border:1px solid #8cb8b7;border-radius:14px;max-width:min(34rem,calc(100vw - 1rem));width:min(34rem,calc(100vw - 1rem));max-height:85dvh;overflow:auto;padding:1.15rem;box-sizing:border-box;box-shadow:0 12px 50px #0008;z-index:1000}.sal-vocab-dialog[hidden]{display:none!important}.sal-vocab-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}.sal-vocab-head h2{font-size:1.2rem;margin:0}.sal-vocab-definition{padding:.7rem 0;border-top:1px solid #729498;margin-top:.7rem}.sal-vocab-definition h3{margin:.15rem 0 .4rem;color:#f0d08e;font-size:1.15rem}.sal-vocab-definition p{line-height:1.55;margin:.4rem 0}.sal-vocab-dialog button:not(.sal-vocab-term){min-height:44px}.sal-vocab-close{font-size:1.3rem;min-width:44px}.sal-vocab-dialog :focus-visible{outline:3px solid #f1d395;outline-offset:3px}@media print{.sal-vocab-dialog{display:none!important}button.sal-vocab-term{text-decoration:none!important;border-bottom:0!important;color:inherit!important;font-weight:inherit!important}}
