/* «ملاحظات المحاسب» */
.an { display: grid; gap: 12px; max-width: 900px; }
.an-new { background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 12px; }
.an-new h4 { margin: 0 0 8px; }
.an-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px; align-items: start; }
.an-row input, .an-row textarea, .an-reply textarea { width: 100%; font: inherit; padding: 6px 8px; border: 1px solid var(--line, #d1d5db); border-radius: 8px; }
.an-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.an-tabs button { font: inherit; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line, #d1d5db); background: transparent; cursor: pointer; }
.an-tabs button.on { background: var(--brand, #0f766e); color: #fff; border-color: transparent; }
.an-card { background: var(--card, #fff); border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 12px; display: grid; gap: 8px; }
.an-focus { box-shadow: 0 0 0 2px var(--brand, #0f766e); }
.an-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.an-ref { font-weight: 700; }
.an-who { margin-inline-start: auto; font-size: 12px; }
.an-tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #f1f5f9; }
.an-open { background: #fef3c7; color: #92400e; }
.an-ans { background: #dbeafe; color: #1e40af; }
.an-closed { background: #e5e7eb; color: #374151; }
.an-warn { background: #fee2e2; color: #991b1b; }
.an-topic { white-space: pre-wrap; font-weight: 600; }
.an-msg { white-space: pre-wrap; padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.an-msg b { margin-inline-end: 6px; }
.an-msg--acc { background: #f0fdfa; }
.an-msg--emp { background: #f8fafc; }
.an-reply { display: grid; gap: 6px; }
.an-btns { display: flex; gap: 6px; }
@media (max-width: 640px) { .an-row { grid-template-columns: 1fr; } .an-who { margin-inline-start: 0; } }
