[x-cloak] { display: none !important; }

/* 滾動條美化 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* 卡片陰影微調 */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 1px 0 rgb(0 0 0 / 0.02);
}

/* 表格 hover 效果 */
table tbody tr {
  transition: background-color 0.1s ease;
}

/* 動畫過渡 */
section[x-show] {
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 列印優化 */
@media print {
  aside, header, button { display: none !important; }
}
