.commerce-modal-card{width:min(1160px,96vw)!important;max-width:1160px!important}.commerce285{line-height:1.65;overflow-wrap:anywhere}.commerce285 h2,.commerce285 h3{margin:.25em 0 .65em}.commerce285 .cm-muted{color:#b9b2a4;font-size:.88rem}.commerce285 .cm-banner{padding:15px 18px;background:#252923;border:1px solid #817251;border-radius:8px;margin:10px 0}.commerce285 .cm-nav{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.commerce285 .cm-nav button[aria-current=true]{border-color:#c6b78c;color:#f0ddb0}.commerce285 .cm-stores{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}.commerce285 .cm-store{border:1px solid #565347;background:linear-gradient(155deg,#272c30,#1d2024);padding:18px;border-radius:9px;display:flex;flex-direction:column;gap:8px}.commerce285 .cm-store button{margin-top:auto}.commerce285 .cm-counter{display:grid;grid-template-columns:1fr 1fr;gap:16px}.commerce285 .cm-side{padding:14px;background:#1d2227;border:1px solid #454744;border-radius:8px;min-width:0}.commerce285 .cm-lots{max-height:410px;overflow:auto}.commerce285 .cm-lot{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:8px;border-bottom:1px solid #383e40;padding:10px 0;align-items:center}.commerce285 input[type=number]{width:100%;box-sizing:border-box;min-width:0}.commerce285 .cm-money{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0}.commerce285 .cm-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.commerce285 .cm-actions button{min-height:44px}.commerce285 .cm-list-row{border-bottom:1px solid #414442;padding:13px 0}.commerce285 .cm-mark{color:#e6b074}.commerce285 .cm-error{background:#372627;border:1px solid #9d655d;border-radius:6px;padding:12px}.commerce285 .cm-ready{background:#21352d;border:1px solid #699080;border-radius:6px;padding:12px}.commerce285 details{margin:6px 0}.commerce285 summary{cursor:pointer;color:#c4beae}.commerce285 label{display:block}.commerce285 .cm-stat{font-size:1.35rem;color:#e3cfa5}.commerce285 .cm-note{max-width:72ch;color:#c7c4ba}.commerce285 .cm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.commerce285 button,.commerce285 input{font:inherit}.commerce285 .cm-empty{padding:16px;color:#b2aa97}.commerce285 .cm-receipt{border-left:3px solid #ac986d;padding:6px 14px;margin:12px 0}.commerce285 .cm-footer{margin-top:22px;padding-top:12px;border-top:1px solid #49483d}.commerce285 .cm-warning{background:#322e22;padding:10px 14px;border-radius:6px}.commerce285 .cm-stocklink{border:0;background:transparent;text-align:left;padding:0;color:#e1d5b9;text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.commerce285 .cm-counter{grid-template-columns:1fr}.commerce285 .cm-money{grid-template-columns:1fr}.commerce285 .cm-lots{max-height:310px}.commerce285 .cm-store{padding:13px}.commerce285 .cm-banner{padding:12px}.commerce285 h2{font-size:1.25rem}.commerce285 .cm-actions button{flex:1 1 135px}.commerce-modal-card{margin:6px!important;width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important}.commerce285 .cm-side{padding:10px}.commerce285 .cm-lot{grid-template-columns:minmax(0,1fr) 65px}}
/* Fit the dialog inside the original modal's padding, including narrow phones. */
.modal-card.commerce-modal-card{box-sizing:border-box;width:min(1160px,100%)!important;max-width:100%!important;margin:0!important}
.commerce285 input[type=number]{background:#11171b;border:1px solid #596067;color:#f0e7d4;padding:7px 9px;border-radius:5px;min-height:40px}
@media(max-width:650px){.modal-card.commerce-modal-card{max-height:calc(100dvh - 36px)!important;padding:14px}.commerce285 h2{padding-right:26px}.commerce285 .cm-stores{grid-template-columns:minmax(0,1fr)}}
