/* @overa/ui-kit 0.40.0 · el botón «Reportar», su panel, los pines y la campana (js/report.js, js/notifications.js).
   Prefijo `ov-rp-`. Los colores, con los tokens de app.css; nada de `style=` (la posición de los pines va por CSSOM). */

.ov-rp-slot { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; }
/* el color, el de la barra donde va (0.22.2): blanco en la negra del armazón, el del texto en una barra clara */
.ov-rp-button { font: inherit; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid currentColor;
  background: transparent; color: inherit; cursor: pointer; opacity: .9; }
.ov-rp-button:hover, .ov-rp-button:focus-visible { background: rgba(127, 127, 127, .18); outline: none; opacity: 1; }
.ov-sh-bar .ov-rp-button { color: #fff; }
/* en pantallas táctiles, la zona de toque de 44 px (lo pide la guía de la suite; lo encontró app-sign) */
@media (pointer: coarse) { .ov-rp-button, .ov-nt-bell { min-height: 44px; min-width: 44px; } }
.ov-rp-button[hidden] { display: none; }
.ov-rp-button.ov-rp-floating { position: fixed; right: 16px; bottom: 16px; z-index: 2147483000; background: #282828; border-color: #282828; color: #fff; opacity: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }

.ov-rp-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 2147483001; overflow-y: auto;
  background: var(--color-surface, #fff); color: var(--color-text, #1f2328); box-shadow: -8px 0 32px rgba(0, 0, 0, .18);
  padding: 0 18px 18px; box-sizing: border-box; font-size: 14px; }
.ov-rp-panel[hidden] { display: none; }
.ov-rp-panel.is-pinning { opacity: .35; pointer-events: none; }
.ov-rp-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: inherit; padding: 14px 0 8px; }
.ov-rp-title { font-size: 17px; margin: 0; }
.ov-rp-notice { font-size: 12px; color: var(--color-text-muted, #6b7280); margin: 0 0 10px; }
.ov-rp-section { border-top: 1px solid var(--color-border, #e4e8ec); padding: 10px 0; }
.ov-rp-h { font-size: 13px; margin: 0 0 8px; color: var(--color-text-muted, #6b7280); font-weight: 600; }
.ov-rp-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-rp-kind { font: inherit; font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--color-border, #d0d7de); background: transparent; cursor: pointer; color: inherit; }
.ov-rp-kind.is-on { background: var(--color-primary, #1f6feb); border-color: var(--color-primary, #1f6feb); color: #fff; }
.ov-rp-text, .ov-rp-input { font: inherit; width: 100%; box-sizing: border-box; padding: 7px 9px; border: 1px solid var(--color-border, #d0d7de); border-radius: 6px; background: transparent; color: inherit; }
/* en el móvil, 16 px: con menos, iOS amplía la página al escribir o dictar en el cuadro (0.22.4) */
@media (pointer: coarse) { .ov-rp-text, .ov-rp-input { font-size: 16px; } }
.ov-rp-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.ov-rp-btn { font: inherit; font-size: 13px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--color-border, #d0d7de); background: transparent; cursor: pointer; color: inherit; }
.ov-rp-btn.is-on { border-color: var(--color-primary, #1f6feb); color: var(--color-primary, #1f6feb); }
.ov-rp-btn.is-recording { border-color: #e5484d; color: #e5484d; }
.ov-rp-link { border: 0; padding: 2px 4px; color: var(--color-primary, #1f6feb); }
.ov-rp-primary { background: var(--color-primary, #1f6feb); border-color: var(--color-primary, #1f6feb); color: #fff; }
.ov-rp-quiet { border-color: transparent; }
.ov-rp-close { border-color: transparent; }
.ov-rp-muted { font-size: 12px; color: var(--color-text-muted, #6b7280); }
.ov-rp-pins { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.ov-rp-pin-what { display: block; font-size: 13px; margin-bottom: 2px; overflow-wrap: anywhere; }
.ov-rp-editor { margin-top: 8px; }
.ov-rp-shot { display: block; width: 100%; height: auto; margin-top: 6px; border: 1px solid var(--color-border, #e4e8ec); border-radius: 4px; cursor: crosshair; touch-action: none; }
.ov-rp-preview { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; font-size: 13px; }
.ov-rp-preview input { margin-right: 6px; }
.ov-rp-check { display: block; font-size: 13px; margin-top: 6px; }
.ov-rp-status { min-height: 1.2em; font-size: 13px; margin: 8px 0 0; }
.ov-rp-foot { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; }

/* señalar: el recuadro que sigue al ratón, la barra de ayuda y las marcas numeradas */
.ov-rp-hover { position: fixed; z-index: 2147483002; pointer-events: none; border: 2px solid var(--color-primary, #1f6feb); border-radius: 4px;
  background: rgba(31, 111, 235, .08); }
.ov-rp-pinbar { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2147483003; background: #282828; color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; pointer-events: none; }
.ov-rp-mark { position: fixed; z-index: 2147483000; pointer-events: none; border: 2px solid #e5484d; border-radius: 4px; color: #fff; font-size: 11px;
  font-weight: 700; line-height: 16px; text-indent: 4px; background: linear-gradient(#e5484d, #e5484d) top left / 16px 16px no-repeat; }

/* la campana (js/notifications.js) */
.ov-nt-bell { position: relative; font: inherit; background: transparent; border: 0; color: inherit; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.ov-nt-bell:hover, .ov-nt-bell:focus-visible { background: rgba(127, 127, 127, .18); outline: none; }
.ov-sh-bar .ov-nt-bell { color: #fff; }
.ov-nt-bell svg { display: block; width: 20px; height: 20px; }
.ov-nt-count { position: absolute; top: -2px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 8px;
  background: #e5484d; color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.ov-nt-count[hidden] { display: none; }
.ov-nt-panel { position: fixed; top: 56px; right: 12px; width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 80px); overflow-y: auto; z-index: 2147482999;
  background: var(--color-surface, #fff); color: var(--color-text, #1f2328); border-radius: 10px; box-shadow: 0 12px 40px rgba(0, 0, 0, .22); font-size: 14px; }
.ov-nt-panel[hidden] { display: none; }
.ov-nt-tabs { display: flex; border-bottom: 1px solid var(--color-border, #e4e8ec); }
.ov-nt-tab { flex: 1; font: inherit; padding: 10px; border: 0; background: transparent; cursor: pointer; color: inherit; border-bottom: 2px solid transparent; }
.ov-nt-tab.is-on { border-bottom-color: var(--color-primary, #1f6feb); font-weight: 600; }
.ov-nt-list { list-style: none; margin: 0; padding: 0; }
.ov-nt-item { padding: 10px 14px; border-bottom: 1px solid var(--color-border, #e4e8ec); }
.ov-nt-item.is-unread { background: rgba(31, 111, 235, .06); }
.ov-nt-item-title { font-weight: 600; display: block; margin-bottom: 2px; }
/* «Mis reportes»: el título es un botón (abre el caso) y un botón centra su texto: alineado a la izquierda como el resto (0.24.3) */
button.ov-nt-item-title { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
/* 0.40.0 (FB-30): como el título de un aviso (no un enlace azul); el color del kit solo al pasar o con el teclado */
button.ov-nt-item-title:hover, button.ov-nt-item-title:focus-visible { color: var(--color-primary, #1f6feb); outline: none; text-decoration: underline; }
.ov-nt-item-body { margin: 0 0 6px; white-space: pre-wrap; }
.ov-nt-meta { font-size: 12px; color: var(--color-text-muted, #6b7280); }
.ov-nt-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ov-nt-empty { padding: 18px 14px; color: var(--color-text-muted, #6b7280); }
.ov-nt-convo { padding: 10px 14px; }
.ov-nt-msg { margin: 0 0 8px; padding: 6px 10px; border-radius: 8px; background: var(--color-surface-2, #f6f8fa); white-space: pre-wrap; }
.ov-nt-msg.is-me { background: rgba(31, 111, 235, .08); }
/* 0.25.0: «Tengo una idea» al pie de la campana */
.ov-nt-idea { display: block; width: calc(100% - 24px); margin: 8px 12px 12px; }
/* 0.25.2: lo escrito por la IA sin revisar (art. 50 de la Ley de IA) */
.ov-nt-ai { display: inline-block; margin-top: 4px; font-size: 11px; padding: 1px 6px; border-radius: 8px; border: 1px solid var(--color-border, #e4e8ec); color: var(--color-muted, #57606a); }
/* 0.27.0 (Aletheia F12): «¿es esto?», problemas conocidos, valoración y preferencias */
.ov-rp-similar .ov-rp-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin: 4px 0; }
.ov-rp-known { margin: 4px 0; padding: 6px 8px; border-radius: 6px; border-left: 3px solid #b58100; background: var(--color-surface-alt, #fff8e6); }
.ov-rp-known-critical { border-left-color: #c62828; }
.ov-rp-known-info { border-left-color: #1f6feb; }
.ov-ki-banner { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2147483000; display: flex; gap: 12px; align-items: center;
  max-width: min(720px, calc(100vw - 32px)); padding: 10px 14px; border-radius: 8px; background: var(--color-surface, #fff); color: inherit;
  border: 1px solid var(--color-border, #e4e8ec); border-left: 4px solid #b58100; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); }
.ov-ki-critical { border-left-color: #c62828; }
.ov-ki-info { border-left-color: #1f6feb; }
.ov-nt-rating { display: flex; gap: 4px; align-items: center; margin-bottom: 6px; }
.ov-nt-star { min-width: 28px; min-height: 28px; }
.ov-nt-star.is-on { background: #f5c518; color: #1f2328; }
.ov-nt-pref { display: flex; align-items: center; gap: 6px; padding: 6px 12px; }
/* 0.35.0 (NOT-5): el caso legible (lo que mandó, lo hecho, las preguntas viejas), los enlaces y «Mis reportes» en grande */
.ov-nt-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; }
.ov-nt-label { margin: 10px 0 4px; font-size: 12px; font-weight: 600; color: var(--color-text-muted, #6b7280); }
.ov-nt-quote { margin: 0 0 8px; padding: 6px 10px; border-left: 3px solid var(--color-primary, #1f6feb); background: var(--color-surface-2, #f6f8fa); border-radius: 6px; white-space: pre-wrap; }
.ov-nt-msg.is-old { opacity: .7; }
.ov-nt-msg.is-pending { border-left: 3px solid #b58100; }
/* 0.40.0 (FB-30): «Mis reportes» en la campana: cuántos abiertos y «Centro de reportes»; el estado de cada uno, en su píldora */
.ov-nt-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--color-border, #e4e8ec); }
.ov-nt-state { display: inline-block; margin: 2px 0 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--color-surface-2, #f6f8fa); color: var(--color-text-muted, #6b7280); }
.ov-nt-state.is-waiting { background: rgba(181, 129, 0, .12); color: #8a6100; }
.ov-nt-state.is-settled { background: transparent; border: 1px solid var(--color-border, #e4e8ec); }
/* el Centro de reportes: la barra de filtros de la suite (css/suite-console.css `.ov-filters`) bajo su cabecera */
.ov-nt-full .ov-nt-filters { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--color-border, #e4e8ec); }
.ov-nt-item.is-current { background: rgba(31, 111, 235, .1); }
.ov-nt-full { position: fixed; inset: 24px; z-index: 2147483000; display: flex; flex-direction: column; max-width: 1200px; margin: 0 auto;
  background: var(--color-surface, #fff); color: var(--color-text, #1f2328); border-radius: 12px; box-shadow: 0 16px 48px rgba(0, 0, 0, .28); font-size: 14px; overflow: hidden; }
.ov-nt-full-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--color-border, #e4e8ec); }
.ov-nt-full-head .ov-rp-title { margin: 0; }
.ov-nt-full-cols { flex: 1; display: grid; grid-template-columns: minmax(260px, 2fr) 3fr; min-height: 0; }
.ov-nt-full-list, .ov-nt-full-detail { overflow-y: auto; min-height: 0; }
.ov-nt-full-list { border-right: 1px solid var(--color-border, #e4e8ec); }
@media (max-width: 760px) { .ov-nt-full { inset: 0; border-radius: 0; } .ov-nt-full-cols { grid-template-columns: 1fr; grid-template-rows: 40% 60%; } .ov-nt-full-list { border-right: 0; border-bottom: 1px solid var(--color-border, #e4e8ec); } }
