.form-dialog.excel-import-dialog{width:min(1100px,calc(100vw - 32px));max-height:92dvh;border-radius:18px;padding:0;overflow:hidden}
.excel-import-dialog #edit-content{display:flex;flex-direction:column;max-height:92dvh;min-height:0}
.excel-import-dialog .dialog-head,.excel-import-dialog .dialog-actions{flex-shrink:0}
.excel-import-body{overflow:auto;min-height:0;padding:22px;display:block}
.excel-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.excel-template{padding:16px;border:1px solid #d7e6e9;border-radius:12px;background:#f2f9f9;text-decoration:none;color:#143c51;display:flex;flex-direction:column;gap:8px}
.excel-template:hover{border-color:#1c9fa6;background:#eaf6f5}.excel-template strong{font-size:15px}.excel-template span{font-size:12px;line-height:1.5;color:#5c7483}.excel-template b{color:#087f89;font-size:13px}
.excel-upload-section{margin:20px 0;padding:16px;border:1px dashed #9bbfc4;border-radius:12px}.excel-upload-section p,.excel-review-heading p,.excel-target-note{font-size:12px;line-height:1.6;color:#637884;margin:8px 0 0}
.excel-import-dialog .form-error{white-space:pre-line;max-height:180px;overflow:auto}
.excel-review-heading{margin:18px 0 14px;display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}.excel-review-heading h3{font-size:15px;overflow-wrap:anywhere;margin:0}.excel-review-heading>strong{font-size:12px;padding:10px;background:#edf7f5;border-radius:8px;color:#14766d}
.excel-supplier-preview{border:1px solid #dce6eb;border-radius:12px;margin-top:12px;overflow:hidden}.excel-supplier-preview summary{cursor:pointer;background:#f6f9fb;padding:14px;display:flex;gap:12px;align-items:center;justify-content:space-between}.excel-supplier-preview summary strong{font-size:14px}.excel-supplier-preview summary span{font-size:12px;color:#66808e}.excel-supplier-body{padding:14px;min-width:0}.excel-supplier-contact{font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:#4d6473;margin:10px 0}
.excel-period-scroll{overflow:auto;margin-top:14px;max-height:350px}.excel-period-table{border-collapse:collapse;width:100%;font-size:12px;min-width:650px}.excel-period-table th{padding:10px;background:#163c50;color:white;text-align:left;white-space:nowrap;position:sticky;top:0}.excel-period-table td{padding:10px;border-bottom:1px solid #e3eaed;vertical-align:top;line-height:1.6;max-width:240px;overflow-wrap:anywhere}.excel-period-table small{display:block;color:#6e808b;line-height:1.5;margin-top:4px}.excel-import-dialog .dialog-actions{background:#fff;border-top:1px solid #e2e9ed;gap:10px;padding:16px 22px}
@media(max-width:650px){.excel-template-grid{grid-template-columns:1fr}.excel-template{padding:12px;gap:4px}.excel-import-body{padding:14px}.excel-import-dialog .dialog-actions{padding:12px;flex-wrap:wrap}.excel-import-dialog .dialog-actions .primary{flex:1;white-space:normal}.excel-supplier-preview summary{align-items:flex-start;flex-direction:column;gap:4px}.excel-import-dialog .dialog-head h2{font-size:21px}}
