/* Notlar, Not ve Arama ekranları */
.chips { flex: none; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; max-width: 220px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); background: none; color: var(--text); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.chip > span { overflow: hidden; text-overflow: ellipsis; }
.chip svg { color: var(--accent-text); }
.chip.is-on { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 600; }
.chip.is-on svg { color: var(--bg); }
.chip--tall { height: var(--target); }

.notes-more { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.empty .btn { width: auto; min-width: 180px; margin-top: 16px; }

/* Not düzenleme */
.note-form { flex: none; display: flex; flex-direction: column; gap: 16px; }
.note-date { margin: 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.note-title { font-size: 20px; font-weight: 700; height: 52px; }
.note-body { min-height: 240px; line-height: 24px; font-size: 15px; overflow: hidden; resize: none; }
@media (pointer: coarse) { .note-title { font-size: 20px; } .note-body { font-size: 16px; } }
.note-pair { display: grid; grid-template-columns: 1fr; gap: 16px; }
.select { appearance: none; -webkit-appearance: none; background-image: none; padding-right: 16px; text-overflow: ellipsis; }
.note-status { margin: 0; min-height: 20px; font-size: 13px; line-height: 20px; color: var(--muted); }
.note-status.is-dirty { color: var(--accent-text); }
.note-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn--danger-armed { background: var(--danger); border-color: var(--danger); color: var(--text); }
.tpl { display: flex; flex-direction: column; gap: 8px; }

/* Arama */
.searchbox { flex: none; height: var(--btn); box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.searchbox:focus-within { border-color: var(--accent-text); }
.searchbox input { flex: 1; min-width: 0; height: 100%; background: none; border: none; outline: none; color: var(--text); font-size: 15px; }
.searchbox input::placeholder { color: var(--muted); opacity: 1; }
.searchbox input::-webkit-search-cancel-button { display: none; }
.searchbox__clear { flex: none; width: var(--target); height: var(--target); margin-right: -12px; background: none; border: 0; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.sr { display: flex; flex-direction: column; gap: 16px; }
.sr .row__meta { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 18px; }
.sr__where { color: var(--accent-text); font-weight: 600; }
.sr mark { background: var(--label); color: var(--text); border-radius: 4px; padding: 0 3px; }
.row--static { cursor: default; }
