.cmd-detail-excel-preview { width: min(1080px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 22px; border: 1px solid #d6e0ec; border-radius: 16px; color: #23384f; }
.cmd-detail-excel-preview::backdrop { background: rgb(16 33 58 / 55%); }
.cmd-detail-excel-header { display: flex; justify-content: space-between; gap: 16px; }
.cmd-detail-excel-header h3 { margin: 0 0 8px; }
.cmd-detail-excel-header p { margin: 4px 0; }
.cmd-detail-excel-header > button { align-self: start; min-width: 38px; min-height: 38px; }
.cmd-detail-excel-table { max-height: 48dvh; overflow: auto; border: 1px solid #e1e7ef; border-radius: 8px; }
.cmd-detail-excel-table table { width: 100%; border-collapse: collapse; }
.cmd-detail-excel-table th { position: sticky; top: 0; background: #edf3fa; }
.cmd-detail-excel-table th, .cmd-detail-excel-table td { padding: 10px; text-align: left; vertical-align: top; min-width: 100px; border-bottom: 1px solid #e1e7ef; }
.cmd-detail-excel-table td:nth-child(5) { white-space: nowrap; text-align: right; }
.cmd-detail-excel-warning { color: #8a560c; }
.cmd-detail-excel-errors, .cmd-detail-excel-preview [data-error] { color: #a62121; }
.cmd-detail-excel-errors { background: #fff2f2; padding: 10px 14px; margin: 12px 0; max-height: 180px; overflow: auto; }
.cmd-detail-excel-errors p { margin: 5px 0; }
.cmd-detail-excel-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 12px; }
