/* ==========================================================================
 * nc-fullscreen-editor.css — Editor full-screen móvil (F2 móvil v3 §24 2026-07-10)
 *
 * Overlay a pantalla completa para editar filas densas (ventanas Upvm, etc.).
 * Tema oscuro slate del app. A11y: bordes significantes >= slate-500 #64748b
 * (3.75:1 sobre #0f172a), targets >= 44px, prefers-reduced-motion.
 * z-index sobre la bottom-nav móvil (8600) y el header (whatever) — 9500.
 * ========================================================================== */

.nc-fse {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  color: #f8fafc;
  padding-top: env(safe-area-inset-top, 0px);
  animation: nc-fse-in 0.18s ease-out;
}
@keyframes nc-fse-in {
  from { transform: translateY(24px); opacity: 0.6; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-fse { animation: none; }
}

.nc-fse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #334155; /* separador decorativo */
  flex: 0 0 auto;
}
.nc-fse-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nc-fse-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.nc-fse-close:focus-visible { outline: 2px solid #0ea5e9; outline-offset: 2px; }

.nc-fse-body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nc-fse-field { display: flex; flex-direction: column; gap: 6px; }
.nc-fse-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8; /* 7:1 sobre slate-900 */
}
.nc-fse-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #64748b; /* significante: >=3:1 (a11y §24) */
  border-radius: 10px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 1rem; /* >=16px: evita zoom automático de iOS al enfocar */
}
.nc-fse-input:focus-visible { outline: 2px solid #0ea5e9; outline-offset: 1px; }
.nc-fse-field--ro .nc-fse-input {
  opacity: 1;
  color: #d1fae5;
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(6, 78, 59, 0.22);
}
.nc-fse-hint { font-size: 0.75rem; color: #94a3b8; }

.nc-fse-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #334155;
  flex: 0 0 auto;
  background: #0f172a;
}
.nc-fse-footer-spacer { flex: 1 1 auto; }
.nc-fse-btn {
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid #64748b;
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}
.nc-fse-btn:focus-visible { outline: 2px solid #0ea5e9; outline-offset: 2px; }
.nc-fse-btn--primary {
  background: #047857; /* emerald print-safe brand */
  border-color: #047857;
}
.nc-fse-btn--ghost { background: transparent; }
.nc-fse-btn--danger {
  background: transparent;
  border-color: #ef4444;
  color: #fca5a5;
}
