/* «Tus notas»: el panel para escribir durante la reunión (panel del equipo, hoja del participante). Mismo diseño que la extensión,
   la ventana de Mac y la app: lista con el minuto, momentos marcados en gris, campo abajo. */
.np { display: flex; flex-direction: column; background: var(--panel); color: var(--ink); min-width: 0; min-height: 0; height: 100%; overflow: hidden; }
.np .np-ph { padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line); flex: none; }
.np .np-ph .np-tt { display: flex; align-items: center; gap: 8px; }
.np .np-ph h2 { margin: 0; flex: 1; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.np .np-r1 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.np .np-sub { font-weight: 600; color: var(--ink-2); }
.np .np-rec { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--err-text); }
.np .np-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--err); }
.np .np-fin { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--ok-text); }
.np .np-fin i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.np .np-priv { display: inline-flex; gap: 5px; align-items: center; }
.np .np-lista { flex: 1; overflow-y: auto; padding: 6px 18px; display: flex; flex-direction: column; min-height: 0; }
.np .np-it { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: start; }
.np .np-it:last-child { border-bottom: 0; }
.np button.np-it { width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; font: inherit; cursor: text; border-radius: 0; }
.np button.np-it:last-child { border-bottom: 0; }
.np button.np-it:hover .np-tx { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.np button.np-it:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.np .np-ch { font-family: var(--font-mono); font-size: 12px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-self: start; margin-top: 1px; white-space: nowrap; }
.np .np-ch.desp { background: var(--sunken); color: var(--ink-2); font-family: var(--font-body); font-weight: 600; }
.np .np-tx { font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.np .np-tx .np-pend { display: inline-flex; gap: 4px; align-items: center; margin-left: 6px; font-size: 12px; color: var(--warn-text); font-weight: 600; white-space: nowrap; }
.np .np-dif { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; padding: 7px 9px; border-radius: 10px; background: var(--warn-soft); color: var(--warn-text); font-size: 12.5px; line-height: 1.4; }
.np .np-dif .ico { flex: none; margin-top: 1px; }
.np .np-it.mk .np-ch { background: none; color: var(--ink-3); padding: 0; }
.np .np-it.mk .np-tx { color: var(--ink-3); font-size: 13.5px; display: flex; gap: 6px; align-items: center; }
.np .np-it.ed { background: var(--bg); margin: 4px -10px; padding: 11px 10px; border-radius: 12px; border: 0; }
.np .np-it.ed textarea { width: 100%; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--panel); color: var(--ink); padding: 8px 10px; font: inherit; font-size: 14.5px; line-height: 1.5; box-shadow: 0 0 0 3px var(--sunken); resize: none; outline: none; }
.np .np-ac { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.np .np-ac .btn { height: 30px; padding: 0 11px; font-size: 12.5px; }
.np .np-ac .np-borrar { color: var(--err-text); }
.np .np-vac { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px 28px; color: var(--ink-3); font-size: 14px; line-height: 1.5; }
.np .np-vac .np-t { width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.np .np-vac b { color: var(--ink); font-size: 15.5px; }
.np .np-comp { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; flex: none; background: var(--panel); }
.np .np-ar2 { border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--panel); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.np .np-ar2:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--sunken); }
.np .np-ar2 textarea { border: 0; outline: none; background: none; color: var(--ink); font: inherit; font-size: 14.5px; line-height: 1.5; resize: none; min-height: 60px; max-height: 200px; padding: 0; }
.np .np-ar2 textarea::placeholder { color: var(--ink-3); }
.np .np-q { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.np .np-q .mono { color: var(--accent-text); font-weight: 500; font-family: var(--font-mono); }
.np .np-pie { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.np .np-pie .np-ok { display: inline-flex; gap: 5px; align-items: center; color: var(--ok-text); font-weight: 600; margin-left: auto; }
.np .np-pie .np-warn { display: inline-flex; gap: 5px; align-items: center; color: var(--warn-text); font-weight: 600; margin-left: auto; }
.np .np-pie .np-sv { display: inline-flex; gap: 5px; align-items: center; margin-left: auto; }
.np .np-aviso { margin: 10px 18px 0; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--warn-soft); color: var(--warn-text); font-size: 13px; line-height: 1.4; flex: none; }
.np .np-aviso .ico { flex: none; margin-top: 1px; }
.np .np-rh { margin: 10px 18px 0; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--sunken); font-size: 13px; line-height: 1.4; color: var(--ink-2); flex: none; }
.np .np-rh .btn { height: 30px; padding: 0 11px; font-size: 12.5px; margin-left: auto; flex: none; }
.np kbd { font-family: var(--font-mono); font-size: 11px; padding: 0 5px; border-radius: 5px; background: var(--sunken); color: var(--ink-2); border: 1px solid var(--line); }
/* pestañas [Alona | Tus notas] en la columna lateral de la sesión */
.np-tabs { display: flex; gap: 4px; padding: 4px; margin: 12px 14px 0; border-radius: 999px; background: var(--sunken); flex: none; }
.np-tabs button { flex: 1; height: 32px; border-radius: 999px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.np-tabs button[aria-selected="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.np-tabs .np-n { font-family: var(--font-mono); font-weight: 500; font-size: 12px; color: var(--ink-3); }
/* «Tus notas» en el detalle de una sesión procesada */
.np-card .np-lista { padding: 0; }
.np-card .np-rh, .np-card .np-aviso { margin: 0 0 10px; }
@media (prefers-reduced-motion: no-preference) { .np .np-it.nueva { animation: np-entra .22s ease-out; } }
@keyframes np-entra { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* en curso: dentro de la columna lateral, o como hoja lateral en pantallas angostas */
.ses-alona:not([hidden]) { display: flex; flex-direction: column; gap: 10px; }
.ses-alona > .al-dock, .ses-alona > .np-dock { flex: 1; min-height: 0; }
.ses-alona > .np-tabs { margin: 0; }
.np-dock { display: flex; flex-direction: column; background: var(--panel); border-radius: var(--r-grande); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.np-capa { position: fixed; top: 0; right: 0; bottom: 0; z-index: 36; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--panel);
  box-shadow: 0 0 0 1px var(--line), -24px 0 48px -24px rgba(0,0,0,.35); padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) 0; }
.np-dock > .np, .np-capa > .np { flex: 1; }
@media (max-width: 1279px) { .ses-alona:not([hidden]) { display: none; } }
/* «Capturas» entre las notas (ver captura_editor.js) */
.np .np-capi { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.np .np-mini { display: block; align-self: flex-start; width: auto; max-width: 100%; height: auto; max-height: 220px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); background: var(--sunken); min-height: 60px; }
.np .np-capb-ver { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; text-align: left; align-self: flex-start; max-width: 100%; }
.np .np-capb-ver:focus-visible, .np .np-capn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.np .np-capn { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: text; border-radius: 4px; line-height: 1.45; }
.np .np-capm .np-caped { margin-left: auto; height: 28px; padding: 0 8px; font-size: 12.5px; gap: 5px; color: var(--ink-2); }
/* la captura en grande (se agrega al body; cierra con ✕, Esc o clic fuera) */
.np-ver { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(10, 12, 16, .86); cursor: zoom-out; }
.np-ver figure { margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; max-width: 100%; }
.np-ver img { display: block; max-width: min(1400px, 94vw); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; background: #fff; cursor: default; box-shadow: 0 20px 60px -20px rgba(0,0,0,.6); }
.np-ver figcaption { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; justify-content: center; color: #f1f2f4; font-size: 14px; line-height: 1.45; max-width: 70ch; text-align: center; }
.np-ver figcaption .mono { color: #c9ccd2; font-size: 13px; }
.np-ver-x { position: absolute; top: max(12px, env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.np-ver-x:hover { background: rgba(255,255,255,.24); }
.np-ver-x:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.np .np-capm { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.np .np-capm span { display: inline-flex; gap: 4px; align-items: center; }
.np .np-capm .np-inf { color: var(--ok-text); font-weight: 600; }
.np .np-capm .np-pend { color: var(--warn-text); font-weight: 600; margin: 0; }
.np .np-it.np-cap.ed textarea { width: 100%; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--panel); color: var(--ink); padding: 8px 10px; font: inherit; font-size: 14px; line-height: 1.45; resize: none; outline: none; }
.np .np-sw { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.np .np-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.np .np-sw span { width: 34px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; }
.np .np-sw span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .15s; }
.np .np-sw input:checked + span { background: var(--ok); }
.np .np-sw input:checked + span::after { left: 17px; }
.np .np-sw input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.np .np-capb { display: flex; gap: 8px; }
.np .np-capb .btn { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 999px; }
