.import-page h1 { margin: 0 0 12px; font-size: 24px; }
.import-page h2 { margin: 28px 0 14px; font-size: 19px; }
.import-totals { display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: 12px; margin: 20px 0; }
.import-totals > div { padding: 16px; background: #f4f7fd; border: 1px solid #dce4f1; border-radius: 8px; color: #53627b; }
.import-totals strong { display: block; font-size: 26px; color: #173b76; margin-bottom: 4px; }
.import-table { width: 100%; border-collapse: collapse; line-height: 1.7; }
.import-table td, .import-table th { padding: 12px; border: 1px solid #dce4f1; text-align: left; white-space: nowrap; }
.import-table th { background: #f4f7fd; }
.import-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.import-preview { padding: 0 20px 20px; background: #f8faff; border: 1px solid #ccd8ee; border-radius: 8px; }
.import-preview details { margin: 14px 0; }
.import-preview summary { cursor: pointer; color: #234c99; }
.import-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; }
.import-check input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; }
.import-check[hidden] { display: none; }
.import-notice { background: #eef5ff; border: 1px solid #c9dcfb; padding: 16px; border-radius: 8px; margin-bottom: 18px; line-height: 1.6; }
.import-notice p { margin: 8px 0; color: #52627d; }
.owner-bar .import-notice { margin: 12px 0 0; }
.history-status { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.history-range { margin: 8px 0; color: #52627d; }
.history-period { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.history-period select { width: auto; max-width: 100%; min-width: 0; padding: 6px 10px; }
.history-people { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),1fr)); gap: 10px; margin: 12px 0; }
.history-person { display: flex; flex-direction: column; gap: 4px; padding: 12px; color: var(--text); background: white; border: 1px solid #c9dcfb; border-radius: 8px; overflow-wrap: anywhere; }
.history-person:hover { background: #f4f8ff; border-color: #2563eb; }
.history-person > span { font-size: 13px; }
.history-open { color: #2563eb; }
.history-import { display: inline-block; margin-top: 8px; }
@media print { .import-notice, .history-status { display: none; } }
@media (max-width: 600px) { .import-page h1 { font-size: 21px; } .import-preview { padding: 0 12px 16px; } .import-table td, .import-table th { padding: 9px; } }
