/* Shared tool "Area" (contract 27.11.2026, 5.4): the frame for marking an area. Accent line 2 px, no fill, no shadow. */
.brodlin-area-layer { position: fixed; inset: 0; z-index: 2147483000; cursor: crosshair; touch-action: none; user-select: none; -webkit-user-select: none; }
.brodlin-area-frame { position: absolute; left: 0; top: 0; box-sizing: border-box; border: 2px solid #4D6EF0; background: none; pointer-events: none; }
.brodlin-area-zoom { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
/* "Download PNG" inside the site message after a snapshot: a plain accent word, no fill, no frame */
.brodlin-area-download { pointer-events: auto; display: inline-block; margin-top: 4px; padding: 0; border: 0; background: none; color: #4D6EF0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
/* Loupe (Denis 28.11.2026): a small window next to the pointer with the enlarged place of the sheet. A thin line of the
   editor's own grey, no shadow, no fill of its own. With a mouse it takes no clicks; on a phone a tap changes the size. */
.brodlin-loupe { position: fixed; left: 0; top: 0; z-index: 2147482000; box-sizing: content-box; width: 240px; height: 160px; border: 1px solid #c7cdd4; border-radius: 8px; overflow: hidden; background: #fff; pointer-events: none; user-select: none; -webkit-user-select: none; }
.brodlin-loupe[hidden] { display: none; }
.brodlin-loupe canvas { display: block; width: 240px; height: 160px; }
.brodlin-loupe--touch { pointer-events: auto; }
/* the loupe stays on while the person works, so its button shows it: the weak tint of the accent (law: active = weak blue tint) */
html body .web-document-navigation button[data-brodlin-area="loupe"][aria-pressed="true"],
html body .web-document-navigation button[data-brodlin-area="loupe"][aria-pressed="true"]:is(:hover, :active, :focus) { background: rgba(77, 110, 240, .28) !important; background-color: rgba(77, 110, 240, .28) !important; }
.brodlin-loupe__zoom { position: absolute; inset-inline-end: 6px; bottom: 5px; padding: 0 4px; border-radius: 4px; background: #fff; color: #34465b; font: 400 12px/18px Inter, "Segoe UI", Arial, sans-serif; direction: ltr; }
