/* CM-001 only. Let tables scroll internally, never clip the page. Shared prose, notes, steps and footer come from discipline.css. */
.commerce-page h1{width:auto;max-width:100%;margin-right:0}.commerce-page p{overflow-wrap:anywhere}.commerce-page .commerce-inputs>p,.commerce-section>p{font:15px/1.7 var(--sans);color:#48583e;margin:18px 0;max-width:68ch;text-wrap:pretty}.commerce-inputs>h2{margin:14px 0}.commerce-page label{display:flex;flex-direction:column;gap:9px;font:12px/1.6 var(--mono);color:#3f5135;min-width:0}.commerce-page textarea,.commerce-page select{width:100%;border:1px solid #9eab90;background:#eeeee3;color:#253b26;border-radius:0;padding:12px;font:12px/1.65 var(--mono);min-width:0}.commerce-page textarea{tab-size:2}.commerce-page select{min-height:44px}.commerce-page button{border:1px solid #8a9a7b;background:#e6e6d7;color:#2e4729;padding:11px 16px;min-height:44px;font:14px/1.4 var(--mono);cursor:pointer}.commerce-page button.commerce-primary{background:#344d2d;color:#f6f0df}.commerce-page button:disabled,.commerce-page select:disabled,.commerce-page textarea:disabled{opacity:.55;cursor:not-allowed}.commerce-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;margin:24px 0}.commerce-actions label{flex:1 1 340px}.commerce-editors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin:24px 0}.commerce-page .commerce-help{font:14px/1.7 var(--sans);color:#4d5d43;max-width:68ch;text-wrap:pretty}.commerce-page #commerce-status{border-top:1px solid #bbc4af;padding-top:18px;font:15px/1.6 var(--sans);font-variant-numeric:tabular-nums lining-nums;max-width:68ch}.commerce-page #commerce-error{color:#822c20;background:#f3dfd3;border:1px solid #b77859;padding:15px;font:13px/1.7 var(--mono)}.commerce-page [hidden]{display:none!important}.commerce-section{padding:42px 0;border-bottom:1px solid #b7c0a9}.commerce-section h2{margin:15px 0 23px}.commerce-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:27px 0}.commerce-metric{border-top:2px solid #7c8d68;padding-top:15px;min-width:0}.commerce-metric span{font:12px/1.6 var(--mono);display:block;color:#526548}.commerce-metric strong{font:400 clamp(24px,3vw,40px)/1.25 Georgia,serif;display:block;margin-top:10px;overflow-wrap:anywhere}.commerce-lot-chart{display:grid;gap:22px;margin-top:30px}.commerce-lot-chart article{background:#f5f2e8;border:1px solid #c0c9b3;padding:18px;min-width:0}.commerce-lot-chart h3{font:16px/1.5 var(--mono);letter-spacing:0;margin:0 0 10px;overflow-wrap:anywhere}.commerce-lot-chart svg{display:block;width:100%;height:28px}.commerce-lot-chart p{font:14px/1.7 var(--sans);font-variant-numeric:tabular-nums lining-nums;color:#46583b;margin:10px 0 0}.commerce-table{padding:0;margin:24px 0;border:1px solid #b7c2a8;background:#f5f2e8;max-width:100%}.commerce-table table{min-width:740px!important;table-layout:fixed;font:12px/1.7 var(--mono);color:#30442a}.commerce-table th,.commerce-table td{white-space:normal;overflow-wrap:anywhere;padding:12px;border-color:#cad0bd;vertical-align:top}.commerce-table th{font:12px/1.5 var(--mono);color:#45543b;background:#e2e5d6}.commerce-table caption{padding:13px;text-align:left;font:14px/1.6 var(--sans);color:#46573c}.commerce-table td:first-child{color:#30442a}.commerce-order-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.commerce-order-cards article{border:1px solid #b5c0a7;background:#f5f2e8;padding:22px;min-width:0}.commerce-order-cards h3{font:23px/1.2 Georgia,serif;letter-spacing:-.02em;margin-bottom:14px;overflow-wrap:anywhere}.commerce-order-cards p{font:15px/1.7 var(--sans);font-variant-numeric:tabular-nums lining-nums;margin:10px 0;color:#42573a}.commerce-order-cards .commerce-short{border-top:1px solid #b78a63;padding-top:10px;color:#6c4024}
.commerce-waterfall{margin:25px 0;padding:18px;max-width:798px;background:#f5f2e8;border:1px solid #b7c2a8}.commerce-page .commerce-waterfall svg{width:100%;min-width:480px;max-width:760px;height:auto;display:block}.commerce-waterfall text{fill:#31442b}.commerce-page .commerce-waterfall .commerce-bridge-label{font:16px var(--mono)}.commerce-page .commerce-waterfall .commerce-bridge-amount{font:24px Georgia,serif;font-variant-numeric:tabular-nums lining-nums}
.commerce-page details{margin-top:23px;border-top:1px solid #b9c4aa;padding-top:8px;min-width:0}.commerce-page summary{font:12px/1.6 var(--mono);color:#354b2d;cursor:pointer;overflow-wrap:anywhere;padding:13px 0}.commerce-methods details p{color:#43563c;margin:17px 0}.commerce-methods a{text-decoration:underline}.commerce-page #commerce-flow-audit p{font:15px/1.7 var(--sans);color:#43563c;margin:17px 0;max-width:68ch;text-wrap:pretty}.commerce-page #commerce-flow-audit ol{padding-left:24px;font:15px/1.7 var(--sans);font-variant-numeric:tabular-nums lining-nums;overflow-wrap:anywhere;max-width:68ch}.commerce-page #commerce-flow-audit li code{font:13px var(--mono)}.commerce-page .commerce-notebook pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.65 var(--mono);color:#30442a;background:#f5f2e8;border:1px solid #c0c9b3;padding:12px;margin:12px 0}.commerce-page .commerce-notebook ol,.commerce-page .commerce-notebook ul{padding-left:22px;font:15px/1.7 var(--sans);color:#30442a;max-width:68ch}.commerce-page .commerce-notebook li+li{margin-top:6px}.commerce-page .commerce-notebook li code{font:13px var(--mono)}.commerce-page .commerce-notebook h3{font:16px/1.4 Georgia,serif;letter-spacing:0;margin:18px 0 8px;color:#253b26}.commerce-page .commerce-replay code{font:13px/1.7 var(--mono)}
@media(max-width:900px){.commerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-editors{grid-template-columns:1fr}}
@media(max-width:680px){.commerce-order-cards{grid-template-columns:1fr}.commerce-section{padding:32px 0}.commerce-metric strong{font-size:27px}.commerce-actions{gap:12px}.commerce-actions button{flex:1 1 160px}.commerce-lot-chart article,.commerce-order-cards article{padding:15px}.commerce-waterfall{padding:10px}}

.commerce-page .lab-fiction+p{margin-top:12px}
