.lifecycle-danger { color: #b42318; border: 1px solid #f1b9b4; background: #fff5f4; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.lifecycle-danger:disabled { opacity: .55; cursor: not-allowed; }
.lifecycle-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--border, #e5e7eb); }
.lifecycle-notice { background: #fff5f4; color: #b42318; padding: 16px; border-radius: 8px; line-height: 1.7; }
.lifecycle-state { display: inline-block; padding: 4px 8px; border-radius: 6px; background: #eef2f6; white-space: nowrap; }
.lifecycle-details dd { overflow-wrap: anywhere; }
dialog:has(.lifecycle-actions) .detail-list { padding: 16px 24px; }
.lifecycle-progress { padding: 16px 24px; line-height: 1.8; }
@media (max-width: 600px) { .lifecycle-actions { padding: 16px; } .lifecycle-details { padding: 16px; } }
@media print { .lifecycle-actions, .lifecycle-danger, #modal:has(.lifecycle-notice), #modal:has(.lifecycle-actions) { display: none !important; } }
@media print {
  #license-shop-rows .lifecycle-archive-table th:nth-child(n), #license-shop-rows .lifecycle-archive-table td:nth-child(n) { width: auto; white-space: normal; }
  #license-shop-rows .lifecycle-archive-table th:nth-child(11), #license-shop-rows .lifecycle-archive-table td:nth-child(11) { display: none; }
  #license-shop-rows .lifecycle-archive-table th:nth-child(6) { width: 50px; }
  #license-shop-rows .lifecycle-archive-table th:nth-child(7), #license-shop-rows .lifecycle-archive-table th:nth-child(8) { width: 150px; }
  #license-shop-rows .lifecycle-archive-table th:nth-child(9), #license-shop-rows .lifecycle-archive-table th:nth-child(10) { width: 45px; }
}
