/* Approved commerce variant; shell/profile/schedule tokens remain canonical. */
.commerce-section,.co-dialog,.commerce-inbox{font-size:16px;line-height:1.6;font-weight:400;min-width:0}.commerce-section{margin-top:24px;padding:24px}.commerce-section h2,.commerce-section h3,.co-dialog h2,.co-dialog h3{font-weight:600}.commerce-section h2{font-size:24px}.commerce-section h3{font-size:20px;margin:0 0 16px}.co-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.co-heading p{margin:4px 0 0;font-size:14px}.co-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.co-actions button{min-height:42px;font-size:15px;font-weight:400;white-space:nowrap}.co-heading .co-actions{max-width:65%}.co-tabs{display:flex;gap:8px;margin:20px 0 0;padding-bottom:12px;border-bottom:1px solid var(--line)}.co-tabs button{min-width:120px;min-height:40px;font-size:16px;font-weight:400}.co-tabs button[aria-pressed=true],.co-periods button[aria-pressed=true]{background:var(--primary);color:white;border-color:var(--primary)}.co-filters{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:18px 0}.co-periods{display:flex;gap:3px;border:1px solid var(--line);border-radius:10px;padding:2px;background:var(--surface)}.co-periods button{min-width:72px;border:0;font-size:14px;min-height:36px;background:transparent;padding:6px 12px;font-weight:400}.co-anchor{display:flex;align-items:center;gap:8px}.co-anchor>button{font-size:24px;line-height:1;min-width:38px;min-height:40px;padding:4px}.co-anchor input{width:152px;min-height:40px;font-size:15px;font-weight:400}.co-corporate-filter{display:flex;align-items:center;gap:10px;font-size:14px}.co-corporate-filter select{min-height:40px;min-width:120px;font-size:14px;font-weight:400}.co-query-status{min-height:26px;color:var(--muted);font-size:14px;margin:12px 0 20px;font-variant-numeric:tabular-nums}.co-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.co-metric{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow);min-width:0}.co-metric>span:first-child{display:flex;gap:12px;align-items:center;min-width:0}.co-metric>span:first-child>span{font-size:16px;overflow-wrap:anywhere}.co-metric svg{width:28px;height:28px;flex-shrink:0;color:var(--muted)}.co-metric-value{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.35;text-align:right;overflow-wrap:anywhere}.co-metric-value small{font-size:14px;font-weight:400;margin-left:5px;white-space:nowrap}.co-basis{font-size:13px;color:var(--muted);margin:10px 0 18px;overflow-wrap:anywhere}.co-chart-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px}.co-chart{border:1px solid var(--line);border-radius:16px;padding:20px;background:var(--surface);min-width:0;margin-bottom:22px}.co-chart h3{font-size:20px;margin:0 0 16px}.co-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.co-chart-heading h3{margin:0}.co-chart-heading>span{font-size:13px;color:var(--muted);flex-shrink:0}.co-bar-scroll{display:flex;gap:10px;overflow:auto;scrollbar-gutter:stable;padding:12px 0 6px;min-height:240px}.co-bar-axis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;width:56px;flex-shrink:0;height:186px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;padding-top:18px}.co-bars{display:flex;align-items:flex-end;gap:16px;flex:1;border-bottom:1px solid var(--line);padding:0 10px;min-width:min-content;margin-bottom:42px;position:relative;height:186px;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,var(--line) 40px,transparent 41px)}.co-bar-column{width:54px;flex:1 0 54px;max-width:94px;min-width:54px;height:186px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}.co-bar-value{font-size:12px;line-height:20px;color:var(--primary);white-space:nowrap;font-variant-numeric:tabular-nums;margin-bottom:4px}.co-bar-track{height:160px;display:flex;align-items:flex-end;width:100%;max-width:54px}.co-bar{width:100%;display:block;background:var(--primary);border-radius:6px 6px 0 0;min-height:0}.co-bar-missing{background:var(--line)}.co-bar-label{position:absolute;top:196px;text-align:center;left:50%;transform:translateX(-50%);width:74px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.co-composition{display:flex;align-items:center;gap:22px;flex-wrap:wrap;min-height:222px}.co-donut{height:200px;width:200px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--line)}.co-donut>span{width:134px;height:134px;background:var(--surface);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:16px;font-weight:600;padding:12px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.co-donut small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px}.co-legend{list-style:none;padding:0;margin:0;flex:1;min-width:170px}.co-legend li{display:grid;grid-template-columns:12px minmax(80px,1fr) auto;gap:9px;align-items:start;border-bottom:1px solid var(--line);padding:10px 0;font-size:13px}.co-legend i{width:12px;height:12px;border-radius:3px;margin-top:5px}.co-legend li>span:last-child{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.co-quantity-list>div{display:flex;align-items:start;justify-content:space-between;gap:22px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}.co-quantity-list span{min-width:0;overflow-wrap:anywhere}.co-quantity-list small{display:block;font-size:13px;color:var(--muted)}.co-quantity-list span:last-child{font-variant-numeric:tabular-nums;text-align:right}.co-detail-list{margin-top:6px}.co-table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:12px;scrollbar-gutter:stable}.co-table-scroll table{border-collapse:collapse;width:100%;min-width:760px}.co-table-scroll th{background:var(--tint,#f2edff);font-weight:500;font-size:14px;text-align:left;white-space:nowrap;padding:10px 14px}.co-table-scroll td{font-size:14px;font-weight:400;padding:13px 14px;border-top:1px solid var(--line);overflow-wrap:anywhere;max-width:220px;vertical-align:top;font-variant-numeric:tabular-nums}.co-table-scroll td small{display:block;font-size:12px;color:var(--muted)}.co-text-button{padding:0;border:0;color:var(--primary);background:transparent;min-height:30px;font-size:inherit;font-weight:400;text-align:left}.co-empty{padding:36px 16px;color:var(--muted);text-align:center;min-height:100px}.co-pages{display:flex;justify-content:center;gap:14px;align-items:center;margin:16px 0}.co-pages button{font-weight:400;min-height:38px}.co-pages>span{font-size:14px;color:var(--muted)}.co-drafts{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.co-drafts h3{font-size:18px}.co-drafts h3 small{font-size:13px;font-weight:400;color:var(--muted);margin-left:8px}.co-drafts>button{width:100%;display:flex;justify-content:space-between;gap:20px;text-align:left;margin:8px 0;padding:12px 16px;font-size:14px;font-weight:400;background:var(--surface);border-color:var(--line)}.co-drafts>button>span:last-child{font-size:13px;color:var(--muted)}.commerce-inbox{padding:24px}.commerce-inbox h2{font-size:21px;font-weight:600}.co-inbox-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}.co-inbox-row>span:last-child{text-align:right;color:var(--muted)}
.co-dialog.project-dialog-wide{width:min(1180px,calc(100vw - 32px));max-width:1180px;padding:0}.co-dialog .project-dialog-heading{padding:24px 28px 16px}.co-dialog .project-dialog-body{padding:0 28px 26px;overflow:visible}.co-dialog .project-dialog-heading h2{font-size:27px;font-weight:600}.co-form{margin:0;min-width:0}.co-form label{display:grid;gap:6px;font-size:14px;font-weight:400;min-width:0}.co-form input,.co-form textarea,.co-form select{width:100%;min-width:0;min-height:42px;font:inherit;font-size:15px;font-weight:400;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink)}.co-form input[readonly],.co-form textarea[readonly]{background:#faf9fd}.co-form textarea{resize:none;min-height:90px}.co-report-meta{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:14px 0 24px}.co-report-meta>label{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:16px;font-size:16px}.co-form h3{font-size:20px;margin:24px 0 14px}.co-entry-row{display:grid;gap:12px;align-items:end;border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;background:var(--surface)}.co-entry-sale{grid-template-columns:1.3fr 1fr 1fr 1.15fr 1fr 30px}.co-entry-shipment{grid-template-columns:1fr 1.15fr 1.3fr 1.2fr .75fr .65fr 1.1fr 30px}.co-entry-row label{font-size:13px}.co-entry-row input,.co-entry-row select{font-size:14px;padding:8px}.co-remove{min-height:42px;min-width:30px;padding:4px;border:0;background:transparent;font-size:24px;color:var(--muted)}.co-add{color:var(--primary);background:var(--surface);border-color:var(--primary);min-height:40px;font-size:14px;font-weight:400}.co-entry-total{text-align:right;font-variant-numeric:tabular-nums;font-size:15px;margin:14px 0 24px;overflow-wrap:anywhere}.co-notes{margin:18px 0}.co-notes>span{display:inline}.co-attachments{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.co-attachments h3{font-size:17px;margin:0}.co-attachments .quiet{font-size:13px;margin:10px 0}.co-picker{display:inline-flex!important;align-items:center;justify-content:center;position:relative;overflow:hidden;color:var(--primary);border:1px solid var(--primary);border-radius:9px;min-height:40px;padding:6px 14px;cursor:pointer}.co-picker input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.co-picker:focus-within{outline:2px solid var(--primary);outline-offset:3px}.co-attachments ul{list-style:none;padding:0;margin:0}.co-attachments li{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;margin:8px 0;border:1px dashed var(--line);border-radius:10px;font-size:14px}.co-attachments li>span{flex:1;min-width:140px;overflow-wrap:anywhere}.co-attachments small{display:block;color:var(--muted);font-size:12px}.co-attachments button{font-size:13px;font-weight:400;min-height:36px}.co-attachments a{color:var(--primary);font-size:13px}.co-thumb{height:62px;width:80px;padding:0;overflow:hidden}.co-thumb img{width:100%;height:100%;display:block;object-fit:contain}.co-form [data-co-preview]{background:#faf9fd;border:1px solid var(--line);border-radius:12px;padding:16px;margin:16px 0}.co-form [data-co-preview][hidden]{display:none}.co-form [data-co-preview]>img{display:block;max-width:100%;max-height:62vh;object-fit:contain;width:100%;height:auto}.co-form [data-co-preview]>iframe{width:100%;height:60vh;min-height:300px;background:var(--surface);border:1px solid var(--line)}.co-form [data-co-preview] h3{margin:0 0 12px;font-size:16px;overflow-wrap:anywhere}.co-file-links{display:flex;gap:22px;margin:14px 0 0}.co-form [data-co-conflict]:not(:empty){border:1px solid #e0b76b;background:#fffaf1;padding:18px;margin:20px 0;border-radius:12px;font-size:14px}.co-form [data-co-conflict] li{overflow-wrap:anywhere}.co-form-actions{position:sticky;bottom:-26px;z-index:2;background:var(--surface);border-top:1px solid var(--line);padding:14px 0 max(14px,env(safe-area-inset-bottom));margin-top:24px;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.co-form-actions>span{margin-right:auto;font-size:13px;max-width:48%}.co-form-actions button{min-width:100px;min-height:42px;font-weight:400;font-size:15px}.co-form [aria-invalid=true]{border-color:var(--danger,#b42318)}.commerce-section button,.commerce-section a,.co-form button,.co-form a{cursor:pointer}.commerce-section button:disabled,.co-form button:disabled{cursor:default;opacity:.55}.commerce-section button:hover:not(:disabled),.co-form button:hover:not(:disabled){border-color:var(--primary)}.commerce-section :focus-visible,.co-form :focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:1200px){.co-entry-shipment{grid-template-columns:repeat(4,minmax(0,1fr)) 30px}.co-entry-shipment>.co-remove{grid-column:5;grid-row:1}.co-chart-grid{grid-template-columns:1fr 1fr}.co-composition{justify-content:center}.co-heading .co-actions{max-width:60%}.co-metric{padding:16px;gap:10px}.co-metric-value{font-size:25px}.co-metric>span:first-child>span{font-size:14px}}
@media(max-width:900px){.co-chart-grid{grid-template-columns:1fr}.co-composition{justify-content:start}.co-metrics{gap:10px}.co-metric{flex-wrap:wrap}.co-metric-value{margin-left:auto}.co-entry-sale{grid-template-columns:repeat(3,minmax(0,1fr)) 30px}.co-entry-sale>.co-remove{grid-column:4;grid-row:1}.co-heading{flex-wrap:wrap}.co-heading .co-actions{max-width:100%}.co-report-meta>label{grid-template-columns:1fr;gap:6px}}
@media(max-width:720px){.commerce-section{padding:20px 16px}.co-heading h2{font-size:21px}.co-heading .co-actions{width:100%;justify-content:start;gap:8px}.co-actions button{font-size:14px;min-height:40px;padding:8px 10px}.co-filters{gap:12px}.co-periods{width:100%}.co-periods button{flex:1}.co-anchor{flex:1}.co-anchor input{width:142px;font-size:16px}.co-corporate-filter{flex:1;justify-content:end}.co-corporate-filter select{min-width:0;width:100%;font-size:16px}.co-metrics{grid-template-columns:1fr}.co-metric{padding:18px;flex-wrap:nowrap}.co-metric>span:first-child>span{font-size:16px}.co-metric-value{font-size:28px}.co-chart{padding:16px}.co-chart h3,.co-chart-heading h3{font-size:18px}.co-chart-heading{align-items:start}.co-donut{width:180px;height:180px}.co-donut>span{width:120px;height:120px;font-size:15px}.co-legend{min-width:100%}.co-drafts>button{flex-wrap:wrap;gap:4px}.co-dialog.project-dialog-wide{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.co-dialog .project-dialog-heading{padding:18px 16px 14px}.co-dialog .project-dialog-body{padding:0 16px 18px}.co-dialog .project-dialog-heading h2{font-size:22px}.co-report-meta{grid-template-columns:1fr;gap:14px;margin-top:8px}.co-entry-sale,.co-entry-shipment{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:12px;padding:14px}.co-entry-sale>.co-remove,.co-entry-shipment>.co-remove{grid-column:3;grid-row:1;align-self:start}.co-entry-row label{font-size:13px}.co-entry-row label:nth-last-of-type(1){grid-column:1/3}.co-entry-shipment label:nth-child(3),.co-entry-shipment label:nth-child(4){grid-column:1/3}.co-entry-row input,.co-entry-row select,.co-form textarea{font-size:16px}.co-entry-total{text-align:left;font-size:14px}.co-form-actions{bottom:-18px;gap:8px}.co-form-actions>span{width:100%;max-width:none;font-size:12px}.co-form-actions button{flex:1;min-width:74px;font-size:14px;padding:8px 6px}.co-attachments .co-heading{flex-wrap:nowrap}.co-picker{font-size:13px!important;flex-shrink:0}.co-query-status{font-size:13px}}
@media(prefers-reduced-motion:reduce){.commerce-section *,.co-dialog *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
