.pf-spelling-host { position:relative; }
.pf-spelling-mirror { position:absolute; z-index:1; box-sizing:border-box; border:0; margin:0; overflow:hidden; pointer-events:none; color:transparent!important; -webkit-text-fill-color:transparent; text-shadow:none!important; scrollbar-width:none; }
.pf-spelling-mirror[hidden],.pf-spelling-status[hidden],.pf-spelling-undo[hidden] { display:none!important; }
.pf-spelling-error { text-decoration-line:underline; text-decoration-style:wavy; text-decoration-color:var(--pf-control-error,#b42332); text-decoration-thickness:1.5px; text-underline-offset:3px; }
.pf-spelling-status { display:flex; align-items:center; flex-wrap:wrap; gap:.5rem; margin-block-start:.35rem; color:var(--pf-control-muted,#526b78); font-size:.8rem; line-height:1.45; }
.pf-spelling-undo { font:inherit; border:0; background:transparent; color:var(--pf-control-accent,#008eaf); padding:.25rem .4rem; border-radius:var(--pf-control-radius,8px); text-decoration:underline; }
.pf-spelling-menu { position:fixed; z-index:2147483000; display:flex; flex-direction:column; width:max-content; min-width:min(230px,calc(100vw - 16px)); max-width:min(340px,calc(100vw - 16px)); max-height:calc(100dvh - 16px); overflow:auto; padding:.4rem; border:1px solid var(--pf-control-border,#c5dbe6); border-radius:var(--pf-control-radius,14px); background:var(--pf-control-surface,var(--bs-body-bg,#fff)); color:var(--pf-control-text,var(--bs-body-color,#173747)); box-shadow:0 12px 35px #17374726; font-family:inherit; font-size:.9rem; }
.pf-spelling-menu__title { padding:.45rem .65rem; overflow-wrap:anywhere; }
.pf-spelling-menu__hint { max-width:280px; padding:.4rem .65rem; font-size:.8rem; color:var(--pf-control-muted,#526b78); white-space:normal; }
.pf-spelling-menu button { display:block; min-height:40px; width:100%; border:0; border-radius:8px; padding:.5rem .65rem; background:transparent; color:inherit; text-align:start; font:inherit; cursor:pointer; white-space:normal; overflow-wrap:anywhere; }
.pf-spelling-menu button:hover,.pf-spelling-menu button:focus-visible { background:color-mix(in srgb,var(--pf-control-accent,#008eaf) 12%,transparent); outline:2px solid var(--pf-control-accent,#008eaf); outline-offset:-2px; }
