/* Single-row desktop bill lists; fee categories remain separate. */
.desktop-workspace[data-web-theme=monet] table.kp-single-row-table { table-layout: fixed; width:100%; min-width:max(1000px,calc(64 * var(--web-type-sm))); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table :is(th,td) { padding:7px 6px; line-height:1.35; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-inline-fees { display:flex; flex-wrap:wrap; align-items:baseline; gap:3px 12px; padding:0; margin:0; text-align:left; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-inline-fees > div { display:inline-flex; align-items:baseline; gap:5px; white-space:nowrap; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-inline-fees dt { color:var(--monet-muted,#526c66); font-size:var(--web-type-sm); font-weight:400; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-inline-fees dd { margin:0; font-size:var(--web-type-sm); font-weight:650; font-variant-numeric:tabular-nums; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-aligned-legacy { padding:0; margin:3px 0 0; font-size:var(--web-type-xs); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-goods-column { font-size:var(--web-type-sm); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-goods-text { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .external-chip { padding:2px 4px; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table th { white-space:nowrap !important; padding-inline:4px; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table td.external-col-place { font-size:var(--web-type-sm); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .web-cell-sub { font-size:var(--web-type-xs); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .external-col-ticket .web-cell-sub > span { white-space:nowrap; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(1) { width:14% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(2) { width:10% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(3) { width:8% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(4) { width:7% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(5) { width:10% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(6) { width:5% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(7) { width:7% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(8) { width:7% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(9) { width:20% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(10) { width:6% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(11) { width:6% !important; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions { display:grid; grid-template-columns:24px 24px; gap:3px; justify-content:center; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button:first-child { grid-column:1 / -1; justify-self:center; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions button { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; min-height:24px; padding:0; margin:0; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=waybill_no] { width:13% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=origin_station] { width:11% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=receiver] { width:9% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th.kp-goods-column { width:5% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=pieces] { width:4% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=freight] { width:7% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th.kp-fees-column { width:21% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=delivery_person] { width:6% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=sign_status] { width:14% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table th[data-field=settlement_status] { width:7% !important; }
.desktop-workspace[data-web-theme=monet] .waybill-table.kp-single-row-table .web-detail-column { width:3% !important; }

/* Center the money columns and keep three matching square actions on one line. */
.desktop-workspace[data-web-theme=monet] .kp-single-row-table :is(th,td):is(.external-col-money,.freight-column,[data-field="freight"],.kp-fees-column) { text-align:center !important; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-inline-fees { justify-content:center; text-align:center; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .kp-fees-column .kp-aligned-legacy { text-align:center; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(1) { width:13% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(9) { width:18% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(11) { width:9% !important; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions { display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center; justify-content:center; gap:4px; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button { grid-column:auto; flex:0 0 auto; width:max(24px,calc(1.5 * var(--web-type-sm))); height:max(24px,calc(1.5 * var(--web-type-sm))); min-height:24px; border:0; border-radius:7px; padding:0; font-size:var(--web-type-sm); line-height:1; background:#20a9ef !important; color:#fff !important; box-shadow:0 5px 12px rgba(32,169,239,.22); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button svg { width:1em; height:1em; }

/* Larger, spaced actions with a separate color for each function and reversal. */
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(1) { width:12% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(9) { width:17% !important; }
.desktop-workspace[data-web-theme=monet] .external-cargo-table.kp-single-row-table col:nth-child(11) { width:11% !important; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions { gap:8px; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button { width:max(30px,calc(1.875 * var(--web-type-sm))); height:max(30px,calc(1.875 * var(--web-type-sm))); min-height:30px; }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button.link-success { background:#15803d !important; box-shadow:0 4px 10px rgba(21,128,61,.22); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button.tiny-icon-button { background:#0369a1 !important; box-shadow:0 4px 10px rgba(3,105,161,.22); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button.link-danger { background:#dc2626 !important; box-shadow:0 4px 10px rgba(220,38,38,.22); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button.link-warning { background:#b45309 !important; box-shadow:0 4px 10px rgba(180,83,9,.22); }
.desktop-workspace[data-web-theme=monet] .kp-single-row-table .row-actions > button:focus-visible { outline:2px solid var(--web-ink,#23413a); outline-offset:3px; }
