/* Ek ince ayarlar — Tailwind CDN ile birlikte */
html { scroll-behavior: smooth; }

/* iPhone / notch güvenli alanı */
.safe-top {
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
}
.safe-bottom {
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
}
.pb-safe {
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}
.note-content { word-break: break-word; overflow-wrap: anywhere; }
.note-editor-area ul { list-style: disc; padding-left: 1.25rem; }
.note-editor-area ol { list-style: decimal; padding-left: 1.25rem; }

/* Note cards */
.note-card {
  -webkit-tap-highlight-color: transparent;
  min-height: 120px;
}
.note-card-title { word-break: break-word; }
.note-card-body  { word-break: break-word; }

/* List view */
.view-list .note-card { min-height: 68px; }

/* Uniform image heights */
.note-card img { display: block; }

/* Scrollbar thin */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
