.smart-page-actions, .smart-toolbar, .smart-totals, .smart-card-heading, .smart-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.smart-page-actions { justify-content: flex-end; }
.smart-jump { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 700; }
.smart-center { scroll-margin-top: 16px; }
.smart-center .section-heading p, .smart-rule-note { margin-top: 6px; }
.smart-board { margin-top: 12px; }
.smart-toolbar { justify-content: space-between; }
.smart-totals span { padding: 5px 10px; background: var(--soft); border-radius: 14px; font-size: .86rem; font-weight: 700; }
.smart-toolbar select { margin-left: 5px; min-height: 36px; border: 1px solid var(--line); padding: 3px 8px; border-radius: 8px; color: var(--forest); background: #fff; font: inherit; }
.smart-task-list { list-style: none; padding: 0; margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.smart-task-card { border: 1px solid var(--line); border-left: 4px solid #3f725e; background: #f8faf8; border-radius: 10px; padding: 12px; min-width: 0; overflow-wrap: anywhere; }
.smart-task-card[data-priority="critical"] { border-left-color: #a33d2e; }
.smart-task-card[data-priority="high"] { border-left-color: #a4782e; }
.smart-card-heading { justify-content: space-between; }
.smart-card-heading h3 { margin: 0; font-size: 1rem; }
.smart-priority { color: var(--forest); background: var(--soft); border-radius: 12px; padding: 3px 8px; font-size: .77rem; font-weight: 700; }
[data-priority="critical"] .smart-priority { color: #852c21; background: #f5e3dd; }
[data-priority="high"] .smart-priority { color: #694612; background: #f7ead8; }
.smart-card-meta { margin-top: 6px; font-size: .84rem; font-weight: 700; }
.smart-card-time { font-size: .78rem; }
.smart-card-reason, .smart-card-suggestion { margin-top: 6px; line-height: 1.45; font-size: .9rem; }
.smart-card-actions { margin-top: 10px; gap: 6px; }
.smart-card-actions button { background: white; font-size: .84rem; }
.smart-card-actions button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 720px) {
  .smart-page-actions { justify-content: flex-start; }
  .smart-task-list { grid-template-columns: minmax(0, 1fr); }
}
