.wordmark .brand-mark { width: 29px; height: 29px; border-radius: 8px; flex: 0 0 auto; }
.pill.status-review, .archive-status.review { background: #fff0d9; color: #86520b; }
.pill.status-pending, .archive-status.pending { background: #eef1f5; color: #566270; }
.pill.status-active, .archive-status.active { background: #eaf2eb; color: #18583f; }
.pill.status-reviewed, .archive-status.reviewed { background: #edf3f0; color: #466754; }
.pill.status-unknown, .archive-status.unknown { background: #f0f0f2; color: #616975; }
.latest-review { margin: 0 0 12px; padding: 12px 14px; background: #f5f7f9; border-radius: 10px; }
.latest-review strong { font-size: 13px; font-weight: 550; }
.latest-review p { margin: 6px 0 0; color: #57616e; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.latest-review time { display: block; margin-top: 6px; font-size: 11px; color: #727b86; }
@media (max-width: 680px) {
  .record-surface .task-meta { min-width: 0; }
  .record-surface .task-meta strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .record-surface .task-meta p { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
  .record-surface .task-side { flex-shrink: 0; }
  .record-surface .task-side .pill { font-size: 11px; }
  .wordmark .brand-mark { width: 27px; height: 27px; }
}
.header-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }
.header-actions button { white-space: nowrap; }
#account-entry { max-width: 9em; overflow: hidden; text-overflow: ellipsis; }
#account-dialog { max-height: 90dvh; overflow: auto; }
#account-dialog label { display: block; margin: 12px 0; font-size: 14px; }
#account-dialog input, #account-dialog select { display: block; width: 100%; }
#account-dialog [role="status"]:empty { margin: 0; }
@media (min-width: 651px) and (max-width: 850px) {
  .header-inner, .header-inner nav { gap: 12px; }
}
@media (max-width: 650px) {
  .header-inner:has(.header-actions) { gap: 12px; }
  #mobile-nav a { flex: 1; min-width: 0; padding-inline: 3px; }
}
