@charset "UTF-8";
.commerce-panel{min-width:0;margin-bottom:24px}
.commerce-guide{margin:20px 24px 0;padding:14px 16px;border:1px solid #e8e1f3;border-radius:9px;background:var(--soft);color:#655675;line-height:1.9;font-size:14px}
.commerce-filter{display:flex;align-items:center;gap:12px;font-size:13px;color:#655675;flex-shrink:0}
.commerce-filter select{min-height:44px}
.commerce-error{margin:0 24px 18px}
.commerce-list{padding:0 24px 22px;min-height:140px}
.commerce-list>.muted{padding:26px 0;text-align:center}
.commerce-card{display:flex;gap:22px;align-items:center;justify-content:space-between;padding:20px 0;border-top:1px solid var(--line);min-width:0}
.commerce-card-copy{flex:1;min-width:0}
.commerce-card h3{font-size:16px;line-height:1.65;overflow-wrap:anywhere}
.commerce-meta{color:#746b80;font-size:13px;line-height:1.9;margin-top:5px;overflow-wrap:anywhere}
.commerce-meta strong{color:#655675;font-weight:550}
.commerce-note{white-space:pre-wrap;overflow-wrap:anywhere;color:#746b80;font-size:13px;margin-top:9px;line-height:1.8}
.commerce-card-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0;max-width:250px}
.commerce-card-actions .button{min-height:44px;padding:9px 14px}
.commerce-badge{display:inline-flex;align-items:center;min-height:27px;padding:3px 9px;border-radius:5px;font-size:12px;color:#685579;background:#f3edf9;white-space:nowrap}
.commerce-badge.pending{color:#815d20;background:#fff5dd}
.commerce-badge.approved,.commerce-badge.owned{color:#39755c;background:#edf7f1}
.commerce-badge.rejected{color:#8e535a;background:#f9eff0}
.commerce-card-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.commerce-user-picker{padding:20px 24px 0;margin-bottom:0}
.commerce-user-picker select{width:100%;max-width:560px;min-width:0;text-overflow:ellipsis}
.account-models{display:block;min-height:44px;margin-left:-10px;padding:8px 10px;font-size:13px;white-space:normal}
#commerce-dialog{width:min(520px,calc(100vw - 32px))}
#commerce-dialog-description{white-space:pre-line;line-height:1.9;overflow-wrap:anywhere;margin-bottom:20px}
#commerce-dialog input:not([type="checkbox"]),#commerce-dialog select,#commerce-dialog textarea{width:100%;min-width:0}
#commerce-dialog textarea{display:block;padding:11px 13px;border:1px solid #dedee8;border-radius:8px;background:#fff;color:#343342;font:inherit;resize:vertical}
#commerce-dialog textarea:focus{border-color:var(--primary);outline:3px solid #6954bd18}
.commerce-confirm{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:13px;line-height:1.9;padding:12px;border:1px solid #e8e1f3;border-radius:8px;background:var(--soft)}
.commerce-confirm input{min-height:20px;width:18px;height:18px;flex:none;margin-top:3px;accent-color:var(--primary)}
#commerce-dialog .dialog-actions{flex-wrap:wrap}
.commerce-card-actions .danger{color:#934d55}
.commerce-plan{margin:16px 0;padding:18px;border:1px solid #e5dcef;border-radius:10px;background:var(--soft)}
.commerce-coverage{color:#527264}
@media(max-width:760px){.commerce-card{align-items:flex-start;gap:15px;flex-direction:column}.commerce-card-actions{max-width:none;justify-content:flex-start}.commerce-card-actions .button{flex-grow:1}}
@media(max-width:560px){
  .navigation{grid-template-columns:repeat(3,minmax(0,1fr))}
  .commerce-guide{margin:15px 15px 0;padding:12px;font-size:13px}
  .commerce-list{padding:0 15px 16px}.commerce-error{margin:0 15px 15px}
  .commerce-card{padding:18px 0}.commerce-card-actions{width:100%}
  .commerce-filter{width:100%;justify-content:space-between}.commerce-filter select{flex:1}
  .commerce-user-picker{padding:18px 15px 0}.commerce-user-picker select{font-size:16px}
  #commerce-dialog input:not([type="checkbox"]),#commerce-dialog select,#commerce-dialog textarea{font-size:16px}
}
