.about-languagebar{position:absolute;z-index:5;display:flex;flex-wrap:wrap;gap:12px;max-width:90%;font:12px Arial,Helvetica,sans-serif}
.about-languagebar button{border:0;background:none;color:inherit;padding:5px 0;cursor:pointer;font:inherit;opacity:.6}
.about-languagebar button[aria-pressed=true]{opacity:1;text-decoration:underline;text-underline-offset:4px}
.about-languagebar{box-sizing:border-box;align-items:center;align-content:center;overflow:visible}
.about-languagebar.is-about-language-selected{outline:1px solid #2775df;outline-offset:0}
.about-language-box-tools{position:absolute;box-sizing:border-box;z-index:25;pointer-events:none;display:none;border:1px solid #2775df}
.about-language-box-tools.selected{display:block}
.about-language-box-tools button{pointer-events:auto;position:absolute;border:1px solid #2775df;background:white;padding:0;touch-action:none}
.about-language-box-tools .about-language-grip{left:0;top:-25px;padding:3px 7px;white-space:nowrap;font:10px Arial,sans-serif;color:#1555aa;cursor:move}
.about-language-resize{width:10px;height:10px}
.about-language-resize.n{top:-5px;left:calc(50% - 16px);width:32px;height:8px;cursor:ns-resize}
.about-language-resize.s{bottom:-5px;left:calc(50% - 16px);width:32px;height:8px;cursor:ns-resize}
.about-language-resize.e{right:-5px;top:calc(50% - 16px);height:32px;width:8px;cursor:ew-resize}
.about-language-resize.w{left:-5px;top:calc(50% - 16px);height:32px;width:8px;cursor:ew-resize}
.about-language-resize.ne{right:-5px;top:-5px;cursor:nesw-resize}
.about-language-resize.se{right:-5px;bottom:-5px;cursor:nwse-resize}
.about-language-resize.sw{left:-5px;bottom:-5px;cursor:nesw-resize}
.about-language-resize.nw{left:-5px;top:-5px;cursor:nwse-resize}
.about-translation-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}
.about-translation-tools input{width:75px}
.ai-translation-dialog{color:#171717;background:#fff;border:1px solid #aaa;max-width:850px;width:90vw;max-height:85vh;overflow:auto;padding:24px;font:14px/1.6 Arial,Helvetica,sans-serif}
.ai-translation-dialog::backdrop{background:#0005}
.ai-translation-dialog label{display:block;margin:10px 0}
.ai-translation-dialog input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;padding:8px;border:1px solid #aaa}
.ai-targets{display:flex;gap:16px;flex-wrap:wrap}
.ai-translation-result{border-top:1px solid #ddd;max-height:260px;overflow:auto;padding:12px 0}
