/* Online Notepad — tool-specific styles (loaded after /assets/base.css) */
.np-card { display: flex; flex-direction: column; gap: 14px; }
.np-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.np-bar .btn { padding: 9px 14px; font-size: .88rem; }
.np-select { background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
  padding: 9px 12px; border-radius: var(--radius-sm); font-size: .92rem; font-family: inherit;
  max-width: 240px; flex: 1 1 160px; min-width: 120px; cursor: pointer; }
.np-select:focus { outline: none; border-color: var(--accent); }
.np-spacer { flex: 1; }
.np-text {
  width: 100%; min-height: 52vh; resize: vertical; background: var(--bg-soft); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 18px;
  font-size: 1rem; line-height: 1.65; font-family: "Inter", system-ui, sans-serif; tab-size: 2;
}
.np-text:focus { outline: none; border-color: var(--accent); }
.np-stats { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted-2); font-size: .85rem; }
.np-stats b { color: var(--text); font-variant-numeric: tabular-nums; }
.np-saved { color: var(--good); font-weight: 600; transition: opacity .3s; }
.np-saved.saving { color: var(--muted-2); }

@media (max-width: 560px) {
  .np-bar { gap: 6px; }
  .np-bar .btn { flex: 1 1 auto; }
  .np-text { min-height: 46vh; }
}
