.sales-query-inline{margin:0 0 18px;padding:14px 18px;border:1px solid #dce4d7;border-radius:12px;background:#f8f8f2;color:#365442}
#sales-query-form{display:flex;gap:10px;align-items:center}
#product-search{flex:1;min-width:0;border:1px solid #cbd6c5;border-radius:7px;background:#fffefa;padding:11px;color:inherit;font:inherit}
#product-search::placeholder{color:#82907f}
#sales-query-form .button{flex:none;padding:10px 18px;border:1px solid #365f47;border-radius:7px;background:#365f47;color:#fffefa;font:inherit}
.sales-query-account-options,.sales-query-account-action{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.sales-query-account-options[hidden],.sales-query-account-action[hidden]{display:none}
.sales-query-account-note,#sales-query-account-name,#sales-query-account-sales{margin:0;color:#52634f;font-size:13px}
.sales-query-account-note{flex:1 1 100%}
.sales-query-account-choice{padding:5px 8px;color:#365f47;font-size:13px}
#sales-query-update{flex:none;padding:5px 8px;color:#365f47;font-size:13px}
#sales-query-message{margin:8px 0;color:#78866f;font-size:13px;line-height:1.6}
#sales-query-results:empty{display:none}
.sales-query-cards{margin-top:10px}
#product-rows[hidden]{display:none}
#product-rows[hidden]+.table-footer{display:none}
.sales-query-history{margin:6px 0 0;border-top:1px solid #e4e6dc;color:#365442}
.sales-query-history>summary{width:max-content;padding:9px 2px;color:#52634f;font-size:13px;cursor:pointer;list-style:none}
.sales-query-history>summary::-webkit-details-marker{display:none}
.sales-query-history>summary::before{content:'›';display:inline-block;width:17px;color:#819174;font-size:16px;transition:transform .15s ease}
.sales-query-history[open]>summary::before{transform:rotate(90deg)}
[data-sales-query-history-list]{display:grid;gap:6px;padding:2px 0 8px}
.sales-query-history-row{display:flex;align-items:center;gap:12px;min-height:42px;padding:6px 10px;border:1px solid #e7e8df;border-radius:8px;background:#fffefa}
.sales-query-history-open{display:flex;flex:1;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:left;font:inherit}
.sales-query-history-identity{display:grid;gap:2px;min-width:0}
.sales-query-history-account{overflow:hidden;color:#394c3c;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.sales-query-history-time{color:#8a8b7d;font-size:11px}
.sales-query-history-status{flex:none;color:#637455;font-size:13px;font-weight:600}
.sales-query-history-status.is-pending,.sales-query-history-status.is-submitting{color:#9b7a36}
.sales-query-history-status.is-error,.sales-query-history-status.is-unknown{color:#9a6858}
.sales-query-history-again{flex:none;padding:5px 8px;color:#52634f;font-size:12px}
.sales-query-history-again:disabled{color:#aaa99d}
.sales-query-history-empty{margin:4px 0 8px;color:#8a8b7d;font-size:12px}
@media(max-width:600px){.sales-query-inline{padding:12px}#sales-query-form{flex-wrap:wrap}#product-search{flex-basis:100%}#sales-query-form .button{margin-left:auto}.sales-query-history-row{gap:7px;padding:6px}.sales-query-history-open{gap:8px}.sales-query-history-status{font-size:12px}.sales-query-history-again{padding:5px 4px}}
