/* Scoped import-history layout; no changes to existing works/import controls. */
.import-history-page .ih-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.import-history-page h1 { font-size:24px; margin-bottom:6px; }
.import-history-page .ih-header p, .import-history-page small { color:var(--text-secondary); }
.import-history-page .ih-notice { padding:12px 16px; border:1px solid var(--border-light); border-radius:8px; background:#f9f9fe; color:var(--text-secondary); font-size:12px; line-height:1.8; margin:16px 0; }
.import-history-page .ih-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:16px; background:#fff; padding:20px; border:1px solid var(--border); border-radius:12px; margin-bottom:18px; }
.import-history-page .ih-filters label { flex:1 1 155px; min-width:0; display:grid; gap:7px; font-size:13px; }
.import-history-page .form-input { width:100%; min-width:0; font:inherit; }
.import-history-page .ih-filter-actions { display:flex; gap:8px; }
.import-history-page .ih-table-wrap { overflow:auto; background:#fff; border:1px solid var(--border); border-radius:10px; }
.import-history-page .ih-table { width:100%; min-width:900px; border-collapse:collapse; table-layout:fixed; font-size:13px; }
.import-history-page .ih-table th, .import-history-page .ih-table td { padding:15px 16px; text-align:left; border-bottom:1px solid var(--border-light); vertical-align:top; overflow-wrap:anywhere; line-height:1.8; }
.import-history-page .ih-table th { background:#fafafa; font-weight:500; color:var(--text-secondary); }
.import-history-page .ih-table th:first-child { width:23%; }
.import-history-page .ih-row-table th:first-child { width:9%; }
.import-history-page .ih-row-table th:nth-child(2) { width:24%; }
.import-history-page .ih-row-table th:nth-child(3) { width:8%; }
.import-history-page .ih-row-table th:nth-child(4) { width:27%; }
.import-history-page .ih-row-table th:nth-child(5) { width:18%; }
.import-history-page small { display:block; font-size:12px; line-height:1.7; margin-top:4px; }
.import-history-page .ih-status { display:inline-block; padding:2px 9px; border-radius:12px; background:#fff2f0; color:#bd3f3f; font-size:12px; white-space:nowrap; }
.import-history-page .ih-status.success { color:#21844d; background:#eaf7ef; }
.import-history-page .ih-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; margin:18px 0; font-size:12px; color:var(--text-secondary); }
.import-history-page .ih-empty { text-align:center; padding:50px 20px; color:var(--text-secondary); }
.import-history-page .ih-error { padding:12px 16px; background:#fff2f0; color:#bd3f3f; border-radius:8px; margin-bottom:16px; }
.import-history-page .ih-detail-head { display:flex; align-items:center; gap:16px; margin:20px 0; }
.import-history-page .ih-detail-head h2 { font-size:19px; }
.import-history-page .ih-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; background:#fff; border:1px solid var(--border); border-radius:10px; padding:20px; }
.import-history-page .ih-summary strong { display:block; margin-top:8px; font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
.import-history-page .ih-message { margin:16px 0; font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
.import-history-page .ih-detail-filter { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:18px 0; font-size:12px; color:var(--text-secondary); }
.import-history-page .ih-detail-filter label { display:flex; align-items:center; gap:10px; }
.import-history-page .ih-detail-filter select { width:160px; }
@media(max-width:700px) {
    .import-history-page .ih-header { align-items:flex-start; flex-direction:column; }
    .import-history-page .ih-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .import-history-page .ih-filters { padding:14px; gap:12px; }
    .import-history-page .ih-header h1 { font-size:21px; }
    .import-history-page .ih-detail-head { flex-wrap:wrap; gap:10px; }
}
