/* Bloco de notas que abre dentro da célula/coluna (zero popup) */
/* ── BLOCO DE NOTAS INTEGRADO NA PRÓPRIA CÉLULA (ZERO POPUP) ── */
.in-cell-notepad {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  background-color: var(--bg);
  overflow: hidden;
  opacity: 0;
  transition: opacity 180ms ease;
}

.in-cell-notepad.is-revealed {
  opacity: 1;
}

.notepad-body {
  flex: 1;
  display: flex;
  min-height: 0;
  background-color: var(--bg);
  padding: 0;
}

.notepad-editor {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  resize: none;
  box-sizing: border-box;
}

.notepad-editor::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.notepad-footer {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
  font-size: 11.5px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.notepad-status-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.notepad-save-btn {
  background: var(--accent);
  color: oklch(100% 0 0);
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.12s ease;
}

.notepad-save-btn:hover {
  opacity: 0.9;
}

