/* Seven real columns; table controls stay inside their own cells. */
.work-area{padding-top:16px;padding-bottom:16px}
.account-banner{margin-bottom:10px}.account-actions{padding-bottom:10px}
.work-area>nav{margin-top:8px}.work-area>nav a{padding:8px 0}
.order-toolbar{margin:10px 0}.plugin-help{margin-top:6px}
#sync-table{width:100%;min-width:960px;table-layout:fixed}
#sync-table .source-col{width:19%}#sync-table .cost-col{width:10%}
#sync-table .channel-col{width:10%}#sync-table .destination-col{width:15%}
#sync-table .price-col{width:14%}#sync-table .remark-col{width:21%}#sync-table .state-col{width:11%}
#sync-table th{padding:10px 8px}#sync-table td{padding:12px 8px;vertical-align:top;min-width:0}
#sync-table td:last-child{position:static;box-shadow:none}
#sync-table th:last-child{right:auto;box-shadow:none}
#sync-table input,#sync-table select,#sync-table textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:34px;min-height:34px;margin:0;padding:7px 8px;font-size:12px}
#sync-table select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#sync-table textarea{display:block;height:34px;min-height:34px;line-height:18px;resize:vertical}
#sync-table .receipt-channel,#sync-table .receipt-destination,#sync-table .input-stack,#sync-table .remark-stack,#sync-table .sync-order-actions{width:100%;min-width:0;max-width:100%;margin:0}
#sync-table .remark-stack,#sync-table .input-stack{gap:4px}
#sync-table .amount-line{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:6px;width:100%;min-width:0}
#sync-table .receipt-inline-unit{display:inline;color:#46684a;font-size:11px;font-weight:550;line-height:1;white-space:nowrap;max-width:42px;margin:0}
#sync-table .receipt-inline-unit:empty{display:none}
#sync-table .amount-extras{display:flex;flex-wrap:wrap;gap:3px 8px;align-items:flex-start;min-width:0;font-size:10px}
#sync-table .amount-extras .check-label{margin:0;font-size:10px;gap:4px;line-height:15px;white-space:normal}
#sync-table .amount-extras input[type=checkbox]{flex:none;width:13px;min-width:13px;height:13px;min-height:13px;margin:1px 0 0;padding:0}
#sync-table .amount-extras details{max-width:100%;min-width:0;font-size:10px;line-height:15px}
#sync-table .amount-extras summary{cursor:pointer;white-space:normal}
#sync-table .amount-extras details[open]{display:grid;gap:5px;width:100%}
#sync-table .amount-extras details[open] select,#sync-table .amount-extras details[open] input{font-size:11px;height:31px;min-height:31px}
#sync-table .sync-order-actions{align-items:stretch;gap:6px}
#sync-table .sync-order-actions .status-pill{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;width:100%;max-height:32px;line-height:16px;min-width:0;overflow-wrap:anywhere}
#sync-table .sync-order-actions button{align-self:flex-start;max-width:100%;min-width:0;white-space:normal;height:auto;min-height:32px;padding:6px 10px;line-height:18px}
#sync-table .sync-order-actions a{font-size:10px;line-height:14px}
#sync-table .order-source strong,#sync-table .order-cost strong{margin-bottom:3px}
#sync-table .order-source small,#sync-table .order-cost small{line-height:16px}
