/* 設定 → 勤怠PDF取り込み */
.pdfimp h2 { margin-top: 20px; }
.pdfimp .pdfimp-bad { color: var(--red); font-weight: 600; }
.pdfimp tr.pdfimp-row-bad > td { background: color-mix(in srgb, var(--red) 9%, transparent); }
.pdfimp tr.pdfimp-row-edited > td { background: color-mix(in srgb, var(--leaf) 55%, transparent); }
.pdfimp tr.pdfimp-excluded > td { color: var(--muted); text-decoration: line-through; }
.pdfimp tr.pdfimp-excluded > td:last-child { text-decoration: none; }
.pdfimp table td, .pdfimp table th { vertical-align: top; }
.pdfimp .pdfimp-days td:nth-child(-n+9), .pdfimp .pdfimp-docs td:nth-child(n+4):nth-child(-n+8) { white-space: nowrap; }
.pdfimp .pdfimp-days td:nth-child(11) { min-width: 12em; }
.pdfimp td select { max-width: 16em; margin-top: 4px; }
.pdfimp .pdfimp-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5em, 1fr)); gap: 8px 12px; align-items: end; }
.pdfimp .pdfimp-edit .toolbar, .pdfimp .pdfimp-edit .help, .pdfimp .pdfimp-edit .error { grid-column: 1 / -1; margin: 0; }
.pdfimp .pdfimp-edit input, .pdfimp .pdfimp-edit select { width: 100%; box-sizing: border-box; }
.pdfimp .pdfimp-edit > label { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 4px; min-width: 0; margin: 0; white-space: normal; overflow-wrap: anywhere; }
.pdfimp .pdfimp-issues { margin: 8px 0; padding-left: 1.3em; }
.pdfimp .pdfimp-issues li { margin: 4px 0; }
.pdfimp form[data-pdfimp-upload] input[type=file] { max-width: 100%; }
@media (max-width: 640px) { .pdfimp .pdfimp-edit { grid-template-columns: 1fr 1fr; } }
