/* Channel management shares the factory theme and keeps wide ledgers inside their cards. */
#commerce-page{min-width:0;max-width:100%}.commerce-card{overflow:hidden;min-width:0}.commerce-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:14px 18px 0;border-bottom:1px solid var(--line);background:#fbfcfb}.commerce-tabs button{border:0;background:transparent;color:#6b7e75;padding:13px 15px;min-height:44px;border-radius:8px 8px 0 0;font-size:13px;font-weight:550;border-bottom:3px solid transparent}.commerce-tabs button[aria-selected=true]{color:#215c47;background:#edf5ef;border-bottom-color:#397b60}.commerce-tabs button:focus-visible{outline:3px solid #9ecbb2;outline-offset:0}.commerce-toolbar{display:flex;align-items:flex-end;gap:14px;padding:20px 22px 0}.commerce-toolbar .field{margin:0;min-width:150px}.commerce-toolbar .commerce-search{flex:1}.commerce-toolbar input,.commerce-toolbar select{min-height:42px;width:100%;font-size:13px}.commerce-content{padding:22px;min-width:0}.commerce-content>.table-wrap{border:1px solid var(--line);border-radius:9px;max-width:100%;overflow-x:auto}.commerce-table{font-size:13px}.commerce-table td,.commerce-table th{padding:14px 15px;font-size:12px}.commerce-table th{font-size:11px}.commerce-table td{line-height:1.75}.commerce-table td strong{font-size:12px}.commerce-table small{font-size:11px}.commerce-table .row-actions{flex-wrap:nowrap;gap:5px}.commerce-table .btn{min-height:34px;font-size:11px;padding:7px 10px;white-space:nowrap}.commerce-wrap{white-space:normal;min-width:180px;max-width:360px;overflow-wrap:anywhere}.commerce-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:17px;margin-bottom:20px}.commerce-section-heading h2{font-size:17px;margin-bottom:7px}.commerce-section-heading p{font-size:12px;line-height:1.9;max-width:640px}.commerce-section-heading>.row-actions{justify-content:flex-end;flex-wrap:wrap;gap:7px}.commerce-section-heading .btn{min-height:38px;font-size:12px}.commerce-pagination{padding:18px 22px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.commerce-pagination .muted{font-size:12px}.commerce-pagination .btn{min-height:38px;font-size:12px}.commerce-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.8;margin:17px 0}.commerce-check input{width:18px;height:18px;min-height:18px;margin:3px 0 0;flex-shrink:0;accent-color:#326d51}.commerce-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:4px 0 22px}.commerce-detail-grid>div{display:flex;flex-direction:column;gap:6px;min-width:0}.commerce-detail-grid .muted{font-size:12px}.commerce-detail-grid strong{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.commerce-note{font-size:12px;line-height:1.9;margin:10px 0 19px;white-space:pre-wrap;overflow-wrap:anywhere}.commerce-mapping-hint{font-size:12px;line-height:1.9;margin:14px 0}.commerce-import-summary{display:flex;flex-wrap:wrap;align-items:center;gap:15px;border:1px solid #d7e6d9;background:#f2f8f2;padding:14px;border-radius:8px;font-size:12px;margin:18px 0}.commerce-import-summary strong{color:#326b4a}.commerce-inline-search{display:flex;gap:12px;align-items:flex-end;margin:20px 0}.commerce-inline-search .field{flex:1;margin:0}.commerce-inline-search>.btn{min-height:41px;white-space:nowrap}.commerce-return-tabs{margin:0 0 18px}.commerce-return-tabs .btn{min-height:38px}.commerce-stock-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:20px}.commerce-stock-toolbar .field{margin:0;min-width:190px}.commerce-stock-toolbar .row-actions{flex-wrap:wrap}.commerce-stock-toolbar .btn{min-height:40px;font-size:12px}.commerce-stock-search{max-width:440px;margin:0 0 18px}.commerce-content .commerce-pagination{padding:18px 0 0;margin-top:18px}.commerce-card .notice{font-size:12px}.commerce-stock-search input{width:100%}
@media(max-width:760px){.commerce-tabs{padding:9px 9px 0;gap:0}.commerce-tabs button{font-size:13px;padding:11px 12px;min-height:44px;flex:1 0 30%}.commerce-toolbar{padding:17px 15px 0;gap:12px;flex-wrap:wrap}.commerce-toolbar .field{min-width:0;flex:1 1 135px}.commerce-toolbar .commerce-search{flex-basis:100%}.commerce-toolbar input,.commerce-toolbar select{font-size:16px;min-height:44px}.commerce-content{padding:18px 15px}.commerce-section-heading{display:block;margin-bottom:17px}.commerce-section-heading h2{font-size:17px}.commerce-section-heading p{font-size:12px;margin-bottom:15px}.commerce-section-heading>.row-actions{justify-content:flex-start;gap:8px}.commerce-section-heading .btn{min-height:44px;font-size:13px;padding:10px 13px}.commerce-table td,.commerce-table th{padding:12px;font-size:12px}.commerce-table .btn{min-height:44px;font-size:12px;padding:10px 12px}.commerce-pagination{padding:17px 15px;align-items:flex-start;flex-direction:column;gap:13px}.commerce-pagination>.row-actions{width:100%}.commerce-pagination .btn{min-height:44px;flex:1;font-size:13px}.commerce-pagination .muted{font-size:12px}.commerce-detail-grid{gap:17px 15px}.commerce-detail-grid strong{font-size:13px}.commerce-check{font-size:13px;min-height:44px}.commerce-check input{width:20px;height:20px}.commerce-inline-search{flex-wrap:wrap}.commerce-inline-search .field{flex-basis:100%}.commerce-inline-search>.btn{min-height:44px;width:100%}.commerce-stock-toolbar{display:block}.commerce-stock-toolbar .field{margin-bottom:14px}.commerce-stock-toolbar select{width:100%;min-height:44px;font-size:16px}.commerce-stock-toolbar .row-actions{gap:6px}.commerce-stock-toolbar .btn{min-height:44px;flex:1;font-size:12px;padding:9px}.commerce-stock-search input{font-size:16px;min-height:44px}.commerce-return-tabs .btn{min-height:44px;font-size:13px}.commerce-import-summary{gap:10px;font-size:12px}.modal .commerce-check~.notice{font-size:12px}#commerce-page>.page-heading .row-actions{width:100%}#commerce-page>.page-heading .btn{min-height:44px}}

.commerce-focus-note{padding:12px 14px;margin:0 0 18px;border:1px solid #d7e8dd;background:#f2f8f4;border-radius:8px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.commerce-focus-note .text-link{margin-left:10px;min-height:36px}@media(max-width:760px){.commerce-focus-note .text-link{display:block;margin-left:0;min-height:44px}}
