.ch-import-overlay{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(17,24,39,.5)}
.ch-import-dialog{width:min(1120px,100%);max-height:calc(100dvh - 2rem);overflow:auto;padding:1.25rem;border:1px solid #e5e7eb;border-radius:1rem;background:#fff;color:#20241f;box-shadow:0 20px 70px rgba(0,0,0,.18)}
.ch-import-dialog>*+*{margin-top:.8rem}.ch-import-dialog h2{font-size:1.25rem;font-weight:700}.ch-import-option{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.ch-import-option select{max-width:100%;padding:.6rem;border:1px solid #d1d5db;border-radius:.6rem;background:#fff}.ch-import-scroll{max-height:42dvh;overflow:auto;border:1px solid #e5e7eb;border-radius:.65rem}.ch-import-dialog table{width:100%;border-collapse:collapse;font-size:.85rem}.ch-import-dialog th,.ch-import-dialog td{padding:.65rem;text-align:start;vertical-align:top;border-bottom:1px solid #e5e7eb;overflow-wrap:anywhere;min-width:100px}.ch-import-dialog th{position:sticky;top:0;z-index:1;background:#f8fafc;font-weight:700}.ch-import-invalid{background:#fff4f2}.ch-import-issues,.ch-import-status{overflow-wrap:anywhere}.ch-import-issues p{color:#b42318;margin:.4rem 0}.ch-import-issues .ch-import-warning{color:#876526}.ch-import-guide summary{cursor:pointer;font-weight:600;padding:.5rem 0}.ch-import-guide>p{font-size:.85rem;line-height:1.8;margin:.5rem 0}.ch-import-actions{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.ch-import-actions .btn{min-height:44px}.ch-import-dialog progress{width:100%;height:.8rem}.ch-import-dialog [hidden]{display:none!important}
@media(max-width:640px){.ch-import-overlay{padding:.5rem}.ch-import-dialog{max-height:calc(100dvh - 1rem);padding:1rem}.ch-import-option select{width:100%}.ch-import-actions .btn{flex:1 1 auto}.ch-import-scroll{max-height:35dvh}}
