:root{font-family:Inter,system-ui,sans-serif;color:#23312b;background:#f3f5f4;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,input,select,textarea{max-width:100%}.layout{display:flex;min-height:100vh}aside{width:172px;flex-shrink:0;background:#fff;padding:20px 12px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;border-right:1px solid #dfe5e1}.brand{font-size:20px;font-weight:750;white-space:nowrap}.brand span{color:#198358}aside p{font-size:12px;color:#65756c;margin:8px 4px}nav{display:grid;gap:4px;margin-top:18px}nav button{font-size:14px;text-align:left;background:transparent;color:#3e5348;padding:10px 12px}nav button.active{background:#e6f3eb;color:#14663e;box-shadow:inset 3px 0 #187c4b}aside small{margin-top:auto;color:#586b60;line-height:1.6;font-size:12px}main{min-width:0;max-width:1600px;width:100%;padding:18px 24px}.global-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}header small{font-size:11px;letter-spacing:1px;color:#5f7568}h1{font-size:26px;margin:3px 0}h2{font-size:19px;margin:0 0 10px}h3{font-size:16px;margin:0 0 9px}.account-area{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0}.identity{display:grid;gap:3px;font-size:13px;text-align:right;min-width:0;overflow-wrap:anywhere}.identity strong{font-size:14px}.identity span{color:#526459}.account-level{font-size:12px}.account-actions{display:flex;gap:6px;flex-shrink:0}.account-actions button{font-size:12px;padding:8px 10px}section{padding:16px;background:#fff;border:1px solid #dfe5e1;border-radius:9px;margin-top:12px}p{line-height:1.5;color:#586b60;margin:9px 0}.safety-note{background:#fff8e8;border:1px solid #e8d7ac;border-radius:6px;color:#73581f;font-size:12px;line-height:1.5;padding:8px 12px;margin:0 0 12px}.notice{background:#fff8e8;border:1px solid #e8d7ac;padding:10px 12px;border-radius:6px;color:#73581f;overflow-wrap:anywhere}.success-note{padding:10px 12px;border-radius:6px;background:#e7f4eb;color:#17613a}.row{display:flex;gap:10px;align-items:end;flex-wrap:wrap}label{display:grid;gap:5px;font-size:13px;color:#405448;min-width:0}input,select{background:#fff;color:#23312b;border:1px solid #bac9bf;border-radius:6px;padding:9px 10px;min-width:0}textarea{background:#fff;border:1px solid #bac9bf;border-radius:6px;padding:10px;resize:vertical;min-height:80px;color:#23312b}.check{display:flex;align-items:center;gap:8px;margin:12px 0;line-height:1.5}.check input{flex-shrink:0}button{border:1px solid transparent;border-radius:6px;padding:9px 13px;background:#187c4b;color:#fff;font-weight:650;cursor:pointer;line-height:1.4}button.secondary{background:#fff;border-color:#bac9bf;color:#335044}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.table-scroll:focus-visible{outline:3px solid #187c4b;outline-offset:3px}.query-bar,.company-bar{padding:12px 14px}.query-fields{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.company-select{flex:1;min-width:200px;max-width:620px}.company-select select{width:100%;text-overflow:ellipsis}.query-fields>label:nth-child(2){flex:0 0 180px}.query-fields>button{flex-shrink:0}.company-bar .company-select,.query-fields .company-select{max-width:none}.company-heading>button{flex-shrink:0}.empty-guide{padding:8px 2px;font-size:14px}.login-card{max-width:440px;margin:24px auto}.login-card form{display:grid;gap:14px}.login-card input{width:100%}.login-card p{font-size:13px;margin:0}.simulation-actions{margin-top:14px;border-top:1px solid #dfe5e1;padding-top:3px}.order-review{margin:0}.order-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid #e1e7e3}.order-title h3{font-size:22px;margin:0}.source-label{font-size:12px;background:#edf5f0;color:#285d3e;border:1px solid #d5e7da;padding:6px 9px;border-radius:5px}.parties{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:12px 0}.party-card{border:1px solid #e1e7e3;border-radius:7px;padding:12px;min-width:0}.party-card h3{color:#187c4b}dl{margin:0}.party-card dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px}.party-card .field:first-child,.party-card .field:last-child{grid-column:1/-1}dt{font-size:12px;color:#586b60}dd{margin:3px 0 0;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.items-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 8px}.items-heading h3{margin:0}.items-heading span{font-size:12px;color:#586b60}.table-hint{display:none}.table-scroll{max-width:100%;overflow-x:auto;border:1px solid #dfe5e1;border-radius:7px}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:10px 9px;border-bottom:1px solid #e1e7e3;vertical-align:top}tbody tr:last-child td{border-bottom:0}th{font-size:12px;color:#506359;background:#f4f7f5;font-weight:650}.items-table{font-size:13px;min-width:960px;table-layout:fixed}.items-table th:nth-child(1){width:18%}.items-table th:nth-child(2){width:27%}.items-table th:nth-child(3){width:12%}.items-table th:nth-child(4){width:8%}.items-table th:nth-child(5){width:6%}.items-table th:nth-child(6){width:15%}.items-table th:nth-child(7){width:14%}.items-table th,.items-table td{overflow-wrap:anywhere}.items-table td:nth-child(3){white-space:nowrap;overflow-wrap:normal}.items-table abbr{text-decoration:none}.items-table .code{white-space:nowrap;overflow-wrap:normal}.code{font-family:ui-monospace,monospace;overflow-wrap:anywhere}.description{white-space:normal;overflow-wrap:anywhere;line-height:1.6}.numeric{text-align:right;font-variant-numeric:tabular-nums}.summary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.6fr);gap:12px;margin-top:14px;align-items:start}.payment-card,.totals-card{border:1px solid #dfe5e1;border-radius:7px;padding:12px;min-width:0}.payment-card p{font-size:14px}.order-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;padding:10px 12px;margin:12px 0;background:#f4f7f5;border-radius:6px}.totals-card dl .field{display:flex;align-items:baseline;justify-content:space-between;padding:6px 0;gap:12px}.totals-card dd{margin:0;font-variant-numeric:tabular-nums;text-align:right}.grand-total{font-size:22px;color:#14663e;border-top:1px solid #dfe5e1;margin:10px 0 0;padding-top:12px}.order-warnings{margin-top:10px}.order-warnings p,.document-source{font-size:12px;margin:5px 0}.document-source{color:#586b60}.section-intro{margin:0 0 12px;max-width:850px}.status-chip{display:inline-block;border-radius:5px;padding:4px 7px;font-size:12px;font-weight:650;line-height:1.3}.status-chip.positive{background:#e7f4eb;color:#17613a}.status-chip.muted{background:#f0f3f1;color:#53655a}.explanation-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.explanation-grid h3{margin:0}.explanation-grid p,.card-detail,.card-footnote{font-size:13px}.availability-note{margin:12px 0;padding:10px 12px;background:#f4f7f5;border-radius:6px;font-size:13px}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.integration-card{border:1px solid #dfe5e1;border-radius:8px;padding:14px;min-width:0}.card-title{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.card-title h3{margin:3px 0 6px;color:#17613a}.card-detail{padding-top:10px;border-top:1px solid #e5ebe7}.card-footnote{color:#586b60;margin-bottom:0}.auth-provider{font-weight:650;color:#23312b}.company-heading{display:flex;justify-content:space-between;gap:14px;align-items:start}.company-heading p{margin:0}.companies-table{min-width:540px}.companies-table td,.users-table td{overflow-wrap:anywhere;font-size:14px}.companies-table small{display:block;color:#586b60;margin-top:4px}.company-form,.user-form{margin-top:16px;border:1px solid #dfe5e1;border-radius:8px;padding:16px;background:#fafcfb}.company-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:0;padding:0;border:0;min-width:0}.company-fields .full-width{grid-column:1/-1}.review-summary{margin:14px 0;border-left:3px solid #187c4b;padding:12px;background:#edf5f0;border-radius:5px}.review-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-summary h3{color:#17613a}.user-actions{display:grid;gap:6px}.user-actions button{font-size:12px;padding:7px 9px}.users-table{min-width:700px}.users-table th:first-child{width:25%}.users-table td small{overflow-wrap:anywhere}.user-form .row>label{flex:1;min-width:180px}.user-form fieldset{margin:14px 0;border:1px solid #dfe5e1;border-radius:7px;min-width:0}.company-binding{padding:10px 0;border-bottom:1px solid #e1e7e3}.company-binding .check{margin:4px 0 9px}.pending-users{background:#f5f8f6;padding:12px;border-radius:7px;margin-top:14px}@media(max-width:1050px){.table-hint{display:block;font-size:12px;margin:4px 0 8px}aside{width:146px;padding:18px 10px}.brand{font-size:16px}nav button{font-size:13px}main{padding:16px}.account-area{gap:8px;flex-wrap:wrap;max-width:70%}.account-actions{justify-content:flex-end}.identity{font-size:12px}.grand-total{font-size:18px;white-space:nowrap}.party-card dl{grid-template-columns:1fr}.party-card .field{grid-column:1/-1}.query-fields{gap:10px}.query-fields .company-select{flex-basis:100%;max-width:none}.query-fields>label:nth-child(2){flex:1}.user-form .row>label{flex:1;min-width:180px}}@media(max-width:700px){.layout{display:block}aside{width:100%;height:auto;position:static;padding:12px}aside p,aside small{display:none}nav{display:flex;flex-wrap:wrap;margin-top:10px;gap:4px}nav button{font-size:12px;padding:8px 10px}main{padding:12px}.global-header{align-items:start;flex-wrap:wrap}.account-area{max-width:100%;flex:1;justify-content:flex-end}.identity{max-width:100%}.parties,.summary-grid,.integration-grid,.explanation-grid,.company-fields{grid-template-columns:1fr}.party-card dl{grid-template-columns:1fr 1fr}.party-card .field{grid-column:auto}.party-card .field:first-child,.party-card .field:last-child{grid-column:1/-1}.company-heading{flex-wrap:wrap}.order-dates{grid-template-columns:1fr}.query-fields>label:nth-child(2){flex-basis:100%}.company-select{min-width:0}.review-summary dl{grid-template-columns:1fr}.items-heading{align-items:start;flex-direction:column}.row label{max-width:100%}.user-form .row>label{min-width:0;flex-basis:100%}}.query-source{display:flex;align-items:center;gap:16px;margin-top:10px;color:#52635b;font-size:.85rem}.query-source label{min-width:260px}.query-source select{font-size:.85rem}.query-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;padding:10px 14px;margin:12px 0;background:#fff;border-left:4px solid #237447;border-radius:4px}.query-status p{width:100%;margin:0}.query-status.failure,.query-status.not_found{border-left-color:#946118}.remote-metadata{display:flex;flex-wrap:wrap;gap:16px;margin:10px 0 18px}.remote-metadata .field{min-width:160px}.query-fields input{width:100%}@media(max-width:900px){.query-source{flex-wrap:wrap;gap:8px}.query-source label{min-width:0;width:100%}}.real-items{min-width:1100px}.real-items th:nth-child(1){width:18%}.real-items th:nth-child(2){width:24%}.real-items th:nth-child(3){width:10%}.real-items th:nth-child(4){width:7%}.real-items th:nth-child(5){width:5%}.real-items th:nth-child(6){width:13%}.real-items th:nth-child(7){width:11%}.real-items th:nth-child(8){width:12%}.order-review:has(.remote-metadata) .grand-total{white-space:normal;overflow-wrap:anywhere}.totals-note,.freight-mode{font-size:12px;margin:8px 0;line-height:1.45}.payment-card th,.payment-card td{padding:7px 8px}.payment-card td:not(.numeric),.payment-card th:not(.numeric){text-align:left}.items-table td{padding-top:7px;padding-bottom:7px}.items-table .description{line-height:1.45}
