.merchandise-dialog{background:#15212a;color:#eaf2f6;border:1px solid #52636e;border-radius:16px;width:min(1180px,calc(100vw - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;box-sizing:border-box;box-shadow:0 25px 100px #0009}
.merchandise-dialog header,.merchandise-dialog footer{padding:18px 22px;display:flex;align-items:center;gap:14px;flex-shrink:0}.merchandise-dialog header{justify-content:space-between;border-bottom:1px solid #3a4c57}.merchandise-dialog header h2{margin:3px 0 8px;font-size:24px;line-height:1.25}.merchandise-dialog p{line-height:1.5}.merchandise-dialog header p{margin:4px 0}.merchandise-body{padding:0 22px 18px;overflow:auto;min-height:0}.merchandise-dialog footer{border-top:1px solid #3a4c57;flex-wrap:wrap}.merchandise-dialog footer small{flex:1 1 250px;line-height:1.5}.merchandise-dialog button,.merchandise-dialog summary{cursor:pointer}.merchandise-dialog button{min-height:44px;border:1px solid #657782;background:#233642;color:#eef5f8;border-radius:8px;padding:9px 14px;font-weight:700}.merchandise-dialog button:disabled{opacity:.5;cursor:default}.merchandise-dialog .commerce-primary{background:#d1ff4d;color:#17212c;border-color:#d1ff4d}.merchandise-dialog details{border:1px solid #52636e;border-radius:10px;padding:14px;margin:15px 0}.merchandise-dialog textarea{box-sizing:border-box;width:100%;background:#0d171f;color:inherit;padding:12px;border:1px solid #657782;border-radius:8px}.merch-import-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:10px}.merch-import-actions label{display:grid;gap:5px}.merch-table-wrap{overflow:auto;margin:18px 0;max-width:100%}.merch-table-wrap table{width:100%;border-collapse:collapse;min-width:900px}.merch-table-wrap th,.merch-table-wrap td{padding:9px 7px;border-bottom:1px solid #354b59;text-align:left}.merch-table-wrap th{font-size:12px;color:#bdcbd4}.merch-table-wrap input,.merch-table-wrap select{box-sizing:border-box;width:100%;min-width:100px;min-height:44px;background:#0c171f;color:#eff6f9;border:1px solid #667c89;border-radius:6px;padding:8px}.merch-table-wrap td:nth-child(2) input{min-width:150px}.merch-table-wrap td:nth-child(3) input{min-width:180px}.merch-pending{border:1px solid #ad8d37;background:#342d18;padding:14px;border-radius:8px}.merch-recent{margin:16px 0;border:1px solid #637947;background:#1c2c23;padding:16px;border-radius:10px}.merch-recent>div{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.merch-recent button{min-height:44px;padding:8px 12px;cursor:pointer}.inventory-editor .serial-list input{min-height:44px;max-width:100%;padding:8px;background:#0c171f;color:#eff6f9;border:1px solid #667c89;border-radius:6px}.inventory-editor footer{flex-wrap:wrap}
@media(max-width:600px){.merchandise-dialog header,.merchandise-dialog footer{padding:14px}.merchandise-body{padding:0 14px 14px}.merchandise-dialog footer button{flex:1}.merchandise-dialog header h2{font-size:23px}.inventory-workspace>.commerce-heading>div:last-child{flex-wrap:wrap}.inventory-editor footer button{min-height:44px}}
