/* Tryb uwag (jak komentarze w Vercel) — demo; na produkcji tylko zalogowany pracownik (0.9.85). */
.aua-rv-bar { box-sizing: border-box; position: fixed; z-index: 2147483000; right: 16px; bottom: 84px; display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border-radius: 999px; background: #111827; color: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); font: 600 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; }
.aua-rv-btn { border: 0; border-radius: 999px; padding: 8px 14px; background: #7c3aed; color: #fff; font: inherit; cursor: pointer; }
.aua-rv-btn:disabled { opacity: .6; cursor: wait; }
.aua-rv-link { border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 4px 6px; }
.aua-rv-bar[hidden], .aua-rv-mini[hidden] { display: none !important; }
.aua-rv-hide { font-size: 18px; line-height: 1; text-decoration: none; padding: 2px 6px; opacity: .8; }
.aua-rv-mini { position: fixed; z-index: 2147483000; right: 16px; bottom: 84px; border: 0; border-radius: 999px; padding: 8px 12px; background: #7c3aed; color: #fff; font: 600 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); opacity: .85; }
.aua-rv-mini:hover, .aua-rv-mini:focus-visible { opacity: 1; }
.aua-rv-count { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: #f43f5e; font-size: 12px; }
.aua-rv-picking, .aua-rv-picking * { cursor: crosshair !important; }
.aua-rv-hover { outline: 2px solid #7c3aed !important; outline-offset: 2px !important; }
.aua-rv-layer { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 2147482000; }
.aua-rv-pin[hidden] { display: none; }
.aua-rv-live { position: fixed !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.aua-rv-pin { position: absolute; transform: translate(-50%, -100%); width: 28px; height: 28px; border-radius: 50% 50% 50% 0; rotate: -45deg; border: 2px solid #fff; background: #7c3aed; color: #fff; font: 700 12px/1 system-ui, sans-serif; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); padding: 0; }
.aua-rv-pin { display: grid; place-items: center; }
.aua-rv-pin.is-done { background: #9ca3af; }
.aua-rv-btn:focus-visible, .aua-rv-link:focus-visible, .aua-rv-pin:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }
.aua-rv-pop { box-sizing: border-box; position: fixed; max-height: calc(100vh - 16px); overflow: auto; z-index: 2147483001; width: min(320px, calc(100vw - 16px)); padding: 12px; border-radius: 12px; background: #fff; color: #111827; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); border: 1px solid #e5e7eb; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; display: grid; gap: 8px; }
.aua-rv-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.aua-rv-meta { color: #6b7280; font-size: 12px; margin: 0; }
.aua-rv-body { margin: 0; white-space: pre-wrap; }
.aua-rv-reply { font-size: 13px; padding: 6px 8px; border-radius: 8px; background: #f3f4f6; white-space: pre-wrap; }
.aua-rv-input { width: 100%; box-sizing: border-box; border: 1px solid #d1d5db; border-radius: 8px; padding: 8px; font: inherit; color: inherit; background: #fff; }
.aua-rv-err { color: #b91c1c; margin: 0; font-size: 13px; }
.aua-rv-pop .aua-rv-link { color: #4b5563; justify-self: start; padding: 0; }
.aua-rv-panel { box-sizing: border-box; position: fixed; z-index: 2147483001; right: 16px; bottom: 136px; width: min(420px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; padding: 12px; border-radius: 12px; background: #fff; color: #111827; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); border: 1px solid #e5e7eb; font: 14px/1.45 system-ui, sans-serif; }
.aua-rv-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.aua-rv-list .is-done a { color: #9ca3af; text-decoration: line-through; }
/* Pracownik przy włączonym trybie uwag: ten sam dymek jako przycisk (AUA_Review::trigger_mode, 0.9.85). */
button.aua-bug { cursor: pointer; line-height: 1.2; }
button.aua-bug[aria-pressed="true"] { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.25), 0 10px 28px -14px rgba(6,40,30,.6); }
button.aua-bug:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }
@media print { .aua-rv-mini, .aua-rv-bar, .aua-rv-layer, .aua-rv-pop, .aua-rv-panel { display: none; } }
