.nc-history-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#10213b;color:#fff;padding:22px;border-radius:14px;margin-bottom:16px}.nc-history-heading h2{margin:0 0 6px;font-size:24px}.nc-history-heading p{margin:0;color:#d5dfef}.nc-history-heading .commerce-actions{flex-wrap:wrap}.nc-history-heading button{color:#10213b;background:#fff}.nc-history-filters{display:grid;grid-template-columns:155px 155px 175px minmax(200px,1fr) auto auto;align-items:end;gap:12px}.nc-history-filters label{display:grid;gap:6px;font-size:13px;font-weight:600}.nc-history-filters input{min-height:42px;min-width:0;box-sizing:border-box;width:100%}.nc-history-filters button,.nc-history-actions button,.nc-history-pagination button,.nc-history-dialog button{min-height:42px}.nc-history-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:16px 0}.nc-history-kpis article{background:#fff;padding:16px;border:1px solid #e2e8f0;border-radius:12px;display:grid;gap:8px;align-content:start}.nc-history-kpis span{font-size:13px;color:#334155}.nc-history-kpis strong{font-size:24px;color:#10213b;overflow-wrap:anywhere}.nc-history-kpis strong span{display:block;font-size:18px;color:#10213b}.nc-history-kpis small{color:#475569;font-size:12px}.nc-history-list{min-width:0}.nc-history-table-wrap{overflow:auto;max-width:100%}.nc-history-table-wrap table{min-width:1250px;width:100%;border-collapse:collapse}.nc-history-list th,.nc-history-dialog th{background:#10213b;color:#fff;text-align:left;padding:12px 9px;font-size:12px}.nc-history-list td,.nc-history-dialog td{padding:12px 9px;border-bottom:1px solid #e2e8f0;vertical-align:top;font-size:13px}.nc-history-list td:nth-child(8){white-space:nowrap;text-align:right}.nc-history-badge{display:inline-block;padding:5px 8px;border-radius:6px;font-size:12px;font-weight:600;background:#fff2cc;color:#713f12}.nc-history-badge[data-group=accepted]{background:#dcfce7;color:#166534}.nc-history-badge[data-group=error]{background:#fee2e2;color:#991b1b}.nc-history-badge[data-group=local]{background:#e2e8f0;color:#334155}.nc-history-actions{display:flex;flex-wrap:wrap;gap:6px}.nc-history-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding-top:16px}.nc-history-pagination #ncHistoryCount{margin-right:auto}.nc-history-mobile{display:none}.nc-history-dialog{width:min(1040px,calc(100vw - 32px));max-height:90vh;padding:0;border:0;border-radius:14px;color:#10213b;background:#fff}.nc-history-dialog::backdrop{background:#0f172a99}.nc-history-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:#edf3fb;position:sticky;top:0;z-index:1}.nc-history-dialog h3{margin:0}.nc-history-dialog>div,.nc-history-dialog>p,.nc-history-dialog>footer{padding:16px 20px}.nc-history-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.nc-history-fields div{min-width:0}.nc-history-fields dt{font-size:12px;color:#475569}.nc-history-fields dd{margin:4px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}.nc-history-detail-table{overflow:auto}.nc-history-detail-table table{width:100%;min-width:650px;border-collapse:collapse}#ncHistoryMessage[data-error=true]{color:#991b1b}#ncHistoryMessage{min-height:20px}.nc-history-list button:focus-visible,.nc-history-heading button:focus-visible,.nc-history-filters :focus-visible,.nc-history-dialog :focus-visible{outline:3px solid #2563eb;outline-offset:3px}.nc-history-list button:disabled,.nc-history-dialog button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:1200px){.nc-history-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.nc-history-search{grid-column:1/3}.nc-history-heading{align-items:flex-start;flex-direction:column}.nc-history-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.nc-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.nc-history-filters label:nth-child(3),.nc-history-search{grid-column:1/-1}.nc-history-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.nc-history-kpis article:nth-child(3){grid-column:1/-1}.nc-history-table-wrap{display:none}.nc-history-mobile{display:grid;gap:12px}.nc-history-card{padding:14px;border:1px solid #dbe4f0;border-radius:10px;min-width:0}.nc-history-card h4{margin:0 0 8px}.nc-history-card p{overflow-wrap:anywhere;margin:9px 0}.nc-history-card .nc-history-actions button{flex:1}.nc-history-heading{padding:16px}.nc-history-heading h2{font-size:22px}.nc-history-dialog{width:calc(100vw - 16px);max-height:94vh}.nc-history-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.nc-history-pagination #ncHistoryCount{width:100%}.nc-history-heading .commerce-actions button{flex:1;min-width:90px}}

.nc-history-table-wrap{max-height:60vh}.nc-history-table-wrap table{width:1800px;table-layout:fixed}.nc-history-table-wrap th{position:sticky;top:0;z-index:1}.nc-history-table-wrap th:nth-child(1){width:110px}.nc-history-table-wrap th:nth-child(2){width:125px}.nc-history-table-wrap th:nth-child(3){width:90px}.nc-history-table-wrap th:nth-child(4){width:170px}.nc-history-table-wrap th:nth-child(5){width:105px}.nc-history-table-wrap th:nth-child(6){width:110px}.nc-history-table-wrap th:nth-child(7){width:125px}.nc-history-table-wrap th:nth-child(8){width:120px}.nc-history-table-wrap th:nth-child(9){width:95px}.nc-history-table-wrap th:nth-child(10){width:145px}.nc-history-table-wrap th:nth-child(11){width:175px}.nc-history-table-wrap th:last-child{width:200px;right:0;z-index:3}.nc-history-table-wrap td{overflow-wrap:anywhere}.nc-history-table-wrap td:last-child{position:sticky;right:0;background:#fff;z-index:2;box-shadow:-2px 0 4px #10213b12}.nc-history-actions{flex-wrap:nowrap}.nc-history-actions button{padding:8px 10px;white-space:nowrap;font-size:13px}

.nc-history-table-wrap table{width:1570px}.nc-history-table-wrap th,.nc-history-table-wrap td{box-sizing:border-box}.nc-history-table-wrap td{white-space:normal;overflow:hidden}.nc-history-table-wrap td:nth-child(8){white-space:nowrap}.nc-history-table-wrap td:last-child{overflow:visible}
