/* Notatka → zadania (views/notes.js, ADR-037). Tokeny kolorów z app.css; ten sam język co „Dokumenty” (documents.css). */

.note-form { display: grid; gap: 8px; margin-top: 4px; max-width: 760px; }
.note-form > * { min-width: 0; }
.note-input { width: 100%; max-width: 100%; min-height: 160px; resize: vertical; line-height: 1.45; }
.note-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.note-mac { margin-top: 10px; max-width: 62ch; }
.note-mac[data-state="offline"], .note-mac[data-state="never"], .note-mac[data-state="disabled"] { color: var(--gold); }

.note-list, .note-items, .note-created { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.note-row {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(6, 17, 26, .7); color: var(--text); text-decoration: none;
}
.note-row.is-current { border-color: var(--line-3); }
.note-row .chip { flex: none; }
.note-row .icon { flex: none; color: var(--muted); }
.note-row-main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.note-row-title { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.note-row-preview { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-row-sum { font-size: 13.5px; color: var(--text-2); overflow-wrap: anywhere; }

.note-card { margin-top: 16px; padding: 14px 16px; display: grid; gap: 12px; max-width: 760px; }
.note-card > * { min-width: 0; }
.note-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.note-card-title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.note-meta { color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }

.note-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.note-item:first-child { border-top: 0; }
.note-item .check { margin-top: -8px; }
.note-item-main { display: grid; gap: 6px; min-width: 0; flex: 1; }
.note-item-title { font-size: 15.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.note-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.note-chips .chip, .note-row .chip { white-space: normal; }
.chip-gold { color: var(--gold); border-color: rgba(255, 200, 87, .4); background: var(--gold-soft); }
.note-quote {
  margin: 0; padding: 6px 10px; border-left: 2px solid var(--line-3); color: var(--text-2); font-size: 14px;
  overflow-wrap: anywhere; white-space: pre-wrap;
}
.note-owner { width: 100%; max-width: 100%; }
.note-warn { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; color: var(--gold); font-size: 13.5px; overflow-wrap: anywhere; }

.note-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.note-foot { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
.note-sms { margin-top: 6px; white-space: normal; text-align: left; }
.note-created li { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.note-created li:first-child { border-top: 0; }
.note-text-body { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); font-size: 14px; margin-top: 8px; }
